11

If we use an ideal capacitor to charge another ideal capacitor, my intuition tells me no heat is generated since capacitors are just storage elements. It shouldn't consume energy.

Original question

But in order to solve this question, I used two equations (conservation of charge and equal voltage for both capacitors at equilibrium) to find that energy had indeed been lost.

My diagram

My solution

What's the mechanism by which heat is lost in this case? Is it the energy required to push the charges closer together on C1? Is it energy spent to accelerate charges, to make it move? Am I right in claiming that no "heat" is generated?

I noticed that the energy lost equals that stored in the "equivalent" series capacitance if it was charged to \$V_0\$. Is there any reasoning why it is so?

Parallel capacitance

Aditya P
  • 337
  • 2
  • 16
  • 14
    Have you read: https://en.wikipedia.org/wiki/Two_capacitor_paradox. In my **personal opinion** the correct answer isn't listed. In **my opinion** the correct answer is "0" (zero) as there are no elements in the circuit which can dissipate power. So yes, I agree with your intuition. I also think it is a stupid idea to make a (study) question out of this controversial paradox. Basically you only need to **know** what answer the teacher expects and choose that. No one learns anything from that. – Bimpelrekkie May 21 '19 at 09:53
  • 1
    @Bimpelrekkie thanks! That link will really help. I agree with you too. – Aditya P May 21 '19 at 10:04
  • 8
    As @Huisman correctly points out, this is a nonsense question. The circuit you drew violates our definitions of ideal circuit elements because of a built-in contradiction: parallel elements **must** have the same voltage but the voltage across a capacitor **cannot** change instantaneously. So, connecting two capacitors in parallel with different voltages is an **invalid circuit** and cannot be analyzed by normal circuit techniques. Get a different book. – Elliot Alderson May 21 '19 at 12:05
  • Great question -- long time since I took EE courses, though – JosephDoggie May 21 '19 at 19:12
  • @ElliotAlderson: Not at all. If the question said that the capacitors and interconnects were ideal, it would have a contradiction as you said. But the question does not speak of ideal elements. There is an unknown series resistance present, which makes the circuit valid, and enables solving for the dissipated energy. – Ben Voigt May 21 '19 at 19:35
  • 1
    @BenVoigt You only saw the hidden resistance? What about the hidden inductance, the hidden EM fields? I can make up lots of things that make the circuit valid. Non of them are given, why do you pick the hidden resistance to be there? – Huisman May 21 '19 at 20:06
  • @Huisman: The inductance has no effect on the outcome. Go ahead and model it if you like, but you'll find that it doesn't affect the answer. Now, if one wanted to point out that there is always some leakage current, I'd consider an answer "all of the stored energy will be dissipated (eventually)" equally valid. – Ben Voigt May 21 '19 at 20:10
  • @BenVoigt: If the wires had inductance but no resistance, then no energy would be dissipated, but it would only be possible to open or close the switches at specific times. – supercat May 21 '19 at 20:17
  • @supercat: Such wires don't exist, even superconductors have a tiny bit of resistance. So the oscillations will eventually decay, reaching the same outcome as if the interconnect were purely resistive. – Ben Voigt May 21 '19 at 20:19
  • 2
    @BenVoigt A schematic is an ideal drawing tool that has basic elements, one of which is the ideal wire. To indicate parasitics like wire resistance, it must be indicated with an ideal resistor. Anything else is an egregious and imprecise abuse of notation that leads to ambiguities. Huisman gives the correct answer. – Shamtam May 21 '19 at 20:42
  • @Shamtam: Except for a circuit theory class, pretty much *every* schematic you encounter is a description of ideal connections between non-ideal parts. The problem doesn't need to have "wire resistance" to make sense, it just needs for the capacitor to have series resistance (and optionally inductance, whether it does or does not makes no difference to the final answer). Look at the default models in a SPICE tool sometime; they aren't "ideal". – Ben Voigt May 21 '19 at 22:00
  • 1
    @BenVoigt I disagree. Circuits presented for meaningful analysis should include all relevant elements. Without them any number of equally invalid assumptions can be made. What about the leakage of the capacitor, if it's a real capacitor? Do we include that or not? How about the capacitance between the wires themselves? Contact resistance of the switches? – Elliot Alderson May 21 '19 at 22:41
  • @ElliotAlderson: I work with circuit schematics daily (prepared professionally by others, so don't tell me it's just my convention) and they all are arrangements of non-ideal elements. Microcontroller pins have current limits and output resistance. Diodes have non-vertical I-V curves. Capacitors have breakdown voltages. FETs have input capacitance. Op-amps have bias voltage. Because "ideal" parts do not exist in the real world, no one assumes that the elements on a schematic are ideal at any stage past a napkin sketch. – Ben Voigt May 22 '19 at 04:01
  • @BenVoigt As a modeling engineer, I wholeheartedly disagree. Anything relevant should always be listed on a schematic when it is used for documentation. In the case of your schematics and non-ideal components (diodes, breakdown of caps, etc.), that information is still conveyed by those parts being described with a refdes linked to a specific part that has model parameters, so relevant information is conveyed. The schematic in the OP does not. Simple as that. – Shamtam May 22 '19 at 11:59
  • 4
    @BenVoigt Students learning circuit analysis **always** assume that components are ideal...you can not mathematically analyze the circuit otherwise. This question was clearly about a homework problem and needs to be answered from the student's perspective. – Elliot Alderson May 22 '19 at 12:49
  • @ElliotAlderson: No, they should not be making an assumption of ideal components. If the problem is to treat them as ideal, it should explicitly say so in the problem description. Even as they use idealized models in circuit analysis, students should stay informed that the ideal model is the exception not the rule. – Ben Voigt May 22 '19 at 14:25
  • @Shamtam: Yes, I agree that components on schematics get referenced to an actual part number where all the parameters can be found. In this particular example that should have been done, but I can see why it was left out because the exact value of the insertion resistance doesn't matter, other than that it is non-zero. – Ben Voigt May 22 '19 at 14:26
  • While the VOLTAGE on an ideal cap cannot change instantaneously, the current can. Join two caps of different voltage and infinite current will flow. Infinity ^2 x 0 tends to automagically work out as one would expect if some resistance was present. As it always is. – Russell McMahon Jul 20 '19 at 13:54

5 Answers5

25

The problem with these theoretical examples lies in the fact the current is assumed infinite for 0 seconds. Crudely substituting this in the conservation law:

$$ \frac {\partial \rho }{\partial t} +\nabla \cdot \mathbf {J} = 0 $$

$$ \frac { \rho }{ 0 }+ \infty \neq 0 $$

Since charge is conserved, the assumption of infinite current in zero time is wrong.

How much power is dissipated \$P_{diss}=VI\$ cannot be defined, since the definition of the current is false.

So, the answer is: cannot be defined

EDIT
Note that the dissipation neither is 0 W because R = 0 \$ \Omega\$. For the same reason as above: \$ P = I^2R = \infty^2 \cdot 0 \$, which is not defined.

Huisman
  • 10,594
  • 2
  • 19
  • 40
  • 1
    Yes. This is the only correct answer. – Elliot Alderson May 21 '19 at 14:36
  • 4
    The power lost cannot be calculated, but the loss of energy can. – Ben Voigt May 21 '19 at 19:31
  • 2
    You can make the conservation law work with Dirac’s delta. You cannot add infinity to the real / complex set and expect calculus to keep working. It makes the set not partially ordered. If it is not partially ordered, no Zorn’s lemma, which means no axiom of choice. – user110971 May 21 '19 at 21:29
13

When masses collide in an inelastic manner, momentum is conserved but energy has to be lost. It's the same with the two-capacitor paradox; charge is always conserved but, energy is lost in heat and EM waves. Our schematic model of the simple circuit isn't sufficient to show the subtler mechanisms at play such as interconnection resistance.

An elastic collision can be said to be equivalent to adding series inductors in the wires. Somewhere between the two is reality - the connections are composed of resistors and inductors; the fact that our schematic may not show them is just a weakness of our imagination.

Andy aka
  • 434,556
  • 28
  • 351
  • 777
  • 2
    I noticed it too, in the other answer you wrote. Maybe you should try contacting stackexchange, they can find the user who is targeting you. You should really report this. – Aditya P May 21 '19 at 18:04
  • 2
    Have an upvote :) – Hatted Rooster May 21 '19 at 18:26
  • 3
    I down-voted this answer because I didn't feel that it addressed the original question. It seemed to me that you wandered off into a discussion of particle and wave physics that was of no help to the OP. And I think there is a reason that anonymous downvotes are allowed. Now, you have a lot more reputation than I do so go ahead, do your worst. I've up-voted a lot of your other answers in the past but I won't bother anymore. Report me as necessary. – Elliot Alderson May 21 '19 at 22:48
  • 1
    @ElliotAlderson I don't report anything I just observe and comment. I never mentioned particle or wave physics. I made a comparison with masses in the newtonian way i.e. conservation of momentum is very similar to conservation of charge. – Andy aka May 22 '19 at 07:58
  • 1
    *the fact that our schematic may not show them is just a weakness of our imagination.* Um, I think it's either sloppy question drafting, or an attempt to illustrate the gulf between ideal circuits and real circuits. The collisions analogy is good physics, the units and the mechanisms are right, especially the total energy before minus after leaves a deficit that is independent of the means of dissipation, for instance the undrawn component may have been a transformer primary with an antenna and a radiation resistance on it. As drawn, the circuit is a paradox, wrong, SPICE would choke on it – Neil_UK May 22 '19 at 15:34
3

What's the mechanism by which heat is lost in this case?

Normally, the wires and the switches have some resistance. Because current flows through the wires, heat is produced.

I noticed that the energy lost equals that stored in the "equivalent" series capacitance if it was charged to V0. Is there any reasoning why it is so?

If you charge an "ideal" capacitor where charge and voltage are proportional, 50% of the energy will be converted to heat.

However, if you have "real" capacitors where charge and voltage are not exactly proportional (as far as I know this is the case for DLCs) the percentage of energy which is converted to heat is NOT exactly 50%.

This means that the key to your observation lies in the equation of the capacitors (q ~ v) and there is no "intuitive" explanation that is independent of that equation.

(If there was an explanation that is independent of the equation, the percentage would also be 50% for "real" capacitors.)

Martin Rosenau
  • 1,166
  • 5
  • 7
1

I have to go with "The question is invalid".

It looks like the problem was edited from a previous one to a different question.

The "answers" all have units of Q^2 * C / C^2 or Q/C.

It's been 40 years for me since I had that EE class, but isn't that Voltage? How do you answer a "heat dissapated" question with units of voltage?

pbm
  • 11
  • 1
  • 1
    where'd the `2` in $$Q^2$$ go in your dimensional analysis? The answers have units of $$\frac{Q^2}{C} = Q \Delta V$$ which is energy – Ben Voigt May 21 '19 at 22:01
  • 1
    Apparently lost in my brain. Right so the units are q^2/C. What the heck is that unit? And the winner is Joules. So I probably need to downvote my own answer. – pbm May 21 '19 at 22:07
  • @pbm \$ Q^2/C \$ has units of \$ \text{C}^2/\text{F} = \text{C}^2/(\text{C}/\text{V}) = \text{C} \, \text{V} = \text{J} \$, i.e. of joules, which is a unit of energy. You can derive yourself some of the equivalent units I used, or read https://en.wikipedia.org/wiki/Farad#Equalities and https://en.wikipedia.org/wiki/Joule – alejnavab Aug 24 '19 at 15:31
0

EDIT: To those of you uncomfortable with me proclaiming that \$R = 0\$ in the end, it is analogous to taking the resistance of air to be infinite. And if you are still uncomfortable, read "infinite" as "really really large", and "zero" as "really really small".


There is infinite current flowing through zero resistance, and this results in a finite energy being dissipated in the wire. To make sense of this, we need to do a bit of calculus. Suppose there is also a resistance \$R\$ in the circuit, which we shall set to zero at the end.

Let \$V_0 = q_0 / C_1\$. Doing the usual Laplace transform for circuits, the transformed current \$I(s)\$ is given by $$ \begin{align} \frac{V_0}{s} &= I(s) \left[ R + \frac{1}{s C_1} + \frac{1}{s C_2} \right] \\ &= I(s) \left[ R + \frac{1}{s C} \right] \\ \end{align} $$ where \$1/C = 1/C_1 + 1/C_2\$. Thus $$ \begin{align} I(s) &= \frac{V_0 / s}{R + 1 / (s C)} \\ &= \frac{V_0 / R}{s + 1 / (R C)} \\ i(t) &= \frac{V_0}{R} \cdot \mathrm{e}^{-t / (R C)}. \end{align} $$ The instantaneous power dissipated is $$ \begin{align} P(t) &= i(t)^2 \cdot R \\ &= \frac{{V_0}^2}{R} \cdot \mathrm{e}^{-2t / (R C)} \end{align}, $$ and so the total energy dissipated is $$ \int_0^\infty \frac{{V_0}^2}{R} \cdot \mathrm{e}^{-2t / (R C)} \,\mathrm{d}t = \frac{1}{2} C {V_0}^2 = \frac{{q_0}^2 C_2}{2 C_1 (C_1 + C_2)}. $$ Note that this is independent of \$R\$, and I would argue it even holds for \$R = 0\$.

Indeed setting \$R\$ to zero in the context of generalised functions, we have that $$ \begin{align} i(t) &= C V_0 \cdot \delta(t) \\ P(t) &= \frac{1}{2} C {V_0}^2 \cdot \delta(t), \end{align} $$ where \$\delta(t)\$ is the Dirac delta (or unit impulse) in time, which has dimensions \$1/\text{time}\$. Thus all of the energy is dissipated in the instant \$t = 0\$.

  • If R=0 then **where does the dissipated energy go**? Specifically, how is it converted to heat as the question asks? How can you derive equations **assuming** nonzero R and then set R to zero? – Elliot Alderson May 22 '19 at 12:55
  • 1
    @ElliotAlderson: The actual case of R = 0 is a red herring. Even in "real circuits", we don't assume that R = 0 in wires. We assume that R is non-zero but "negligible", which is not the same thing (and it's an assumption that can get us into trouble sometimes). What this derivation shows is that no matter how small R is, so long as it's non-zero, the power dissipated is always the same. – Michael Seifert May 22 '19 at 14:09
  • @MichaelSeifert Yes, what you said! **so long as it's non-zero** That was my point exactly. – Elliot Alderson May 22 '19 at 14:17
  • @ElliotAlderson The energy is dissipated as heat in the wire. Although \$R = 0\$, \$i^2 = \infty\$ at \$t = 0\$ is large enough that the indeterminate expression \$i^2 R\$ yields a finite energy when integrated over time. Assuming things are nonzero and setting them to zero is, well, calculus. For an analogy, a mass \$m \ne 0\$ in a gravitational field of strength \$g\$ has weight \$m g\$ and thus acceleration \$a = m g / m = g\$. But even massless objects (\$m = 0\$) fall with acceleration \$g\$. –  May 22 '19 at 16:15
  • @lastresort From what I [read](https://www.forbes.com/sites/startswithabang/2018/12/01/ask-ethan-how-do-massless-particles-experience-gravity/#204644ce1cd0), within the newtonian framework massless particles do not experience g. It is due to the how gravity bends space that massless objects experience g. – Aditya P May 23 '19 at 11:33
  • @Aditya From that article: "... masses can exert no force on it. Anything, no matter how great, multiplied by 0 is still equal to 0." --- except **infinity**. Sticking to the Newtonian framework, a massless particle requires zero force to have finite acceleration. Consider Galileo's thought experiment, tying two unequal masses together and dropping them, but now have the smaller one be massless. (1/2) –  May 23 '19 at 17:11
  • In the same vein, "power dissipated in an ideal conductor must be zero" is true for finite current, but not necessarily true for infinite current. The point is that we can actually make sense of \$i^2 R = \infty^2 \cdot 0\$; we don't have to throw our hands in the air and say "not defined". (2/2) These issues aside, does the energy derivation above make sense to you? –  May 23 '19 at 17:15
  • @lastresort I agree that you found total energy dissipated correctly. It is independent of R. But that was derived assuming a finite non zero R, since it's in the denominator of the integral. In order to evaluate the integral we need R to be non zero. I haven't studied generalized functions so I'm not clear on your last paragraph. Setting this aside, like Elliot asked I'd also be interested to know how all that energy (the physics involved) dissipated in that instant? – Aditya P May 23 '19 at 17:38
  • @Aditya At this point it is a matter of philosophy. One might think of an ideal conductor as having infinitesimal resistance; then the argument becomes "are infinitesimals equal to zero?". In terms of physics, the heat is dissipated **in the ideal conducting wire**, because for one instant, the current is **infinite**. If you wish to discuss this further, please flag this comment so that a moderator can move our discussion to chat. –  May 24 '19 at 04:41
  • @lastresort it's fine. I think Huisman's answer makes more sense to me. As Elliot said in the comment to the question. Voltage cannot change instantaneously across an ideal capacitor, but parallel elements need to have the same voltage. This built in contradiction means the question is invalid. – Aditya P May 24 '19 at 04:47
  • Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/94044/discussion-between-lastresort-and-aditya). –  May 24 '19 at 04:48