Charge conservation Created 2026-10-14 Updated 2026-10-20
Charge conservation says that the total signed electric charge of an isolated collection stays constant. More generally, a collection closed to electric charge exchange has constant total electric charge, even if energy crosses its boundary. This is the charge bookkeeping relevant to a closed system or an isolated system; isolation from energy exchange is not required. Positive and negative electric charge count with opposite signs. Creating or removing an electron and a Positron together is compatible with charge conservation, because their combined electric charge is zero. [ref].
Imagine a fixed box initially containing electric charge . Stipulate incoming conventional current and outgoing conventional current throughout , with no other boundary transport. Since one ampere is one coulomb per second, the stored electric charge grows at :
If instead the outgoing electric current also equals , the stored electric charge remains while electric charge passes through. These are stipulated transport examples; constant terminal electric currents alone do not guarantee a time-independent interior charge density.
Figure 1.
Signed electric current through a fixed control volume
. The dashed box is an accounting boundary. Outward unit normals point left at the inlet and right at the outlet: the respective contributions to outward electric current are and . Arrow lengths are schematic. Source. Details.
Figure 2.
Stored electric charge with unequal and balanced terminal electric currents
. Synthetic curves from the stipulated rates over , with the same initial electric charge; these are not measurements. Balanced transport keeps total electric charge fixed, and is compatible with steady transport. Source. Details.
Locally, charge conservation is the charge continuity equation, an instance of the general continuity equation:
Here is signed volume charge density and is current density. A positive divergence of current density means net outward transport from a small neighborhood, so its charge density decreases. For a fixed control volume with closed surface and outward unit normal , the equivalent integrated balance is
The surface integral is signed: incoming positive electric charge contributes negatively to outward electric current, and outgoing positive electric charge contributes positively. Integrate the charge continuity equation over fixed and apply the divergence theorem to obtain this balance. Zero net boundary transport gives constant ; the global and local statements describe the same conservation law at different scales. [ref].
In a steady transport state, charge density and current density are time-independent, so the charge continuity equation reduces to . At an electrical circuit junction, choose each terminal electric current positive outward and assume the terminals account for all boundary transport. Then
Kirchhoff's current law, , follows when accumulation of electric charge at the junction is negligible. During storage, retain the same balance with its nonzero derivative; charge conservation continues to hold. This makes charge conservation useful for checking electrical circuit models and for tracking the charging of a capacitor. [ref].
The beautiful consistency with Maxwell equations is that the electric field and magnetic field already enforce this transport balance. For sufficiently smooth fields in vacuum SI, take the divergence of the Ampère-Maxwell equation, use that the divergence of a curl is zero, and substitute Gauss's law, . Constant vacuum permittivity gives
The displacement current term supplies the part needed when electric charge accumulates. Historically, Maxwell added that term to extend the steady-current equation; see the existing charge conservation from Maxwell equations for this connection. [ref].
Charge continuity equation Created 2026-10-07 Updated 2026-10-14
Displacement current Created 2026-09-29 Updated 2026-10-14
In vacuum, displacement current is the term in the Ampère-Maxwell equation. It has the units of current density, but need not describe electric charge crossing the region. In Maxwell equations in matter, the corresponding term is , with the electric displacement field.
Consider a slowly charging parallel-plate capacitor with vacuum gap, plate area , and charge on its positive plate. Neglect fringing and assume the charging timescale is long compared with the light-travel time across the apparatus. The nearly uniform gap electric field has magnitude , so the displacement current through the gap is
For and charging electric current , this gives and . No conducting electric current crosses the gap. A spanning surface cutting the wire and another passing between the plates nevertheless give the same magnetic circulation when the full Ampère-Maxwell equation is used. [ref].
The local consistency check is short. Without displacement current, taking the divergence of would force , allowing no local accumulation of electric charge. With displacement current, the divergence of a curl is zero and Gauss's law give
This is precisely the charge continuity equation. Electric charge conservation fixes the required divergence of the added term; it does not by itself exclude other divergence-free additions. The specific Maxwell equations also yield the electromagnetic wave equation, linking this consistency correction to propagation at the speed of light.
Take the divergence of the Ampère-Maxwell equation, . Since the divergence of a curl is zero vanishes, and Gauss's law gives , the result is
This is the charge continuity equation.
At an internal point of a homogeneous Ohmic conductor, Ohm's law gives . Since is constant, the charge continuity equation becomes . Therefore
This is charge relaxation. Here is the total charge appearing in the vacuum form of Gauss's law; in a homogeneous dielectric description of free charge the corresponding constant permittivity replaces .
For a finite isolated body, charge travels to the surface. The bulk formula applies at internal points, not across the interface where electrical conductivity jumps and surface charge density accumulates. Integrating the charge continuity equation over the body, including its surface charge, gives constant total electric charge because no electric current crosses the external boundary. Bulk decay and conservation of electric charge are therefore compatible.
The identity divergence of a curl is zero follows by the symmetry of second partial derivatives and antisymmetry of the Levi-Civita symbol. Therefore
If and is in Coulomb gauge, the curl of the curl identity gives . Apply the supplied scalar Poisson equation representation to each component of the decaying vector potential. In the units of this problem the Coulomb-gauge vector potential of a localized steady current is
Here one needs , and enough localization of for the stated representation and differentiations. A smooth compactly supported current density is a sufficient convenient case. The local differential equations and gauge alone do not impose these conditions: , , satisfy them but do not satisfy the displayed integral formula. The formula selects the decaying solution, excluding nondecaying homogeneous harmonic functions.
With , the gradient of the kernel is . Since is independent of ,
Thus taking the curl gives the Biot-Savart law in the problem's normalization:
Finally, change variables in the integral for . This keeps the singular kernel independent of the differentiation variable:
For smooth localized , differentiation under the integral sign is legitimate: is locally integrable in three dimensions, and on a bounded neighbourhood of the translated sources and their derivatives have common compact support. The integral indeed satisfies Coulomb gauge.
For a twice continuously differentiable vector potential , write the curl with the Levi-Civita symbol:
The second derivatives are symmetric in , whereas is antisymmetric, so the contraction is zero. Equivalently, writing out the three components shows that each mixed derivative cancels its reversed-order partner. Thus
This is divergence of a curl is zero. The regularity hypothesis is what licenses commutation of the mixed partial derivatives; it must not be omitted for a singular potential without specifying a weaker derivative interpretation.
In a magnetostatic equilibrium, inertia is absent and all forces balance. A force-free magnetic field is the limiting case in which the Lorentz force density vanishes:
Thus the current density is parallel to the magnetic field, so for some scalar force-free parameter ,
Using Ampère's law in magnetostatics gives
Taking the divergence and using both the divergence of a curl is zero and yields
so
The force-free parameter is therefore constant along every magnetic field line.
Compute the curl component by component from the given vector field:
For example, and . Its divergence is
as expected because the divergence of a curl is zero.
Take counterclockwise when viewed from positive , the disc upward oriented, and the hemisphere outward oriented. These choices give both surfaces the same positive boundary orientation. Parametrize by , . On it, and , so the line integral is
On , use polar coordinates and . Since there, the surface flux is
On the unit hemisphere, the outward unit normal vector is . Since , we have . In spherical polar coordinates, and , giving the explicit surface integral
Indeed the inner integral is .
These equalities illustrate Stokes theorem twice: and either upward or outward spans the oriented circle , so each surface flux equals the same line integral. For the divergence theorem, close the upper half-ball by adjoining the downward oriented base, namely . Its outward surface flux is
The minus sign on the base is required because its outward normal vector points down. Reversing a specified orientation reverses that integral's sign.
Where is twice continuously differentiable, the identity divergence of a curl is zero gives . All regular portions of the parameter interval lie in this region, hence
as an improper line integral. Besides the endpoint problem from (i), the curve touches at , where the printed real expression has no smooth open neighbourhood. The identity applies on the intervening open segments, and its zero value has a unique continuous extension along the curve. A literal classical integrand at every parameter is not supplied by the printed field.
Separate the closed cylinder into its curved side and its two end disks, all with outward normal vectors. On the side, and , so
At the top, and , giving . At the bottom, both and the axial normal vector change sign, so the same positive value results. Each disk therefore contributes . Adding all three surface integrals,
This explicit cancellation is consistent with the fact that the divergence of a curl is zero. The two disk contributions add rather than cancel.
Take the curl component by component:
Its divergence is zero, as expected because the divergence of a curl is zero.
The curl found in part (a) is constant, so its divergence is
This also follows from the identity divergence of a curl is zero, applicable here because the field is smooth everywhere.
On the same domain, differentiate the Cartesian components:
Thus
This is also an instance of divergence of a curl is zero, since the potential is smooth off the axis. The classical field is undefined on the axis, so that identity must not be applied there without specifying an extension.
In Cartesian coordinates, use the Levi-Civita symbol and the Einstein summation convention to expand
The contraction of the two symbols uses the Kronecker delta, and the final step is the product rule. Thus the convective acceleration identity is
Put . The curl of a gradient vanishes, and the curl of a cross product identity gives
Since the divergence of a curl is zero, taking the curl of the first identity yields
Twice continuous differentiability suffices for the mixed-derivative identities used here.
For a twice continuously differentiable vector field in Cartesian coordinates, the curl and divergence are
Put . Using the Levi-Civita symbol, the Kronecker delta contraction and the product rule,
The last term vanishes because the divergence of a curl is zero: the symmetric mixed derivatives contract against an antisymmetric symbol. Thus the curl of a cross product identity becomes
For orthogonal coordinates with position vector , the scale factors of orthogonal coordinates and local unit vectors are
Orthogonality gives , and right-handedness fixes . In cylindrical coordinates, , so
The radial vector points away from the axis; the azimuthal vector is tangent in the direction of increasing ; is the Cartesian positive direction. The azimuthal basis is undefined on the coordinate axis itself.
Figure 1.
Cylindrical unit vectors relative to Cartesian axes, viewed from positive z
. Details.
For the axial velocity profile, the cylindrical coordinates formula gives
The associated cross product is
This field has only a radial component depending on , so its curl is zero. Also . The identity above therefore yields
In fact both directional derivatives vanish: the first differentiates only in the azimuthal direction, and the second differentiates only in the direction. All physical vector fields extend smoothly through , despite the coordinate-basis singularity.
Take the divergence of the Ampère-Maxwell equation and use that the divergence of a curl is zero:
The last step uses Gauss's law. Thus the charge continuity equation is exactly
For a direct justification that this four-current is a four-vector, take one locally comoving population of electric charges, with rest charge density and four-velocity . Invariance of electric charge and length contraction give and , hence . Summing populations preserves the four-vector rule. In particular, and . The Lorentz invariance of its four-divergence then explains why charge conservation holds in every inertial frame. A single zero-divergence condition alone would not determine a field's transformation law; the physical charge density and current density provide the additional content.