The energy stored in a capacitor is defined as the amount of work required to charge it. Can anyone clarify to me who does this work? It sure must be opposite to the electric field. In the derivation why is it ∫ v dq ... I don't get this integral. Why isn't it negative?? Thanks!