An LR circuit contains a resistor and an inductor. When connected to a battery, the current does not jump instantly to its final value because the inductor opposes changes in current. Applying the loop rule to a series LR circuit connected to emf E gives
Rewriting,
This first-order differential equation has solution
for current growth after the switch is closed. The time constant is
which sets the timescale for the change.
When the battery is removed and the inductor discharges through the resistor, the loop rule becomes
and the solution is
The exponential form reflects the fact that the rate of current change is proportional to how far the current is from its equilibrium value. This is directly analogous to RC circuits, but here it is the current, not the charge, that changes exponentially.