Sub topic 3
Splitting the Response into Forced and Natural Parts
The previous chapter derived the second-order equation for the series RLC circuit. This chapter splits its solution into two pieces and shows why that split makes the later damping cases routine. It assumes you can write KVL for a series loop and use the element relations i = C dv/dt and v = L di/dt. It also assumes you have solved a first-order RC step response, and that you know a linear constant-coefficient differential equation has a homogeneous part and a particular part.
The equation to solve
A DC source Vs is switched into a series loop of R, L and C at t = 0. Take the capacitor voltage v(t) as the unknown. KVL for t > 0 gives:
Vs = R i + L di/dt + v, with i = C dv/dt.
Substituting the current gives the circuit equation:
LC v'' + RC v' + v = Vs
Dividing by LC and using α = R/(2L) and ω0² = 1/(LC):
v'' + 2α v' + ω0² v = ω0² Vs
This is linear, has constant coefficients, and has a constant right-hand side. Those three properties let you solve it in two independent pieces.
Why the solution splits
Let vf be any one function that satisfies the full equation. Let vn be any function that satisfies the same equation with the source set to zero, called the homogeneous equation. Then their sum also satisfies the full equation:
(vf + vn)'' + 2α (vf + vn)' + ω0² (vf + vn) = ω0² Vs + 0
This follows from linearity: differentiation and multiplication by constants distribute over sums. The pieces have names:
- The forced response v_f is a particular solution. It has the same character as the source, so for a DC source it is a constant.
- The natural response v_n solves the homogeneous equation. It depends only on R, L and C, not on Vs. It carries the free constants that the initial conditions will fix.
The complete response is v(t) = vf(t) + vn(t).
Finding the forced response
For a constant source, try a constant vf. Then vf' = v_f'' = 0, and the equation reduces to:
ω0² vf = ω0² Vs, so vf = Vs
You can reach the same answer without any algebra by looking at the circuit long after the switch closes. A DC steady state has no changing voltages or currents, so:
- The capacitor current C dv/dt is zero, so the capacitor acts as an open circuit.
- The inductor voltage L di/dt is zero, so the inductor acts as a short circuit.
- The loop current is zero, so there is no drop across R.
- All of Vs appears across the capacitor.
The forced response is therefore the final value of v. Reading it from the circuit this way also works for networks too complicated to reduce to one equation by inspection. Replace C with an open circuit and L with a short circuit, then solve the resulting resistive circuit.
Finding the natural response
Setting the source to zero gives:
vn'' + 2α vn' + ω0² v_n = 0
Try v_n = K e^(st). Each derivative brings down a factor of s, and K e^(st) cancels, leaving the characteristic equation:
s² + 2α s + ω0² = 0
Its two roots s1 and s2 decide the damping case. The next chapters work through the roots in detail. For now, the structure matters: v_n is a combination of two terms with two unknown constants, such as K1 e^(s1 t) + K2 e^(s2 t) in the overdamped case. The forced part has no free constants. It is fully determined by the source.
Set the source to zero here only in the equation. The physical circuit still has its source connected. You are solving a different equation to get the shape of the part that depends on R, L and C.
Why the natural part dies out
With R > 0, α is positive, and every case has a decaying factor:
- Overdamped: both roots are real and negative, so both exponentials shrink.
- Critically damped: the repeated root gives (K1 + K2 t) e^(−αt), and the exponential beats the factor t.
- Underdamped: the roots are −α ± jωd, giving e^(−αt) times a sinusoid.
So vn → 0, and v(t) → vf = Vs. In this role the natural response is called the transient, and the forced response is the steady state. The two vocabularies match only for a DC source. For a sinusoidal source, the forced response is a steady sinusoid, so it is not constant even in steady state.
Two edge cases:
- R = 0. Then α = 0, and the natural response is a sinusoid at ω0 with no decay. The capacitor voltage oscillates forever around Vs. In practice some resistance always exists, so the transient fades.
- Very large R. The slower root approaches zero from below, so the natural part decays slowly even though nothing oscillates. Large resistance gives a sluggish response, not a quick one.
Fixing the constants: the common mistake
The two constants in vn must satisfy the initial conditions of the complete response, not of vn alone. This is the most common error in this method.
Differentiate v = vf + vn and evaluate at t = 0⁺. Because v_f = Vs is constant:
- v(0⁺) = Vs + vn(0⁺), so vn(0⁺) = v(0⁺) − Vs
- v'(0⁺) = vn'(0⁺), because vf' = 0
Capacitor voltage and inductor current cannot jump, so v(0⁺) = v(0⁻), and i(0⁺) = i(0⁻). Since i = C v', the derivative condition is v'(0⁺) = i(0⁺)/C. Together:
| Quantity | Value at t = 0⁺ | Source of the value |
|---|---|---|
| v(0⁺) | v(0⁻) | Capacitor voltage is continuous |
| v'(0⁺) | i(0⁻)/C | Inductor current is continuous, and i = C v' |
| v_n(0⁺) | v(0⁻) − Vs | Subtract the forced part |
| v_n'(0⁺) | i(0⁻)/C | The forced part has zero slope |
Writing v_n(0) = v(0) would be wrong whenever Vs is not zero, because it leaves the forced part out of the bookkeeping.
Worked example
Take Vs = 10 V, R = 20 Ω, L = 1 mH, C = 1 µF, with the capacitor uncharged and the inductor carrying no current before the step.
- Compute the parameters:
- α = R/(2L) = 20/0.002 = 10,000 s⁻¹
- ω0 = 1/√(LC) = 1/√(10⁻⁹) ≈ 31,623 rad/s
- Since α < ω0, this case is underdamped, with ωd = √(ω0² − α²) = √(10⁹ − 10⁸) = 30,000 rad/s.
- Forced part: v_f = 10 V.
- Natural part, using the underdamped form: v_n = e^(−αt)(B1 cos ωd t + B2 sin ωd t).
- Initial conditions: v(0) = 0 gives vn(0) = −10. With zero inductor current, v'(0) = 0, so vn'(0) = 0.
- Apply them. vn(0) = B1 = −10. The derivative at zero is vn'(0) = −α B1 + ωd B2 = 0, so B2 = α B1/ωd = −10/3.
The complete response is:
v(t) = 10 − 10 e^(−10000 t) (cos 30000 t + (1/3) sin 30000 t)
This matches the closed form in the code below, since α/ωd = 1/3.
Checking the split numerically
A split is correct only if the sum satisfies the original equation and the initial conditions. The script below checks both the full solution and the natural part. The full solution should leave a residual near zero in LC v'' + RC v' + v − Vs. The natural part should leave a residual near zero in the same expression with Vs removed. Central differences approximate the derivatives.
import math
R, L, C, Vs = 20.0, 1e-3, 1e-6, 10.0
alpha = R / (2 * L)
w0 = 1 / math.sqrt(L * C)
wd = math.sqrt(w0**2 - alpha**2)
def v_natural(t):
return -Vs * math.exp(-alpha * t) * (math.cos(wd * t) + (alpha / wd) * math.sin(wd * t))
def v_total(t):
return Vs + v_natural(t)
def residual(f, t, source, h=1e-7):
d1 = (f(t + h) - f(t - h)) / (2 * h)
d2 = (f(t + h) - 2 * f(t) + f(t - h)) / h**2
return L * C * d2 + R * C * d1 + f(t) - source
times = [k * 20e-6 for k in range(1, 26)]
worst_total = max(abs(residual(v_total, t, Vs)) for t in times)
worst_natural = max(abs(residual(v_natural, t, 0.0)) for t in times)
print("v(0) =", v_total(0.0))
print("max residual, full equation :", worst_total)
print("max residual, homogeneous eqn :", worst_natural)
assert abs(v_total(0.0)) < 1e-12
assert worst_total < 1e-4 and worst_natural < 1e-4The two residuals are tiny compared with the terms in the equation, which are of order 10 V. Both the sum and the natural part pass, as the superposition argument predicts. Setting the source to zero changes the residual of the sum by exactly Vs, so the forced part is what supplies that missing term.
Summary of the procedure
- Write the circuit equation for the capacitor voltage and identify α and ω0.
- Find v_f from the final DC circuit, with the capacitor open and the inductor shorted.
- Write v_n in the form that matches the roots of s² + 2αs + ω0² = 0.
- Find v(0⁺) and v'(0⁺) from the capacitor voltage and inductor current just before the step.
- Impose those conditions on vf + vn, using vn(0) = v(0) − vf(0) and vn'(0) = v'(0) − vf'(0), to solve for the constants.
- Check that v(t) approaches v_f as t grows.
Exercise
A series RLC circuit has Vs = 12 V, and before the step the capacitor holds 2 V while the inductor current is 0.5 mA. With C = 1 µF, what are the forced response, vn(0⁺) and vn'(0⁺)?
Show answer
The forced response is the final value, vf = 12 V. The capacitor voltage is continuous, so v(0⁺) = 2 V, and vn(0⁺) = 2 − 12 = −10 V. The inductor current is continuous, so v'(0⁺) = i(0⁺)/C = 0.5×10⁻³ / 10⁻⁶ = 500 V/s. The forced part has zero slope, so v_n'(0⁺) = 500 V/s.
Exercise
A student solves a step response and finds v(t) → 0 as t → ∞ although Vs = 5 V. Which step of the forced/natural split was most likely skipped or wrong?
Show answer
The forced response was left out or set to zero. Only the natural part, which decays to zero when R > 0, was kept. The complete response must include v_f = 5 V, so v(t) should approach 5 V.
Exercise
Why is it wrong to impose v(0) = 0 on the natural response alone when Vs = 10 V and the capacitor starts uncharged?
Show answer
The initial conditions belong to the complete response v = vf + vn. With vf = 10 V, v(0) = 0 requires vn(0) = −10 V, not 0. Using 0 would make v(0) = 10 V, which contradicts the continuity of capacitor voltage.