First Year Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Capacitors and charging transients

Capacitors: definition, series/parallel combination, dielectric basics, RC step response and time constant, charging/discharging transients, energy, and exam-style derivations and numericals.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Capacitors and their charging/discharging transients appear in almost every electronic and electrical system: timing circuits, filters, power-supply smoothing, motor-start circuits, and protection against voltage spikes. Understanding RC transients lets you predict how voltages and currents change with time when a circuit is switched, which is essential for safe, reliable designs.

Key ideas

  • Capacitance (C): The ability of a system to store electric charge per unit voltage. Exact definition: Capacitance is defined as the ratio of the magnitude of charge on one conductor to the potential difference between conductors, under electrostatic conditions. Mathematically, C = q/V. SI unit: farad (F), where 1 F = 1 coulomb per volt.
  • Capacitor: A passive element consisting of two conductors separated by an insulator (dielectric) that stores energy in the electric field when a voltage is applied. Ideal capacitor has no leakage, no series resistance, and its voltage cannot change instantaneously.
  • Dielectric: The insulating material between capacitor plates. It increases capacitance by a factor called relative permittivity (dielectric constant), κ = ε/ε₀, where ε is the permittivity of the dielectric and ε₀ is the permittivity of free space.
  • Permittivity (ε): A material property that determines how much electric field is produced per unit charge. SI unit: farad per metre (F/m). For vacuum, ε₀ ≈ 8.854 × 10⁻¹² F/m.
  • Parallel-plate capacitor model: For two large parallel plates of area A separated by distance d (d ≪ √A), C = ε·A/d. Assumes uniform electric field and negligible fringing.
  • Charge–voltage relation: For a linear capacitor, q(t) = C·v_C(t). Differentiating: i_C(t) = dq/dt = C·dv_C/dt. This is the constitutive law of an ideal capacitor.
  • Energy stored in a capacitor: Work needed to move charge against rising voltage. Exact result: Energy W = ½·C·V² when charged to voltage V.
  • Initial-value property: Capacitor voltage is a continuous variable; it cannot change instantaneously because that would require infinite current (i = C·dv/dt). By contrast, capacitor current can change instantaneously.
  • RC time constant (τ): For a resistor R in series with a capacitor C seen from its terminals, τ = R·C (seconds). In a first-order RC step response, the capacitor voltage changes exponentially with time constant τ. At t = τ, the response has reached about 63.2% of its final change; at 5τ it is within about 1% of final value.
  • Thevenin resistance seen by the capacitor: In networks, the time constant equals C times the Thevenin resistance seen looking into the circuit from the capacitor’s terminals with independent sources turned off (voltage sources replaced by shorts, current sources by opens), provided the network reduces to a single equivalent R driving the C. If dependent sources are present, determine R_th using a test source.
  • Charging transient (step response): When a DC step V is applied through R to an initially uncharged capacitor (v_C(0⁺) = 0), v_C(t) = V·(1 − e^(−t/RC)), i(t) = (V/R)·e^(−t/RC) for t ≥ 0. More generally, with initial capacitor voltage V₀ and final value V_f due to sources, v_C(t) = V_f + (V₀ − V_f)·e^(−t/RC).
  • Discharging transient: With the capacitor initially at V₀ and then connected across R (no source), v_C(t) = V₀·e^(−t/RC), i(t) = (V₀/R)·e^(−t/RC) (current direction defined as leaving the positive plate through R). Equivalently, with the passive sign convention for capacitor current into the positive plate, i_C(t) = −(V₀/R)·e^(−t/RC).
  • Energy dissipation during charging: In charging a capacitor from a DC source through a resistor, exactly half the energy supplied by the source (beyond any initial energy) is dissipated in R if starting from zero; more generally, energy dissipated in R is ½·C·(V_f − V₀)².

Derivation of the RC charging equation (standard exam derivation): Assumptions: ideal R and C, ideal step source V applied at t = 0 via a switch, initial condition v_C(0⁻) = V₀, circuit is first order.

  1. Circuit: DC source V in series with resistor R feeding capacitor C to ground. Switch closes at t = 0.
  2. Apply KCL at capacitor node (top plate): current through R equals current into capacitor: (V − v_C)/R = C·dv_C/dt.
  3. Rearrange the first-order linear ODE: dv_C/dt + (1/RC)·v_C = (V/RC).
  4. Solve by integrating factor μ(t) = e^{t/RC}: d/dt [v_C·e^{t/RC}] = (V/RC)·e^{t/RC}.
  5. Integrate from 0 to t: v_C(t)·e^{t/RC} − v_C(0⁺) = V·(e^{t/RC} − 1). Using v_C(0⁺) = V₀ (capacitor voltage is continuous), we get v_C(t) = V + (V₀ − V)·e^{−t/RC}.
  6. Special case V₀ = 0: v_C(t) = V·(1 − e^{−t/RC}), and i(t) = (V − v_C)/R = (V/R)·e^{−t/RC}.

What to draw and label (for an exam diagram):

  • Basic charging circuit: Draw a DC source V (polarities + at top, − at bottom), a series resistor R, a switch S, and a capacitor C to ground. Label node voltages: input source V, capacitor voltage v_C(t) across C (plus at top plate). Show current i_R(t) through R from source to node, and i_C(t) into C with the passive sign convention.
  • Exponential response sketch: Time axis t on horizontal, voltage axis on vertical. Plot v_C(t) starting at V₀ at t = 0 and asymptotically approaching V_f. Mark the time constant τ on the t-axis, with the corresponding value at t = τ annotated as V_f + (V₀ − V_f)·e^{−1}. For the zero-initial case, mark v_C(τ) ≈ 0.632·V and v_C(5τ) ≈ 0.993·V.

Series and parallel combinations:

  • Series capacitors: 1/C_eq = 1/C₁ + 1/C₂ + … (charges equal in series; voltages add). Voltage division: V_k = Q/C_k for capacitor k, where Q is the common series charge. Important for high-voltage stacking.
  • Parallel capacitors: C_eq = C₁ + C₂ + … (voltages equal in parallel; charges add). Used to increase total capacitance and reduce equivalent series resistance (ESR) in practice.

Initial and final conditions in switching circuits:

  • At t = 0⁺, v_C(0⁺) = v_C(0⁻); current may jump to satisfy the network.
  • At t → ∞ in DC circuits with resistors only, capacitors become open circuits (i_C → 0). The final voltage equals the Thevenin open-circuit voltage seen by the capacitor.

Time to reach a given percentage:

  • For charging from 0 to V, time to reach p% of V: t_p = −RC·ln(1 − p/100). Common values: t_50% = 0.693·RC, t_63.2% = 1·RC, t_90% = 2.303·RC, t_99% ≈ 4.605·RC.

Safety and practical notes (concise):

  • Real capacitors have leakage resistance, equivalent series resistance (ESR), and maximum voltage rating. Leakage modifies the final value and time constant slightly. For first-year exams, assume ideal unless stated.
  • Polarity matters for electrolytic capacitors: never reverse-bias.

Formulas

C = q / V

  • C: capacitance (F), q: charge (C), V: potential difference (V). Definition under electrostatic, linear conditions.

i_C(t) = C · dv_C(t)/dt

  • i_C: capacitor current (A), C: capacitance (F), v_C: capacitor voltage (V), t: time (s). Ideal linear capacitor law.

C = ε · A / d

  • C: capacitance (F), ε: permittivity of dielectric (F/m), A: plate area (m²), d: plate separation (m). Valid for parallel-plate approximation with negligible fringing.

W = ½ · C · V²

  • W: energy stored (J), C: capacitance (F), V: capacitor voltage (V). Energy in an ideal capacitor.

τ = R · C

  • τ: time constant (s), R: resistance seen by capacitor (Ω), C: capacitance (F). First-order RC circuits.

v_C(t) = V_f + (V₀ − V_f) · e^(−t/RC)

  • v_C(t): capacitor voltage (V) at time t, V_f: final (steady-state) voltage (V), V₀: initial voltage v_C(0⁺) (V), R: Thevenin resistance (Ω), C: capacitance (F), t: time (s). General first-order step response.

i(t) = (V_f − v_C(t)) / R

  • i(t): current through series resistor into capacitor (A), V_f: final node voltage due to sources (V), v_C(t): capacitor voltage (V), R: series resistance (Ω). For the simple RC branch.

v_C(t) = V₀ · e^(−t/RC)

  • Discharging case: V₀ initial capacitor voltage (V), R: discharge resistance (Ω), C: capacitance (F), t: time (s).

t_p = −R · C · ln(1 − p/100)

  • t_p: time to reach p% of final value (s), R: resistance (Ω), C: capacitance (F), p: percentage (0–100). Charging from zero toward a DC final value.

1/C_eq = 1/C₁ + 1/C₂ + … (series capacitors)

  • C_eq: equivalent capacitance (F), C₁, C₂: individual capacitances (F). For series connection.

C_eq = C₁ + C₂ + … (parallel capacitors)

  • C_eq: equivalent capacitance (F), C₁, C₂: individual capacitances (F). For parallel connection.

E_R = ½ · C · (V_f − V₀)²

  • E_R: energy dissipated in series resistor during transition (J), C: capacitance (F), V_f: final voltage (V), V₀: initial voltage (V). Charging or discharging between two DC levels through a resistor.

ε = κ · ε₀

  • ε: absolute permittivity of dielectric (F/m), κ: relative permittivity (dimensionless), ε₀: vacuum permittivity (F/m). Material relation.

Worked examples

Example 1: Capacitance of a parallel-plate capacitor with dielectric Given: Plate area A = 50 cm², plate separation d = 1.0 mm, dielectric with relative permittivity κ = 4.0. Find the capacitance.

  1. Convert units: A = 50 cm² = 50 × 10⁻⁴ m² = 5.0 × 10⁻³ m²; d = 1.0 mm = 1.0 × 10⁻³ m.
  2. Use ε = κ·ε₀. Take ε₀ = 8.854 × 10⁻¹² F/m ⇒ ε = 4.0 × 8.854 × 10⁻¹² = 3.5416 × 10⁻¹¹ F/m.
  3. Formula: C = ε·A/d.
  4. Substitute: C = (3.5416 × 10⁻¹¹ F/m) × (5.0 × 10⁻³ m²) / (1.0 × 10⁻³ m).
  5. Compute numerator: 3.5416 × 10⁻¹¹ × 5.0 × 10⁻³ = 1.7708 × 10⁻¹³ (F·m).
  6. Divide by d: C = 1.7708 × 10⁻¹³ / 1.0 × 10⁻³ = 1.7708 × 10⁻¹⁰ F = 177.08 pF. Final answer: C = 1.77 × 10⁻¹⁰ F (approximately) = 177 pF.

Example 2: RC charging transient with zero initial voltage A resistor R = 10 kΩ is in series with a capacitor C = 100 µF. At t = 0, a DC source of V = 12 V is connected. Find v_C(t) and i(t), then compute v_C and i at t = 0.5 s, and the final stored energy.

  1. Time constant: τ = R·C = (10 × 10³ Ω) × (100 × 10⁻⁶ F) = 1.0 s.
  2. For zero initial voltage: v_C(t) = V·(1 − e^(−t/τ)); i(t) = (V/R)·e^(−t/τ).
  3. At t = 0.5 s: e^(−t/τ) = e^(−0.5) ≈ 0.60653.
  4. v_C(0.5 s) = 12 V × (1 − 0.60653) = 12 × 0.39347 = 4.7216 V.
  5. i(0.5 s) = (12 V / 10 kΩ) × 0.60653 = (0.0012 A) × 0.60653 = 0.0007278 A = 0.7278 mA.
  6. Final energy: W = ½·C·V² = 0.5 × 100 × 10⁻⁶ F × (12 V)² = 0.5 × 1.0 × 10⁻⁴ × 144 = 7.2 × 10⁻³ J. Final answers: v_C(0.5 s) = 4.72 V (approx), i(0.5 s) = 0.728 mA (approx), final W = 7.2 mJ.

Example 3: RC step with non-zero initial voltage; energy in resistor The circuit of Example 2, but the capacitor initially has V₀ = 5.0 V (same polarity). At t = 0, connect to V = 12.0 V through R = 10 kΩ. Find v_C at t = 1.0 s, the current then, and total energy dissipated in R during the entire transition.

  1. τ = R·C = 1.0 s (same as before).
  2. General solution: v_C(t) = V + (V₀ − V)·e^(−t/τ) = 12 − 7·e^(−t) volts.
  3. At t = 1.0 s: e^(−1) ≈ 0.367879 ⇒ v_C(1 s) = 12 − 7 × 0.367879 = 12 − 2.57515 = 9.42485 V.
  4. Current: i(t) = (V − v_C(t))/R ⇒ i(1 s) = (12 − 9.42485) V / 10 kΩ = 2.57515 V / 10000 Ω = 0.000257515 A = 0.2575 mA.
  5. Energy dissipated in R for the full transition: E_R = ½·C·(V − V₀)² = 0.5 × 100 × 10⁻⁶ × (7)² = 0.5 × 1.0 × 10⁻⁴ × 49 = 2.45 × 10⁻³ J. Final answers: v_C(1 s) = 9.425 V (approx), i(1 s) = 0.258 mA (approx), E_R over transition = 2.45 mJ.

Common mistakes

  • Using R directly instead of the Thevenin resistance seen by the capacitor when the network is more complex. Always reduce the rest of the circuit to V_th in series with R_th (sources turned off to find R_th) before writing τ = R_th·C.
  • Dropping units or mixing prefixes: confusing µF, nF, pF; forgetting to convert kΩ to Ω or ms to s. Keep SI units throughout the calculation.
  • Sign errors with initial conditions: Using v_C(t) = V·(1 − e^(−t/RC)) when V₀ ≠ 0. Use the general expression v_C(t) = V_f + (V₀ − V_f)·e^(−t/RC).
  • Confusing charging with discharging expressions; forgetting that the current decays as e^(−t/RC) and its initial value at t = 0⁺ is (V − V₀)/R.
  • Assuming power delivered by the source equals energy stored in the capacitor. In simple RC charging from zero, half the supplied energy is dissipated in the resistor.
  • Drawing unclear diagrams: not marking polarity on the capacitor, not indicating current direction, or omitting the switch and time reference t = 0.

For your exam

  • Short notes: Series vs parallel capacitors (include formulas and a 2–3 line justification), initial and final conditions for capacitors and inductors (briefly mention continuity of v_C).
  • Derivations: RC step response. Start with a clear circuit diagram, apply KCL, write the ODE, solve with integrating factor, apply initial condition, and present the final expression. State assumptions (ideal components, DC step input).
  • Numericals: Compute τ, v_C(t), i(t) for given R, C, V, and initial voltage; time to reach a percentage; energy stored or dissipated. Show units, use exponentials with at least 4 significant figures for e^(−x) values, and conclude with a boxed/clearly marked final answer.
  • Diagrams: The basic charging circuit and exponential waveforms. Label polarities and τ points. If asked for voltage division across series capacitors, draw series stack and show charges equal.
  • Problem-solving tip: If the rest of the network is complex, first replace it by its Thevenin equivalent seen by the capacitor to identify V_f and R_th, then apply the standard first-order solution.

Quick check

  1. A 2 µF and a 3 µF capacitor are in series. What is the equivalent capacitance?
  2. An RC circuit has τ = 0.20 s and is driven by a 5 V step from zero with zero initial voltage. How long to reach 95% of final value?
  3. How much energy is stored in a 4 µF capacitor charged to 9 V? Answers: (1) 1.2 µF; (2) t = −τ·ln(1 − 0.95) = 0.20 × 2.9957 ≈ 0.599 s; (3) W = ½·C·V² = 0.5 × 4 × 10⁻⁶ × 81 = 162 × 10⁻⁶ J = 162 µJ.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?