Capacitor charge conservation theorem