Historical Context & Motivation
The study of how electric charge accumulates on and dissipates from conductors has a lineage stretching back to the earliest experiments with static electricity. Long before anyone wrote a differential equation for a capacitor's voltage, natural philosophers were discharging Leyden jars through resistive wires and noticing that the spark grew weaker over time—a qualitative hint of the exponential decay we quantify today. The formal marriage of resistance and capacitance into a single RC circuit framework emerged only after Ohm, Faraday, and Kirchhoff each contributed critical pieces of circuit theory. Understanding how voltage and current evolve as functions of time in an RC circuit remains one of the most important topics in electrical engineering and physics because it underpins everything from cardiac defibrillators to digital clock circuits.
With Ohm's law, the definition of capacitance, and Kirchhoff's voltage law in hand, the central question becomes: given a resistor R and a capacitor C in series with a voltage source, how do the capacitor voltage and circuit current change from the instant the switch is closed through to the steady state? Answering this question requires solving a first-order linear ODE whose solution is a decaying exponential characterized by the time constant τ = RC. The sections that follow develop this answer rigorously and illustrate it with diagrams, worked examples, and practice problems.
Core Principles & Definitions
Before diving into the mathematics, it is essential to anchor the discussion in a few foundational ideas. An RC circuit is the simplest circuit that exhibits transient behavior—the circuit variables do not jump instantaneously to their final values when a switch is thrown but instead approach those values gradually. This transient response is fully determined by the product of resistance and capacitance, a quantity with units of seconds that we call the time constant. The following concept cards outline the pillars upon which the entire analysis rests.
Capacitance (C)
Resistance (R)
Time Constant (τ = RC)
Kirchhoff's Voltage Law (KVL)
Exponential Solutions
Visual Explanation — The RC Circuit & Its Response
Series RC Circuit Diagram
The diagram above captures the essential topology of the charging problem. Before the switch closes, the capacitor is uncharged (VC = 0) and no current flows. At the instant the switch is thrown (t = 0), the entire source voltage ε appears across the resistor because the capacitor cannot instantaneously acquire a voltage. This means the initial current is I₀ = ε / R, the maximum current the circuit will ever carry during charging. As charge accumulates on the capacitor plates and VC rises, the voltage remaining across R decreases, which in turn reduces the current. The process is self-limiting: the closer VC gets to ε, the slower it climbs. This feedback loop is what produces the exponential shape of the charging curves.
Mathematical Framework
Deriving the Charging Equations
We begin with Kirchhoff's voltage law applied to the series loop of a source ε, resistor R, and initially uncharged capacitor C. Traversing the loop clockwise gives ε − IR − VC = 0. Since I = dQ/dt and Q = CVC, we can write I = C(dVC/dt). Substituting into the KVL equation produces a first-order linear ODE in VC. Separating variables and integrating with the initial condition VC(0) = 0 yields the charging voltage as a function of time.
Discharging Equations
Now consider a capacitor initially charged to voltage V₀ that is disconnected from the source and allowed to discharge through R alone. The KVL loop equation becomes VC + IR = 0 (taking the discharge current direction as positive out of the positive plate). With I = −C(dVC/dt), we again obtain a first-order ODE whose solution is a pure decaying exponential.
Charging & Discharging Curves
The exponential equations from the previous section produce distinctive curves when plotted against time. Visualizing these curves is invaluable because they immediately reveal several physical features: the initial slope is steepest when the driving voltage difference is largest, and the curves flatten as the system approaches equilibrium. Below is a detailed plot showing both the capacitor voltage V_C(t) and the circuit current I(t) during charging, along with key time-constant markers.
| Time | V_C / ε (charging) | I / I₀ (charging) | V_C / V₀ (discharging) |
|---|---|---|---|
| 0 | 0 % | 100 % | 100 % |
| 1τ | 63.2 % | 36.8 % | 36.8 % |
| 2τ | 86.5 % | 13.5 % | 13.5 % |
| 3τ | 95.0 % | 5.0 % | 5.0 % |
| 4τ | 98.2 % | 1.8 % | 1.8 % |
| 5τ | 99.3 % | 0.7 % | 0.7 % |
Several features of the table above deserve emphasis. First, notice the symmetry: the fraction of charge remaining during discharge equals the fraction of current remaining during charge—both are governed by the same e−t/τ factor. Second, the "five-tau rule" is a practical engineering guideline: after five time constants, the capacitor is 99.3 % of the way to its final state, and for most design purposes the transient can be considered complete. Third, the first time constant accounts for more than 63 % of the total change, underscoring that the early portion of the transient carries the bulk of the energy transfer.
Worked Example — Charging an RC Circuit
Let us apply the theory to a concrete numerical scenario. A 12 V battery is connected in series with a 4.7 kΩ resistor and a 10 µF capacitor. The capacitor is initially uncharged. We wish to find the capacitor voltage, the current, and the voltage across the resistor at t = 20 ms after the switch closes.
Charging vs. Discharging — Comparison & Limitations
Students often conflate the charging and discharging equations or misapply boundary conditions. The table below provides a side-by-side comparison of the two scenarios, highlighting both the mathematical parallels and the critical differences in initial conditions and asymptotic behavior. Understanding these distinctions is essential for solving problems where the circuit switches between modes—for example, a capacitor that charges for a certain time and then discharges through a different resistor.
| Property | Charging (source connected) | Discharging (source removed) |
|---|---|---|
| V_C initial | 0 (uncharged) | V₀ (fully or partially charged) |
| V_C final | ε (source voltage) | 0 |
| V_C(t) equation | ε(1 − e−t/τ) | V₀ e−t/τ |
| I(t) equation | (ε/R) e−t/τ | −(V₀/R) e−t/τ |
| I initial | ε / R (maximum) | −V₀ / R (maximum magnitude) |
| I final | 0 | 0 |
| Energy stored at t → ∞ | ½Cε² | 0 (dissipated in R) |
Connection to Advanced Theory — RLC & AC Analysis
The first-order RC circuit is the gateway to a family of progressively richer circuit models. When an inductor L is added in series, the circuit becomes an RLC circuit, governed by a second-order ODE that can exhibit overdamped, critically damped, or underdamped (oscillatory) transient responses. In the frequency domain, the exponential time-domain behavior maps onto the transfer function H(jω) of an RC filter, and the 3 dB cutoff frequency ωc = 1/RC emerges naturally. These connections make RC analysis foundational for courses in signals and systems, electronics, and control theory.
| Feature | RC Circuit (1st order) | RLC Circuit (2nd order) |
|---|---|---|
| Governing ODE | First order: RC dV/dt + V = ε | Second order: LC d²V/dt² + RC dV/dt + V = ε |
| Natural response | Pure exponential decay | Damped oscillation or overdamped decay |
| Characteristic parameter | τ = RC | ω₀ = 1/√(LC), damping ratio ζ = R/(2)√(C/L) |
| Oscillation possible? | No — monotonic approach to steady state | Yes — when underdamped (ζ < 1) |
| Energy storage | Electric field (capacitor only) | Electric field (C) and magnetic field (L) |
Beyond the time domain, Laplace transform techniques convert the ODE into an algebraic equation, yielding the transfer function H(s) = 1/(1 + sRC) for a low-pass RC filter. Poles and zeros in the s-plane directly encode the time-domain exponential behavior you have already derived: the pole at s = −1/RC corresponds to the decay rate 1/τ. As you advance through your physics and engineering curriculum, you will repeatedly find that the intuition built from analyzing simple RC transients—exponential approach to equilibrium, the role of the time constant, the trade-off between speed and filtering—transfers directly to far more complex systems.
Practice Problems
RC Circuits: Voltage & Current vs. Time — Summary
A series RC circuit exhibits exponential transient behavior governed by the time constant τ = RC. During charging, the capacitor voltage follows VC(t) = ε(1 − e−t/τ), rising from zero toward the source voltage ε, while the current I(t) = (ε/R)e−t/τ decays exponentially from its maximum initial value. During discharging, both VC and |I| decay as e−t/τ, approaching zero asymptotically.
Key benchmarks: at t = τ, 63.2 % of the transition is complete; at t = 5τ, 99.3 % is complete. Kirchhoff's voltage law ensures VR + VC = ε at every instant during charging, providing a built-in consistency check. This first-order analysis forms the foundation for understanding RLC oscillations, AC filter design, and Laplace-domain circuit analysis encountered later in physics and electrical engineering.