Sub topic 2
What Cannot Change Instantly: Capacitor Voltage and Inductor Current
This chapter assumes you know Ohm's law, KVL and KCL, series and parallel resistor reduction, and basic calculus. It also assumes you have seen the ideal element relations i = C dv/dt for a capacitor and v = L di/dt for an inductor. The goal here is to turn those relations into two working rules. Those rules let you find the state of a circuit right after a switch moves, and you will use them in every later chapter.
Why energy storage forces continuity
A resistor has no memory. Its voltage and current both jump whenever the circuit around it changes. A capacitor and an inductor each store energy, and stored energy cannot change by a finite amount in zero time.
The energy in a capacitor is w = ½ C v². The energy in an inductor is w = ½ L i². If the capacitor voltage jumped, the energy would jump too. Power is the rate of change of energy, p = dw/dt. A jump in energy within zero time would need infinite power. Real sources and real circuits cannot supply that, so in a circuit with finite sources and finite resistances the stored-energy variables must change smoothly.
The same conclusion follows from the element equations:
- For a capacitor, i = C dv/dt. If v jumped, dv/dt would be infinite, and so would the current. A finite current forces v to be continuous.
- For an inductor, v = L di/dt. If i jumped, the voltage would be infinite. A finite voltage forces i to be continuous.
Write the instant just before a switching event as t = 0⁻ and the instant just after as t = 0⁺. The two rules are:
Every other quantity can jump at t = 0⁺. This includes the capacitor current, the inductor voltage, and every resistor voltage and current. Those jumps are not violations of any law. They are how the circuit rebalances so that KVL and KCL still hold with the continuous quantity held fixed.
What is allowed to jump
The following table summarizes the two groups.
| Quantity | Can it jump at a switching instant? | Reason |
|---|---|---|
| Capacitor voltage v_C | No | Energy ½ C v² must stay finite |
| Inductor current i_L | No | Energy ½ L i² must stay finite |
| Capacitor current i_C | Yes | i_C = C dv_C/dt, and the slope can change abruptly |
| Inductor voltage v_L | Yes | v_L = L di_L/dt, and the slope can change abruptly |
| Resistor voltage and current | Yes | v = Ri has no memory |
A common slip is to say that "the capacitor current is zero at t = 0⁺ because nothing changed yet." That is wrong. The capacitor current is often at its largest value right after the switch closes, because the capacitor voltage is still at its old value while the source has just changed.
Behaving like a source at t = 0⁺
The continuity rules give a fast way to draw the circuit at t = 0⁺. You replace each storage element with a simple equivalent that holds its remembered value fixed.
- A capacitor with initial voltage V₀ acts like an ideal voltage source of value V₀. If V₀ = 0, it acts like a short circuit.
- An inductor with initial current I₀ acts like an ideal current source of value I₀. If I₀ = 0, it acts like an open circuit.
The reasoning is direct. A short circuit holds zero volts regardless of current, which matches an uncharged capacitor whose current may jump to any value. An open circuit carries zero current regardless of voltage, which matches an inductor with no current whose voltage may jump to any value.
Behaving like a simple element at t → ∞
The same idea works for the opposite end of a transient. In a circuit driven by constant (DC) sources, every voltage and current eventually stops changing. Then dv/dt = 0 and di/dt = 0, so:
- A capacitor carries i = C dv/dt = 0, so it acts like an open circuit.
- An inductor has v = L di/dt = 0, so it acts like a short circuit.
These two equivalent circuits, one for t = 0⁺ and one for t → ∞, supply the initial value and the final value that the general transient formula uses in a later chapter.
| Element | At t = 0⁺ (initial state V₀ or I₀) | At t → ∞ (DC steady state) |
|---|---|---|
| Capacitor | Voltage source V₀ (short if V₀ = 0) | Open circuit |
| Inductor | Current source I₀ (open if I₀ = 0) | Short circuit |
A procedure for the initial state
Use these steps whenever a switch changes the circuit.
- Draw the circuit as it was for t < 0 and assume it has reached DC steady state. Replace each capacitor with an open circuit and each inductor with a short circuit.
- Solve that circuit for vC(0⁻) and iL(0⁻).
- Apply continuity: vC(0⁺) = vC(0⁻) and iL(0⁺) = iL(0⁻).
- Draw the circuit for t > 0 with the new switch position. Replace each capacitor with a voltage source of value vC(0⁺) and each inductor with a current source of value iL(0⁺).
- Solve this resistive circuit for any other quantity you need at t = 0⁺, such as iC(0⁺) or vL(0⁺).
Step 1 carries an assumption. It only works if the circuit sat in the old configuration long enough for the transients to die out. Problem statements usually say this with phrases such as "the switch has been closed for a long time." If the statement gives an explicit initial voltage or current, use that instead.
Worked example: capacitor current jumps
A 12 V source, a switch, and a 4 kΩ resistor are in series with a 10 µF capacitor. The capacitor is initially uncharged, and the switch closes at t = 0.
At t = 0⁻ the capacitor voltage is 0 V, so v_C(0⁺) = 0 V. The capacitor behaves like a short at t = 0⁺. KVL around the loop gives
12 V = i(0⁺) · 4 kΩ + 0 V
so i(0⁺) = 3 mA. The current was 0 mA just before the switch closed, so it jumped by 3 mA. The capacitor voltage did not move.
As time passes, the capacitor charges and its voltage rises toward 12 V. At t → ∞ the capacitor behaves like an open circuit, the current is 0, and v_C = 12 V. The current has therefore jumped up to 3 mA and then decays, while the voltage rises smoothly from 0. The chapter on the RC step response derives the curve between these two states.
Worked example: inductor voltage jumps
A 12 V source, a switch, a 100 Ω resistor, and a 10 mH inductor are in series. The inductor current is initially zero, and the switch closes at t = 0.
At t = 0⁻ the current is zero, so i_L(0⁺) = 0 A. The inductor behaves like an open circuit at t = 0⁺. No current flows through the resistor, so the resistor voltage is 0 V, and KVL gives
v_L(0⁺) = 12 V − 0 V = 12 V.
The full source voltage appears across the inductor at the first instant. The current then grows. At t → ∞ the inductor behaves like a short, and the current is 12 V / 100 Ω = 120 mA, with v_L = 0.
A case with a nonzero initial state
Suppose a 5 V source charges a capacitor in series with a 1 kΩ resistor, but the capacitor already holds 2 V when the switch closes. Continuity gives v_C(0⁺) = 2 V. The capacitor acts like a 2 V source, and KVL gives
5 V = i(0⁺) · 1 kΩ + 2 V
so i(0⁺) = 3 mA. The initial voltage on the capacitor reduces the starting current. If the capacitor had held 5 V, the current would start at 0 and nothing would happen.
You can check the logic of the procedure with a short script that applies the rules to a single series loop. It uses the capacitor and inductor cases from this chapter.
def initial_state_series_rc(v_source, r, v_c0):
"""Capacitor in series with R. Returns i(0+) and v_R(0+)."""
i0 = (v_source - v_c0) / r
return i0, i0 * r
def initial_state_series_rl(v_source, r, i_l0):
"""Inductor in series with R. Returns v_L(0+) and v_R(0+)."""
v_r = i_l0 * r
return v_source - v_r, v_r
i0, vr = initial_state_series_rc(12.0, 4e3, 0.0)
print(f"RC, uncharged: i(0+) = {i0 * 1e3:.2f} mA, v_R(0+) = {vr:.1f} V")
i0, vr = initial_state_series_rc(5.0, 1e3, 2.0)
print(f"RC, 2 V stored: i(0+) = {i0 * 1e3:.2f} mA, v_R(0+) = {vr:.1f} V")
vl, vr = initial_state_series_rl(12.0, 100.0, 0.0)
print(f"RL, zero current: v_L(0+) = {vl:.1f} V, v_R(0+) = {vr:.1f} V")Where the rules fail
Continuity depends on the assumption of finite voltages and currents. Two situations break that assumption in an idealized model.
- Capacitors connected by a switch. Close a switch between a charged capacitor and an uncharged one, with no resistance in the loop, and KVL demands that both voltages become equal at once. The charge is conserved, but the voltage of the first capacitor drops instantly. Energy is also lost, since the ideal model has no place to put it. In a real circuit, wire resistance and inductance limit the current, and the transient takes a very short but nonzero time. Adding a small series resistor to the model removes the paradox.
- Inductors forced in series with a current source or an open switch. If you open a switch that carries inductor current, the model asks the current to drop to zero at once. That implies an enormous inductor voltage. In a real circuit this appears as a voltage spike or an arc across the switch. A later chapter covers how to limit it.
In both cases the ideal-element rule still holds for any circuit with finite resistance. The failures show up only when an idealization removes the resistance that would normally limit the current or voltage.
Common errors
- Assuming the capacitor current or inductor voltage is zero at t = 0⁺. These are usually the quantities that jump the most.
- Using the t < 0 circuit to find values for t > 0 elements other than vC and iL. Only the two continuous variables carry over.
- Treating a capacitor as a short at t → ∞. In DC steady state it is an open circuit.
- Forgetting that a charged capacitor at t = 0⁺ is a voltage source, not a short.
- Applying the steady-state replacement for t < 0 when the circuit had not been in that configuration long enough.
Exercise
A 9 V source is connected through a closed switch to a 3 kΩ resistor, then in series to the parallel combination of a 1 µF capacitor and nothing else, so the loop is the source, the resistor, and the capacitor. The switch has been open for a long time and the capacitor is uncharged. The switch closes at t = 0. Find vC(0⁺), i(0⁺), and the values of vC and i as t → ∞.
Show answer
Continuity gives vC(0⁺) = 0 V, so the capacitor acts as a short at t = 0⁺. KVL gives 9 V = i(0⁺)·3 kΩ, so i(0⁺) = 3 mA. As t → ∞ the capacitor acts as an open circuit, so i = 0 and vC = 9 V.
Exercise
In the circuit of a 6 V source, a 60 Ω resistor and a 30 mH inductor in series, the switch has been closed for a long time. At t = 0 the source is replaced by a short circuit, so the resistor and inductor form a closed loop. Find iL(0⁺) and vL(0⁺).
Show answer
For t < 0 the inductor acts as a short at DC steady state, so iL(0⁻) = 6 V / 60 Ω = 100 mA. By continuity iL(0⁺) = 100 mA. The inductor now acts as a 100 mA current source driving the 60 Ω resistor, so the resistor voltage has magnitude 100 mA × 60 Ω = 6 V. The inductor voltage at t = 0⁺ is therefore v_L(0⁺) = −6 V in the loop direction that keeps the current at 100 mA, so the inductor voltage reverses sign from its steady-state value of 0 V. Its magnitude is 6 V.