
Physics II course sequence · Interactive lesson
Charging an RC circuit
Close the switch and the current will not hold still: every coulomb that lands on the plates pushes back against the next one. That feedback turns a one-line loop equation into a differential equation, and the exponential it returns sets how fast any real circuit can switch, sample or time.
UPII-07.05 · Lesson 5 of 8 in this unit. Position is not a completion score.Build the model
The charge already stored is what shuts the current down.
The key idea
Charging an RC circuit is the transient that follows closing a switch on a series emf, resistor and capacitor: charge and capacitor voltage climb exponentially towards their final values while the current decays, all on the single time scale τ = RC.
Example. With ε = 12.0 V, R = 47 kΩ and C = 2.2 μF, τ = 0.103 s: the current starts at 0.255 mA, and after one time constant the plates hold 63.2% of the final 26.4 μC, that is 16.7 μC at 7.59 V.
The complete physical model and assumptions
A resistor in series with an uncharged capacitor and a battery is the simplest circuit whose answer is a function of time rather than a single number. Kirchhoff's loop rule still holds at every instant, ε − iR − q/C = 0, but two of its terms are locked together, because the current in this loop is precisely the rate at which charge arrives on the plates: i = dq/dt. Making that substitution turns a piece of algebra into a first-order differential equation, R dq/dt = ε − q/C, in which the capacitor's own voltage subtracts from the battery's and so throttles the very current that is charging it. Separating the variables and imposing q(0) = 0 gives q(t) = Cε(1 − e(−t/RC)): charge climbing towards Cε, current falling from ε/R towards zero, both governed by the single time RC. The model assumes an ohmic resistor, a capacitance independent of voltage, a constant emf, and a circuit small enough that one current describes the whole loop at one instant. It stops working when the switching time shrinks towards the time light needs to cross the circuit, when the dielectric leaks enough that a steady current still flows at long times, or when the resistor heats enough for R to drift while the transient is still running.
1Write the loop rule at one instant
Put an emf ε, a resistor R and an uncharged capacitor C in one series loop, and close the switch at t = 0. Kirchhoff's loop rule is a statement about a moment, not about a steady state, so it applies here unchanged: travel round the loop in the direction the current flows and the potential changes must sum to zero. Across the battery you gain ε, across the resistor you drop iR, and across the capacitor you drop q/C, where q is the charge already sitting on the plate you meet first. So ε − iR − q/C = 0. Two terms in that equation are functions of time, and that is both the difficulty and the interest. At the first instant q = 0, so the capacitor drops nothing and the loop rule reads ε = iR. Long afterwards the current has stopped, so the resistor drops nothing and it reads ε = q/C. The circuit must travel from one of those statements to the other, and the loop rule by itself cannot say how quickly.
2One unknown, not two: i = dq/dt
The current here is nothing other than the rate at which charge lands on the capacitor plate, i = dq/dt. Substituting that removes i and leaves a single unknown function: R dq/dt = ε − q/C, or R dq/dt = (Cε − q)/C. Read the right-hand side as a net driving voltage — the battery pushes with ε, the charge already stored pushes back with q/C, and whatever is left is what R has to work with. Separate the variables: dq/(Cε − q) = dt/(RC). Integrate from the closed switch, q = 0 at t = 0, out to a general time, and the left side gives a logarithm: ln[Cε/(Cε − q)] = t/(RC). Exponentiate and rearrange for the transient, q(t) = Cε(1 − e(−t/RC)), then differentiate it back for the current, i(t) = (ε/R) e(−t/RC). Notice what the initial condition bought: q(0) = 0 is what fixed the amplitude at Cε. A capacitor that already carried charge would give the same exponential with a different amplitude in front of it.
3Read the two ends before you read the middle
At t = 0 the plates are bare, so vC = 0 and the capacitor behaves exactly like a piece of wire: the whole of ε appears across R, and the current is as large as it will ever be, i(0) = ε/R. With ε = 12.0 V and R = 47 kΩ that is 0.255 mA, and changing C does not move it at all. As t → ∞ the exponential dies, dq/dt → 0, and a branch carrying no current behaves like a break: the resistor drops nothing, all of ε appears across the capacitor, and q → Cε. With C = 2.2 μF that final charge is 26.4 μC, and changing R does not move it at all. These two limits are worth more than the formula, because you can write them down for any RC network in a single line — an uncharged capacitor is a short circuit, a fully charged one is an open circuit — and they hand you the start and the end of the transient before you solve anything.
4τ = RC is the only clock in the circuit
Check first that RC is a time: Ω × F = (V A⁻¹)(C V⁻¹) = C A⁻¹ = s. It is a duration, and it is the only duration the circuit contains, since no other combination of ε, R and C has the dimension of time. Put t = τ into the solution: the exponential becomes e⁻¹ = 0.368, so q = 0.632 Cε. One time constant reaches 63.2% of the final charge whatever the component values; two reach 86.5%, three 95.0%, five 99.3%, which is why 5RC is the usual engineering shorthand for finished. The time constant also has a geometric meaning. The initial slope of q(t) is i(0) = ε/R, and if charge kept arriving at that rate it would reach Cε after a time Cε ÷ (ε/R) = RC. Draw the tangent at the origin and it cuts the final level exactly at t = τ. That is the construction to use on an oscilloscope trace, because the curve itself flattens far too gradually to read a time off, while its initial tangent does not.
5The two voltages always add to ε
Rearrange the loop rule and read it as it stands: vR + vC = ε at every instant. That single constraint means the two curves are not independent, but reflections of one another in the line v = ε/2. The capacitor voltage vC = ε(1 − e(−t/RC)) grows from 0 towards ε; the resistor voltage vR = iR = ε e(−t/RC) decays from ε towards 0; their sum is ε, with no t left in it. Take ε = 12.0 V, R = 47 kΩ and C = 2.2 μF, so τ = 0.103 s. At t = τ, vC = 12.0 V × 0.6321 = 7.59 V and vR = 12.0 V × 0.3679 = 4.41 V, and those add to 12.00 V. At t = 3τ they are 11.40 V and 0.60 V. Since vR and i differ only by the constant factor R, putting a scope across the resistor is the cleanest way to record the current without breaking the circuit, and it is the sharper trace too: it falls from its largest value instead of creeping up to its last few percent.
6Test the solution rather than trusting it
Four checks cost a minute between them and catch almost every slip. Substitute back: with q = Cε(1 − e(−t/RC)) the derivative is dq/dt = (ε/R)e(−t/RC), so R dq/dt + q/C = ε e(−t/RC) + ε(1 − e(−t/RC)) = ε, which is the original equation with no stray t surviving. Check the two ends: q(0) = Cε(1 − 1) = 0, as the switch condition demands, and q(∞) = Cε, as the long-time argument demands. Check the total charge that passed through the resistor: ∫₀^∞ (ε/R) e(−t/RC) dt = (ε/R)(RC) = Cε, the same final charge, as it has to be, since every coulomb that reached the plates went through the resistor first. Check the exponent last: t/RC is a time divided by a time, so the exponential takes a pure number, as it must. A solution that survives all four is very unlikely to be wrong, and any one of them catches a stray factor of R or C.
Key equations
Read the units, assumptions and limits before substituting.
Loop rule at every instant
ε − i R − q/C = 0
The one piece of physics in the topic — everything after it is calculus applied to this line.
ε in V, i in A, R in Ω, q in C, C in F; both i and q are functions of tThe charging differential equation
R dq/dt + q/C = ε
Collapses two unknowns into one and makes the problem solvable by separation of variables.
i = dq/dt is the rate charge arrives on the positive plate, in ACharge on the plates
q(t) = Cε (1 − e(−t/RC))
Gives the charge at any instant, and its t → ∞ limit Cε is the final charge.
q in C, t in s, RC in s; requires q(0) = 0 with ε, R and C constantCurrent in the loop
i(t) = (ε/R) e(−t/RC)
The derivative of q(t): the current is largest the moment the switch closes and only falls.
i in A; the initial value i(0) = ε/R is fixed by R alone, with no C in itTime constant
τ = R C
Sets the whole time scale: 63.2% of the final charge at τ, 95.0% at 3τ, 99.3% at 5τ.
Ω × F = (V A⁻¹)(C V⁻¹) = C A⁻¹ = s, so τ is a time; τ in s, R in Ω, C in FTime to reach a chosen fraction
t = −R C ln(1 − f)
Inverts the curve for design: half takes 0.693 RC, 90% takes 2.30 RC, 99% takes 4.61 RC.
f is the fraction of the final charge or voltage reached, 0 ≤ f < 1; t in sInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Set R = 80 kΩ with C = 1.0 μF, then R = 20 kΩ with C = 4.0 μF: τ stays at 80 ms so the voltage curves lie on top of each other, yet the initial current jumps from 0.150 mA to 0.600 mA, because ε/R knows nothing about C.
Live results
- TIME CONSTANT τ = RC
- 100 ms
- vC AT CURSOR
- 7.59 V
- CURRENT AT CURSOR
- 0.110 mA
- FINAL CHARGE Cε
- 30.0 μC
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Resistance R: 40 kΩ; Capacitance C: 2.5 μF; Cursor time t: 100 ms
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The habit to break is letting R and C swap jobs. Students routinely say that a larger capacitor draws a larger initial current. It does not: at t = 0 the plates are bare, the capacitor drops zero volts, and i(0) = ε/R has no C in it at all, so doubling C leaves the first instant untouched and merely doubles how long the charging takes. The mirror error is to say that a larger resistor stores less charge. It does not do that either: once the current has stopped the resistor drops nothing, so the final charge is Cε whatever R was. R alone sets where the current starts, C alone sets where the charge ends, and only the product sets how long the journey takes. A third version of the same confusion is reading τ as a finishing time — at t = RC the capacitor holds 63.2% of its final charge, not all of it, and strictly it never holds all of it.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A 6.0 V battery, a 150 kΩ resistor and an uncharged 100 nF capacitor are joined in one series loop, and the switch is closed at t = 0. Find the time constant, the current at the instant of closing, the final charge on the capacitor, and the capacitor voltage 25 ms after closing.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Time constant first, because it sets everything else: τ = RC = 1.50 × 10⁵ Ω × 1.00 × 10⁻⁷ F = 1.50 × 10⁻² s = 15.0 ms.
- At t = 0 the plates are bare, so the capacitor drops nothing and all 6.0 V sits across the resistor: i(0) = ε/R = 6.0 V ÷ 1.50 × 10⁵ Ω = 4.0 × 10⁻⁵ A = 40 μA.
- At long times the current stops, so the resistor drops nothing and the capacitor holds the whole emf: q(∞) = Cε = 1.00 × 10⁻⁷ F × 6.0 V = 6.0 × 10⁻⁷ C = 0.60 μC.
- Now the instant asked for. t/τ = 25.0 ms ÷ 15.0 ms = 1.667, so e(−1.667) = 0.1889 and vC = ε(1 − e(−t/RC)) = 6.0 V × 0.8111 = 4.87 V.
- Sanity check: 25 ms is between one and two time constants, so vC should lie between 63.2% and 86.5% of 6.0 V, that is between 3.79 V and 5.19 V. It does.
Answer. τ = 15.0 ms, i(0) = 40 μA, final charge 0.60 μC, and vC = 4.87 V at t = 25 ms — already 81.1% of the way there, since 25 ms is 1.67 time constants.
MediumExample 2
A 12.0 V supply charges an initially uncharged capacitor of unknown value through a 68 kΩ resistor. A high-impedance voltmeter across the capacitor reads 8.00 V exactly 0.42 s after the switch closes. Find the time constant, the capacitance, and the charging current at that same instant.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Put the reading into the model: vC = ε(1 − e(−t/τ)), so 8.00 V = 12.0 V × (1 − e(−t/τ)) and e(−t/τ) = 1 − 8.00/12.0 = 0.3333.
- Take logarithms to free t/τ: t/τ = −ln(0.3333) = ln 3 = 1.0986, so τ = 0.42 s ÷ 1.0986 = 0.3823 s.
- Unpick the product, since R is known: C = τ/R = 0.3823 s ÷ 6.80 × 10⁴ Ω = 5.62 × 10⁻⁶ F, so C ≈ 5.6 μF.
- The current at that instant needs no exponential at all — the loop rule hands it over, because the resistor carries whatever voltage the capacitor has left over: i = (12.0 − 8.00) V ÷ 6.80 × 10⁴ Ω = 5.88 × 10⁻⁵ A = 58.8 μA.
- Cross-check with the decay form: i(0) = 12.0 V ÷ 6.80 × 10⁴ Ω = 176 μA, and i = i(0) e(−t/τ) = 176 μA × 0.3333 = 58.8 μA. The two routes agree.
Answer. τ = 0.38 s, C = 5.6 μF, and i = 58.8 μA at t = 0.42 s — one third of the initial 176 μA, because the capacitor already holds two thirds of ε.
HardExample 3
A 24.0 V battery drives a 3.0 kΩ resistor R₁ in series with a parallel combination of a 6.0 kΩ resistor R₂ and an uncharged 470 nF capacitor. The switch closes at t = 0. Find the current drawn from the battery at t = 0 and long afterwards, the final capacitor voltage, the time constant of the rise, and vC at t = 1.5 ms.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- At t = 0 the uncharged capacitor drops zero volts, so it short-circuits R₂. The battery therefore sees R₁ alone: i(0) = 24.0 V ÷ 3.0 kΩ = 8.0 mA, and all of it goes onto the plates, since R₂ has no voltage across it to drive any current through.
- Long afterwards the plates stop taking charge, so the capacitor branch is an open circuit and R₁ and R₂ are simply in series: i(∞) = 24.0 V ÷ 9.0 kΩ = 2.67 mA, and vC equals the drop across R₂, 2.67 mA × 6.0 kΩ = 16.0 V.
- For the curve between those two ends, replace everything the capacitor can see by one equivalent source: εₜₕ = 24.0 V × 6.0/(3.0 + 6.0) = 16.0 V, which reproduces step 2, and Rₜₕ = R₁R₂/(R₁ + R₂) = 18/9 kΩ = 2.0 kΩ.
- That equivalent circuit is a plain emf, resistor and capacitor in series, so the charging law applies unchanged: τ = Rₜₕ C = 2.0 × 10³ Ω × 4.70 × 10⁻⁷ F = 9.4 × 10⁻⁴ s = 0.94 ms. Check it against step 1: εₜₕ/Rₜₕ = 16.0 V ÷ 2.0 kΩ = 8.0 mA, the same initial current.
- Finally the instant asked for: t/τ = 1.5 ms ÷ 0.94 ms = 1.596, e(−1.596) = 0.2027, so vC = 16.0 V × (1 − 0.2027) = 12.8 V.
Answer. i(0) = 8.0 mA from the battery, falling to 2.67 mA; vC climbs to 16.0 V with τ = 0.94 ms, passing 12.8 V at t = 1.5 ms.
Quick check
Select an answer and explain it before checking.
Review & continue
Charging an RC circuit is the transient that follows closing a switch on a series emf, resistor and capacitor: charge and capacitor voltage climb exponentially towards their final values while the current decays, all on the single time scale τ = RC.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics II completion tasks.