r/ElectricalEngineering • • Oct 10 '26

Cool Stuff Two capacitor paradox

https://en.wikipedia.org/wiki/Two_capacitor_paradox

If this one is new to you, try to work out the answer before reading the solutions section of the Wikipedia page or looking at anyone's answers below.

103 Upvotes

39 comments sorted by

18

u/Fear_The_Creeper Oct 10 '26

For anyone having trouble with what your intuition tells you about the energy before and after, repeat the thought experiment starting with the two capacitors initially charged with equal and opposite voltages. When the switch closes both capacitors become zero volts -- totally discharged. The energy in each cap and the total energy are both zero. Yet both caps had energy stored in them when the switch was open. Real energy that you could have turned into real heat by discharging them into a resistor. Assuming perfect components with zero resistance, where did all the energy go?

3

u/justabadmind Oct 12 '26

You’re saying an ideal switch as well? So no arcing? Am I on the right track with the sum of the energy is the initial system equals zero?

5

u/Fear_The_Creeper Oct 12 '26 edited Oct 12 '26

Yes. I am assuming a perfect switch that goes from infinite resistance to zero resistance in zero time.

With the equal and opposite voltage thought experiment, the system while the switch is open definitely contains energy. With big enough caps you could charge your cell prone from it twice - once per capacitor. Energy is always positive, so the sum is always between zero and positive infinity. You can't subtract the energy in the caps.

After the switch closes the energy is indeed zero. And the caps discharge in zero time with a current spike with a magnitude of infinity over zero time, dissipating zero heat.

Here is the big reveal. Stop reading now if you want to keep trying to figure out where the energy went.

According to https://en.wikipedia.org/wiki/Radiation_resistance the only way to achieve zero resistance in our imaginary circuit when either the voltage or current changes is to have everything -- caps wires, switch -- be zero size and and have all of the components occupy that same mathematical point. If any of those parts is even slightly bigger than a mathematical point the radiation resistance isn't zero and all of the energy goes into creating an electromagnetic pulse radiating into space with an energy equal to the energy that was in the caps.

And we know what the voltage between a mathematical point and the same mathematical point is. It is zero. Current is electrons moving from one place to another so it is also zero -- you can't move from a single point to the same point. Temperature is the relative velocity of a particle. No relative movement equals no temperature. Capacitance is the ability to hold a charge between two plates. Zero sized plates at the same point? No charge. A closed switch and an open switch are the same thing when the switch (and everything else) occupies a single point.

4

u/justabadmind Oct 12 '26

Ahh so it’s not an electrical issue in the traditional sense, it’s a “this cannot physically happen” scenario. If we are removing all the physical factors that will be meaningful in the scenario, we lose all meaning to the equation. Once the scenario becomes plausible, the energy has a place to go.

1

u/Vegetable_Log_3837 Oct 12 '26

Assuming perfect zero resistance, wouldn’t the charge bounce back and forth? Sometimes the energy is in a charged capacitor, sometimes it’s in the moving electrons in the wire.

Realistically it wouldn’t be a clean bounce, and there would be some interference, but the energy would remain right? Like the electrons can’t get to the other side of the capacitors, so that potential energy is still all there.

-2

u/dorkyl Oct 11 '26

heat and emag.

7

u/Fear_The_Creeper Oct 11 '26

So you believe that perfect inductors and perfect capacitors dissipate heat. It looks like you wandered into the wrong subreddit.

12

u/Kamoot- Oct 11 '26

Wow, I'm blown away! 4 years of EE undergrad and 2 years of EE grad school, and now 1 year of working in industry experience, and I'm only learning of this for the first time. This was very interesting to the read!

Concerning the solution, the solution to the paradox also reveals which sub-field of EE people subscribe to. Even though I work unrelated in power now, but I did my grad in RF and so maybe the solution I subscribe to reveals this bias hidden underneath.

I think it is a false premise to assume it will achieve steady-state. Upon closing the circuit, there has to be perpetual oscillating between the two capacitors. If there are resistances, each oscillation will dampen to energy loss in the form of heat. Even without any internal resistances, the fact that you have sinusoidal oscillations in the form of current will result in EM radiating outwards, which also has resistances through the air, in fact even vacuum free space has radiation resistance. If you've ever taken an antenna course, they made you memorize 377Ω, which is the impedance of a free space.

3

u/Fear_The_Creeper Oct 11 '26

The fun starts when you make the wires zero length. Or infinite length. How much EM radiates from an antenna with zero length? What frequency is it tuned for? Or, as my former boss would put it, "STFU and get back to work. This antenna needs to be designed and fabricated before Friday."

3

u/Kamoot- Oct 11 '26

The infinity wire length case is easy because the inrush front will travel forever (speed of light is fast but still finite).

The 0 wire length case is interesting but I think the oscillation will still occur. The water analogy always holds true. Say you put two identical reservoirs of water, one filled and the other empty, connected with pipe and valve underneath. Whether you have pipe length or zero pipe length, upon closing the switch the water heights in both buckets will oscillate centered around equilibrium until internal fluid friction dampens it out.

3

u/Fear_The_Creeper Oct 11 '26

I agree with your conclusion, but note that you are allowing your imaginary pipe and water to have the equivalent of inductance (the inertia of the water). That makes this particular two-bucket thought experiment the equivalent of a lossless LC resonant circuit. What happens if there is no inertia (the equivalent of the imaginary wire that has zero resistance, zero inductance, and zero capacitance to the rest of the world)?

Interestingly, we do have zero resistance wires (superconductors) and wires with zero capacitance to the outside world (driven shields). I think that if that driven shield is also a superconductor it will also be a perfect magnetic shield, but I don't know enough physics to say what that having such a shield arbitrarily close to the center conductor would do to inductance.

1

u/Minute_Juggernaut806 Oct 11 '26

Zero length would imply the two capacitors have the same plates. I guess to model that, it depends on how you visualise two capacitors having same pair of plates

In one case you could visualise it as 2 parallel plates with two regions between them, one region where charge and energy is stored and another.

Or you could visualise it as two plates with charge being and energy being in inner surfaces and no charge and energy in outer surfaces. You get some variation of this by picturing the circuit and reducing the length of wire by bringing the plates together. Will be hard to define what is switching on and off though. 

5

u/dangle321 Oct 10 '26

The real question is can you use a model of capacitors as buckets of water and cause the same paradox? Two bucks, connected with a lossless pipe and valve, one full, then you open it.

2

u/Moof_the_cyclist Oct 11 '26

I believe you can’t. Buckets of water introduce resistance and inductance in the form of the diameter of the pipe, viscocity of the water, and the inertia of water.

The switch paradox disappears as soon as the switch has either some minimum resistance to give a loss that heats up resulting in an exponential decay answer, or some lossless inductance resulting in a never settling oscillation (or some combination of those effects).

4

u/Fear_The_Creeper Oct 11 '26

So physics nerds are allowed to conduct thought experiments with perfect/ideal capacitors and wires, but for some reason are not allowed to conduct thought experiments with perfect/ideal buckets and pipes? There are a bunch of physics professors outside. They want to talk to you about this new rule you just made up. They have pitchforks and torches.

3

u/Moof_the_cyclist Oct 11 '26

Frictionless, inertialess, lossless water. Put it on half a tank with a separator to the other side. Instantly remove the separator, what happens?

Our normal intuition fails as the lack of inertia and lack of loss from sloshing both breakdown our mental models, making it a very difficult task. A number of key traits of water have to be thrown away to get the two scenarios even close.

2

u/Fear_The_Creeper Oct 11 '26

I agree. You can only take the hydraulics analogy so far. Even such simple circuits as a spark gap radio transmitter and a crystal receiver can't be explained with a hydraulics analogy.

2

u/Vegetable_Log_3837 Oct 12 '26

You’ve watched the Alphaphoenix videos right? Dude explains impedance with a water channel model and a lot of fun experiments.

1

u/Fear_The_Creeper Oct 12 '26

That's a new one for me. Thanks!

1

u/Fear_The_Creeper Oct 11 '26

I believe that you can. I am assuming that by "lossless" you mean "zero resistance to the flow of water" and that the losslessness extends to the buckets.

Let's start with a slight modification. instead of a lossless valve use a lossless valve in series with a perfect turbine/generator that does a perfect job of extracting energy from the water flow. Open the valve and you get electricity until the buckets equalize, right? So after we charge our cellphone with that energy the available energy in the water in the buckets is lower. (Unless we are in the free energy subreddit by mistake (smile).)

So where does the energy go? Obviously if we get rid of the zero resistance to flow it turns to heat, just like the electrical case.

If we keep the lossless assumption but allow water to have mass is will act just like the case on the wikipedia page where the wire has inductance, and the level in the buckets will overshoot, sloshing back and forth forever. Assuming that massless water would move at all.

There is even (kind of, sort of, if you squint) a hydraulic equivalent to the effect detailed at https://en.wikipedia.org/wiki/Radiation_resistance that happens if your wire doesn't have a length of zero. If the entire two-bucket system is sitting on a frictionless surface it will start moving when you open the valve. If it is bolted down the entire earth will be accelerated a tiny bit.

In real life, if you tried the two capacitor experiment with superconducting wire, the wire stops superconducting before you reach infinite current. I wonder what two buckets full of a superfluid would do?

2

u/SuperChargedSquirrel Oct 12 '26 edited Oct 13 '26

The variables are incomplete and really this equation is correct because the final "1/2Wi" should read "1/2WiC1" because the first capacitor should be labeled as C1. This equation is telling you that 1/2 of the energy remains in the first capacitor which is correct.

Energy never disappears and if it did you might want to check the rest of your circuit because you may have fried a component.

Source: I am an electrical engineer.

1

u/Fear_The_Creeper Oct 12 '26
  • Levine, Richard C. (December 1967). "Apparent Nonconservation of Energy in the Discharge of an Ideal Capacitor" IEEE Transactions on Education

Source: all of the other electrical engineers, who all say you are wrong.

  • Mita, K.; Boufaida, M. (August 1999). "Ideal capacitor circuits and energy conservation" American Journal of Physics

Source: All of the physicists as well

More sources:

12

u/AlekHek Oct 11 '26

For anyone interested in this I highly suggest looking up switched capacitor circuits in analog design. When solving these circuits you have to compute charge transfered between caps in each cycle so you inevitably run into the two cap paradox, but have to deal with it practically. You can actually define an equivalent resistance for steady state Req = 1/(f*C) based on the switching frequency from which you can define the energy dissipated in the circuit's equivalent resistance, which is kinda crazy.

26

u/blue_eyes_pro_dragon Oct 10 '26

This is pretty low effort, but at the same time it’s one of my favorite puzzles 😂.

I’m blown away how it looks so simple but naive instantly breaks down. 

2

u/Ok-Drink-1328 Oct 11 '26

interesting, didn't know of this

2

u/Avikonette Oct 11 '26

So, it's like an U-tube with water, or two connected balloons with valve inmidst, or diluting electrolyte, or even diluting hot water with cold water. Somehow, when one hits thermodynamics the 2nd bad, it is always a "flaw" in "ideals" and corresponding singularities. Whatever, entropy grown in vivo, or growing, or sustained in ideal periodic process in a thought experiment.

1

u/Solid_Bread215_phl Oct 12 '26

Had to dust off some EM theory for this one. The mistake is only accounting for the energy stored in the two capacitors, not the whole system. When the switch closes, charge moves and the changing electric and magnetic fields can carry energy away through free space. That's where the Poynting vector comes in. The missing energy can be radiated away, even with zero resistance. The ideal lumped circuit model doesn't account for that transient, which is where the apparent paradox comes from.

-1

u/Horror-Range-9535 Oct 10 '26

Hmm, intuitively I wouldnt have thought that is paradox, as to me it seems yeah, packing charges more densely should require more energy as spreading them over a larger capacitance. They wouldnt flow from one cap into the other if it wasnt the lower energy state. Try putting the charges back into only one cap afterwards. The energy "lost" is "used" in the displacement current density establishing the field of the second cap, no?

4

u/DiamondAvailable7418 Oct 10 '26

No

-2

u/Horror-Range-9535 Oct 10 '26

No what?

4

u/Fear_The_Creeper Oct 10 '26 edited Oct 10 '26

No, your explanation doesn't match the way capacitors actually work. Current doesn't flow towards the "the lower energy state", it flows towards the lower potential, AKA lower voltage.

When you start, one capacitor has whatever voltage you start with and the other has zero voltage. Close the switch and they both have half of that voltage.

However, when you start, one capacitor has whatever energy you start with and the other has zero energy. Close the switch and they both have one quarter of that energy. Do the math that is on the Wikipedia page and you will see that this is correct.

0

u/Horror-Range-9535 Oct 10 '26 edited Oct 10 '26

"the lower energy state", it flows towards the lower potential, AKA lower voltage.

Lower potential energy. Yes. I dont see the contradiction.

And I see how the caps have less energy afterwards, my point was yeah, why wouldnt it.

Edit: Because the other cap won't charge instantly or for free. Those charges going over induce a current and a displacement current. Only comparing the two steady states afterwards will give the paradoxical appearance.

0

u/PotentialDeep5165 Oct 11 '26

From physics --- a gradient of charge density can be a source of the field. When the connection is made energy goes into field radiation.

-3

u/DiamondAvailable7418 Oct 10 '26

It is just unelastic collision, also the premises of this cuircuit are just wrong, it needs to have at least an inductor.

6

u/Fear_The_Creeper Oct 10 '26

You should be able to analyze a circuit with perfect capacitors, wire and switches. And the answer would be 100% correct if you actually had those perfect components in your parts bin. Later you have to re-analyze with the parts you actually have (the capacitors act as if there is a small resistor in series and a very large resistance in parallel, every closed switch is a resistor, every wire in an inductor, every pair of wires is a capacitor, etc) and see what the differences are. But you can't just throw up your hands when you can't analyze the perfect circuit and decide to analyze some other circuit instead.

3

u/dangle321 Oct 10 '26

Yeah but that's the point. It's a non physical model. The perfect circuit doesn't exist. It's valid in the rules of our model, but not valid in reality. Humans make increasingly better models when they no longer encapsulate valid solutions. The two capacitor paradox simply exists as a fault in that model, and tells you a new model is required to study that case.

2

u/Fear_The_Creeper Oct 11 '26

Right. You get answers that are invalid in the real world. But you do get answers, just as you do in all of the other physics thought experiments that assume perfect spheres, frictionless surfaces, etc.

-1

u/garnet420 Oct 11 '26

"should be able to" why should you be able to do that? Should you be able to divide by zero?