07

First-Order Transients & DC Steady State

Slides 4.1–4.3 · Exercise 8 · Tutorial 6 P4–P5 · Tutorial 7 P1

Everything before this chapter happened instantly. Flip a switch on a resistive network and the new currents are simply there — Ohm's law has no clock in it. Add one capacitor or one inductor and the circuit acquires memory: it now takes time to get where it's going, and the whole exam question becomes how it gets there. This chapter gives you one formula that covers every such circuit in ME 123, plus the two-line reasoning that produces its three unknowns. Budget about 45 minutes: 15 on the derivation, 10 on the widget, 20 on the practice problems.

The three eras of a switched circuit

Every first-order problem in this course is really three separate problems stapled together, and the single most common way to lose marks is to solve the wrong one. Read the problem, decide which era each question is asking about, and the work becomes mechanical.

ERA 1 · t < 0

Old steady state

The switch has been where it is "for a long time." Nothing is changing, so caps are open circuits and inductors are shorts. Pure DC analysis — no calculus. This era exists only to hand you the initial condition.

ERA 2 · t > 0

Transient

The switch has moved. The stored energy is wrong for the new circuit, so it decays exponentially toward what the new circuit wants. This is the only era with an ee in it.

ERA 3 · t → ∞

New steady state

Five time constants later the exponential is dead. Caps open, inductors short — again, but now in the post-switch topology. Pure DC analysis a second time. This era hands you the final value.

switch flips at t = 0 t ≈ 5τ ERA 1 old steady state gives v(0⁻) ERA 2 — TRANSIENT exponential, one time constant τ this is the only era with calculus ERA 3 new steady state gives v(∞) time Caps open / inductors short in Era 1 and Era 3 — but in different circuits. Solve each separately.
The map. Era 1 and Era 3 are DC problems; only Era 2 needs the exponential.

Why nothing jumps (and what that buys you)

The bridge between Era 1 and Era 2 is a continuity argument, and it comes straight out of the element laws. For a capacitor,

iC(t)=CdvC(t)dti_C(t) = C\,\frac{dv_C(t)}{dt}
Capacitor element law — current is proportional to the rate of change of voltage.

Now suppose vCv_C jumped — changed by a finite amount Δv\Delta v in zero time. Then dvC/dt=Δv/0dv_C/dt = \Delta v / 0 \to \infty, and the capacitor would have to draw infinite current. Real circuits contain no infinite-current sources, so the jump never happens. The same argument on vL=LdiL/dtv_L = L\,di_L/dt says an inductor current that jumped would demand an infinite voltage spike. Hence the two most useful sentences in this chapter:

The continuity rules

vC(0+)=vC(0)iL(0+)=iL(0)v_C(0^+) = v_C(0^-) \qquad\qquad i_L(0^+) = i_L(0^-)

Capacitor voltage and inductor current are continuous across the switching instant. Nothing else is. Capacitor current, inductor voltage, resistor voltages, node voltages, source currents — all of these are free to jump discontinuously at t=0t = 0, and in a good exam problem at least one of them will.

That asymmetry is what makes the rules useful. You are given a circuit that changes at t=0t=0 and you need one number to pin down the solution; continuity says exactly which number you are allowed to carry across the boundary. Everything else you recompute in the new topology.

A handy restatement for the instant just after the switch: at t=0+t = 0^+, a capacitor behaves like an ideal voltage source of value vC(0)v_C(0^-), and an inductor behaves like an ideal current source of value iL(0)i_L(0^-). Substitute those in and you can solve for every other quantity at t=0+t = 0^+ with plain resistive analysis.

Quick check · continuity

A capacitor has sat at vC=15v_C = 15 V for a long time. At t=0t = 0 a switch opens, disconnecting the source entirely so that the capacitor's new final value will be 00 V. What is vC(0+)v_C(0^+)?


Era 1 and Era 3: DC steady state (slides 4.2–4.3)

"Steady state" means every voltage and current has stopped changing: all the d/dtd/dt terms are zero. Feed that into the two element laws and the components collapse:

ElementElement lawWith d/dt=0d/dt = 0Replace with
CapacitoriC=CdvC/dti_C = C\,dv_C/dtiC=0i_C = 0Open circuit (carries no current; holds whatever voltage the circuit puts there)
InductorvL=LdiL/dtv_L = L\,di_L/dtvL=0v_L = 0Short circuit (drops no voltage; carries whatever current the circuit puts through it)
CAPACITOR in DC steady state C OPEN i = 0 Its voltage is not zero — solve the remaining resistive network to find it. INDUCTOR in DC steady state L SHORT v = 0 Its current is not zero — it carries whatever the wire carries.
The substitution that turns Era 1 and Era 3 into ordinary resistive problems.
The classic slip

"Open circuit" makes people write vC=0v_C = 0 and "short circuit" makes people write iL=0i_L = 0. Both are backwards. An open branch has zero current and generally a large voltage; a short has zero voltage and generally a large current. Write the zero on the right quantity.

Worked example 1 — pure DC steady stateEra 1 / Era 3 drill

A 24 V source feeds R1=4 ΩR_1 = 4\ \Omega into node A. From node A, one branch is L=2L = 2 H in series with R2=8 ΩR_2 = 8\ \Omega down to ground; a second branch is C=50 μC = 50\ \muF from node A to ground. The circuit has been like this for a long time. Find vCv_C, iLi_L, and the stored energies.

1

Steady state ⇒ replace CC with an open circuit and LL with a short.

Nothing is changing, so iC=CdvC/dt=0i_C = C\,dv_C/dt = 0 and vL=LdiL/dt=0v_L = L\,di_L/dt = 0.

2

With the capacitor branch open, the only path left is 24 VR1R224\ \text{V} \to R_1 \to R_2 \to ground: iL=244+8=2 Ai_L = \frac{24}{4 + 8} = 2\ \text{A}

3

The capacitor sits across node A to ground, and node A is the top of R2R_2 (the inductor drops nothing): vC=vA=iLR2=2×8=16 Vv_C = v_A = i_L R_2 = 2 \times 8 = 16\ \text{V}

Cross-check the other way: vA=24iLR1=242(4)=16v_A = 24 - i_L R_1 = 24 - 2(4) = 16 V. ✓

4

EC=12CvC2=12(50×106)(16)2=6.4 mJE_C = \tfrac12 C v_C^2 = \tfrac12(50\times10^{-6})(16)^2 = 6.4\ \text{mJ} EL=12LiL2=12(2)(2)2=4 JE_L = \tfrac12 L i_L^2 = \tfrac12(2)(2)^2 = 4\ \text{J}

iL=2i_L = 2 A, vC=16v_C = 16 V, EC=6.4E_C = 6.4 mJ, EL=4E_L = 4 J. Notice iC=0i_C = 0 and vL=0v_L = 0 — the zeros land on current for the cap and voltage for the inductor.

Era 2: deriving the transient from scratch

Here is the circuit the whole chapter turns on. A DC source, a resistor, a capacitor, and a switch that closes at t=0t = 0 with the capacitor uncharged.

+ Vs t = 0 R i(t) C v(t) +
Series RC. Switch closes at t=0t=0; capacitor starts uncharged, v(0)=0v(0) = 0.

Write KVL around the loop for t>0t > 0, using the capacitor's own element law for the current:

Vs=i(t)R+v(t),i(t)=CdvdtRCdvdt+v=VsV_s = i(t)R + v(t), \qquad i(t) = C\frac{dv}{dt} \quad\Longrightarrow\quad RC\frac{dv}{dt} + v = V_s
One first-order linear ODE. Every problem in slides 4.1–4.3 reduces to this shape.

Now the method the course uses: guess a form, substitute, and let the algebra tell you the constants. Guess

v(t)=k1+k2estv(t) = k_1 + k_2 e^{st}
A constant plus a decaying exponential — three unknowns, k1k_1, k2k_2, and ss.
1

Differentiate the guess. dvdt=k2sest\dfrac{dv}{dt} = k_2\,s\,e^{st}.

2

Substitute into the ODE.

RC(k2sest)+(k1+k2est)=VsRC\left(k_2 s e^{st}\right) + \left(k_1 + k_2 e^{st}\right) = V_s

3

Group the constant terms and the este^{st} terms separately.

(k1Vs)constant  +  k2est(RCs+1)time-varying  =  0\underbrace{\left(k_1 - V_s\right)}_{\text{constant}} \;+\; \underbrace{k_2 e^{st}\left(RCs + 1\right)}_{\text{time-varying}} \;=\; 0

This is the load-bearing step. The equation must hold at every instant tt, and este^{st} is not a constant — so the constant part and the este^{st} part can't cancel each other. Each group must vanish on its own.

4

Constant group ⇒ k1k_1. k1Vs=0k1=Vsk_1 - V_s = 0 \Rightarrow \boxed{k_1 = V_s}.

k1k_1 is whatever's left when the exponential dies, i.e. k1=v()k_1 = v(\infty) — the new steady-state value. That is exactly the Era 3 number.

5

Exponential group ⇒ ss. Since k20k_2 \ne 0 and est0e^{st} \ne 0, we need RCs+1=0RCs + 1 = 0:

s=1RC=1τ,τRCs = -\frac{1}{RC} = -\frac{1}{\tau}, \qquad \tau \equiv RC

ss comes only from RR, CC, and the circuit's shape — never from the source value or the initial condition. Note ss is negative, which is what makes the transient decay rather than blow up.

6

Initial condition ⇒ k2k_2. Apply v(0)=0v(0) = 0 to the now-partly-solved guess v(t)=Vs+k2et/τv(t) = V_s + k_2 e^{-t/\tau}:

v(0)=Vs+k2e0=Vs+k2=0    k2=Vsv(0) = V_s + k_2 e^{0} = V_s + k_2 = 0 \;\Rightarrow\; \boxed{k_2 = -V_s}

k2k_2 is always applied last, after k1k_1 and ss are known. Applying the initial condition before you have k1k_1 is the single most common algebra error here.

7

Assemble.

v(t)=VsVset/τ=Vs(1et/τ),t0v(t) = V_s - V_s e^{-t/\tau} = V_s\left(1 - e^{-t/\tau}\right), \qquad t \ge 0

and the current follows from the element law:

i(t)=Cdvdt=CVsτet/τ=VsRet/τi(t) = C\frac{dv}{dt} = C \cdot \frac{V_s}{\tau}e^{-t/\tau} = \frac{V_s}{R}e^{-t/\tau}

Sanity check: at t=0+t = 0^+ the uncharged capacitor looks like a short, so the current should be Vs/RV_s/R — and it is. At tt \to \infty the capacitor is fully charged and the current is zero. Both limits check out. ✓

The general result — memorize this one

Nothing in steps 3–6 used the fact that the source was a voltage source, or that the element was a capacitor. Repeat the derivation on any single-energy-storage circuit and you get the same shape, which is why one formula covers the whole chapter:

x(t)=x()+[x(0+)x()]et/τx(t) = x(\infty) + \Big[x(0^+) - x(\infty)\Big]e^{-t/\tau}
xx is vCv_C or iLi_L. Read it as: final value, plus the leftover error, decaying away. Matching to the derivation, k1=x()k_1 = x(\infty) and k2=x(0+)x()k_2 = x(0^+) - x(\infty).
You needWhere it comes fromFormula
x(0+)x(0^+)Era 1 — DC analysis before the switch, then continuityvC(0+)=vC(0)v_C(0^+) = v_C(0^-); iL(0+)=iL(0)i_L(0^+) = i_L(0^-)
x()x(\infty)Era 3 — DC analysis after the switch (caps open, inductors short)whatever the new resistive network gives
τ\tauThe Thévenin resistance seen from the storage element's own terminals, in the post-switch circuit, with independent sources deactivatedτ=RThC  \tau = R_{\text{Th}}C \; or   τ=L/RTh\; \tau = L/R_{\text{Th}}
Finding τ properly

τ=RC\tau = RC is shorthand for "τ=RThC\tau = R_{\text{Th}}C." Pull the capacitor (or inductor) out, kill the independent sources — voltage sources become shorts, current sources become opens — and find the equivalent resistance looking back into the two terminals you just vacated. In a plain series loop that is just RR; in anything with a divider it is not, and using the wrong resistor is the most common way to get a right-shaped answer with a wrong exponent. Units check: ΩF=s\Omega \cdot \text{F} = \text{s}, and H/Ω=s\text{H}/\Omega = \text{s}.

Quick check · which R sets τ

A 2 μ2\ \muF capacitor sits from node A to ground. A 20 V source in series with 5 kΩ5\ \text{k}\Omega feeds node A, and a 20 kΩ20\ \text{k}\Omega resistor runs from node A to ground. What is τ\tau?


What τ actually looks like

The time constant is the only number that sets the shape of the curve. Slide 4.1 gives the two landmarks worth memorizing: after one τ\tau a decaying quantity has fallen to e1=36.8%e^{-1} = 36.8\% of its starting value (equivalently, a rising one has covered 63.2%63.2\% of its journey), and after 5τ5\tau only e5=0.7%e^{-5} = 0.7\% remains — close enough to call it settled.

V 0 t τ Vs (final value) 63.2% of Vs at t = τ charging: v = Vs(1 − e −t/τ ) 36.8% of V₀ at t = τ discharging: v = V₀ e −t/τ initial slope would reach Vs at t = τ
Both curves share one τ\tau. The tangent at t=0t=0 hits the asymptote exactly at t=τt=\tau — a fast way to read τ\tau off a scope trace.

A useful inversion: if you know two points on the curve you can solve for τ\tau (or for whatever else is unknown) by taking logs. Given v(t)=V0et/τv(t) = V_0e^{-t/\tau},

τ=tln ⁣(V0/v(t)),and in particular the half-life is t1/2=τln20.693τ\tau = \frac{t}{\ln\!\big(V_0/v(t)\big)}, \qquad\text{and in particular the half-life is } t_{1/2} = \tau\ln 2 \approx 0.693\,\tau
Worked example 2 — solving for an unknown R (Exercise 8, P4.11)log inversion

A 10 μ10\ \muF capacitor is connected at t=0t=0 to a voltmeter, which behaves as a resistor RR to ground. The meter reads 50 V at t=0t = 0 and 25 V at t=30t = 30 s. Find RR.

1

No source in the post-switch circuit, so v()=0v(\infty) = 0 and the general formula collapses to pure decay: v(t)=50et/τv(t) = 50\,e^{-t/\tau}.

2

The reading halved, so we are exactly at the half-life: 25=50e30/τ    e30/τ=0.5    30τ=ln2=0.69325 = 50e^{-30/\tau} \;\Rightarrow\; e^{-30/\tau} = 0.5 \;\Rightarrow\; \frac{30}{\tau} = \ln 2 = 0.693 τ=300.693=43.3 s\tau = \frac{30}{0.693} = 43.3\ \text{s}

3

R=τC=43.310×106=4.33×106 Ω=4.33 MΩR = \frac{\tau}{C} = \frac{43.3}{10\times10^{-6}} = 4.33\times10^{6}\ \Omega = 4.33\ \text{M}\Omega

Sanity check: a voltmeter should have a huge input resistance so it barely disturbs the circuit it measures. Megohms is exactly right; had we gotten kilohms, the arithmetic would be suspect.

R=4.33 MΩR = 4.33\ \text{M}\Omega (equivalently τ=43.3\tau = 43.3 s).

Play with τ

Drag the sliders. Watch two things: the shape of the curve never changes — it is always the same exponential — but the τ\tau marker slides along the time axis, dragging the whole curve with it. Note also that changing RR in the RL circuit moves τ\tau the opposite way from changing RR in the RC circuit, because τ=RC\tau = RC but τ=L/R\tau = L/R.

τ Explorer — first-order response
τ = 20.0 ms
5τ (settled) = 100 ms
final value = 10.0 V
t = 0.0 ms
value now = 0.00 V
% complete = 0.0 %
10 V 0 vC t (ms) 0 30 60 90 120 63.2% τ

The RL case

Swap the capacitor for an inductor and every step of the derivation repeats with the roles of voltage and current exchanged. The continuous quantity is now iLi_L, the time constant is τ=L/RTh\tau = L/R_{\text{Th}}, and the general formula is unchanged.

+ Vs R₁ opens at t = 0 A R₂ L iL(t)
Before t=0t=0: inductor is a short, so iL(0)=Vs/R1i_L(0^-) = V_s/R_1 and node A sits at 00 V. After the switch opens, iLi_L can only circulate through R2R_2, so τ=L/R2\tau = L/R_2 and iL0i_L \to 0.
The RL duality, in one line each

RC: vCv_C is continuous · cap = open in steady state · τ=RThC\tau = R_{\text{Th}}C · at t=0+t=0^+ the cap acts as a voltage source vC(0)v_C(0^-).

RL: iLi_L is continuous · inductor = short in steady state · τ=L/RTh\tau = L/R_{\text{Th}} · at t=0+t=0^+ the inductor acts as a current source iL(0)i_L(0^-).

The RL circuit above also shows off the "everything else can jump" half of the continuity rule. Before the switch opens, the inductor is a short, so node A sits at 00 V. The instant the switch opens, iLi_L must still be Vs/R1V_s/R_1 — but that current now has to flow up through R2R_2 from ground, which forces vA=iLR2v_A = -i_L R_2 immediately. If R2R1R_2 \gg R_1 that is a very large negative spike out of nowhere. This is exactly why a relay coil needs a flyback diode.

Quick check · the t = 0⁺ substitution

An inductor has been carrying 33 A in steady state. At t=0t = 0 the circuit around it changes. For the purpose of computing every other voltage and current at the instant t=0+t = 0^+, the inductor is best replaced by:

Worked example 3 — a current-source charge (Exercise 8, P4.9)Norton form

A 1 mA DC current source, a 10 kΩ10\ \text{k}\Omega resistor, and a 1 μ1\ \muF capacitor are all in parallel. A switch closes at t=0t=0; the capacitor starts uncharged. Find v(t)v(t).

1

x(0+)x(0^+): given uncharged, v(0)=0v(0^-) = 0, so by continuity v(0+)=0v(0^+) = 0.

2

x()x(\infty): in steady state the capacitor is open, so all 1 mA flows through the 10 kΩ10\ \text{k}\Omega: v()=IsR=(1×103)(10×103)=10 Vv(\infty) = I_s R = (1\times10^{-3})(10\times10^{3}) = 10\ \text{V}

This is just the Norton-to-Thévenin conversion: the source pair is equivalent to a 10 V source behind 10 kΩ10\ \text{k}\Omega, which is the circuit we already derived.

3

τ\tau: deactivate the current source (open circuit), leaving only the 10 kΩ10\ \text{k}\Omega across the capacitor: τ=RThC=(104)(106)=10 ms    1/τ=100 s1\tau = R_{\text{Th}}C = (10^{4})(10^{-6}) = 10\ \text{ms} \;\Rightarrow\; 1/\tau = 100\ \text{s}^{-1}

4

Assemble: v(t)=10+(010)e100t=10(1e100t) V,t0v(t) = 10 + (0 - 10)e^{-100t} = 10\left(1 - e^{-100t}\right)\ \text{V},\quad t \ge 0

Cross-check by the k1/k2/sk_1/k_2/s route: KCL gives 103=v/104+106dv/dt10^{-3} = v/10^4 + 10^{-6}\,dv/dt, i.e. 102dv/dt+v=1010^{-2}\,dv/dt + v = 10. Substituting v=k1+k2estv = k_1 + k_2e^{st} gives k1=10k_1 = 10 and 102s+1=0s=10010^{-2}s + 1 = 0 \Rightarrow s = -100; then v(0)=0k2=10v(0)=0 \Rightarrow k_2 = -10. Same answer. ✓

v(t)=10(1e100t)v(t) = 10\left(1 - e^{-100t}\right) V. It reaches 63.2% (6.32 V) at t=10t = 10 ms and is settled by t=50t = 50 ms.

The recipe

StepDo thisWatch out for
1Redraw the circuit for t<0t < 0. Caps open, inductors short. Solve for vC(0)v_C(0^-) / iL(0)i_L(0^-)."Has been closed a long time" is the phrase that licenses this. If the problem doesn't say it, don't assume it.
2Carry only vCv_C or iLi_L across t=0t=0 by continuity.Don't carry currents through capacitors or voltages across inductors — those jump.
3Redraw the circuit for t>0t > 0 in its new configuration.Branches that got disconnected are gone entirely; don't leave them in.
4In the new circuit, solve the DC steady state for vC()v_C(\infty) / iL()i_L(\infty).If the source got disconnected, the final value is 00 — but only if there's no other source.
5Find RThR_{\text{Th}} at the storage element's terminals in the new circuit; get τ\tau.Deactivate independent sources first. Use τ=RThC\tau = R_{\text{Th}}C or L/RThL/R_{\text{Th}}.
6Write x(t)=x()+[x(0+)x()]et/τx(t) = x(\infty) + [x(0^+)-x(\infty)]e^{-t/\tau}, valid for t0t \ge 0.State the range of validity. The expression is wrong for t<0t < 0.
7Get any other quantity from x(t)x(t) by the element law or Ohm's law.iC=CdvC/dti_C = C\,dv_C/dt, vL=LdiL/dtv_L = L\,di_L/dt. Differentiating brings down a factor of 1/τ-1/\tau — keep the minus sign.
8Check the two endpoints: does your expression give x(0+)x(0^+) at t=0t=0 and x()x(\infty) as tt\to\infty?Ten seconds, catches most sign and constant errors.

Practice

Three problems, all original, all cross-solved two independent ways before shipping. Work them before you open the solutions.

Problem 1 — RC discharge after a switch throwRC · ~8 min

A 24 V source in series with R1=4 kΩR_1 = 4\ \text{k}\Omega has been connected to a C=5 μC = 5\ \muF capacitor for a long time (switch at position A). At t=0t = 0 the switch throws to position B, disconnecting the source and connecting the capacitor across R2=6 kΩR_2 = 6\ \text{k}\Omega.

(a) Find vC(t)v_C(t) for t0t \ge 0.  (b) At what time does vCv_C fall to 6 V?  (c) How much energy does R2R_2 dissipate in total?

(a) Initial condition (Era 1). With the switch at A the circuit has settled, so the capacitor is an open circuit. No current flows, so no voltage drops across R1R_1, and the full source appears across the capacitor: vC(0)=24v_C(0^-) = 24 V. By continuity vC(0+)=24v_C(0^+) = 24 V.

Final value and τ (Era 3). After the throw, the only elements left in the loop are CC and R2R_2 — no source — so vC()=0v_C(\infty) = 0, and τ=R2C=(6×103)(5×106)=0.03\tau = R_2C = (6\times10^{3})(5\times10^{-6}) = 0.03 s =30= 30 ms. Note R1R_1 plays no part after t=0t=0; it isn't in the circuit any more.

Route 1 — general formula. vC(t)=0+(240)et/0.03=24e33.33t Vv_C(t) = 0 + (24 - 0)e^{-t/0.03} = 24e^{-33.33t}\ \text{V}

Route 2 — k1/k2/sk_1/k_2/s from the ODE. KVL around the R2CR_2C loop for t>0t > 0: vC+R2i=0v_C + R_2 i = 0 with i=CdvC/dti = C\,dv_C/dt taken in the passive direction, giving R2CdvCdt+vC=0R_2C\,\dfrac{dv_C}{dt} + v_C = 0, i.e. 0.03v˙+v=00.03\,\dot v + v = 0. Substituting v=k1+k2estv = k_1 + k_2e^{st}: the constant group gives k1=0k_1 = 0 (there is no forcing term), the exponential group gives 0.03s+1=0s=33.33 s10.03s + 1 = 0 \Rightarrow s = -33.33\ \text{s}^{-1}, and v(0)=24k2=24v(0) = 24 \Rightarrow k_2 = 24. So vC(t)=24e33.33tv_C(t) = 24e^{-33.33t} V. Both routes agree. ✓

(b) 6=24et/0.03et/0.03=0.25t=0.03ln4=0.03(1.386)=41.66 = 24e^{-t/0.03} \Rightarrow e^{-t/0.03} = 0.25 \Rightarrow t = 0.03\ln 4 = 0.03(1.386) = 41.6 ms. Cross-check: 66 V is a quarter of 2424 V, i.e. two halvings, so t=2t1/2=2(0.03)(0.693)=41.6t = 2t_{1/2} = 2(0.03)(0.693) = 41.6 ms. ✓

(c) Energy conservation: with no source connected, everything stored in the capacitor ends up in R2R_2: E=12CvC(0)2=12(5×106)(24)2=1.44 mJE = \tfrac12 Cv_C(0)^2 = \tfrac12(5\times10^{-6})(24)^2 = 1.44\ \text{mJ} Cross-check by integrating the power: 0vC2R2dt=57660000e2t/0.03dt=0.096(0.032)=1.44 mJ\int_0^\infty \frac{v_C^2}{R_2}dt = \frac{576}{6000}\int_0^\infty e^{-2t/0.03}dt = 0.096\left(\frac{0.03}{2}\right) = 1.44\ \text{mJ}

(a) vC(t)=24e33.33tv_C(t) = 24e^{-33.33t} V, t0t \ge 0  ·  (b) t=41.6t = 41.6 ms  ·  (c) E=1.44E = 1.44 mJ
Problem 2 — RL decay and the voltage spikeRL · ~10 min

A 12 V source in series with R1=2 ΩR_1 = 2\ \Omega feeds node A. From node A, an inductor L=0.4L = 0.4 H runs to ground, and in parallel with it a resistor R2=6 ΩR_2 = 6\ \Omega also runs from node A to ground. The switch has been closed for a long time. At t=0t=0 the switch opens, removing the source and R1R_1 entirely.

(a) Find iL(0+)i_L(0^+).  (b) Find iL(t)i_L(t) for t0t \ge 0, with iLi_L defined positive flowing from node A down through LL.  (c) Find the node-A voltage vA(0+)v_A(0^+) and comment on it.  (d) How much energy was stored in LL at t=0t=0?

(a) Era 1. Long-settled DC: the inductor is a short circuit, so node A is tied to ground, vA(0)=0v_A(0^-) = 0. With 00 V across R2R_2, no current goes that way, so the source current all goes through LL: iL(0)=12R1=122=6 Ai_L(0^-) = \frac{12}{R_1} = \frac{12}{2} = 6\ \text{A} By continuity, iL(0+)=6i_L(0^+) = 6 A.

(b) Route 1 — general formula. After the switch opens, LL and R2R_2 form a closed loop with no source, so iL()=0i_L(\infty) = 0, and τ=L/R2=0.4/6=0.0667\tau = L/R_2 = 0.4/6 = 0.0667 s, i.e. 1/τ=15 s11/\tau = 15\ \text{s}^{-1}: iL(t)=0+(60)e15t=6e15t Ai_L(t) = 0 + (6-0)e^{-15t} = 6e^{-15t}\ \text{A}

Route 2 — k1/k2/sk_1/k_2/s from the ODE. KVL around the LLR2R_2 loop: Ldidt+R2i=0L\,\dfrac{di}{dt} + R_2 i = 0, i.e. 0.4i˙+6i=00.4\,\dot i + 6i = 0. Substituting i=k1+k2esti = k_1 + k_2e^{st}: the constant group gives 6k1=0k1=06k_1 = 0 \Rightarrow k_1 = 0; the exponential group gives 0.4s+6=0s=15 s10.4s + 6 = 0 \Rightarrow s = -15\ \text{s}^{-1}; and i(0)=6k2=6i(0) = 6 \Rightarrow k_2 = 6. So iL(t)=6e15ti_L(t) = 6e^{-15t} A. Both routes agree. ✓

(c) At t=0+t=0^+ the inductor still forces 66 A downward out of node A. That current can only be resupplied through R2R_2, flowing up from ground into node A. KCL at node A: iL+vA/R2=0i_L + v_A/R_2 = 0, so vA(0+)=iL(0+)R2=(6)(6)=36 Vv_A(0^+) = -i_L(0^+)R_2 = -(6)(6) = -36\ \text{V} Cross-check via the element law: vL=LdiL/dt=0.4(6)(15)e15t=36e15tv_L = L\,di_L/dt = 0.4\big(6\big)(-15)e^{-15t} = -36e^{-15t} V, which at t=0t=0 is 36-36 V — and vLv_L is vAv_A here since the inductor's bottom end is grounded. ✓

Comment: node A jumped from 00 V to 36-36 V instantaneously, a swing three times the source voltage. Inductor current is continuous; nothing forbids the voltage from jumping, and with a larger R2R_2 the spike would be larger still. This is the mechanism behind ignition coils and behind why switching an inductive load without a flyback diode destroys transistors.

(d) E=12LiL(0)2=12(0.4)(6)2=7.2E = \tfrac12 Li_L(0)^2 = \tfrac12(0.4)(6)^2 = 7.2 J. Cross-check by integrating the power in R2R_2: 0i2R2dt=36(6)0e30tdt=216/30=7.2\int_0^\infty i^2R_2\,dt = 36(6)\int_0^\infty e^{-30t}dt = 216/30 = 7.2 J. ✓

(a) 66 A  ·  (b) iL(t)=6e15ti_L(t) = 6e^{-15t} A, t0t \ge 0  ·  (c) vA(0+)=36v_A(0^+) = -36 V (a legal jump)  ·  (d) 7.27.2 J
Problem 3 — charging with a divider (τ is not what it looks like)RC · ~10 min

A 20 V source in series with R1=5 kΩR_1 = 5\ \text{k}\Omega feeds node A. A resistor R2=20 kΩR_2 = 20\ \text{k}\Omega runs from node A to ground, and a capacitor C=2 μC = 2\ \muF also runs from node A to ground. The capacitor is initially uncharged; the switch closes at t=0t = 0.

(a) Find vC(t)v_C(t) for t0t \ge 0.  (b) Find the capacitor current iC(t)i_C(t).  (c) How long until vCv_C reaches 90% of its final value?

(a) Route 1 — the three ingredients.

x(0+)x(0^+): uncharged, so vC(0+)=vC(0)=0v_C(0^+) = v_C(0^-) = 0.

x()x(\infty): capacitor open, so R1R_1 and R2R_2 form a plain voltage divider: vC()=20R2R1+R2=202025=16 Vv_C(\infty) = 20\cdot\frac{R_2}{R_1+R_2} = 20\cdot\frac{20}{25} = 16\ \text{V}

τ\tau: deactivate the 20 V source (short it). Looking back from the capacitor's terminals, R1R_1 and R2R_2 are now in parallel: RTh=(5)(20)5+20=4 kΩ,τ=RThC=(4×103)(2×106)=8 ms,1/τ=125 s1R_{\text{Th}} = \frac{(5)(20)}{5+20} = 4\ \text{k}\Omega, \qquad \tau = R_{\text{Th}}C = (4\times10^{3})(2\times10^{-6}) = 8\ \text{ms}, \quad 1/\tau = 125\ \text{s}^{-1} This is the trap: neither 5 kΩ5\ \text{k}\Omega alone nor 20 kΩ20\ \text{k}\Omega alone is the right resistance.

vC(t)=16+(016)e125t=16(1e125t) Vv_C(t) = 16 + (0-16)e^{-125t} = 16\left(1 - e^{-125t}\right)\ \text{V}

Route 2 — k1/k2/sk_1/k_2/s straight from KCL. At node A (with vvCv \equiv v_C): v205000+v20000+2×106dvdt=0\frac{v-20}{5000} + \frac{v}{20000} + 2\times10^{-6}\frac{dv}{dt} = 0 Multiply through by 2000020000:   4(v20)+v+0.04v˙=0\;4(v-20) + v + 0.04\,\dot v = 0, i.e. 0.04v˙+5v=800.04\,\dot v + 5v = 80. Substitute v=k1+k2estv = k_1 + k_2e^{st}:

constant group: 5k1=80k1=165k_1 = 80 \Rightarrow k_1 = 16 ✓ (matches the divider);
exponential group: 0.04s+5=0s=125 s10.04s + 5 = 0 \Rightarrow s = -125\ \text{s}^{-1} ✓ (matches 1/RThC-1/R_{\text{Th}}C);
initial condition: v(0)=k1+k2=0k2=16v(0) = k_1 + k_2 = 0 \Rightarrow k_2 = -16 ✓.

vC(t)=1616e125t=16(1e125t) V.v_C(t) = 16 - 16e^{-125t} = 16\left(1-e^{-125t}\right)\ \text{V}. Both routes agree. ✓

(b) iC=CdvCdt=(2×106)(16)(125)e125t=4×103e125ti_C = C\,\dfrac{dv_C}{dt} = (2\times10^{-6})(16)(125)e^{-125t} = 4\times10^{-3}e^{-125t} A =4e125t= 4e^{-125t} mA.

Cross-check at t=0+t=0^+ independently: an uncharged capacitor is a momentary short, so node A is pinned to 00 V. Then R2R_2 carries no current, and everything the source pushes through R1R_1 goes into the capacitor: iC(0+)=20/5000=4i_C(0^+) = 20/5000 = 4 mA. ✓ And at tt\to\infty the formula gives 00, as it must for a fully charged capacitor. ✓

(c) 0.9=1et/τet/τ=0.1t=τln10=8 ms×2.303=18.40.9 = 1 - e^{-t/\tau} \Rightarrow e^{-t/\tau} = 0.1 \Rightarrow t = \tau\ln 10 = 8\ \text{ms}\times 2.303 = 18.4 ms. (Compare: fully settled at 5τ=405\tau = 40 ms.)

(a) vC(t)=16(1e125t)v_C(t) = 16\left(1-e^{-125t}\right) V  ·  (b) iC(t)=4e125ti_C(t) = 4e^{-125t} mA  ·  (c) t=18.4t = 18.4 ms
Error checklist before you hand in

① Is the exponent negative? A positive ss means you dropped a sign — first-order passive circuits never grow. ② Did you use RThR_{\text{Th}} at the element's terminals, not just the nearest resistor? ③ Did you use the post-switch circuit for τ\tau and x()x(\infty), and the pre-switch circuit only for x(0)x(0^-)? ④ Does t=0t=0 in your expression reproduce x(0+)x(0^+)? ⑤ Did you state "for t0t \ge 0"? ⑥ If you differentiated to get iCi_C or vLv_L, did the factor 1/τ-1/\tau come along?