Differential EquationsVibrations and Oscillations4 of 4
Vibrations and Oscillations · 4

RLC Circuits

We want to find the charge and current in a circuit built from an inductor, a resistor, and a capacitor, and we can do it without learning any new math because this circuit follows the exact same differential equation as a block on a spring.

The Mechanical Analogy and Circuit Equations
kk
mm
bb
F(t)\htmlClass{lc-green}{F(t)}
1Cmx′′+bx′+kx\vphantom{\tfrac{1}{C}}m\htmlClass{lc-orange}{x''} + b\htmlClass{lc-pink}{x'} + k\htmlClass{lc-blue}{x}
1C=F(t)\vphantom{\tfrac{1}{C}}{}= \htmlClass{lc-green}{F(t)}
LL
RR
CC
1CLq′′+Rq′+1Cq\vphantom{\tfrac{1}{C}}L\htmlClass{lc-orange}{q''} + R\htmlClass{lc-pink}{q'} + \tfrac{1}{C}\htmlClass{lc-blue}{q}
1C=E(t)\vphantom{\tfrac{1}{C}}{}= \htmlClass{lc-green}{E(t)}
k\htmlClass{lc-blue}{k}
m\htmlClass{lc-orange}{m}
b\htmlClass{lc-pink}{b}
v=x′\htmlClass{lc-pink}{v = x'}
F(t)\htmlClass{lc-green}{F(t)}
x\htmlClass{lc-blue}{x}
E(t)\htmlClass{lc-green}{E(t)}
L\htmlClass{lc-orange}{L}
R\htmlClass{lc-pink}{R}
1C\htmlClass{lc-blue}{\dfrac{1}{C}}
I=q′\htmlClass{lc-pink}{I = q'}
q\htmlClass{lc-blue}{q}

In a single loop, the charge q(t)\charge{q(t)} stored on the capacitor plates plays the role of position x(t)\charge{x(t)}, and the current I(t)=q′(t)\current{I(t)} = \current{q'(t)} flowing through the wire is the velocity of that charge. By Kirchhoff's voltage law, the voltage drops across the inductor, resistor, and capacitor add up to the driving voltage E(t)\source{E(t)}:

Lq′′⏟magnetic inertia(mx′′)+Rq′⏟heat drag(bx′)+1Cq⏟capacitor pushback(kx)\displaystyle \underbrace{L \accel{q''}}_{\substack{\text{magnetic inertia} \\ (m \accel{x''})}} + \underbrace{R \current{q'}}_{\substack{\text{heat drag} \\ (b \current{x'})}} + \underbrace{\frac{1}{C} \charge{q}}_{\substack{\text{capacitor pushback} \\ (k \charge{x})}} =E(t)⏟voltage source(F(t))\displaystyle = \underbrace{\source{E(t)}}_{\substack{\text{voltage source} \\ (\source{F(t)})}}

Here the capacitor coefficient is 1C\stiff{\frac{1}{C}} rather than CC, because a larger capacitance CC has more room on its plates and pushes back less, like a softer spring.

When a problem asks for the current I(t)\current{I(t)} instead of the charge q(t)\charge{q(t)}, we can either solve the charge equation first and take I(t)=q′(t)\current{I(t)} = \current{q'(t)} at the end, or take the derivative of every term in the charge equation using q′=I\current{q'} = \current{I}, q′′=I′\accel{q''} = \accel{I'}, and q′′′=I′′q''' = I'' to get a differential equation directly for current:

LI′′+RI′+1CI\displaystyle L I'' + R \accel{I'} + \frac{1}{C} \current{I} =E′(t)\displaystyle = \source{E'(t)}

In the interactive circuit below, position x\charge{x} matches stored capacitor charge q\charge{q} pushing back with stiffness 1C\stiff{\tfrac{1}{C}}, velocity x′\current{x'} matches current I\current{I} losing energy as heat in the resistor R\drag{R}, and acceleration x′′\accel{x''} matches changes in current I′\accel{I'} resisted by the inductor's magnetic field (inductance L\inertia{L}).

Move the block by hand to see how the capacitor, resistor, and inductor push back just like the spring, oil, and mass.
1

Free RLC Circuits and the Three Damping Cases

Now let's find how a charged circuit behaves on its own when there is no outside voltage source (E(t)=0\source{E(t)} = 0):

Lq′′+Rq′+1Cq\displaystyle L \accel{q''} + R \current{q'} + \frac{1}{C} \charge{q} =0\displaystyle = 0

Trying q(t)=ert\charge{q(t)} = \charge{e^{rt}} turns derivatives into powers of rr, giving the characteristic equation Lr2+Rr+1C=0Lr^2 + Rr + \frac{1}{C} = 0 and its roots:

r\displaystyle r =−R±R2−4LC2L\displaystyle = \frac{-R \pm \sqrt{\drag{R^2} - \natural{\tfrac{4L}{C}}}}{2L}
Free RLC Circuits and the Three Damping Cases
LL
RR
CC
q(0)\htmlClass{lc-blue}{q(0)}
I(0)\htmlClass{lc-pink}{I(0)}
Lq′′+Rq′+1Cq=0q(t)=  ?\begin{aligned} L\htmlClass{lc-orange}{q''} + R\htmlClass{lc-pink}{q'} + \tfrac{1}{C}\htmlClass{lc-blue}{q} &= 0 \\[2pt] \htmlClass{lc-blue}{q(t)} &= \;? \end{aligned}
Text solution
Overdamped (R2>4LC\drag{R^2} > \natural{\tfrac{4L}{C}}), with L=1 HL = 1\text{ H}, R=5 ΩR = 5\text{ }\Omega, and C=14 FC = \frac{1}{4}\text{ F}Substitute 1C=4\frac{1}{C} = 4 into the unforced charge equation and factor the characteristic equation into two distinct negative real roots.
q′′+5q′+4q=0r2+5r+4=(r+1)(r+4)=0  ⟹  r=−1,−4q(t)=c1e−t+c2e−4t\displaystyle \begin{aligned} \accel{q''} + 5\current{q'} + 4\charge{q} &= 0 \\ r^2 + 5r + 4 &= (r + 1)(r + 4) \\ &= 0 \\ \implies r &= -1, -4 \\ \charge{q(t)} &= c_1 e^{-t} + c_2 e^{-4t} \end{aligned}
Because there are no sine or cosine terms, the resistor turns the stored energy into heat before the circuit can oscillate; the charge simply drains to zero (crossing q=0\charge{q} = 0 at most once if started with a strong initial current I(0)\current{I(0)} in the opposite direction).
Underdamped (R2<4LC\drag{R^2} < \natural{\tfrac{4L}{C}}), with L=1 HL = 1\text{ H}, R=2 ΩR = 2\text{ }\Omega, and C=15 FC = \frac{1}{5}\text{ F}Substitute 1C=5\frac{1}{C} = 5 and use the quadratic formula to find the complex conjugate roots r=−α±iβr = -\alpha \pm i\beta.
q′′+2q′+5q=0r2+2r+5=0  ⟹  r=−2±4−202=−1±2iq(t)=e−t(c1cos⁡(2t)+c2sin⁡(2t))\displaystyle \begin{aligned} \accel{q''} + 2\current{q'} + 5\charge{q} &= 0 \\ r^2 + 2r + 5 &= 0 \\ \implies r &= \frac{-2 \pm \sqrt{4 - 20}}{2} \\ &= -1 \pm 2i \\ \charge{q(t)} &= e^{-t}\bigl(c_1 \cos(2t) \\ &\qquad + c_2 \sin(2t)\bigr) \end{aligned}
So the charge oscillates at 2 rad/s2\text{ rad/s} as energy moves back and forth between the capacitor's electric field and the inductor's magnetic field, while the resistor steadily shrinks the amplitude inside the decaying envelope e−te^{-t}.
Critically damped (R2=4LC\drag{R^2} = \natural{\tfrac{4L}{C}}), with L=1 HL = 1\text{ H}, R=4 ΩR = 4\text{ }\Omega, and C=14 FC = \frac{1}{4}\text{ F}When R2\drag{R^2} and 4LC\natural{\tfrac{4L}{C}} both equal 1616, the characteristic equation has a single repeated root r=−R2Lr = -\frac{R}{2L} and the second term gets multiplied by tt.
q′′+4q′+4q=0r2+4r+4=(r+2)2=0  ⟹  r=−2 (repeated)q(t)=c1e−2t+c2te−2t\displaystyle \begin{aligned} \accel{q''} + 4\current{q'} + 4\charge{q} &= 0 \\ r^2 + 4r + 4 &= (r + 2)^2 = 0 \\ \implies r &= -2 \text{ (repeated)} \\ \charge{q(t)} &= c_1 e^{-2t} + c_2 t e^{-2t} \end{aligned}
So the circuit sits right on the boundary between oscillating and slow draining, returning to zero as fast as possible without oscillating.
I(0)<0\htmlClass{lc-pink}{I(0)} < 0
overdamped: R2>4LC\text{overdamped:}\ \htmlClass{lc-pink}{R^2} > \htmlClass{lc-violet}{\dfrac{4L}{C}}
q\htmlClass{lc-mute}{q}
t\htmlClass{lc-mute}{t}
critically damped: R2=4LC\text{critically damped:}\ \htmlClass{lc-pink}{R^2} = \htmlClass{lc-violet}{\dfrac{4L}{C}}
q\htmlClass{lc-mute}{q}
t\htmlClass{lc-mute}{t}
±e−αt\pm e^{-\alpha t}
underdamped: R2<4LC\text{underdamped:}\ \htmlClass{lc-pink}{R^2} < \htmlClass{lc-violet}{\dfrac{4L}{C}}
q\htmlClass{lc-mute}{q}
t\htmlClass{lc-mute}{t}

In the circuit below, when resistance is large (R2>4LC\drag{R^2} > \natural{\tfrac{4L}{C}}), two negative real roots drain the charge smoothly without oscillating; right at the boundary R2=4LC\drag{R^2} = \natural{\tfrac{4L}{C}}, the two real roots meet to drain the circuit as fast as possible; and when resistance is low (R2<4LC\drag{R^2} < \natural{\tfrac{4L}{C}}), complex roots let energy move back and forth between the capacitor and inductor inside a decaying envelope.

A discharging RLC loop only oscillates when the resistor bottleneck is wide enough for the inductor's magnetic field to push charge onto the opposite capacitor plate before the energy turns into heat.
2

Steady-State Charge and Current in an AC Circuit

Next, let's connect our underdamped circuit (L=1 HL = 1\text{ H}, R=2 ΩR = 2\text{ }\Omega, C=15 FC = \frac{1}{5}\text{ F}) to an alternating voltage source E(t)=17cos⁡(2t) V\source{E(t)} = \source{17\cos(2t)}\text{ V} and find the steady-state charge qp(t)\steady{q_p(t)}, the steady-state current Ip(t)\current{I_p(t)}, and the peak current amplitude Imax⁡\current{I_{\max}}:

q′′+2q′+5q\displaystyle \accel{q''} + 2\current{q'} + 5\charge{q} =17cos⁡(2t)\displaystyle = \source{17\cos(2t)}

The total charge is the sum of the transient charge and the steady-state charge:

q(t)\displaystyle \charge{q(t)} =qtr(t)⏟transient charge(dies out via e−αt)+qp(t)⏟steady-state charge(oscillates at ω)\displaystyle = \underbrace{\natural{q_{\text{tr}}(t)}}_{\substack{\text{transient charge} \\ \text{(dies out via } e^{-\alpha t}\text{)}}} + \underbrace{\steady{q_p(t)}}_{\substack{\text{steady-state charge} \\ \text{(oscillates at } \omega\text{)}}}
Steady-State Charge and Current in an AC Circuit
q′′+2q′+5q=17cos⁡(2t)qp(t)=  ?Ip(t)=  ?\displaystyle \begin{aligned}\accel{q''} + 2\current{q'} + 5\charge{q} &= \source{17\cos(2t)}\\[6pt]\steady{q_p(t)} &= \;?\\[6pt]\current{I_p(t)} &= \;?\end{aligned}
Text solution
Write the trial steady-state charge qp(t)\steady{q_p(t)} at the driving frequency ω=2\omega = 2 and take two derivativesBecause the resistor term 2q′2\current{q'} turns cosine into sine and sine into cosine, include both cos⁡(2t)\cos(2t) and sin⁡(2t)\sin(2t) in qp(t)\steady{q_p(t)}.
qp(t)=Acos⁡(2t)+Bsin⁡(2t)qp′(t)=−2Asin⁡(2t)+2Bcos⁡(2t)qp′′(t)=−4Acos⁡(2t)−4Bsin⁡(2t)\displaystyle \begin{aligned} \steady{q_p(t)} &= A\cos(2t) + B\sin(2t) \\ \current{q_p'(t)} &= -2A\sin(2t) + 2B\cos(2t) \\ \accel{q_p''(t)} &= -4A\cos(2t) - 4B\sin(2t) \end{aligned}
Substitute into qp′′+2qp′+5qp=17cos⁡(2t)\accel{q_p''} + 2\current{q_p'} + 5\steady{q_p} = \source{17\cos(2t)} and match coefficientsGroup the cos⁡(2t)\cos(2t) terms and sin⁡(2t)\sin(2t) terms separately to solve for AA and BB.
cos⁡(2t) terms:(−4A+5A)+4B=17  ⟹  A+4B=17sin⁡(2t) terms:−4A+(−4B+5B)=0  ⟹  B=4AA+4(4A)=17  ⟹  17A=17  ⟹  A=1,B=4\displaystyle \begin{aligned} \cos(2t)\text{ terms:} & \\ (\accel{-4A} + \steady{5A}) + \current{4B} &= \source{17} \\ \implies A + 4B &= 17 \\[4pt] \sin(2t)\text{ terms:} & \\ \current{-4A} + (\accel{-4B} + \steady{5B}) &= 0 \\ \implies B &= 4A \\[4pt] A + 4(4A) &= 17 \\ \implies 17A &= 17 \\ \implies A &= 1, \quad B = 4 \end{aligned}
This gives the steady-state charge qp(t)=cos⁡(2t)+4sin⁡(2t) C\steady{q_p(t)} = \cos(2t) + 4\sin(2t)\text{ C}.
Differentiate qp(t)\steady{q_p(t)} to find the steady-state current Ip(t)\current{I_p(t)}Since current is the derivative of charge, differentiate qp(t)\steady{q_p(t)} directly rather than solving a second differential equation.
Ip(t)\displaystyle \current{I_p(t)} =qp′(t)\displaystyle = \current{q_p'(t)} =−2sin⁡(2t)+8cos⁡(2t)\displaystyle = -2\sin(2t) + 8\cos(2t) =8cos⁡(2t)−2sin⁡(2t) A\displaystyle = 8\cos(2t) - 2\sin(2t)\text{ A}
Combine the current coefficients into the peak current amplitude Imax⁡\current{I_{\max}}Any wave Mcos⁡(ωt)+Nsin⁡(ωt)M\cos(\omega t) + N\sin(\omega t) has amplitude M2+N2\sqrt{M^2 + N^2}.
Imax⁡\displaystyle \current{I_{\max}} =82+(−2)2\displaystyle = \sqrt{8^2 + (-2)^2} =64+4\displaystyle = \sqrt{64 + 4} =68\displaystyle = \sqrt{68} =217 A\displaystyle = 2\sqrt{17}\text{ A}

If a problem also gives starting values q(0)\charge{q(0)} and I(0)=q′(0)\current{I(0)} = \current{q'(0)} and asks for the total charge q(t)\charge{q(t)}, add the transient and steady-state pieces together first, giving q(t)=e−t(c1cos⁡(2t)+c2sin⁡(2t))+cos⁡(2t)+4sin⁡(2t)\charge{q(t)} = \natural{e^{-t}(c_1\cos(2t) + c_2\sin(2t))} + \steady{\cos(2t) + 4\sin(2t)}, before plugging in t=0t = 0 to solve for c1c_1 and c2c_2.

3

Electrical Resonance

Now let's see how the peak steady-state current Imax⁡\current{I_{\max}} depends on the driving frequency ω\omega of an AC source E0cos⁡(ωt)\source{E_0\cos(\omega t)} or E0sin⁡(ωt)\source{E_0\sin(\omega t)}, and what happens when we tune the circuit so the current reaches its largest possible value.

Electrical Resonance and Recap
E0cos⁡(ωt)\htmlClass{lc-green}{E_0\cos(\omega t)}
LL
RR
CC
I\htmlClass{lc-pink}{I}
largest Imax⁡ at ω=  ?\text{largest } \htmlClass{lc-pink}{I_{\max}}\text{ at } \omega = \;?

Because taking two derivatives of cos⁡(ωt)\cos(\omega t) or sin⁡(ωt)\sin(\omega t) brings out a factor of −ω2-\omega^2, the inductor term Lq′′L\accel{q''} and the capacitor term 1Cq\frac{1}{C}\charge{q} always have opposite signs and combine as 1C−Lω2\stiff{\frac{1}{C}} - \inertia{L\omega^2}. Solving for the steady-state current amplitude in general gives:

Imax⁡\displaystyle \current{I_{\max}} =E0ω(1C−Lω2)2+(Rω)2\displaystyle = \frac{\source{E_0}\omega}{\sqrt{\left(\stiff{\frac{1}{C}} - \inertia{L\omega^2}\right)^2 + (\drag{R\omega})^2}} =E0R2+(Lω−1Cω)2\displaystyle = \frac{\source{E_0}}{\sqrt{\drag{R^2} + \bigl(\inertia{L\omega} - \stiff{\frac{1}{C\omega}}\bigr)^2}}

When we tune the driving frequency ω\omega or the capacitance CC so that Lω2=1C\inertia{L\omega^2} = \stiff{\frac{1}{C}}, the opposing voltage drops across the inductor and capacitor cancel each other out at every instant, producing electrical resonance:

ω0=1LC⏟resonant frequency,Imax⁡=E0R⏟peak current at resonance\displaystyle \underbrace{\omega_0 = \frac{1}{\sqrt{LC}}}_{\text{resonant frequency}}, \qquad \underbrace{\current{I_{\max}} = \frac{\source{E_0}}{\drag{R}}}_{\text{peak current at resonance}}

In the circuit below, at low driving frequencies ω\omega the capacitor opposes the current most strongly, at high frequencies the inductor opposes it most strongly, and right at ω0=1LC\omega_0 = \tfrac{1}{\sqrt{LC}} the inductor and capacitor voltages are equal and opposite at every instant, canceling completely so the peak current reaches its maximum E0R\tfrac{\source{E_0}}{\drag{R}}.

Across driving frequencies, the capacitor and inductor push back in opposite directions, canceling completely at the resonant frequency so the current reaches its peak.

Key concepts

Every RLC circuit problem translates the spring equation mx′′+bx′+kx=F(t)m\accel{x''} + b\current{x'} + k\charge{x} = \source{F(t)} into electrical terms by matching inductance L\inertia{L} to mass, resistance R\drag{R} to damping, and 1C\stiff{\frac{1}{C}} to spring stiffness:

Setting up the equation for charge q(t)\charge{q(t)} vs. current I(t)\current{I(t)}

Write Lq′′+Rq′+1Cq=E(t)L\accel{q''} + R\current{q'} + \frac{1}{C}\charge{q} = \source{E(t)} when solving for capacitor charge (so L=2 HL = 2\text{ H}, R=6 ΩR = 6\text{ }\Omega, C=110 FC = \frac{1}{10}\text{ F} gives 2q′′+6q′+10q=E(t)2\accel{q''} + 6\current{q'} + 10\charge{q} = \source{E(t)}). If a problem asks directly for the current equation, differentiate every term to get LI′′+RI′+1CI=E′(t)LI'' + R\accel{I'} + \frac{1}{C}\current{I} = \source{E'(t)}, which is especially fast when the source is a constant DC battery like E(t)=12 V\source{E(t)} = \source{12}\text{ V}, because E′(t)=0\source{E'(t)} = 0 makes the right-hand side zero right away.

Classifying an unforced circuit (E(t)=0\source{E(t)} = 0)

Compare R2\drag{R^2} with 4LC\natural{\tfrac{4L}{C}} inside Lr2+Rr+1C=0Lr^2 + Rr + \frac{1}{C} = 0. When R2>4LC\drag{R^2} > \natural{\tfrac{4L}{C}} (overdamped, c1er1t+c2er2tc_1 e^{r_1 t} + c_2 e^{r_2 t}) or R2=4LC\drag{R^2} = \natural{\tfrac{4L}{C}} (critically damped, c1ert+c2tertc_1 e^{rt} + c_2 t e^{rt} with r=−R2Lr = -\frac{R}{2L}), the charge drains without oscillating, crossing zero at most once if started with a strong initial current I(0)=q′(0)\current{I(0)} = \current{q'(0)} in the opposite direction. Only when R2<4LC\drag{R^2} < \natural{\tfrac{4L}{C}} (underdamped, r=−α±iβr = -\alpha \pm i\beta) does charge oscillate as e−αt(c1cos⁡(βt)+c2sin⁡(βt))e^{-\alpha t}(c_1\cos(\beta t) + c_2\sin(\beta t)).

Driven AC circuits (E0cos⁡(ωt)\source{E_0\cos(\omega t)} or E0sin⁡(ωt)\source{E_0\sin(\omega t)}) and resonance

To find the steady-state waves qp(t)\steady{q_p(t)} and Ip(t)\current{I_p(t)}, plug qp(t)=Acos⁡(ωt)+Bsin⁡(ωt)\steady{q_p(t)} = A\cos(\omega t) + B\sin(\omega t) into the charge equation, match cosine and sine terms, and differentiate once to get Ip(t)=qp′(t)\current{I_p(t)} = \current{q_p'(t)} (if Ip(t)=Mcos⁡(ωt)+Nsin⁡(ωt)\current{I_p(t)} = M\cos(\omega t) + N\sin(\omega t), its peak is M2+N2\sqrt{M^2 + N^2}). When a problem only asks for the current amplitude Imax⁡\current{I_{\max}} or tuning capacitance CC at frequency ω\omega, skip undetermined coefficients and use Imax⁡=E0R2+(Lω−1Cω)2\current{I_{\max}} = \frac{\source{E_0}}{\sqrt{\drag{R^2} + (\inertia{L\omega} - \stiff{\tfrac{1}{C\omega}})^2}} directly, which reaches its maximum Imax⁡=E0R\current{I_{\max}} = \frac{\source{E_0}}{\drag{R}} when Lω=1Cω\inertia{L\omega} = \stiff{\frac{1}{C\omega}} at ω0=1LC\omega_0 = \frac{1}{\sqrt{LC}}.

4

Practice

1

An RLC circuit has an inductor of L=2 HL = 2\text{ H}, a resistor of R=6 ΩR = 6\text{ }\Omega, and a capacitor of C=110 FC = \tfrac{1}{10}\text{ F} connected in a loop with a voltage source E(t)\source{E(t)}. (a) Write the differential equation for the capacitor charge q(t)\charge{q(t)} when E(t)=50sin⁡(3t) V\source{E(t)} = \source{50\sin(3t)}\text{ V}. (b) Write the differential equation directly for the current I(t)\current{I(t)} when the source is replaced by a constant DC battery E(t)=12 V\source{E(t)} = \source{12}\text{ V}.

How is the capacitor's coefficient in the equation related to C=110 FC = \tfrac{1}{10}\text{ F}, and what happens to the right-hand side E(t)\source{E(t)} when you differentiate the charge equation to get the current equation?

(a) With L=2L = 2, R=6R = 6, and capacitor stiffness 1C=1110=10\stiff{\frac{1}{C}} = \frac{1}{\tfrac{1}{10}} = 10 (watch out for plugging in C=110C = \frac{1}{10} directly instead of 1C\stiff{\frac{1}{C}}, which gives the wrong equation 2q′′+6q′+110q=50sin⁡(3t)2q'' + 6q' + \frac{1}{10}q = 50\sin(3t)), the charge equation Lq′′+Rq′+1Cq=E(t)L\accel{q''} + R\current{q'} + \frac{1}{C}\charge{q} = \source{E(t)} is:
2q′′+6q′+10q\displaystyle 2\accel{q''} + 6\current{q'} + 10\charge{q} =50sin⁡(3t)\displaystyle = \source{50\sin(3t)}
(b) Differentiating the charge equation gives LI′′+RI′+1CI=E′(t)LI'' + R\accel{I'} + \frac{1}{C}\current{I} = \source{E'(t)}. Since the derivative of the constant battery voltage E(t)=12 V\source{E(t)} = \source{12}\text{ V} is E′(t)=0\source{E'(t)} = 0 (don't leave the constant 1212 on the right-hand side, which gives 2I′′+6I′+10I=122I'' + 6I' + 10I = 12), the current equation is:
2I′′+6I′+10I\displaystyle 2I'' + 6\accel{I'} + 10\current{I} =0\displaystyle = 0
2

An unforced RLC circuit has an inductor of L=1 HL = 1\text{ H} and a capacitor of C=19 FC = \tfrac{1}{9}\text{ F}. (a) Find the resistance RR that makes the circuit critically damped, and write the general solution q(t)\charge{q(t)} for that resistance. (b) If the resistor is instead set to R=2 ΩR = 2\text{ }\Omega, classify the damping and find the general solution q(t)\charge{q(t)}.

Compare R2\drag{R^2} with 4LC\natural{\tfrac{4L}{C}} inside the characteristic equation Lr2+Rr+1C=0Lr^2 + Rr + \frac{1}{C} = 0: what positive value of RR makes the term inside the square root equal zero?

(a) Here L=1L = 1 and 1C=9\frac{1}{C} = 9. Critical damping happens when R2=4LC=4(1)(9)=36\drag{R^2} = \natural{\tfrac{4L}{C}} = 4(1)(9) = \natural{36}, which gives R=6 ΩR = 6\text{ }\Omega (be careful not to drop the 44 in 4LC\natural{\tfrac{4L}{C}}, which gives R=3 ΩR = 3\text{ }\Omega). The characteristic equation r2+6r+9=(r+3)2=0r^2 + 6r + 9 = (r + 3)^2 = 0 has a repeated root r=−3r = -3. Remember to multiply the second term by tt for a repeated root (writing c1e−3t+c2e−3tc_1 e^{-3t} + c_2 e^{-3t} misses the second solution):
R\displaystyle R =6 Ω,q(t)\displaystyle = 6\text{ }\Omega, \qquad \charge{q(t)} =c1e−3t+c2te−3t C\displaystyle = c_1 e^{-3t} + c_2 t e^{-3t}\text{ C}
(b) With R=2 ΩR = 2\text{ }\Omega, we have R2=4<4LC=36\drag{R^2} = \drag{4} < \natural{\tfrac{4L}{C}} = \natural{36}, so the circuit is underdamped. Solving r2+2r+9=0r^2 + 2r + 9 = 0 gives:
r\displaystyle r =−2±4−362\displaystyle = \frac{-2 \pm \sqrt{4 - 36}}{2} =−2±42 i2\displaystyle = \frac{-2 \pm 4\sqrt{2}\,i}{2} =−1±22 i\displaystyle = -1 \pm 2\sqrt{2}\,i
(Watch out for forgetting to divide the imaginary part 424\sqrt{2} by 22, which gives the wrong frequency 424\sqrt{2} and e−t(c1cos⁡(42t)+c2sin⁡(42t))e^{-t}(c_1\cos(4\sqrt{2}t) + c_2\sin(4\sqrt{2}t)).) The general solution is:
q(t)\displaystyle \charge{q(t)} =e−t(c1cos⁡(22 t)+c2sin⁡(22 t)) C\displaystyle = e^{-t}\bigl(c_1\cos(2\sqrt{2}\,t) + c_2\sin(2\sqrt{2}\,t)\bigr)\text{ C}
3

An unforced circuit with L=1 HL = 1\text{ H}, R=4 ΩR = 4\text{ }\Omega, and C=13 FC = \tfrac{1}{3}\text{ F} starts at t=0t = 0 with charge q(0)=2 C\charge{q(0)} = 2\text{ C} on the capacitor and a strong initial current I(0)=−8 A\current{I(0)} = -8\text{ A} flowing in the opposite direction. Find q(t)\charge{q(t)}, and find the exact time t>0t > 0 when the charge on the capacitor crosses zero before draining back to zero.

After finding q(t)=c1er1t+c2er2t\charge{q(t)} = c_1 e^{r_1 t} + c_2 e^{r_2 t}, differentiate to get I(t)=q′(t)\current{I(t)} = \current{q'(t)} before plugging in I(0)=−8\current{I(0)} = -8.

With 1C=3\frac{1}{C} = 3, the equation q′′+4q′+3q=0\accel{q''} + 4\current{q'} + 3\charge{q} = 0 has characteristic equation r2+4r+3=(r+1)(r+3)=0r^2 + 4r + 3 = (r + 1)(r + 3) = 0, giving r=−1,−3r = -1, -3 and:
q(t)=c1e−t+c2e−3tI(t)=q′(t)=−c1e−t−3c2e−3t\displaystyle \begin{aligned} \charge{q(t)} &= \bone{c_1 e^{-t}} + \btwo{c_2 e^{-3t}} \\ \current{I(t)} = \current{q'(t)} &= \bone{-c_1 e^{-t}} - \btwo{3c_2 e^{-3t}} \end{aligned}
Plugging in t=0t = 0 gives c1+c2=2c_1 + c_2 = 2 and −c1−3c2=−8-c_1 - 3c_2 = -8 (don't drop the minus signs from the exponents when differentiating, which gives c1+3c2=−8c_1 + 3c_2 = -8 and the wrong constants c1=7,c2=−5c_1 = 7, c_2 = -5). Adding the two equations gives −2c2=−6  ⟹  c2=3-2c_2 = -6 \implies c_2 = 3 and c1=−1c_1 = -1, so:
q(t)\displaystyle \charge{q(t)} =−e−t+3e−3t C\displaystyle = \bone{-e^{-t}} + \btwo{3e^{-3t}}\text{ C}
Setting q(t)=0\charge{q(t)} = 0 to find when the charge crosses zero:
−e−t+3e−3t\displaystyle \bone{-e^{-t}} + \btwo{3e^{-3t}} =0  ⟹  3e−3t\displaystyle = 0 \implies \btwo{3e^{-3t}} =e−t  ⟹  e2t\displaystyle = \bone{e^{-t}} \implies e^{2t} =3\displaystyle = 3
(Watch out for dividing the wrong way to get e2t=13e^{2t} = \tfrac{1}{3} and a negative time t=−12ln⁡(3)t = -\frac{1}{2}\ln(3).) Taking the natural log and dividing by 22 gives:
t\displaystyle t =12ln⁡(3) s\displaystyle = \frac{1}{2}\ln(3)\text{ s}
4

An RLC circuit with L=1 HL = 1\text{ H}, R=4 ΩR = 4\text{ }\Omega, and C=15 FC = \tfrac{1}{5}\text{ F} is driven by an alternating voltage source E(t)=16sin⁡(t) V\source{E(t)} = \source{16\sin(t)}\text{ V}. Find the steady-state charge qp(t)\steady{q_p(t)} on the capacitor, the steady-state current Ip(t)\current{I_p(t)}, and the amplitude Imax⁡\current{I_{\max}} of the steady-state current.

Even though the voltage source has only sin⁡(t)\sin(t), the first derivative qp′\current{q_p'} in the resistor term turns sine into cosine and cosine into sine, so what form must qp(t)\steady{q_p(t)} take?

With 1C=5\frac{1}{C} = 5 and ω=1\omega = 1, the differential equation is q′′+4q′+5q=16sin⁡(t)\accel{q''} + 4\current{q'} + 5\charge{q} = \source{16\sin(t)}. Try qp(t)=Acos⁡(t)+Bsin⁡(t)\steady{q_p(t)} = A\cos(t) + B\sin(t), with qp′(t)=−Asin⁡(t)+Bcos⁡(t)\current{q_p'(t)} = -A\sin(t) + B\cos(t) and qp′′(t)=−Acos⁡(t)−Bsin⁡(t)\accel{q_p''(t)} = -A\cos(t) - B\sin(t). Matching coefficients in qp′′+4qp′+5qp=16sin⁡(t)\accel{q_p''} + 4\current{q_p'} + 5\steady{q_p} = \source{16\sin(t)} (be careful not to set the cos⁡(t)\cos(t) coefficient to 1616 and the sin⁡(t)\sin(t) coefficient to 00 out of habit from a cosine source, which flips the sign of AA and gives A=2,B=2A = 2, B = 2):
cos⁡(t) terms:(−A+5A)+4B=0  ⟹  4A+4B=0  ⟹  B=−Asin⁡(t) terms:−4A+(−B+5B)=16  ⟹  −4A+4B=16\displaystyle \begin{aligned} \cos(t)\text{ terms:} & \\ (\accel{-A} + \steady{5A}) + \current{4B} &= 0 \\ \implies 4A + 4B &= 0 \\ \implies B &= -A \\[4pt] \sin(t)\text{ terms:} & \\ \current{-4A} + (\accel{-B} + \steady{5B}) &= \source{16} \\ \implies -4A + 4B &= 16 \end{aligned}
Substituting B=−AB = -A gives −8A=16  ⟹  A=−2-8A = 16 \implies A = -2 and B=2B = 2. Differentiating qp(t)\steady{q_p(t)} gives Ip(t)=qp′(t)\current{I_p(t)} = \current{q_p'(t)}, and taking the square root of the sum of the squares of its coefficients gives Imax⁡\current{I_{\max}}:
qp(t)\displaystyle \steady{q_p(t)} =−2cos⁡(t)+2sin⁡(t) C,Ip(t)\displaystyle = -2\cos(t) + 2\sin(t)\text{ C}, \qquad \current{I_p(t)} =2cos⁡(t)+2sin⁡(t) A,Imax⁡\displaystyle = 2\cos(t) + 2\sin(t)\text{ A}, \qquad \current{I_{\max}} =22+22\displaystyle = \sqrt{2^2 + 2^2} =22 A\displaystyle = 2\sqrt{2}\text{ A}
5

Suppose the driven circuit in Problem 4 (L=1 HL = 1\text{ H}, R=4 ΩR = 4\text{ }\Omega, C=15 FC = \tfrac{1}{5}\text{ F}, and E(t)=16sin⁡(t) V\source{E(t)} = \source{16\sin(t)}\text{ V}) starts with no initial charge and no initial current at t=0t = 0: q(0)=0 C\charge{q(0)} = 0\text{ C} and I(0)=0 A\current{I(0)} = 0\text{ A}. Find the total charge q(t)\charge{q(t)} on the capacitor for t≥0t \ge 0.

Do you apply the initial conditions q(0)=0\charge{q(0)} = 0 and I(0)=0\current{I(0)} = 0 to the transient charge qtr(t)\natural{q_{\text{tr}}(t)} alone, or to the total charge q(t)=qtr(t)+qp(t)\charge{q(t)} = \natural{q_{\text{tr}}(t)} + \steady{q_p(t)}?

For the unforced equation q′′+4q′+5q=0\accel{q''} + 4\current{q'} + 5\charge{q} = 0, the characteristic equation r2+4r+5=0r^2 + 4r + 5 = 0 has roots r=−4±16−202=−2±ir = \frac{-4 \pm \sqrt{16 - 20}}{2} = -2 \pm i, so qtr(t)=e−2t(c1cos⁡(t)+c2sin⁡(t))\natural{q_{\text{tr}}(t)} = e^{-2t}(c_1\cos(t) + c_2\sin(t)). Add qp(t)=−2cos⁡(t)+2sin⁡(t)\steady{q_p(t)} = -2\cos(t) + 2\sin(t) from Problem 4 before plugging in t=0t = 0 (plugging q(0)=0\charge{q(0)} = 0 and I(0)=0\current{I(0)} = 0 into qtr(t)\natural{q_{\text{tr}}(t)} alone wrongly gives c1=0,c2=0c_1 = 0, c_2 = 0 and leaves out the transient part altogether):
q(t)\displaystyle \charge{q(t)} =e−2t(c1cos⁡(t)+c2sin⁡(t))−2cos⁡(t)+2sin⁡(t)\displaystyle = \natural{e^{-2t}\bigl(c_1\cos(t) + c_2\sin(t)\bigr)} - \steady{2\cos(t)} + \steady{2\sin(t)}
At t=0t = 0, q(0)=c1−2=0  ⟹  c1=2\charge{q(0)} = c_1 - 2 = 0 \implies c_1 = 2. Differentiating q(t)\charge{q(t)} with the product rule gives:
I(t)=q′(t)=−2e−2t(c1cos⁡(t)+c2sin⁡(t))+e−2t(−c1sin⁡(t)+c2cos⁡(t))+2sin⁡(t)+2cos⁡(t)\displaystyle \begin{aligned} \current{I(t)} &= \current{q'(t)} \\ &= \natural{-2e^{-2t}\bigl(c_1\cos(t) + c_2\sin(t)\bigr)} \\ &\quad + \natural{e^{-2t}\bigl(-c_1\sin(t) + c_2\cos(t)\bigr)} \\ &\quad + \steady{2\sin(t)} + \steady{2\cos(t)} \end{aligned}
At t=0t = 0, I(0)=−2c1+c2+2=0\current{I(0)} = -2c_1 + c_2 + 2 = 0 (don't forget the −2c1-2c_1 term from differentiating e−2te^{-2t}, which gives c2+2=0  ⟹  c2=−2c_2 + 2 = 0 \implies c_2 = -2). Since c1=2c_1 = 2, we get −4+c2+2=0  ⟹  c2=2-4 + c_2 + 2 = 0 \implies c_2 = 2:
q(t)\displaystyle \charge{q(t)} =e−2t(2cos⁡(t)+2sin⁡(t))−2cos⁡(t)+2sin⁡(t) C\displaystyle = \natural{e^{-2t}\bigl(2\cos(t) + 2\sin(t)\bigr)} - \steady{2\cos(t)} + \steady{2\sin(t)}\text{ C}
6

A receiver circuit with L=2 HL = 2\text{ H}, R=3 ΩR = 3\text{ }\Omega, and a tunable capacitor CC is driven by E(t)=15cos⁡(10t) V\source{E(t)} = \source{15\cos(10t)}\text{ V}. (a) To what capacitance CC should the circuit be tuned to reach electrical resonance at ω=10 rad/s\omega = 10\text{ rad/s}, and what is the resulting peak steady-state current Imax⁡\current{I_{\max}}? (b) If the capacitor is changed to C=1240 FC = \tfrac{1}{240}\text{ F}, what does the steady-state current amplitude Imax⁡\current{I_{\max}} drop to?

At resonance, 1LC=ω\frac{1}{\sqrt{LC}} = \omega makes the term Lω−1Cω\inertia{L\omega} - \stiff{\tfrac{1}{C\omega}} inside Imax⁡=E0R2+(Lω−1Cω)2\current{I_{\max}} = \frac{\source{E_0}}{\sqrt{\drag{R^2} + (\inertia{L\omega} - \stiff{\tfrac{1}{C\omega}})^2}} equal to zero.

(a) Setting the resonant frequency ω0=1LC\omega_0 = \frac{1}{\sqrt{LC}} equal to the driving frequency ω=10 rad/s\omega = 10\text{ rad/s} with L=2 HL = 2\text{ H} gives LC=1100  ⟹  2C=1100  ⟹  C=1200 FLC = \frac{1}{100} \implies 2C = \frac{1}{100} \implies C = \frac{1}{200}\text{ F}. At resonance, the inductor and capacitor voltage drops cancel completely, leaving:
C\displaystyle C =1200 F,Imax⁡\displaystyle = \frac{1}{200}\text{ F}, \qquad \current{I_{\max}} =E0R\displaystyle = \frac{\source{E_0}}{\drag{R}} =153\displaystyle = \frac{15}{3} =5 A\displaystyle = 5\text{ A}
(b) When C=1240 FC = \frac{1}{240}\text{ F}, we have 1C=240\frac{1}{C} = 240 and 1Cω=24010=24\stiff{\frac{1}{C\omega}} = \frac{240}{10} = \stiff{24}, while Lω=2(10)=20\inertia{L\omega} = 2(10) = \inertia{20} (watch out for forgetting to divide 1C=240\frac{1}{C} = 240 by ω=10\omega = 10, which puts 20−240=−22020 - 240 = -220 into the square root and gives 1548409 A\frac{15}{\sqrt{48409}}\text{ A}). Substituting into the current amplitude formula gives:
Imax⁡\displaystyle \current{I_{\max}} =1532+(20−24)2\displaystyle = \frac{15}{\sqrt{\drag{3^2} + (\inertia{20} - \stiff{24})^2}} =159+16\displaystyle = \frac{15}{\sqrt{9 + 16}} =155\displaystyle = \frac{15}{5} =3 A\displaystyle = 3\text{ A}