Electricity and Magnetism 203-SN2-RE • CEGEP, Montreal

Revision sheet: RC circuits in direct current (203-SN2-RE)

An RC circuit boils down to one exponential, and that is exactly why it is a trap: everything depends on the values you put into it. The starting voltage, the final voltage, the right time constant, and the origin of time.

This sheet gathers the traps found in 203-SN2-RE tests on RC circuits, the tree that picks the expression according to the instant asked, a method written out in four steps and a complete example of a charge followed by a discharge.

Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.

The thread of the chapter

A capacitor cannot change its voltage all at once: right after a switching it keeps its voltage, long after it lets no current through, and in between everything is exponential in units of τ = RC. Every trap puts a wrong value into that exponential.

This chapter is part of 203-SN2-RE, Electricity and Magnetism

The essentials

Charging, discharging and the time constant

  • • Time constant: τ=RC\tau=RC, in seconds if RR is in ohms and CC in farads.
  • • Charging from E\mathcal{E}: vC=E(1−e−t/τ)v_{C}=\mathcal{E}\left(1-e^{-t/\tau}\right) and i=ERe−t/τi=\dfrac{\mathcal{E}}{R}e^{-t/\tau}.
  • • Discharging from V0V_{0}: vC=V0e−t/τv_{C}=V_{0}e^{-t/\tau}, and the current decays the same way.
  • • Benchmarks: 6363% of the change at τ\tau, 8686% at 2τ2\tau, 9999% at 4.6τ4.6\tau; half-life τln⁡2\tau\ln 2.
123450.20.40.60.811.2charging: 1 − e^(−t/τ)discharging: e^(−t/τ)63%37%t / τ
At t = τ, the charging is at 63% of its final value and the discharging at 37% of its initial value: the two curves mirror each other.

What varies exponentially is always the GAP to the final value: in charging, what is missing; in discharging, what is left.

The two limiting regimes and the loop rule

  • • Right after a switching, the capacitor voltage has not moved: discharged, it behaves like a WIRE.
  • • In steady state, iC=0i_{C}=0: charged, it behaves like an OPEN circuit.
  • • Loop rule for discharging: Rdqdt+qC=0R\dfrac{dq}{dt}+\dfrac{q}{C}=0; for charging: E=Ri+qC\mathcal{E}=Ri+\dfrac{q}{C} with i=dqdti=\dfrac{dq}{dt}.
  • • Several resistors: τ=ReqC\tau=R_{eq}C, where ReqR_{eq} is the resistance seen by the capacitor, sources turned off. Stored energy: U=12CvC2U=\dfrac{1}{2}Cv_{C}^{2}.
ℰKRCi−q+q+Riq/C
Charging: ii enters the +q+q plate, the two voltages are arrowed opposite to the current, and the loop rule can be read off the drawing: E=Ri+qC\mathcal{E}=Ri+\dfrac{q}{C}, with i=dqdti=\dfrac{dq}{dt}.

Both limiting regimes are calculated with Kirchhoff's laws alone, no exponential: that is often half the marks of an exercise.

Discharging: orient the current out of the + plate

  • • Orient ii so that it LEAVES the plate carrying +q+q: the charge decreases, so i=−dqdti=-\dfrac{dq}{dt}, positive.
  • • Loop rule around the loop formed by CC and RR: qC=Ri\dfrac{q}{C}=Ri, that is Rdqdt+qC=0R\dfrac{dq}{dt}+\dfrac{q}{C}=0.
  • • Solution: q=Q0e−t/RCq=Q_{0}e^{-t/RC}, and i=Q0RCe−t/RCi=\dfrac{Q_{0}}{RC}e^{-t/RC} decays with the same time constant.
CKRi+q−qRi
Discharging: ii leaves the +q+q plate and goes through RR. Around the loop, qC=Ri=−Rdqdt\dfrac{q}{C}=Ri=-R\dfrac{dq}{dt}.

Orienting ii the other way is allowed, provided you write i=+dqdti=+\dfrac{dq}{dt}: the current then comes out negative, and that sign is to be read, not erased.

Two capacitors: the common charge in series

  • • In series, both capacitors carry the SAME charge: the section between them is isolated, its plates take −Q-Q and +Q+Q. Then 1Cs=1C1+1C2\dfrac{1}{C_{s}}=\dfrac{1}{C_{1}}+\dfrac{1}{C_{2}}.
  • • In parallel, they have the same VOLTAGE and their charges add: Cp=C1+C2C_{p}=C_{1}+C_{2}.
  • • The time constant follows the equivalent capacitance, τ=RCs\tau=RC_{s} or τ=RCp\tau=RC_{p}; in series, the smaller capacitor takes the larger voltage.
ℰRC₁C₂−Q+Q−Q+Q+
The boxed section, between C1C_{1} and C2C_{2}, is isolated and stays neutral: its two plates carry −Q-Q and +Q+Q, hence the same charge QQ on both capacitors.

The rules are the reverse of those for resistors: an equivalent capacitance in series is always SMALLER than the smaller of the two.

The mistakes that cost marks

These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.

1. Multiplying kilohms by microfarads without converting

the whole question, and every voltage that depends on it

What not to write

“τ=4.7×220=1034\tau=4.7\times 220=1034 s.”

What to write

“τ=4.7×103 Ω×220×10−6 F=1.03\tau=4.7\times 10^{3}\ \Omega\times 220\times 10^{-6}\ \mathrm{F}=1.03 s.”

Why: Together, kilo and micro make one thousandth. A capacitor of a few hundred microfarads that would take a quarter of an hour to charge through a few kilohms should make you reread the line.

2. Giving the capacitor the source voltage right after the closing

2 to 3 marks, and the wrong initial current

What not to write

“At t=0+t=0^{+}, vC=E=12v_{C}=\mathcal{E}=12 V and the current is zero.”

What to write

“At t=0+t=0^{+}, vC=0v_{C}=0: the whole voltage is across the resistor and i0=ER=124700=2.55i_{0}=\dfrac{\mathcal{E}}{R}=\dfrac{12}{4700}=2.55 mA.”

Why: vC=qCv_{C}=\dfrac{q}{C}: the voltage can change only if the charge has had time to build up. It is the current that jumps instantaneously.

3. Taking the resistance in series with the source to calculate tau

the whole question

What not to write

“Source, R1=6R_{1}=6 kΩ, then R2=3R_{2}=3 kΩ in parallel with C=100C=100 µF: τ=R1C=0.60\tau=R_{1}C=0.60 s.”

What to write

“Seen from the capacitor, source turned off, R1R_{1} and R2R_{2} are in parallel: Req=2R_{eq}=2 kΩ and τ=0.20\tau=0.20 s.”

R₁ = 6 kΩR₂ = 3 kΩCAB
To find τ, turn the source off, replaced by a wire, and look from the terminals of C: R1R_{1} and R2R_{2} connect the same two nodes A and B, they are in parallel, Req=2R_{eq}=2 kΩ.

Why: The time constant depends on the path through which the capacitor charges AND discharges. Part of the supplied current escapes through R₂, which speeds up the charging and lowers the final voltage.

4. Using the charging formula for a discharge

the whole question

What not to write

“A capacitor charged at 1212 V discharges: at t=τt=\tau, vC=12(1−e−1)=7.6v_{C}=12\left(1-e^{-1}\right)=7.6 V.”

What to write

“In a discharge, vC=12 e−1=4.4v_{C}=12\,e^{-1}=4.4 V: 3737% is left.”

Why: A discharge starts from the initial voltage and tends to zero. The charging formula makes the voltage grow, which no capacitor disconnected from its source can do.

5. Declaring the capacitor charged after two time constants

1 to 2 marks

What not to write

“At t=2τt=2\tau, the capacitor is practically charged.”

What to write

“At 2τ2\tau, it is only at 1−e−2=86.51-e^{-2}=86.5%; it takes τln⁡100=4.6τ\tau\ln 100=4.6\tau to reach 9999%.”

Why: The practical 5τ rule comes from the fact that less than 1% remains to be gained. Below 4τ, the gap to the final value is still measurable.

6. Making the energy decay like the voltage

2 marks

What not to write

“9090% of the energy is dissipated when e−t/τ=0.10e^{-t/\tau}=0.10, that is t=τln⁡10=0.253t=\tau\ln 10=0.253 s for τ=0.110\tau=0.110 s.”

What to write

“U∝vC2∝e−2t/τU\propto v_{C}^{2}\propto e^{-2t/\tau}: e−2t/τ=0.10e^{-2t/\tau}=0.10 gives t=τln⁡102=0.127t=\dfrac{\tau\ln 10}{2}=0.127 s.”

0.511.522.530.20.40.60.811.2voltage: e^(−t/τ)energy: e^(−2t/τ)t / τ
The red energy curve crosses the 10% line at 1.15 τ; the blue voltage curve only gets there at 2.3 τ.

Why: The energy is proportional to the SQUARE of the voltage: it decays twice as fast. When the energy is at 10%, the voltage is still at 32%.

7. Counting time from the start after a switching

2 marks

What not to write

“Charged for 1.51.5 s then discharged through 33 kΩ (τ2=3\tau_{2}=3 s): at t=4.5t=4.5 s, v=6.99 e−4.5/3=1.56v=6.99\,e^{-4.5/3}=1.56 V.”

What to write

“The discharge lasts only 4.5−1.5=3.04.5-1.5=3.0 s: v=6.99 e−1=2.57v=6.99\,e^{-1}=2.57 V.”

Why: The discharge exponential starts at the instant of the switching, with the voltage reached at that moment. You start again from a new origin of time.

Which method to choose

Which expression, according to the instant asked

The moment at which the problem asks for a voltage or a current

  • If right after the closing or the opening → capacitor voltage unchanged; Kirchhoff with C replaced by a source of that voltage (a wire if it is discharged)

    Example: discharged: i0=ERi_{0}=\dfrac{\mathcal{E}}{R}

  • If long after (more than 5 τ) → iC=0i_{C}=0: C replaced by an open circuit, Kirchhoff without any exponential

    Example: divider: vC=R2R1+R2Ev_{C}=\dfrac{R_{2}}{R_{1}+R_{2}}\mathcal{E}

  • If at a time t during a charging → vC=Vf+(Vi−Vf)e−t/τv_{C}=V_{f}+(V_{i}-V_{f})e^{-t/\tau}

    Example: 12(1−e−2/1.034)=10.312(1-e^{-2/1.034})=10.3 V

  • If at a time t during a discharging → vC=V0e−t/τv_{C}=V_{0}e^{-t/\tau}, tt counted from the start of the discharge

    Example: 9 e−10/4.7=1.079\,e^{-10/4.7}=1.07 V

  • If the time to reach a given voltage → isolate the exponential, then take the logarithm

    Example: t=τln⁡9.01.0=10.3t=\tau\ln\dfrac{9.0}{1.0}=10.3 s

The general form Vf+(Vi−Vf)e−t/τV_{f}+(V_{i}-V_{f})e^{-t/\tau} covers charging (Vi=0V_{i}=0, Vf=EV_{f}=\mathcal{E}) and discharging (Vf=0V_{f}=0): one formula to remember, three values to read.

How the answer is expected to be written

A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.

Studying an RC circuit with several resistors

When to use it: The problem gives a source, two or three resistors and a capacitor, and asks for voltages and currents at several instants.

  1. 1 Initial instant: replace the capacitor by its earlier voltage (a wire if it is discharged) and solve by Kirchhoff.
  2. 2 Steady state: replace the capacitor by an open circuit and solve by Kirchhoff; deduce the final voltage.
  3. 3 Time constant: turn the source off, calculate the resistance seen by the capacitor, τ=ReqC\tau=R_{eq}C.
  4. 4 Write vC(t)=Vf+(Vi−Vf)e−t/τv_{C}(t)=V_{f}+(V_{i}-V_{f})e^{-t/\tau} and answer the intermediate questions.

Concluding sentence

“At t=0+t=0^{+}, the discharged capacitor behaves like a wire; in steady state, like an open circuit, hence vC=3.33v_{C}=3.33 V. Seen from C, Req=R1∥R2=2.0R_{eq}=R_{1}\parallel R_{2}=2.0 kΩ, so τ=0.20\tau=0.20 s and vC(t)=3.33(1−e−t/0.20)v_{C}(t)=3.33\left(1-e^{-t/0.20}\right).”

The trap: Writing the charging formula directly with E and R₁, without going through the two limiting regimes: the final voltage and the time constant both come out wrong.

Marking: Generally 1 mark per limiting regime, 1 for the time constant, 1 for the expression, 1 for each value requested.

Check before you hand in

Five minutes of checking recover more marks than one more problem started in a hurry.

The typical problem, taken apart

Charging, switching, then discharging through another resistor

A 10001000 µF capacitor, discharged, charges at 9.09.0 V through 1.01.0 kΩ. At t=1.5t=1.5 s, it is switched onto a 3.03.0 kΩ resistor, through which it discharges.

Calculate the voltage at the switching, the current right after, the voltage at t=4.5t=4.5 s and the energy finally dissipated in the 3.03.0 kΩ resistor.

9.0 V1.0 kΩ1000 µF3.0 kΩK12+
Position 1: the 9.09.0 V battery charges the capacitor through 1.01.0 kΩ, τ1=1.0\tau_{1}=1.0 s. At t=1.5t=1.5 s, K switches to position 2: discharge through 3.03.0 kΩ, τ2=3.0\tau_{2}=3.0 s, a new origin of time.

Step 1

Charging: τ1=1.0×103×1000×10−6=1.0\tau_{1}=1.0\times 10^{3}\times 1000\times 10^{-6}=1.0 s, and v(1.5)=9.0(1−e−1.5)=6.99v(1.5)=9.0\left(1-e^{-1.5}\right)=6.99 V.

Why

You calculate the time constant specific to each phase: it changes with the resistance crossed.

Step 2

Right after the switching: vC=6.99v_{C}=6.99 V, so i=6.993000=2.33i=\dfrac{6.99}{3000}=2.33 mA.

Why

The capacitor voltage does not jump: it sets the initial current of the new loop.

Step 3

Discharging: τ2=3.0×103×1000×10−6=3.0\tau_{2}=3.0\times 10^{3}\times 1000\times 10^{-6}=3.0 s.

Why

New resistance, new time constant: reusing τ₁ is the second classic mistake of this type of exercise.

Step 4

At t=4.5t=4.5 s, the discharge has lasted 3.03.0 s: v=6.99 e−3.0/3.0=2.57v=6.99\,e^{-3.0/3.0}=2.57 V.

Why

The origin of time of the discharge is the instant of the switching.

Step 5

Energy dissipated: U=12×1000×10−6×6.992=24.4U=\dfrac{1}{2}\times 1000\times 10^{-6}\times 6.99^{2}=24.4 mJ.

Why

All the energy present at the switching ends up as heat in the resistor, whatever its value.

The conclusion, written out

“At the switching, vC=6.99v_{C}=6.99 V and i=2.33i=2.33 mA; at 4.54.5 s, 2.572.57 V remain; the 3.03.0 kΩ resistor dissipates 24.424.4 mJ in all.”

The classic mistake on this problem: Writing the discharge as e to the power minus t over three seconds with t = 4.5 s: you get 1.56 V instead of 2.57 V.

Learn by heart

  • • τ=RC\tau=RC in seconds: ohms and farads, never raw kilohms and microfarads.
  • • vC(t)=Vf+(Vi−Vf)e−t/τv_{C}(t)=V_{f}+(V_{i}-V_{f})e^{-t/\tau}: charging and discharging in a single formula.
  • • Right after a switching: capacitor voltage unchanged. Long after: capacitor current zero.
  • • 6363% at τ\tau, 8686% at 2τ2\tau, 9999% at 4.6τ4.6\tau; t1/2=τln⁡2t_{1/2}=\tau\ln 2.
  • • Several resistors: τ=ReqC\tau=R_{eq}C, source turned off, seen from C.
  • • U=12CV2U=\dfrac{1}{2}CV^{2} decays as e−2t/τe^{-2t/\tau}.
  • • Capacitors: in series 1Cs=∑1Ci\dfrac{1}{C_{s}}=\sum\dfrac{1}{C_{i}}, in parallel Cp=∑CiC_{p}=\sum C_{i}.

Frequently asked questions

What is the voltage of a capacitor right after the switch is closed?

It is the same as right before, because the voltage of a capacitor is proportional to its charge and a charge does not build up instantaneously. A discharged capacitor therefore behaves like a plain wire at the moment of closing, and the whole source voltage appears across the resistor.

How do I calculate the time constant of an RC circuit with several resistors?

Turn the source off, replacing a voltage source with a wire, then calculate the equivalent resistance seen from the two terminals of the capacitor. The time constant is the product of this equivalent resistance and the capacitance. It is not necessarily the resistor placed in series with the source.

How long does it take for a capacitor to be charged?

Mathematically never completely, but it reaches 63 percent of its final voltage after one time constant, 86 percent after two, and 99 percent after about 4.6 time constants. In practice, it is considered charged after five time constants, when less than one percent remains to be gained.

Where does the energy of a capacitor discharging through a resistor go?

It is entirely dissipated as heat in the resistor, by Joule heating. The integral of the product of the resistance and the square of the current gives back exactly half the capacitance times the square of the initial voltage, whatever the value of the resistance, which only sets the duration of the discharge.

Practise it

Corrected exercises: RC circuits in direct current, 203-SN2-RE

A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.

  • 15 corrected exercises
  • 150 points
  • 225 minutes
Do the exercises
Something missing from this sheet? A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.

Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space. Rather not create an account? Write to me directly.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous sheet Direct-current circuits Next sheet Magnetism and induction

© Ahmed Squalli Houssaini. Revision sheet published at www.letuteurscientifique.ca/en/fiches/cegep-phys2-rc-circuits. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Looking for a 203-SN2-RE tutor in Montreal?

Get in touch for a first session. RC circuits are worked by method: two limiting regimes, one time constant, one exponential.

Site by Studio Squalli