Visual walkthrough — RC circuits — charging, discharging, time constant τ = RC
We are answering ONE question: when you connect a battery to a resistor and an empty capacitor, exactly how does the charge climb — and why is the curve a bendy one, not a straight line?
Step 1 — Meet the three players on one loop
WHAT. We wire three things in a single closed loop: a battery, a resistor, and a capacitor. Charge can only travel around this one path.
WHY. With one loop, the same current flows through every element at every instant. That single shared current is what ties the three separate rules together into one equation. If we let charge branch off elsewhere, we'd need many equations; the loop keeps it simple.
PICTURE. 
The three quantities we will use, defined right on the diagram:
At the starting instant the bucket is empty: .
Step 2 — Write the loop rule (Kirchhoff's voltage law)
WHAT. We walk once around the loop, adding up every voltage rise and drop, and set the total to zero.
WHY. Voltage is like height. If you walk a full circle and return to your start, your net change in height is zero — you're back where you began. Kirchhoff's Voltage Law says the same for electrical "height": go around the loop, the pushes up and drops down must cancel exactly. This is the single physical law that will generate everything else.
PICTURE. 
Walking with the current: the battery lifts us up by , the resistor drops us by , the capacitor drops us by . Total change = 0:
Term by term: is the constant upward step. eats voltage in proportion to how fast charge moves. eats voltage in proportion to how full the bucket already is — this is the "fighting back" term, and it grows as the capacitor fills.
Step 3 — Turn the loop rule into an equation for the rate
WHAT. Replace the current by what it really is — the rate of charge, — and tidy up so the rate sits alone on the left.
WHY. We don't yet know as a function of time; that's the whole mystery. But the loop rule tells us the rate in terms of the current amount . That is a rule for how the story unfolds moment to moment — exactly what we need to march forward in time.
Start from Step 2, put :
Solve for the rate:
Rewritten with :
PICTURE. 
Read this sentence off the picture: the speed of filling is proportional to how much room is left (). Lots of room → fast. Almost full → crawling. This one line is why the graph must bend — the arrow shrinks as we climb.
Step 4 — Why the answer has to be an exponential
WHAT. Before grinding algebra, notice the shape the equation forces.
WHY. A quantity whose rate of change is proportional to itself (or to a constant minus itself) is the definition of exponential behaviour. This is the same mathematics as Exponential Decay and Differential Equations and Newton's Law of Cooling (hot coffee cools fastest when it's hottest — biggest gap, fastest change). Recognising the family tells us the answer before we integrate.
Let the remaining gap be . As rises, falls, and its rate is . In words: the gap shrinks at a rate proportional to the gap itself. The only function that does this is — halving in equal steps forever, never quite hitting zero.
PICTURE. 
The gap arrows in the picture each shrink to the same fraction of the previous one over equal time-slices. Equal fractional steps = exponential. That is what is: the number that measures compounding at a steady fractional rate.
Step 5 — Do the integral honestly
WHAT. Collect all the 's on one side, all the 's on the other, and add up (integrate) both sides.
WHY. "Separating" lets each side be summed independently. The left side sums up tiny fractional gains in charge; the right side sums up tiny slices of time. Setting the two totals equal pins down the exact curve, not just its family.
The left integral is a logarithm (the natural partner of the exponential); the right is just :
Undo the by raising to both sides (that is what does — it cancels ):
PICTURE. 
Step 6 — Read off the current and the special time
WHAT. Differentiate to get the current, and check the meaning of .
WHY. The current is the slope of the charge curve. And is the natural time-yardstick baked into the exponent — everything happens in multiples of it.
- At : — the empty capacitor offers no back-voltage, so it's just a plain wire and the full push drives the biggest current.
- At : filled fraction → 63.2% full.
- At : → over 99.3% full, "practically done."
PICTURE. 
Notice on the figure: where the charge curve is steepest (at ) the current curve is highest. As charge flattens, current dies. They are two views of the same motion.
Step 7 — The edge cases (never leave a scenario unshown)
WHAT. Test the extremes and the degenerate inputs.
WHY. A law you trust is one you've pushed to its corners. If any limit misbehaves, the derivation is suspect.
PICTURE. 
| Case | What happens | Does the formula agree? |
|---|---|---|
| bucket full, current stops | , ✓ | |
| empty bucket, max current | , ✓ | |
| no straw, instant fill | , curve becomes a vertical jump; (a real wire has tiny , so a huge brief spike) ✓ | |
| straw pinched shut | , curve flattens — never charges ✓ | |
| no bucket | ; nothing to store ✓ | |
| no push | ; stays empty ✓ |
The one-picture summary

Everything on one canvas: the loop rule becomes a rate law (arrow shrinks as we climb), which forces an exponential approach , with current falling as charge rises, and marking the 63.2% point.
Recall Feynman retelling — the whole walk in plain words
You've got a bucket (capacitor) filled through a thin straw (resistor) by a pump that always pushes the same hard (battery). One rule runs the show: go around the loop and the voltage-heights must cancel — the pump's lift equals the straw's drop plus the water already in the bucket pushing back. Rewrite that rule and it says one plain thing: the bucket fills as fast as there's room left. Empty bucket, tons of room, water gushes; nearly full, barely a trickle. A thing that changes fastest when it's furthest from done, and slows by the same fraction each equal tick of time — that's an exponential, the same math as coffee cooling. Add up all those tiny fills (that's the integral) and you get . The straw-thickness times bucket-size, , is the natural clock: one tick gets you 63% of the way, five ticks and you're done.
Connections
- Yeh note Hinglish mein
- Kirchhoff's Voltage Law — the loop rule of Step 2.
- Ohm's Law and Resistance — gives .
- Capacitors and Capacitance — gives .
- Exponential Decay and Differential Equations · Newton's Law of Cooling — same "rate ∝ gap" math.
- Energy Stored in a Capacitor · LR Circuits — where this leads next.