# Conservation of Charge¶

The conservation of charge states that electrical charges cannot be created or destroyed. It is not an independent equation since it can be derived from other Maxwell equations but it is a useful starting point for solving some problems. It can be written in integral and differential forms.

## Integral form¶

The integral formulation of conservation of charge is

where:

- \(\mathbf{j}\) is the current density
- \(\rho\) is the volumetric charge density
- \(Q\) is the total charge inside the volume
- \(A\) is the surface area of the volume
- \(V\) is the volume

DWO: Check applicability for total or free charges.

## Differential form:¶

With the use of the divergence theorem equation (71) can be written in differential form:

## Conservation of charge formula from Ampere-Maxwell’s Law¶

The conservation of charge equation is not an independent equation that needs to be included with Maxwell’s equations. It can be derived from the Ampere- Maxwell law and Gauss’s law for electric charges.

Taking the divergence and using \(\nabla \cdot \mathbf{d} = \rho_f\) and a vector identity yields

Note that in Maxwell’s equations \(\mathbf{j}\) refers to the free charge density.

## Uses of Conservation of Charge¶

### Starting equations for DC resistivity¶

If there is a source term, say a current \(I\) that is injected at a location \(\mathbf{r_s}\) then the law for conservation of charge becomes

Note that the positive sign refers to positive current being injected into the medium. Under steady state conditions the time derivative term is zero and the equation reduces to

which is a starting equation for DC resistivity problems.

### Dissipation of free charge in a conducting medium¶

This is a classic but insightful computation (ref: stratton) Consider a small volume having an intial charge density of \(\rho_0\). The charge is released in a homogeneous medium that has a conductivity \(\sigma\) and permittivity \(\epsilon_0\). Using \(\mathbf{j} = \sigma \mathbf{e}\) we write

The conservation of charge equation becomes

which has a solution

Even with very low conductivity, e.g. \(\sigma= 10^{-5}\) with :math:` epsilon_0=8.85 times 10^{-12}` the charge density at the location of release decreases by a factor of \(e\) in \(10^{-6}\) seconds. Thus for earth types of materials, a charge inserted into the earth dissipates extremely quickly.