Skip to content

8.1: Charge and Energy

As far as particles go, we're familiar with the momentum and energy of charges. With fields, we have a similar situation. The fields determine what the particles do, and together with the energy/momentum of the particles themselves, the energy/momentum of the fields form a set of conservation laws

Conservation of Charge

We know that charge is conserved. You can't create or destroy charge by itself - you must compensate by destroying or creating some other charge. It's captured in the equation of continuity, which relates charge to the divergence of current. In laymen's terms, it says "if a charge was here, it must still be here or it must flow away." You can relate the amount of charge that's missing from a given region of space to the amount of charge that flows away from that element of space. This is a statement of conservation of local charge, not just global charge, which is a much stronger statement.

Say we have some charge distribution ρ(r,t) \rho(\vec{r}, t) over a region S, and we have some current defined over the boundary J(r,t) \vec{J}(\vec{r}, t) . The relation between ρ \rho and J \vec{J} gives the equation of continuity. The change of charge within the entire volume must be compensated for by an amount of charge flowing in/out of the system:

dQdt=ddtVρdτ=Jda \dv{Q}{t} = \dv{}{t} \int_{V} \rho \dd \tau = - \oint \vec{J} \cdot \dd a

We get a negative sign because by convention the normal to the surface points outward. We can take the time integral inside, and use Gauss's theorem (divergence theorem) on the right-side

Vρtdτ=V(J)dτ \int_V \pdv{\rho}{t} \dd \tau = - \int_V (\div \vec{J}) \dd \tau

Since we chose an arbitrary volume, it must be the case that the integrands are equal, over all space.

ρt=J(8.1) \pdv{\rho}{t} = - \div \vec{J} \tagl{8.1}

Let's check that this is consistent with our Maxwell equations. Ampere law:

×B=μ0J+μ0ϵ0Et \curl \vec{B} = \mu_0 \vec{J} + \mu_0 \epsilon_0 \pdv{\vec{E}}{t}

Take divergence of both sides

(×B)=μ0(J)+μ0ϵ0(Et)0=μ0(J)+μ0ϵ0t(E)0=μ0(J)+μ0ϵ0ρt1ϵ0ρt+J=0 \div( \curl \vec{B} ) = \mu_0 \div( \vec{J} ) + \mu_0 \epsilon_0 \div \left( \pdv{\vec{E}}{t} \right) \\ 0 = \mu_0 \div( \vec{J} ) + \mu_0 \epsilon_0 \pdv{}{t} \left( \div \vec{E} \right) \\ 0 = \mu_0 \div( \vec{J} ) + \mu_0 \epsilon_0 \pdv{\rho}{t} \frac{1}{\epsilon_0} \\ \rightarrow \pdv{\rho}{t} + \div \vec{J} = 0

So we're back to the continuity equation!

Conservation of Energy and Poynting's Theorem

The energy conservation we'll find is a combination of the energy stored in / done on the charges and the energy stored in the field. The new concept is the Poynting vector, describing the spatial flow of energy.

The Maxwell's equations tell us how to get from distributions of charges and currents to fields E \vec{E} and B \vec{B} . The given distributions must satisfy the continuity relation, of course. Let's take a look at the amount of work that's done on the source charges, and use the result to connect to "where" the energy is, in some volume.

F=q[E+v×B] \vec{F} = q [ \vec{E} + \vec{v} \cross \vec{B} ]

dW=Fdl=q(E+v×B)vdt \dd W = \vec{F} \cdot \dd \vec{l} = q ( \vec{E} + \vec{v} \cross \vec{B} ) \cdot \vec{v} \dd t

We want to generalize to a charge distribution dq=ρdτ \dd q = \rho \dd \tau

dWdt=VE[(ρdτ)v]=V(EJ)dτ \dv{W}{t} = \int_V \vec{E} \cdot [ (\rho \dd \tau) \vec{v} ] = \int_V (\vec{E} \cdot \vec{J}) \dd \tau

Can we get an expression for dW \dd W in terms of the fields only? Let's try and eliminate F \vec{F} in terms of E \vec{E} and B \vec{B} using Maxwell's equations.

J=×Bμ0ϵ0Et \vec{J} = \frac{\curl \vec{B}}{\mu_0} - \epsilon_0 \pdv{\vec{E}}{t}

dWdt=V(E(×B)μ0ϵ0EEt)dτ \dv{W}{t} = \int_V \left( \frac{\vec{E} \cdot (\curl \vec{B}) }{\mu_0} - \epsilon_0 \vec{E} \cdot \pdv{\vec{E}}{t} \right) \dd \tau

Using vector identity

×(A×B)=B(×A)A(×B) \curl (\vec{A} \cross \vec{B}) = \vec{B} \cdot (\curl \vec{A}) - \vec{A} \cdot (\curl \vec{B})

dWdt=V(1μ0(B(×E)(E×B))ϵ0EEt)dτ=V(Bμ0BtSϵ0EEt)dτ \dv{W}{t} = \int_V \left( \frac{1}{\mu_0} \left( \vec{B} \cdot (\curl \vec{E}) - \div (\vec{E} \cross \vec{B}) \right) - \epsilon_0 \vec{E} \cdot \pdv{\vec{E}}{t} \right) \dd \tau \\ = \int_V \left( - \frac{\vec{B}}{\mu_0} \cdot \pdv{\vec{B}}{t} - \div \vec{S} - \epsilon_0 \vec{E} \cdot \pdv{\vec{E}}{t} \right) \dd \tau

where S \vec{S} is the so-called Poynting vector defined as

S=E×Bμ0 \vec{S} = \frac{\vec{E} \cross \vec{B}}{\mu_0}

Let's take a look at the quantity ddt(E2) \dv{}{t} (\vec{E} ^2)

ddt(E2)=EEt+EtEEEt=12ddt(E2) \dv{}{t} \left( \vec{E}^2 \right) = \vec{E} \cdot \pdv{\vec{E}}{t} + \pdv{\vec{E}}{t} \cdot \vec E \quad \rightarrow \quad \vec E \cdot \pdv{\vec E}{t} = \frac{1}{2} \dv{}{t} \left( \vec E ^2 \right)

dWdt=V(12μ0t(B2)ϵ02t(E2)S)dτ=ddt[VB22μ0dτ+Vϵ0E22dτ]VSdτ \dv{W}{t} = \int_V \left( - \frac{1}{2 \mu_0} \pdv{}{t} \left( \vec{B} ^2 \right) - \frac{\epsilon_0}{2} \pdv{}{t} \left( \vec E ^2 \right) - \div \vec{S} \right) \dd \tau \\ = - \dv{}{t} \left[ \int_V \frac{\vec B ^2}{2 \mu_0} \dd \tau + \int_V \frac{\epsilon_0 \vec E ^2}{2} \dd \tau \right] - \int_V \div \vec{S} \dd \tau

The integrands in the middle are just the energy densities of the electric and magnetic fields

B22μ0=umϵ0E22=ueuemue+um=u \frac{\vec B ^2}{2 \mu_0} = u_m \qquad \frac{\epsilon_0 \vec E ^2}{2} = u_e \qquad u_{em} \equiv u_e + u_m = u

dWdt=ddtVuemdτSSda(8.2) \dv{W}{t} = - \dv{}{t} \int_V u_{em} \dd \tau - \oint _S \vec{S} \cdot \dd \vec a \tagl{8.2}

So what does this tell us? The left hand side reads "the change in energy in a region V". The first part of the r.h.s is the change in the local energy stored in the E and B fields, and the second part is an acknowledgment that our region is part of a larger space, and energy may be flowing in/out of the region. The flow of energy is therefore given by the Poynting vector, so we call (8.1) \eqref{8.1} "Poynting's Theorem"

In a charge-free region:

0=ddtVuemdτV(S)dτ0=VuemtdτV(S)dτ 0 = - \dv{}{t} \int_V u_{em} \dd \tau - \int_V ( \div \vec S ) \cdot \dd \tau \\ 0 = - \int_V \pdv{u_{em}}{t} \dd \tau - \int_V ( \div \vec S) \dd \tau

Since this is true for any arbitrary V, we have

uemt+S=0(in charge-free region) \rightarrow \pdv{u_{em}}{t} + \div \vec{S} = 0 \quad \text{(in charge-free region)}

Let's look at an example of the application of this statement of conservation of energy.

Problem 8.2

Consider the charging capacitor from problem 7.34. (a) Find the electric and magnetic fields in the gap, as functions of the distance s from the axis at time t (assume the charge is zero at t = 0). (b) Find the energy density uem u_{em} and the Poynting vector S \vec S in the gap. Note especially the direction of S \vec S . Check that (8.2) \eqref{8.2} is satisfied. (c) Determine the total energy in the gap, as a function of time. Calculate the total power flowing into the gap, by integrating the Poynting vector over the appropriate surface. Check that the power input is equal to the rate of increase of energy in the gap.

(a) From the ch. 7 problems, we know

B=μ0I2πa2sϕ^ \vec B = \frac{\mu_0 I}{2 \pi a^2} s \hat{\phi}

Treating the gap as a parallel-plate capacitor, the electric field in the gap is

E=σϵ0z^=Itϵ0πa2z^ \vec E = \frac{\sigma}{\epsilon_0} \hat{z} = \frac{I t}{\epsilon_0 \pi a^2} \hat{z}

(b)

uem=B22μ0+ϵ02E22=12ϵ0I2t2ϵ0π2a4+μ02I22μ04π2a4s2uem=12I2π2a4[t2ϵ0+μ0s24] u_{em} = \frac{\vec B ^2}{2 \mu_0} + \frac{\epsilon_0 ^2 \vec E ^2}{2} \\ = \frac{1}{2} \epsilon_0 \frac{ I^2 t^2}{\epsilon_0 \pi^2 a^4} + \frac{\mu_0 ^2 I^2}{2 \mu_0 4 \pi ^2 a^4} s^2 \\ u_{em} = \frac{1}{2} \frac{I^2}{\pi ^2 a^4} \left[ \frac{t^2}{\epsilon_0} + \frac{\mu_0 s^2}{4} \right]

S=1μ0(E×B) \vec S = \frac{1}{\mu_0} (\vec E \cross \vec B)

First, let's check what the direction of S \vec S is. We know that B \vec B is azimuthal and E \vec E is axial, so S \vec S must point radially inward. Working through the expression, we get

S=1ϵ0I2st2π2a4s^ \vec S = - \frac{1}{\epsilon_0} \frac{I^2 s t}{2 \pi^2 a^4} \hat{s}

Checking Poynting's theorem...

uemt=I2tπ2a4ϵ0 \pdv{u_{em}}{t} = \frac{I^2 t}{\pi^2 a^4 \epsilon_0}

S=1ss(sSs)=I2tπ2a4ϵ0 \div \vec S = \frac{1}{s} \pdv{}{s} \left( s S_s \right) = \frac{I^2 t}{\pi^2 a^4 \epsilon_0} \quad \checkmark

(c) The power flowing into the gap: we add a negative sign, since conventionally the normal direction is outwards, and the poynting vector points inwards.

1μ0(E×B)da=+1ϵ0I2st2π2a4×2πaw=1ϵ0I2twπa2 - \frac{1}{\mu_0} \int (\vec E \cross \vec B) \cdot \dd \vec a = + \frac{1}{\epsilon_0} \frac{I^2 s t}{2 \pi^2 a^4} \cross 2 \pi a w \\ = \frac{1}{\epsilon_0} \frac{I^2 t w}{\pi a^2}

The rate of increase of energy in the gap would be the time integral of the volume integral of the energy density uem u_{em} in the gap. Again, the area of the cylinder is πa2w \pi a^2 w

ddt[uemdτ]=ddtI22π2a4t2ϵ0πa2w=I2tϵ0πa2=Sda \dv{}{t} \left[ \int u_{em} \dd \tau \right] = \dv{}{t} \frac{I^2}{2 \pi^2 a^4} \frac{t^2}{\epsilon_0} \cdot \pi a^2 w \\ = \frac{I^2 t}{\epsilon_0 \pi a^2 } = - \oint \vec S \cdot \dd \vec a \quad \checkmark