Lessons · circuits
Charging a capacitor: the current is the slope of the charge
Regime 2 — calculus does what algebra cannot. The acceleration isn't constant, so the algebra formulas don't apply; calculus is the only road in, and SymPy proves the closed form solves the equation of motion.
A capacitor mF charges through a resistor k from a V battery. The charge climbs toward while the current fades from to zero. Plotted as a stacked – over –, the slope of the charge is the current at every instant — the same slope↔value pivot as position and velocity, one domain over. Drag and watch the time constant stretch both curves.
Around the loop, the battery EMF equals the resistor drop plus the capacitor voltage . Because the current is the rate of change of charge, , this is a first-order differential equation for — not an algebra equation.
check ; check ; check ; (63\% at ); steady state ,
- ✓ The current is the slope of the charge: — exactly as velocity is the slope of position. [structural]
- ✓ The charge solves Kirchhoff's voltage law , i.e. the RC equation . [structural]
- ✓ The charge is the accumulated current — the area under : . [structural]
- ✓ The time constant is : at the capacitor is charged, . [structural]
- ✓ The steady state is full charge and no current: and as . [structural]
Dimensional homogeneity: checked by SymPy (holds).
It does not. The current is largest at the start and decays exponentially as the capacitor fills: . As charge accumulates, the capacitor's voltage rises and opposes the battery, leaving a smaller voltage across the resistor and so a smaller current. Because the current is the slope of the charge, , a decaying current is exactly why the charging curve bends over and levels off instead of climbing in a straight line. Watch the panels: where is steepest (at ) the curve is highest; where flattens, approaches zero.
Modeling assumptions — author-asserted, disclosed not discharged
- An ideal series RC circuit: a constant-EMF battery, an ohmic resistor, and an ideal capacitor, with no lead resistance or dielectric leakage.
- The capacitor starts uncharged, , so the initial current is the full (the capacitor behaves momentarily like a wire).
The stacked graph, fully annotated
A static rendering (Matplotlib) at the default parameters — the interactive version is in the Graph tab above.
Formulas used
Hover a formula to preview its reference entry; click to open it in the reference (or the concept graph):
- RC time constant
Valid when: series resistor and capacitor; the charge approaches its final value as 1 − e^{−t/τ}
Open in reference →
- Charge on a charging capacitor (RC circuit)
Valid when: series RC circuit charged from a constant EMF; capacitor initially uncharged
Open in reference →
- Capacitance
Valid when: linear capacitor: charge proportional to voltage; C set by geometry, not by Q or V
Open in reference →
- Ohm's law
Valid when: ohmic conductor: resistance R independent of current; steady current
Open in reference →