Conventions in these notes. A switch operates at t=0. The instant t=0− is just before it operates (the old circuit, usually in DC steady state), and t=0+ is just after (the new circuit). Each element follows the passive sign convention: the reference current enters the terminal marked + for the reference voltage, so vL=LdtdiL and iC=CdtdvC. Sinusoidal amplitudes in these notes are peak values, not rms.
The energy stored in a capacitor, 21CvC2, and in an inductor, 21LiL2, cannot change in zero time unless infinite power is available. So as long as the capacitor current and the inductor voltage stay finite (no impulses), the capacitor voltage and the inductor current are continuous. Everything else can jump at the switching instant, including iC, vL and every resistor voltage and current.
CONTINUITY OF THE STATE VARIABLES
vC(0+)=vC(0−),iL(0+)=iL(0−)
Holds whenever iC and vL contain no impulse. It can fail in two ways: a source that itself contains an impulse (such as δ(t)), or a switching that creates a loop of capacitors and ideal voltage sources whose voltages do not already satisfy KVL, or a cut-set of inductors and ideal current sources whose currents do not already satisfy KCL (see the tip below). Put in terms of charge and flux linkage: qC=CvC and λL=LiL are continuous.
EXAM TIP
Forced jumps. Suppose closing a switch puts a capacitor directly across an ideal voltage source, or directly across another capacitor at a different voltage. KVL then makes the two voltages equal at once, which takes an impulse of current, so vC jumps. Across an ideal voltage source, vC(0+) is simply the source voltage. Between capacitors, use conservation of charge: at a node that no voltage source touches, the total charge on the capacitor plates joined there is the same at 0+ as at 0− (resistors pass no charge in zero time). The dual case is opening a switch that forces an inductor into series with an ideal current source, or two inductors carrying different currents into series. With a current source, iL(0+) is simply the source current. Between inductors, use conservation of flux linkage around a loop through them: with each current measured in the same direction around the loop, ∑Lkik is the same at 0+ as at 0−. Charge and flux linkage are conserved, but energy is not (see the energy section).