10.1 Energy Conservation โ Poynting's Theorem
The electromagnetic field carries energy. The total energy density is:
The Poynting vector represents energy flux:
Poynting's theorem (energy conservation):
Rate of change of EM energy + energy flux out = negative of work done on charges (Ohmic loss).
Derivation: Poynting's Theorem (Energy Conservation)
Starting from the rate at which the electromagnetic field does work on charges, we derive the energy conservation equation using Maxwell's equations.
Step 1: The rate of work done by EM fields on charges (per unit volume)
$$\frac{dW}{dt\,d\tau} = \mathbf{F} \cdot \mathbf{v} / d\tau = \rho(\mathbf{E} + \mathbf{v}\times\mathbf{B})\cdot\mathbf{v} = \rho\mathbf{v}\cdot\mathbf{E} = \mathbf{J}\cdot\mathbf{E}$$
Note: $\mathbf{v}\times\mathbf{B}$ is perpendicular to $\mathbf{v}$, so the magnetic force does no work.
Step 2: Eliminate J using the Ampere-Maxwell law
$$\mathbf{J} = \frac{1}{\mu_0}\nabla\times\mathbf{B} - \epsilon_0\frac{\partial\mathbf{E}}{\partial t}$$
$$\mathbf{J}\cdot\mathbf{E} = \frac{1}{\mu_0}(\nabla\times\mathbf{B})\cdot\mathbf{E} - \epsilon_0\mathbf{E}\cdot\frac{\partial\mathbf{E}}{\partial t}$$
Step 3: Use the product rule identity: โยท(EรB) = Bยท(โรE) - Eยท(โรB)
$$(\nabla\times\mathbf{B})\cdot\mathbf{E} = \mathbf{B}\cdot(\nabla\times\mathbf{E}) - \nabla\cdot(\mathbf{E}\times\mathbf{B})$$
Step 4: Substitute Faraday's law: โรE = -โB/โt
$$(\nabla\times\mathbf{B})\cdot\mathbf{E} = -\mathbf{B}\cdot\frac{\partial\mathbf{B}}{\partial t} - \nabla\cdot(\mathbf{E}\times\mathbf{B})$$
Step 5: Recognize the time derivatives as derivatives of squared fields
$$\mathbf{E}\cdot\frac{\partial\mathbf{E}}{\partial t} = \frac{1}{2}\frac{\partial E^2}{\partial t}, \qquad \mathbf{B}\cdot\frac{\partial\mathbf{B}}{\partial t} = \frac{1}{2}\frac{\partial B^2}{\partial t}$$
Step 6: Combine all terms
$$\mathbf{J}\cdot\mathbf{E} = -\frac{1}{2}\frac{\partial}{\partial t}\left(\epsilon_0 E^2 + \frac{B^2}{\mu_0}\right) - \frac{1}{\mu_0}\nabla\cdot(\mathbf{E}\times\mathbf{B})$$
Step 7: Define energy density u and Poynting vector S
$$u = \frac{1}{2}\left(\epsilon_0 E^2 + \frac{B^2}{\mu_0}\right), \qquad \mathbf{S} = \frac{1}{\mu_0}(\mathbf{E}\times\mathbf{B})$$
Step 8: Poynting's theorem in differential form
$$\boxed{\frac{\partial u}{\partial t} + \nabla\cdot\mathbf{S} = -\mathbf{J}\cdot\mathbf{E}}$$
The rate of decrease of EM energy density equals the energy flux out (โยทS) plus the rate of work done on charges (JยทE).
Derivation: The Poynting Vector as Energy Flux
Starting from Poynting's theorem, we show that S = (1/ฮผโ)(EรB) represents the energy carried by the electromagnetic field per unit area per unit time.
Step 1: Integrate Poynting's theorem over a volume V bounded by surface S
$$\frac{d}{dt}\int_V u\,d\tau = -\oint_{\partial V} \mathbf{S}\cdot d\mathbf{a} - \int_V \mathbf{J}\cdot\mathbf{E}\,d\tau$$
Step 2: Interpret each term physically
$\frac{d}{dt}\int_V u\,d\tau$ = rate of change of total EM energy in V
$\oint_{\partial V} \mathbf{S}\cdot d\mathbf{a}$ = rate of energy flowing out through the boundary
$\int_V \mathbf{J}\cdot\mathbf{E}\,d\tau$ = rate of work done on charges (Ohmic dissipation)
Step 3: For a plane wave propagating in the z-direction with E = Eโcos(kz-ฯt) xฬ
$$\mathbf{B} = \frac{E_0}{c}\cos(kz - \omega t)\,\hat{\mathbf{y}}, \quad \mathbf{S} = \frac{1}{\mu_0}\mathbf{E}\times\mathbf{B} = \frac{E_0^2}{\mu_0 c}\cos^2(kz-\omega t)\,\hat{\mathbf{z}}$$
Step 4: The time-averaged Poynting vector (intensity)
$$\langle\mathbf{S}\rangle = \frac{E_0^2}{2\mu_0 c}\,\hat{\mathbf{z}} = \frac{1}{2}\epsilon_0 c E_0^2\,\hat{\mathbf{z}}$$
Step 5: Verify: S = uยทc for a plane wave (energy density times propagation speed)
$$u = \epsilon_0 E_0^2\cos^2(kz-\omega t), \quad S = uc \implies \boxed{\mathbf{S} = \frac{1}{\mu_0}(\mathbf{E}\times\mathbf{B})\;\text{[W/m}^2\text{]}}$$
S points in the direction of energy propagation and its magnitude gives the power per unit area.
Derivation: The Electromagnetic Energy Density
Starting from the work needed to assemble charge and current distributions, we derive the total EM energy density.
Step 1: The electrostatic energy stored in a charge distribution
$$W_E = \frac{1}{2}\int \rho V\,d\tau = \frac{\epsilon_0}{2}\int E^2\,d\tau$$
Derived using $\nabla\cdot\mathbf{E} = \rho/\epsilon_0$ and integration by parts.
Step 2: The magnetostatic energy stored in a current distribution
$$W_B = \frac{1}{2}\int \mathbf{J}\cdot\mathbf{A}\,d\tau = \frac{1}{2\mu_0}\int B^2\,d\tau$$
Derived using $\nabla\times\mathbf{B} = \mu_0\mathbf{J}$ and integration by parts.
Step 3: Identify the electric energy density
$$u_E = \frac{\epsilon_0}{2}E^2$$
Step 4: Identify the magnetic energy density
$$u_B = \frac{1}{2\mu_0}B^2$$
Step 5: For a plane wave, verify u_E = u_B (equipartition)
$$B = E/c \implies u_B = \frac{E^2}{2\mu_0 c^2} = \frac{\epsilon_0 E^2}{2} = u_E \;\checkmark$$
Step 6: The total electromagnetic energy density
$$\boxed{u = u_E + u_B = \frac{1}{2}\left(\epsilon_0 E^2 + \frac{B^2}{\mu_0}\right)}$$
This expression is valid for any electromagnetic field configuration, not just plane waves.
10.2 Momentum in the EM Field
The electromagnetic field carries momentum with density:
This leads to radiation pressure: light pushes on surfaces it illuminates. For a plane wave, $|\mathbf{g}| = u/c$.
10.2.1 Maxwell Stress Tensor
The Maxwell stress tensor $\overleftrightarrow{T}$ encodes the mechanical force per unit area exerted by the EM field. Its components are:
The electromagnetic force on a volume $\mathcal{V}$ is:
Derivation: The Maxwell Stress Tensor
Starting from the Lorentz force density on charges and currents, we derive the Maxwell stress tensor by expressing the force entirely in terms of fields.
Step 1: The Lorentz force per unit volume on a charge/current distribution
$$\mathbf{f} = \rho\mathbf{E} + \mathbf{J}\times\mathbf{B}$$
Step 2: Eliminate ฯ and J using Maxwell's equations
$$\rho = \epsilon_0(\nabla\cdot\mathbf{E}), \qquad \mathbf{J} = \frac{1}{\mu_0}(\nabla\times\mathbf{B}) - \epsilon_0\frac{\partial\mathbf{E}}{\partial t}$$
Step 3: Substitute and add a term involving โยทB = 0 for symmetry
$$\mathbf{f} = \epsilon_0(\nabla\cdot\mathbf{E})\mathbf{E} + \frac{1}{\mu_0}(\nabla\times\mathbf{B})\times\mathbf{B} - \epsilon_0\frac{\partial\mathbf{E}}{\partial t}\times\mathbf{B}$$
Add $-\frac{1}{\mu_0}(\nabla\cdot\mathbf{B})\mathbf{B} = 0$ and use Faraday's law to rewrite the time derivative.
Step 4: Use the identity Eร(โB/โt) + (โE/โt)รB = โ(EรB)/โt, and Faraday's law
$$\mathbf{f} = \epsilon_0\left[(\nabla\cdot\mathbf{E})\mathbf{E} - \mathbf{E}\times(\nabla\times\mathbf{E})\right] + \frac{1}{\mu_0}\left[-(\nabla\cdot\mathbf{B})\mathbf{B} + (\nabla\times\mathbf{B})\times\mathbf{B}\right] - \epsilon_0\frac{\partial}{\partial t}(\mathbf{E}\times\mathbf{B})$$
Step 5: Apply the vector identity (โรA)รA = (Aยทโ)A - ยฝโ(Aยฒ), and similarly for the divergence terms
$$(\nabla\cdot\mathbf{E})\mathbf{E} + (\mathbf{E}\cdot\nabla)\mathbf{E} - \frac{1}{2}\nabla E^2 = \nabla\cdot\left(E_iE_j - \frac{1}{2}\delta_{ij}E^2\right)$$
The right side is the divergence of a tensor โ this is the key step.
Step 6: Define the Maxwell stress tensor T_ij
$$\boxed{T_{ij} = \epsilon_0\left(E_iE_j - \frac{1}{2}\delta_{ij}E^2\right) + \frac{1}{\mu_0}\left(B_iB_j - \frac{1}{2}\delta_{ij}B^2\right)}$$
Step 7: The equation of motion for the EM field + charges
$$\mathbf{f} = \nabla\cdot\overleftrightarrow{T} - \mu_0\epsilon_0\frac{\partial\mathbf{S}}{\partial t}$$
Integrating: $\mathbf{F} = \oint_S \overleftrightarrow{T}\cdot d\mathbf{a} - \epsilon_0\mu_0\frac{d}{dt}\int_V \mathbf{S}\,d\tau$. The stress tensor gives the force per unit area exerted by the field across a surface.
Derivation: Electromagnetic Momentum Density
Starting from Newton's third law applied to the EM field, we derive the momentum stored in electromagnetic fields.
Step 1: The total force on charges in volume V equals the rate of change of mechanical momentum
$$\mathbf{F}_{\text{mech}} = \frac{d\mathbf{p}_{\text{mech}}}{dt} = \int_V \mathbf{f}\,d\tau$$
Step 2: From the stress tensor derivation, substitute f = โยทT - ฮผโฮตโ โS/โt
$$\frac{d\mathbf{p}_{\text{mech}}}{dt} = \oint_{\partial V}\overleftrightarrow{T}\cdot d\mathbf{a} - \mu_0\epsilon_0\frac{d}{dt}\int_V \mathbf{S}\,d\tau$$
Step 3: Rearrange โ identify the EM momentum stored in volume V
$$\frac{d}{dt}\left(\mathbf{p}_{\text{mech}} + \mu_0\epsilon_0\int_V \mathbf{S}\,d\tau\right) = \oint_{\partial V}\overleftrightarrow{T}\cdot d\mathbf{a}$$
Step 4: Define the electromagnetic momentum density
$$\mathbf{g} = \mu_0\epsilon_0\mathbf{S} = \epsilon_0(\mathbf{E}\times\mathbf{B})$$
Step 5: Express in terms of the speed of light
$$\boxed{\mathbf{g} = \frac{\mathbf{S}}{c^2} = \epsilon_0(\mathbf{E}\times\mathbf{B})}$$
Step 6: For a plane wave, relate momentum density to energy density
$$|\mathbf{g}| = \frac{S}{c^2} = \frac{uc}{c^2} = \frac{u}{c}$$
This is consistent with relativistic energy-momentum: for a massless particle (photon), $E = pc$, hence $p = E/c$ per unit volume gives $g = u/c$.
Derivation: Angular Momentum of the Electromagnetic Field
Starting from the electromagnetic momentum density, we derive the angular momentum stored in the EM field.
Step 1: Recall the EM momentum density
$$\mathbf{g} = \epsilon_0(\mathbf{E}\times\mathbf{B}) = \mu_0\epsilon_0\mathbf{S}$$
Step 2: By analogy with mechanics (L = rรp), the angular momentum density of the EM field is
$$\boldsymbol{\ell} = \mathbf{r}\times\mathbf{g} = \epsilon_0\left[\mathbf{r}\times(\mathbf{E}\times\mathbf{B})\right]$$
Step 3: The total angular momentum stored in the electromagnetic field
$$\mathbf{L}_{\text{em}} = \int_V \boldsymbol{\ell}\,d\tau = \epsilon_0\int_V \mathbf{r}\times(\mathbf{E}\times\mathbf{B})\,d\tau$$
Step 4: The conservation law โ total angular momentum (mechanical + field) is conserved
$$\frac{d}{dt}(\mathbf{L}_{\text{mech}} + \mathbf{L}_{\text{em}}) = -\oint_{\partial V} \mathbf{r}\times(\overleftrightarrow{T}\cdot d\mathbf{a})$$
The right side is the torque exerted on the volume by the external field through the surface.
Step 5: Example โ static fields carrying angular momentum (Feynman disk paradox)
$$\text{For crossed static E and B: } \mathbf{g} = \epsilon_0(\mathbf{E}\times\mathbf{B}) \neq 0$$
Even static fields can store angular momentum if E and B are not parallel. When the fields are turned off, mechanical angular momentum appears to conserve the total.
Step 6: The complete expression
$$\boxed{\mathbf{L}_{\text{em}} = \epsilon_0\int \mathbf{r}\times(\mathbf{E}\times\mathbf{B})\,d\tau = \mu_0\epsilon_0\int \mathbf{r}\times\mathbf{S}\,d\tau}$$
Electromagnetic angular momentum is essential for the quantum theory of photon spin โ each photon carries angular momentum $\pm\hbar$ along its direction of propagation.
10.3 Continuity Equation
Maxwell's equations automatically imply charge conservation:
This is a local statement: charge cannot disappear at one point without flowing away as current.
Simulation: Poynting Vector & Energy Flow
Visualizes energy density in a plane wave, Poynting vector in a coaxial cable, time-averaged intensity, and radiation pressure.
Poynting Vector & Radiation Pressure
Energy flow in plane waves and coaxial cables, radiation pressure on absorbing and reflecting surfaces.
Click Run to execute the Python code
First run will download Python environment (~15MB)
Video Lectures & Demonstrations
Detailed walkthrough of Poynting's theorem, energy conservation in EM fields, and the Poynting vector.
Maxwell stress tensor explained โ how electromagnetic fields exert forces and carry momentum.
Fortran Implementation
Computes the Maxwell stress tensor components for a parallel-plate capacitor and verifies that the surface integral yields the known electrostatic force $F = \epsilon_0 E^2 A / 2$.
Maxwell Stress Tensor
FortranComputes the full stress tensor for a parallel-plate capacitor and verifies the electrostatic force
Click Run to execute the Fortran code
Code will be compiled with gfortran and executed on the server
Griffiths Problem Solutions
Video walkthroughs of Griffiths problems on energy, momentum, and conservation in electrodynamics.
Problem 2.19
Problem 2.20
Problem 2.21
Problem 2.25
Problem 2.26
Problem 2.27