First-Order Transients & DC Steady State
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.
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.
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 in it.
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.
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,
Now suppose jumped — changed by a finite amount in zero time. Then , 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 says an inductor current that jumped would demand an infinite voltage spike. Hence the two most useful sentences in this chapter:
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 , 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 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 , a capacitor behaves like an ideal voltage source of value , and an inductor behaves like an ideal current source of value . Substitute those in and you can solve for every other quantity at with plain resistive analysis.
A capacitor has sat at V for a long time. At a switch opens, disconnecting the source entirely so that the capacitor's new final value will be V. What is ?
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 terms are zero. Feed that into the two element laws and the components collapse:
| Element | Element law | With | Replace with |
|---|---|---|---|
| Capacitor | Open circuit (carries no current; holds whatever voltage the circuit puts there) | ||
| Inductor | Short circuit (drops no voltage; carries whatever current the circuit puts through it) |
"Open circuit" makes people write and "short circuit" makes people write . 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.
A 24 V source feeds into node A. From node A, one branch is H in series with down to ground; a second branch is F from node A to ground. The circuit has been like this for a long time. Find , , and the stored energies.
Steady state ⇒ replace with an open circuit and with a short.
Nothing is changing, so and .
With the capacitor branch open, the only path left is ground:
The capacitor sits across node A to ground, and node A is the top of (the inductor drops nothing):
Cross-check the other way: V. ✓
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 with the capacitor uncharged.
Write KVL around the loop for , using the capacitor's own element law for the current:
Now the method the course uses: guess a form, substitute, and let the algebra tell you the constants. Guess
Differentiate the guess. .
Substitute into the ODE.
Group the constant terms and the terms separately.
This is the load-bearing step. The equation must hold at every instant , and is not a constant — so the constant part and the part can't cancel each other. Each group must vanish on its own.
Constant group ⇒ . .
is whatever's left when the exponential dies, i.e. — the new steady-state value. That is exactly the Era 3 number.
Exponential group ⇒ . Since and , we need :
comes only from , , and the circuit's shape — never from the source value or the initial condition. Note is negative, which is what makes the transient decay rather than blow up.
Initial condition ⇒ . Apply to the now-partly-solved guess :
is always applied last, after and are known. Applying the initial condition before you have is the single most common algebra error here.
Assemble.
and the current follows from the element law:
Sanity check: at the uncharged capacitor looks like a short, so the current should be — and it is. At 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:
| You need | Where it comes from | Formula |
|---|---|---|
| Era 1 — DC analysis before the switch, then continuity | ; | |
| Era 3 — DC analysis after the switch (caps open, inductors short) | whatever the new resistive network gives | |
| The Thévenin resistance seen from the storage element's own terminals, in the post-switch circuit, with independent sources deactivated | or |
is shorthand for "." 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 ; 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: , and .
A F capacitor sits from node A to ground. A 20 V source in series with feeds node A, and a resistor runs from node A to ground. What is ?
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 a decaying quantity has fallen to of its starting value (equivalently, a rising one has covered of its journey), and after only remains — close enough to call it settled.
A useful inversion: if you know two points on the curve you can solve for (or for whatever else is unknown) by taking logs. Given ,
A F capacitor is connected at to a voltmeter, which behaves as a resistor to ground. The meter reads 50 V at and 25 V at s. Find .
No source in the post-switch circuit, so and the general formula collapses to pure decay: .
The reading halved, so we are exactly at the half-life:
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.
Play with τ
Drag the sliders. Watch two things: the shape of the curve never changes — it is always the same exponential — but the marker slides along the time axis, dragging the whole curve with it. Note also that changing in the RL circuit moves the opposite way from changing in the RC circuit, because but .
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 , the time constant is , and the general formula is unchanged.
RC: is continuous · cap = open in steady state · · at the cap acts as a voltage source .
RL: is continuous · inductor = short in steady state · · at the inductor acts as a current source .
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 V. The instant the switch opens, must still be — but that current now has to flow up through from ground, which forces immediately. If that is a very large negative spike out of nowhere. This is exactly why a relay coil needs a flyback diode.
An inductor has been carrying A in steady state. At the circuit around it changes. For the purpose of computing every other voltage and current at the instant , the inductor is best replaced by:
A 1 mA DC current source, a resistor, and a F capacitor are all in parallel. A switch closes at ; the capacitor starts uncharged. Find .
: given uncharged, , so by continuity .
: in steady state the capacitor is open, so all 1 mA flows through the :
This is just the Norton-to-Thévenin conversion: the source pair is equivalent to a 10 V source behind , which is the circuit we already derived.
: deactivate the current source (open circuit), leaving only the across the capacitor:
Assemble:
Cross-check by the route: KCL gives , i.e. . Substituting gives and ; then . Same answer. ✓
The recipe
| Step | Do this | Watch out for |
|---|---|---|
| 1 | Redraw the circuit for . Caps open, inductors short. Solve for / . | "Has been closed a long time" is the phrase that licenses this. If the problem doesn't say it, don't assume it. |
| 2 | Carry only or across by continuity. | Don't carry currents through capacitors or voltages across inductors — those jump. |
| 3 | Redraw the circuit for in its new configuration. | Branches that got disconnected are gone entirely; don't leave them in. |
| 4 | In the new circuit, solve the DC steady state for / . | If the source got disconnected, the final value is — but only if there's no other source. |
| 5 | Find at the storage element's terminals in the new circuit; get . | Deactivate independent sources first. Use or . |
| 6 | Write , valid for . | State the range of validity. The expression is wrong for . |
| 7 | Get any other quantity from by the element law or Ohm's law. | , . Differentiating brings down a factor of — keep the minus sign. |
| 8 | Check the two endpoints: does your expression give at and as ? | 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.
A 24 V source in series with has been connected to a F capacitor for a long time (switch at position A). At the switch throws to position B, disconnecting the source and connecting the capacitor across .
(a) Find for . (b) At what time does fall to 6 V? (c) How much energy does 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 , and the full source appears across the capacitor: V. By continuity V.
Final value and τ (Era 3). After the throw, the only elements left in the loop are and — no source — so , and s ms. Note plays no part after ; it isn't in the circuit any more.
Route 1 — general formula.
Route 2 — from the ODE. KVL around the loop for : with taken in the passive direction, giving , i.e. . Substituting : the constant group gives (there is no forcing term), the exponential group gives , and . So V. Both routes agree. ✓
(b) ms. Cross-check: V is a quarter of V, i.e. two halvings, so ms. ✓
(c) Energy conservation: with no source connected, everything stored in the capacitor ends up in : Cross-check by integrating the power: ✓
A 12 V source in series with feeds node A. From node A, an inductor H runs to ground, and in parallel with it a resistor also runs from node A to ground. The switch has been closed for a long time. At the switch opens, removing the source and entirely.
(a) Find . (b) Find for , with defined positive flowing from node A down through . (c) Find the node-A voltage and comment on it. (d) How much energy was stored in at ?
(a) Era 1. Long-settled DC: the inductor is a short circuit, so node A is tied to ground, . With V across , no current goes that way, so the source current all goes through : By continuity, A.
(b) Route 1 — general formula. After the switch opens, and form a closed loop with no source, so , and s, i.e. :
Route 2 — from the ODE. KVL around the – loop: , i.e. . Substituting : the constant group gives ; the exponential group gives ; and . So A. Both routes agree. ✓
(c) At the inductor still forces A downward out of node A. That current can only be resupplied through , flowing up from ground into node A. KCL at node A: , so Cross-check via the element law: V, which at is V — and is here since the inductor's bottom end is grounded. ✓
Comment: node A jumped from V to V instantaneously, a swing three times the source voltage. Inductor current is continuous; nothing forbids the voltage from jumping, and with a larger 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) J. Cross-check by integrating the power in : J. ✓
A 20 V source in series with feeds node A. A resistor runs from node A to ground, and a capacitor F also runs from node A to ground. The capacitor is initially uncharged; the switch closes at .
(a) Find for . (b) Find the capacitor current . (c) How long until reaches 90% of its final value?
(a) Route 1 — the three ingredients.
: uncharged, so .
: capacitor open, so and form a plain voltage divider:
: deactivate the 20 V source (short it). Looking back from the capacitor's terminals, and are now in parallel: This is the trap: neither alone nor alone is the right resistance.
Route 2 — straight from KCL. At node A (with ): Multiply through by : , i.e. . Substitute :
constant group: ✓ (matches the divider);
exponential group: ✓ (matches
);
initial condition: ✓.
Both routes agree. ✓
(b) A mA.
Cross-check at independently: an uncharged capacitor is a momentary short, so node A is pinned to V. Then carries no current, and everything the source pushes through goes into the capacitor: mA. ✓ And at the formula gives , as it must for a fully charged capacitor. ✓
(c) ms. (Compare: fully settled at ms.)
① Is the exponent negative? A positive means you dropped a sign — first-order passive circuits never grow. ② Did you use at the element's terminals, not just the nearest resistor? ③ Did you use the post-switch circuit for and , and the pre-switch circuit only for ? ④ Does in your expression reproduce ? ⑤ Did you state "for "? ⑥ If you differentiated to get or , did the factor come along?