A9 · Lesson 40 · The continuity equation
Conservation of charge, written as a divergence
Charge is never created or destroyed: if it leaves a region, the charge inside goes down by exactly that much. Written with the divergence theorem, that becomes a statement about every point, , the continuity equation. Kirchhoff's current law is its steady-state form. It also explains a surprising fact about conductors: any charge placed inside one flees to the surface, in a time set by the material's permittivity and conductivity, about s for copper.
- A charge density placed inside a material decays as with , the relaxation time.
- Change the conductivity across fourteen orders of magnitude, from glass to copper. The relaxation time follows.
- The charge doesn't vanish: it moves to the surface, where the continuity equation no longer constrains it the same way.
Predict
Current flows into a small region at 3 mA and out at 5 mA. What happens to the charge inside?
It falls at 2 mC/s: net outflow is mA, and every coulomb that leaves comes from the charge inside. In a circuit node there's no room to store charge, so the outflow must be zero, which is KCL. A capacitor plate is a region where charge does build up, at a rate equal to the net current in.
Name it
From the integral form to a point
Charge in a volume changes only by what flows through its surface:
With and the divergence theorem, for every volume, so
Steady currents
If nothing changes in time, : current lines never start or stop. Integrated over a small volume around a circuit node, that's KCL: the currents in sum to zero.
Charge relaxation
In a conductor, (Ohm's law at a point) and (Gauss). Substituting into the continuity equation:
| Material | (S/m) | ||
|---|---|---|---|
| Copper | 1 | s | |
| Seawater | 4 | 81 | 0.18 ns |
| Glass | about | 5 | about 40 s |
Compared with a signal's period, a short makes a material a conductor and a long one makes it an insulator. Seawater conducts at radio frequencies but not at hundreds of gigahertz.
The same law elsewhere
Any conserved quantity obeys the same form: heat (with the heat flux), mass in a fluid, probability in quantum mechanics.
Worked example
A current density A/m² flows in a region. How is the charge density changing?
Show the solution
- Divergence of the current.
- Apply continuity. Charge is draining away everywhere at 2 C per cubic meter per second.
- Picture it. The current grows with , so more leaves each small box through its right face than enters through its left face.
Answer the charge density is falling at 2 C/(m³·s) everywhere.
Worked example
Find the charge relaxation time of copper and of seawater.
Show the solution
- Copper.
- Seawater.
- What copper's figure means. It's shorter than any physical process can follow, so in practice charge inside a metal is always zero.
- What seawater's figure means. Its 0.18 ns means it acts as a conductor for signals below a few gigahertz, which is why radio can't reach submarines at depth.
Answer about s for copper and s (0.18 ns) for seawater.
Worked example
A sphere of glass ( = 5, = S/m) is charged internally. How long until 99% of the charge has moved to its surface?
Show the solution
- Relaxation time.
- Time to reach 1% remaining. about three and a half minutes.
- Interpret. Insulators hold charge where it's put on human time scales, which is why a rubbed balloon stays charged.
Answer about 204 s, three and a half minutes.
Check
What is the charge relaxation time of a material with = 5 and = 0.001 S/m?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A/m². At what rate is the charge density changing?
Write units the way you normally would: 1.5 C/(m³·s), 1500 mC/(m³·s) and 0.0015 kC/(m³·s) are the same answer.
Check
Currents of 2 mA and 3 mA flow into a node, and 4 mA flows out through a third branch. What current must the fourth branch carry out?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
A region holds 1 µC, and current leaves it at a net 0.5 mA. How long until the charge inside is gone, if that continues?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
An insulator has = 5 and S/m.
(a)
What is its relaxation time?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
How long until 99% of an internal charge reaches the surface?
Check
Combine , and the continuity equation.
Step 1
What is when ? (So .)
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Solve from . What is ?
Check
Simulate for seawater ( = 81, = 4 S/m) with RK4, 2000 steps of , from . Set t1 to the first time falls below 0.01 (interpolated) and predict to .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why is the charge relaxation time like an RC time constant?
Take a slab of the material between two plates of area separated by . Its capacitance is and its resistance is , so , with the geometry cancelling completely. Charge sitting in the material is like charge on that capacitor, and it leaks away through the material's own resistance. Because the shape drops out, the time is a property of the material alone, which is why it decides whether something behaves as a conductor or an insulator at a given frequency.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.