A8 · Lesson 3 · First-order equations
Why an RC circuit charges along an exponential
Close a switch to connect a battery through a resistor to a capacitor, and the capacitor's voltage climbs along a curve you've seen many times: fast at first, then leveling off. Where does the exponential come from? Kirchhoff's voltage law and the capacitor's own law combine into a first-order differential equation, and solving it takes three lines.
Play
- The source steps from 0 to 5 V at . The scope shows the capacitor's voltage.
- Double R, then double C. Where does the curve reach about 63% of the way? Compare with .
- Make R small and C large, then the other way around, keeping the same. Does the curve change?
Predict
R = 1 kΩ and C = 1 µF. How long until the capacitor reaches about 63% of 5 V?
1 ms, the time constant s. At the voltage is V, 63% of the way. Only the product RC matters, which is why doubling R and halving C leaves the curve unchanged.
Name it
Setting up and solving
Setting up. Around the loop, the source voltage is shared by the resistor and the capacitor: . The capacitor's law says . Substituting:
A first-order linear equation, with as the only parameter of the circuit.
Solving by separating variables. Rearrange so everything with is on one side and everything with on the other:
Integrate both sides: , so . Using the starting voltage to fix :
Read it as: final value, plus the initial gap shrinking exponentially. That one formula covers charging (), discharging (), and everything in between.
The same equation, everywhere. An inductor and resistor give , so . A thermometer warming in a bath, a tank draining through a pipe and a motor spinning up against friction all obey the same first-order law, with their own time constants. Learn it once.
The homogeneous part. With no source, , the solution is : the natural response, how the circuit relaxes on its own. With a constant source it shifts to approach the new final value. Lesson 4 adds sources that change in time.
Worked example
A 5 V step charges 100 nF through 10 kΩ. What is the voltage after 2 ms?
Show the solution
- Time constant.
- Voltage at 2 ms. Two milliseconds is two time constants: 86% of the way there.
Answer 4.32 V after 2 ms, 86% of the way to 5 V.
Worked example
A 470 µF capacitor at 12 V discharges through 2.2 kΩ. When is it down to 1 V?
Show the solution
- Time constant.
- Solve for the time.
Answer it's down to 1 V after 2.57 s.
Worked example
A 5 V step drives a 10 mH inductor through 100 Ω. What is the current after 0.2 ms?
Show the solution
- Write KVL. This is the same first-order form as the RC circuit.
- Time constant.
- The rising current. The current rises toward mA:
- Current at 0.2 ms.
- What can't jump. In an RL circuit the inductor current is the quantity that can't jump, the way capacitor voltage can't jump in an RC circuit.
Answer the current is 43.2 mA after 0.2 ms.
Check
What is the time constant of a 4.7 kΩ resistor charging a 22 nF capacitor?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
What is the time constant of a 4.7 mH inductor in series with 15 Ω?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Solve with .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
A capacitor at 8 V is connected through a resistor to a 1 V source, with = 4 ms. What is its voltage after 2 ms?
Check
A 12 V step drives a 10 mH inductor through 100 Ω.
(a)
What is the time constant?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
(b)
What is the current after one time constant?
Check
A capacitor charges toward with time constant .
Step 1
What is from 0?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is ?
Explain why
In , explain what each part represents physically.
is where the capacitor ends up: once it's charged to the source voltage, no current flows and nothing changes. is how far it starts from there. The factor shrinks that gap by the same fraction every time constant, because the current, and so the rate of change, is proportional to the remaining gap. The time constant sets the pace: a bigger resistor lets less current through, and a bigger capacitor needs more charge.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.