Say we have two capacitors C1 and C2, initially isolated from each other and each having an initial voltage Vc1 and Vc2 respectively, where Vc1>Vc2. When suddenly connected to each other in parallel, obviously C1 will discharge to C2 until their voltages meet at a steady state value. Assuming zero resistance between the two capacitors, what is the expression for this steady state voltage Vc in terms of Vc1 and Vc2? Is it just the average of Vc1 and Vc2?
This question involves the capacitor paradoxon, where some part of the energy stored in both capacitors seems to disappear.
In theory, i.e. in the case of ideal capacitors, without resistances or inductivities or radiation of HF or other losses involved, the capacitors are strictly parallel after connection, which is a contradiction, since the initial value/voltage of the differential equation would be defined to be Vc1 and Vc2 at the same time, and Vc1 > Vc2.
The paralleled capacitors can be seen to be 1 capacitor after connection, having Vc1 and Vc2 at the same time. So this case is simply impossible, it is a mathematical contradiction concerning the initial values. The 2 conditions are Vc1 = Vc2 and Vc1 > Vc2.
In reality, there are always resistors, inductivities, spark gaps, other capacities, HF radiation etc. involved, i.e. these 2 capacitors are never directly connected in parallel as it is the case in theory.
Just got a likely answer to my own question by asking a friend, who pointed out that charge is always conserved.
The total charge in our circuit (two capacitors in parallel) is Q = Vc1*C1 + Vc2*C2. We can then equate this to the total charge when voltage has settled, Vc*(C1+C2), giving a final expression of
Vc = (Vc1*C1 + Vc2*C2)/(C1+C2)
Sure the circuit in question doesn't have real life relevance, but I think this equation is very handy when you're just concerned with the steady state values.