Capacitor theory