1. Home
  2. Explore
  3. Physics
  4. Maxwell’s Equations and Light

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Maxwell’s Equations and Light

Vector Calculus, Maxwell’s Equations, and Light

The del operator and its three actions

The del operator, written ∇\nabla∇, is a vector whose components are spatial derivative operators:

∇=i^∂∂x+j^∂∂y+k^∂∂z.\nabla = \hat{\mathbf{i}}\frac{\partial}{\partial x} + \hat{\mathbf{j}}\frac{\partial}{\partial y} + \hat{\mathbf{k}}\frac{\partial}{\partial z}.∇=i^∂x∂​+j^​∂y∂​+k^∂z∂​.

Unlike an ordinary vector, ∇\nabla∇ does not represent a fixed set of numbers. It acts on the field to its right. Depending on how it acts, it produces the gradient, divergence, or curl.

Gradient: how a scalar field changes

For a scalar field ϕ\phiϕ, the gradient is

∇ϕ=i^∂ϕ∂x+j^∂ϕ∂y+k^∂ϕ∂z.\nabla \phi = \hat{\mathbf{i}}\frac{\partial \phi}{\partial x} + \hat{\mathbf{j}}\frac{\partial \phi}{\partial y} + \hat{\mathbf{k}}\frac{\partial \phi}{\partial z}.∇ϕ=i^∂x∂ϕ​+j^​∂y∂ϕ​+k^∂z∂ϕ​.

The gradient is a vector pointing in the direction in which ϕ\phiϕ increases most rapidly. Its magnitude gives the rate of increase in that direction. For example, the gradient of a height field points uphill.

Divergence: sources, sinks, and net outflow

For a vector field A=Axi^+Ayj^+Azk^\mathbf{A}=A_x\hat{\mathbf{i}}+A_y\hat{\mathbf{j}}+A_z\hat{\mathbf{k}}A=Ax​i^+Ay​j^​+Az​k^, the divergence is

∇⋅A=∂Ax∂x+∂Ay∂y+∂Az∂z.\nabla\cdot\mathbf{A} = \frac{\partial A_x}{\partial x} + \frac{\partial A_y}{\partial y} + \frac{\partial A_z}{\partial z}.∇⋅A=∂x∂Ax​​+∂y∂Ay​​+∂z∂Az​​.

The divergence is a scalar that measures net outward flow per unit volume at a point. Consider a tiny box in a flow: the difference between the amount leaving and the amount entering each pair of opposite faces gives the corresponding derivative. Adding the contributions from all three directions gives the divergence.

  • Positive divergence indicates net outflow: the point behaves like a source.

  • Negative divergence indicates net inflow: the point behaves like a sink.

  • Zero divergence means there is no net creation or removal of flow locally.

A field with zero divergence is called incompressible in the relevant fluid-flow context: its local flow does not expand or contract in volume.

Curl: local circulation and turning

The curl of a vector field is a vector:

∇×A=i^(∂Az∂y−∂Ay∂z)+j^(∂Ax∂z−∂Az∂x)+k^(∂Ay∂x−∂Ax∂y).\nabla\times\mathbf{A} = \hat{\mathbf{i}}\left( \frac{\partial A_z}{\partial y} - \frac{\partial A_y}{\partial z} \right) + \hat{\mathbf{j}}\left( \frac{\partial A_x}{\partial z} - \frac{\partial A_z}{\partial x} \right) + \hat{\mathbf{k}}\left( \frac{\partial A_y}{\partial x} - \frac{\partial A_x}{\partial y} \right).∇×A=i^(∂y∂Az​​−∂z∂Ay​​)+j^​(∂z∂Ax​​−∂x∂Az​​)+k^(∂x∂Ay​​−∂y∂Ax​​).

The curl measures local circulation or turning. Its direction is the axis about which the local rotation occurs, and its magnitude describes the strength of the rotation. A small paddle wheel placed in a flow illustrates this effect: it turns when the flow has curl. The wheel’s angular velocity is half the local curl.

The middle component has a crucial minus sign. It is

j^(∂Ax∂z−∂Az∂x),\hat{\mathbf{j}}\left( \frac{\partial A_x}{\partial z} - \frac{\partial A_z}{\partial x} \right),j^​(∂z∂Ax​​−∂x∂Az​​),

not the same terms in the opposite order.

Why the order of del matters

Although ∇\nabla∇ resembles a vector, it is also an operator. In ∇⋅A\nabla\cdot\mathbf{A}∇⋅A, the derivatives act on the components of A\mathbf{A}A. By contrast, writing A⋅∇\mathbf{A}\cdot\nablaA⋅∇ places the field before the derivatives; it defines a different operator that still needs something to act on. Thus, the ordinary rule that a dot product is unchanged by swapping its factors does not apply in the same way. Del must remain on the left of the field on which it acts. The same caution applies to the curl.


Divergence and curl in example fields

Divergence and curl measure different features of a field. A flow can have either one, both, or neither.

A field with zero divergence but nonzero curl

Consider the vector field

V=xsin⁡y i^+cos⁡y j^+xy k^.\mathbf{V} = x\sin y\,\hat{\mathbf{i}} + \cos y\,\hat{\mathbf{j}} + xy\,\hat{\mathbf{k}}.V=xsinyi^+cosyj^​+xyk^.

Its divergence is

∇⋅V=∂(xsin⁡y)∂x+∂(cos⁡y)∂y+∂(xy)∂z=sin⁡y−sin⁡y+0=0.\nabla\cdot\mathbf{V} = \frac{\partial (x\sin y)}{\partial x} + \frac{\partial (\cos y)}{\partial y} + \frac{\partial (xy)}{\partial z} = \sin y-\sin y+0 = 0.∇⋅V=∂x∂(xsiny)​+∂y∂(cosy)​+∂z∂(xy)​=siny−siny+0=0.

There is no net source or sink at any point. Its curl, however, is

∇×V=x i^−y j^−xcos⁡y k^.\nabla\times\mathbf{V} = x\,\hat{\mathbf{i}} - y\,\hat{\mathbf{j}} - x\cos y\,\hat{\mathbf{k}}.∇×V=xi^−yj^​−xcosyk^.

The nonzero curl means the field turns. Its strength and direction vary from point to point.

Radial expansion and circular rotation

The field

A=x i^+y j^\mathbf{A} = x\,\hat{\mathbf{i}}+y\,\hat{\mathbf{j}}A=xi^+yj^​

points directly away from the origin and grows in magnitude with distance from it. Its divergence and curl are

∇⋅A=2,∇×A=0.\nabla\cdot\mathbf{A}=2, \qquad \nabla\times\mathbf{A}=\mathbf{0}.∇⋅A=2,∇×A=0.

It behaves like a source everywhere, but a paddle wheel carried by it does not rotate.

The field

B=−y i^+x j^\mathbf{B} = -y\,\hat{\mathbf{i}}+x\,\hat{\mathbf{j}}B=−yi^+xj^​

circulates around the origin. Its divergence and curl are

∇⋅B=0,∇×B=2k^.\nabla\cdot\mathbf{B}=0, \qquad \nabla\times\mathbf{B}=2\hat{\mathbf{k}}.∇⋅B=0,∇×B=2k^.

It has no sources or sinks, but it produces rotation. The curl is the same at every point, including points away from the centre of the circular flow.

Adding the fields produces a flow that both expands outward and rotates:

∇⋅(A+B)=2,∇×(A+B)=2k^.\nabla\cdot(\mathbf{A}+\mathbf{B})=2, \qquad \nabla\times(\mathbf{A}+\mathbf{B})=2\hat{\mathbf{k}}.∇⋅(A+B)=2,∇×(A+B)=2k^.

This demonstrates that divergence and curl are independent properties: one field can spread and turn at the same time.

Curl of a rigid-body rotation

For a rigid body rotating about the zzz axis with angular velocity ω=ωk^\boldsymbol{\omega}=\omega\hat{\mathbf{k}}ω=ωk^, the velocity at position r\mathbf{r}r is ω×r\boldsymbol{\omega}\times\mathbf{r}ω×r. In Cartesian components,

v=−ωy i^+ωx j^.\mathbf{v} = -\omega y\,\hat{\mathbf{i}} + \omega x\,\hat{\mathbf{j}}.v=−ωyi^+ωxj^​.

Its curl is

∇×v=2ωk^.\nabla\times\mathbf{v} = 2\omega\hat{\mathbf{k}}.∇×v=2ωk^.

Thus, for rigid rotation, the curl of the velocity is twice the angular velocity. A small paddle wheel in the flow spins at half the curl, matching the body’s angular velocity.


The Laplacian and vector identities

The Laplacian as divergence of the gradient

Applying ∇\nabla∇ twice to a scalar field means taking its gradient and then the divergence of that gradient. The result is the Laplacian:

∇2ϕ=∇⋅(∇ϕ)=∂2ϕ∂x2+∂2ϕ∂y2+∂2ϕ∂z2.\nabla^2\phi = \nabla\cdot(\nabla\phi) = \frac{\partial^2\phi}{\partial x^2} + \frac{\partial^2\phi}{\partial y^2} + \frac{\partial^2\phi}{\partial z^2}.∇2ϕ=∇⋅(∇ϕ)=∂x2∂2ϕ​+∂y2∂2ϕ​+∂z2∂2ϕ​.

The Laplacian measures how the value at a point compares with values in its neighbourhood. In one dimension, a positive second derivative indicates that nearby values average higher than the value at the point, as at the bottom of a dip. A negative second derivative indicates a value higher than its neighbours, as at the top of a bump. The three-dimensional Laplacian combines this comparison across all spatial directions.

This interpretation helps explain heat flow: a relatively cold spot is below the temperature of its surroundings and tends to warm, while a relatively hot spot tends to cool. For a hill-shaped height field, the Laplacian is negative near a local peak; consequently, the divergence of the uphill gradient is negative there, meaning the uphill arrows gather toward the peak.

The Laplacian is not the square of the gradient’s magnitude. It is the sum of the second derivatives, not the sum of squared first derivatives.

Common derivative rules and identities

Because del is built from derivatives, standard derivative rules apply.

  • The gradient of a sum is the sum of the gradients, and constants can be factored out.

  • The product rule applies to gradients and to products of scalar and vector fields.

  • The divergence of a scalar times a vector field is

∇⋅(ϕA)=∇ϕ⋅A+ϕ ∇⋅A.\nabla\cdot(\phi\mathbf{A}) = \nabla\phi\cdot\mathbf{A} + \phi\,\nabla\cdot\mathbf{A}.∇⋅(ϕA)=∇ϕ⋅A+ϕ∇⋅A.
  • The curl of a scalar times a vector field is

∇×(ϕA)=∇ϕ×A+ϕ ∇×A.\nabla\times(\phi\mathbf{A}) = \nabla\phi\times\mathbf{A} + \phi\,\nabla\times\mathbf{A}.∇×(ϕA)=∇ϕ×A+ϕ∇×A.

A scalar field cannot simply be pulled out of a divergence or curl: the derivatives act on it as well as on the vector field.

Two especially useful identities are

∇×(∇ϕ)=0,∇⋅(∇×A)=0.\nabla\times(\nabla\phi)=\mathbf{0}, \qquad \nabla\cdot(\nabla\times\mathbf{A})=0.∇×(∇ϕ)=0,∇⋅(∇×A)=0.

The curl of a gradient vanishes because its components contain pairs of mixed second derivatives with opposite signs. For a smooth field, taking the mixed derivatives in either order gives the same result, so the terms cancel. A gradient field therefore has no local turning.

The divergence of a curl also vanishes: its second-derivative terms likewise cancel in pairs. A curl field has no sources or sinks; its field lines do not begin or end locally. Magnetic field lines, for example, form closed loops.

Another identity combines curl and divergence:

∇×(∇×A)=∇(∇⋅A)−∇2A.\nabla\times(\nabla\times\mathbf{A}) = \nabla(\nabla\cdot\mathbf{A}) - \nabla^2\mathbf{A}.∇×(∇×A)=∇(∇⋅A)−∇2A.

Here, the vector Laplacian ∇2A\nabla^2\mathbf{A}∇2A means applying the scalar Laplacian to each Cartesian component. This identity is central to deriving electromagnetic wave equations.

A related product identity is

∇⋅(A×B)=B⋅(∇×A)−A⋅(∇×B).\nabla\cdot(\mathbf{A}\times\mathbf{B}) = \mathbf{B}\cdot(\nabla\times\mathbf{A}) - \mathbf{A}\cdot(\nabla\times\mathbf{B}).∇⋅(A×B)=B⋅(∇×A)−A⋅(∇×B).

The minus sign reflects the order change in the cross product.


Curvilinear coordinates and scale factors

Cartesian coordinates are not always the most convenient choice. Problems with cylindrical symmetry or spherical symmetry are often simpler in coordinates adapted to their geometry.

Orthogonal coordinates and scale factors

In an orthogonal coordinate system with coordinates u1,u2,u3u_1,u_2,u_3u1​,u2​,u3​, each coordinate line has a unit direction vector. A small change in a coordinate generally does not equal a distance. Instead, a change duidu_idui​ moves a point a distance

hi dui,h_i\,du_i,hi​dui​,

where hih_ihi​ is that coordinate’s scale factor. The scale factor is the length of the change in position per unit change of that coordinate.

The length element therefore has contributions h1du1h_1du_1h1​du1​, h2du2h_2du_2h2​du2​, and h3du3h_3du_3h3​du3​ along the three perpendicular coordinate directions. Scale factors enter the formulas for spatial derivatives because the operators must measure change per unit physical distance.

Cylindrical and spherical scale factors

For cylindrical coordinates (ρ,ϕ,z)(\rho,\phi,z)(ρ,ϕ,z), the scale factors are

hρ=1,hϕ=ρ,hz=1.h_\rho=1,\qquad h_\phi=\rho,\qquad h_z=1.hρ​=1,hϕ​=ρ,hz​=1.

A change dϕd\phidϕ corresponds to an arc length ρ dϕ\rho\,d\phiρdϕ, so angular changes become larger physical distances farther from the axis.

For spherical coordinates (r,θ,ϕ)(r,\theta,\phi)(r,θ,ϕ), where θ\thetaθ is the polar angle and ϕ\phiϕ is the azimuthal angle, the scale factors are

hr=1,hθ=r,hϕ=rsin⁡θ.h_r=1,\qquad h_\theta=r,\qquad h_\phi=r\sin\theta.hr​=1,hθ​=r,hϕ​=rsinθ.

The corresponding small distances are drdrdr in the radial direction, r dθr\,d\thetardθ along a meridian, and rsin⁡θ dϕr\sin\theta\,d\phirsinθdϕ around a circle of latitude.

Gradient in orthogonal coordinates

The gradient measures the rate of change per unit physical distance. In general orthogonal coordinates,

∇f=e^11h1∂f∂u1+e^21h2∂f∂u2+e^31h3∂f∂u3.\nabla f = \hat{\mathbf{e}}_1\frac{1}{h_1}\frac{\partial f}{\partial u_1} + \hat{\mathbf{e}}_2\frac{1}{h_2}\frac{\partial f}{\partial u_2} + \hat{\mathbf{e}}_3\frac{1}{h_3}\frac{\partial f}{\partial u_3}.∇f=e^1​h1​1​∂u1​∂f​+e^2​h2​1​∂u2​∂f​+e^3​h3​1​∂u3​∂f​.

The factors 1/hi1/h_i1/hi​ convert a derivative per unit coordinate change into a derivative per unit length.

In cylindrical coordinates,

∇f=ρ^∂f∂ρ+ϕ^1ρ∂f∂ϕ+z^∂f∂z.\nabla f = \hat{\boldsymbol{\rho}}\frac{\partial f}{\partial \rho} + \hat{\boldsymbol{\phi}}\frac{1}{\rho}\frac{\partial f}{\partial \phi} + \hat{\mathbf{z}}\frac{\partial f}{\partial z}.∇f=ρ^​∂ρ∂f​+ϕ^​ρ1​∂ϕ∂f​+z^∂z∂f​.

The factor 1/ρ1/\rho1/ρ is essential: differentiation with respect to ϕ\phiϕ measures change per radian, not per metre.

In spherical coordinates,

∇f=r^∂f∂r+θ^1r∂f∂θ+ϕ^1rsin⁡θ∂f∂ϕ.\nabla f = \hat{\mathbf{r}}\frac{\partial f}{\partial r} + \hat{\boldsymbol{\theta}}\frac{1}{r}\frac{\partial f}{\partial \theta} + \hat{\boldsymbol{\phi}}\frac{1}{r\sin\theta}\frac{\partial f}{\partial \phi}.∇f=r^∂r∂f​+θ^r1​∂θ∂f​+ϕ^​rsinθ1​∂ϕ∂f​.

Divergence in orthogonal coordinates

Divergence measures net outflow divided by volume. The flow through each face depends on that face’s area, and the volume depends on all three scale factors. For a vector field with components A1,A2,A3A_1,A_2,A_3A1​,A2​,A3​,

∇⋅A=1h1h2h3[∂∂u1(h2h3A1)+∂∂u2(h1h3A2)+∂∂u3(h1h2A3)].\nabla\cdot\mathbf{A} = \frac{1}{h_1h_2h_3} \left[ \frac{\partial}{\partial u_1}(h_2h_3A_1) + \frac{\partial}{\partial u_2}(h_1h_3A_2) + \frac{\partial}{\partial u_3}(h_1h_2A_3) \right].∇⋅A=h1​h2​h3​1​[∂u1​∂​(h2​h3​A1​)+∂u2​∂​(h1​h3​A2​)+∂u3​∂​(h1​h2​A3​)].

In cylindrical coordinates,

∇⋅A=1ρ∂∂ρ(ρAρ)+1ρ∂Aϕ∂ϕ+∂Az∂z.\nabla\cdot\mathbf{A} = \frac{1}{\rho}\frac{\partial}{\partial\rho}(\rho A_\rho) + \frac{1}{\rho}\frac{\partial A_\phi}{\partial\phi} + \frac{\partial A_z}{\partial z}.∇⋅A=ρ1​∂ρ∂​(ρAρ​)+ρ1​∂ϕ∂Aϕ​​+∂z∂Az​​.

In spherical coordinates,

∇⋅A=1r2∂∂r(r2Ar)+1rsin⁡θ∂∂θ(sin⁡θ Aθ)+1rsin⁡θ∂Aϕ∂ϕ.\nabla\cdot\mathbf{A} = \frac{1}{r^2}\frac{\partial}{\partial r}(r^2 A_r) + \frac{1}{r\sin\theta}\frac{\partial}{\partial\theta}(\sin\theta\,A_\theta) + \frac{1}{r\sin\theta}\frac{\partial A_\phi}{\partial\phi}.∇⋅A=r21​∂r∂​(r2Ar​)+rsinθ1​∂θ∂​(sinθAθ​)+rsinθ1​∂ϕ∂Aϕ​​.

The factors account for the changing areas of coordinate surfaces. For example, radial surfaces in spherical coordinates have areas that grow in proportion to r2r^2r2.

Curl in orthogonal coordinates

The curl can be written as a determinant-like expression that includes the scale factors:

∇×A=1h1h2h3∣h1e^1h2e^2h3e^3∂∂u1∂∂u2∂∂u3h1A1h2A2h3A3∣.\nabla\times\mathbf{A} = \frac{1}{h_1h_2h_3} \begin{vmatrix} h_1\hat{\mathbf{e}}_1 & h_2\hat{\mathbf{e}}_2 & h_3\hat{\mathbf{e}}_3\\ \frac{\partial}{\partial u_1} & \frac{\partial}{\partial u_2} & \frac{\partial}{\partial u_3}\\ h_1 A_1 & h_2 A_2 & h_3 A_3 \end{vmatrix}.∇×A=h1​h2​h3​1​​h1​e^1​∂u1​∂​h1​A1​​h2​e^2​∂u2​∂​h2​A2​​h3​e^3​∂u3​∂​h3​A3​​​.

In cylindrical coordinates,

(∇×A)ρ=1ρ∂Az∂ϕ−∂Aϕ∂z,(∇×A)ϕ=∂Aρ∂z−∂Az∂ρ,(∇×A)z=1ρ[∂∂ρ(ρAϕ)−∂Aρ∂ϕ].\begin{aligned} (\nabla\times\mathbf{A})_\rho &= \frac{1}{\rho}\frac{\partial A_z}{\partial\phi} - \frac{\partial A_\phi}{\partial z},\\ (\nabla\times\mathbf{A})_\phi &= \frac{\partial A_\rho}{\partial z} - \frac{\partial A_z}{\partial\rho},\\ (\nabla\times\mathbf{A})_z &= \frac{1}{\rho} \left[ \frac{\partial}{\partial\rho}(\rho A_\phi) - \frac{\partial A_\rho}{\partial\phi} \right]. \end{aligned}(∇×A)ρ​(∇×A)ϕ​(∇×A)z​​=ρ1​∂ϕ∂Az​​−∂z∂Aϕ​​,=∂z∂Aρ​​−∂ρ∂Az​​,=ρ1​[∂ρ∂​(ρAϕ​)−∂ϕ∂Aρ​​].​

In spherical coordinates,

(∇×A)r=1rsin⁡θ[∂∂θ(sin⁡θ Aϕ)−∂Aθ∂ϕ],(∇×A)θ=1r[1sin⁡θ∂Ar∂ϕ−∂∂r(rAϕ)],(∇×A)ϕ=1r[∂∂r(rAθ)−∂Ar∂θ].\begin{aligned} (\nabla\times\mathbf{A})_r &= \frac{1}{r\sin\theta} \left[ \frac{\partial}{\partial\theta}(\sin\theta\,A_\phi) - \frac{\partial A_\theta}{\partial\phi} \right],\\ (\nabla\times\mathbf{A})_\theta &= \frac{1}{r} \left[ \frac{1}{\sin\theta}\frac{\partial A_r}{\partial\phi} - \frac{\partial}{\partial r}(rA_\phi) \right],\\ (\nabla\times\mathbf{A})_\phi &= \frac{1}{r} \left[ \frac{\partial}{\partial r}(rA_\theta) - \frac{\partial A_r}{\partial\theta} \right]. \end{aligned}(∇×A)r​(∇×A)θ​(∇×A)ϕ​​=rsinθ1​[∂θ∂​(sinθAϕ​)−∂ϕ∂Aθ​​],=r1​[sinθ1​∂ϕ∂Ar​​−∂r∂​(rAϕ​)],=r1​[∂r∂​(rAθ​)−∂θ∂Ar​​].​

Laplacian in cylindrical and spherical coordinates

Since the Laplacian is the divergence of the gradient, the scale factors determine its form.

In cylindrical coordinates,

∇2f=1ρ∂∂ρ(ρ∂f∂ρ)+1ρ2∂2f∂ϕ2+∂2f∂z2.\nabla^2 f = \frac{1}{\rho}\frac{\partial}{\partial\rho} \left(\rho\frac{\partial f}{\partial\rho}\right) + \frac{1}{\rho^2}\frac{\partial^2 f}{\partial\phi^2} + \frac{\partial^2 f}{\partial z^2}.∇2f=ρ1​∂ρ∂​(ρ∂ρ∂f​)+ρ21​∂ϕ2∂2f​+∂z2∂2f​.

In spherical coordinates,

∇2f=1r2∂∂r(r2∂f∂r)+1r2sin⁡θ∂∂θ(sin⁡θ∂f∂θ)+1r2sin⁡2θ∂2f∂ϕ2.\nabla^2 f = \frac{1}{r^2}\frac{\partial}{\partial r} \left(r^2\frac{\partial f}{\partial r}\right) + \frac{1}{r^2\sin\theta} \frac{\partial}{\partial\theta} \left(\sin\theta\frac{\partial f}{\partial\theta}\right) + \frac{1}{r^2\sin^2\theta} \frac{\partial^2 f}{\partial\phi^2}.∇2f=r21​∂r∂​(r2∂r∂f​)+r2sinθ1​∂θ∂​(sinθ∂θ∂f​)+r2sin2θ1​∂ϕ2∂2f​.

These forms are particularly useful when a problem has an axis or a centre. Spherical coordinates suit fields spreading from a point, while cylindrical coordinates suit fields around a long straight axis.

Point-charge field and divergence

A point charge’s electric field is radial and falls off in proportion to 1/r21/r^21/r2. In spherical coordinates, the factor r2r^2r2 in the radial divergence term cancels this radial dependence, leaving zero divergence away from the charge. The field weakens as it spreads, but the weakening is not the creation or destruction of field lines. The charge itself is the source, at the singular point.

A similar geometric effect occurs for unit vectors pointing outward from a cylindrical axis. Although their lengths are constant, the arrows spread apart with distance, and their divergence is 1/ρ1/\rho1/ρ, not zero.


Maxwell’s equations and the meaning of their terms

Maxwell’s equations connect the electric field E\mathbf{E}E and magnetic field B\mathbf{B}B to charge density ρf\rho_fρf​ and current density Jf\mathbf{J}_fJf​. The charge and current densities describe sources, while the fields can vary with position and time.

The equations are

∇⋅E=ρfϵ0,\nabla\cdot\mathbf{E} = \frac{\rho_f}{\epsilon_0},∇⋅E=ϵ0​ρf​​,
∇⋅B=0,\nabla\cdot\mathbf{B}=0,∇⋅B=0,
∇×E=−∂B∂t,\nabla\times\mathbf{E} = -\frac{\partial\mathbf{B}}{\partial t},∇×E=−∂t∂B​,
∇×B=μ0Jf+μ0ϵ0∂E∂t.\nabla\times\mathbf{B} = \mu_0\mathbf{J}_f + \mu_0\epsilon_0\frac{\partial\mathbf{E}}{\partial t}.∇×B=μ0​Jf​+μ0​ϵ0​∂t∂E​.

Here, ϵ0\epsilon_0ϵ0​ and μ0\mu_0μ0​ are constants associated with electric and magnetic phenomena. The symbol ρf\rho_fρf​ denotes free charge density; it is distinct from the cylindrical coordinate ρ\rhoρ.

Electric and magnetic divergence laws

Gauss’s law for electricity states that electric-field divergence is proportional to charge density. Positive charges act as sources of electric field lines, while negative charges act as sinks. Where there is no charge, the local divergence is zero, even though field lines can spread out and become less dense.

The magnetic-field divergence law states that magnetic field lines have no sources or sinks. There are no isolated magnetic charges in this description: a cut magnet still has both a north and a south pole. Magnetic field lines close on themselves.

The curl laws: changing fields and currents

Faraday’s law states that a changing magnetic field produces a circulating electric field. The minus sign specifies that the induced circulation opposes the change in magnetic flux. This induction underlies generators, transformers, and wireless charging.

The Ampère–Maxwell law says that electric current produces a circulating magnetic field. Maxwell’s added term says that a changing electric field also produces magnetic circulation, even when no current is present. This addition makes it possible for electric and magnetic fields to sustain one another in empty space.


Electromagnetic waves in empty space

In empty space with no charges or currents, the source densities vanish:

ρf=0,Jf=0.\rho_f=0, \qquad \mathbf{J}_f=\mathbf{0}.ρf​=0,Jf​=0.

Maxwell’s equations then become

∇⋅E=0,∇⋅B=0,\nabla\cdot\mathbf{E}=0, \qquad \nabla\cdot\mathbf{B}=0,∇⋅E=0,∇⋅B=0,
∇×E=−∂B∂t,∇×B=μ0ϵ0∂E∂t.\nabla\times\mathbf{E} = -\frac{\partial\mathbf{B}}{\partial t}, \qquad \nabla\times\mathbf{B} = \mu_0\epsilon_0\frac{\partial\mathbf{E}}{\partial t}.∇×E=−∂t∂B​,∇×B=μ0​ϵ0​∂t∂E​.

The two fields have no divergence in empty space, while each field’s curl is linked to the time variation of the other.

Deriving the electric-field wave equation

Take the curl of Faraday’s law:

∇×(∇×E)=−∂∂t(∇×B).\nabla\times(\nabla\times\mathbf{E}) = -\frac{\partial}{\partial t} (\nabla\times\mathbf{B}).∇×(∇×E)=−∂t∂​(∇×B).

Substitute the empty-space Ampère–Maxwell law for ∇×B\nabla\times\mathbf{B}∇×B:

∇×(∇×E)=−μ0ϵ0∂2E∂t2.\nabla\times(\nabla\times\mathbf{E}) = -\mu_0\epsilon_0 \frac{\partial^2\mathbf{E}}{\partial t^2}.∇×(∇×E)=−μ0​ϵ0​∂t2∂2E​.

The curl-of-curl identity gives

∇×(∇×E)=∇(∇⋅E)−∇2E.\nabla\times(\nabla\times\mathbf{E}) = \nabla(\nabla\cdot\mathbf{E})-\nabla^2\mathbf{E}.∇×(∇×E)=∇(∇⋅E)−∇2E.

Because ∇⋅E=0\nabla\cdot\mathbf{E}=0∇⋅E=0 in empty space, the gradient-divergence term vanishes. The result is

∇2E=μ0ϵ0∂2E∂t2.\nabla^2\mathbf{E} = \mu_0\epsilon_0 \frac{\partial^2\mathbf{E}}{\partial t^2}.∇2E=μ0​ϵ0​∂t2∂2E​.

This is a wave equation: spatial curvature of the electric field is related to its second time derivative. Taking the curl of the Ampère–Maxwell law and following the same reasoning gives the corresponding equation for the magnetic field:

∇2B=μ0ϵ0∂2B∂t2.\nabla^2\mathbf{B} = \mu_0\epsilon_0 \frac{\partial^2\mathbf{B}}{\partial t^2}.∇2B=μ0​ϵ0​∂t2∂2B​.

Wave speed and the speed of light

A one-dimensional wave travelling at speed vvv has the form

∂2f∂x2=1v2∂2f∂t2.\frac{\partial^2 f}{\partial x^2} = \frac{1}{v^2}\frac{\partial^2 f}{\partial t^2}.∂x2∂2f​=v21​∂t2∂2f​.

A travelling profile such as f(x−vt)f(x-vt)f(x−vt) keeps its shape as it moves in the positive xxx direction at speed vvv. Comparing this standard wave equation with the electromagnetic wave equation gives

1v2=μ0ϵ0,v=1μ0ϵ0.\frac{1}{v^2}=\mu_0\epsilon_0, \qquad v=\frac{1}{\sqrt{\mu_0\epsilon_0}}.v21​=μ0​ϵ0​,v=μ0​ϵ0​​1​.

The measured values of μ0\mu_0μ0​ and ϵ0\epsilon_0ϵ0​ give a speed of approximately

3.00×108 m/s,3.00\times 10^8\ \text{m/s},3.00×108 m/s,

which is the measured speed of light in vacuum. Thus, the electric and magnetic constants together determine the speed of light.

Light is an electromagnetic wave. Its electric and magnetic fields oscillate perpendicular to each other and to the direction of travel. A changing electric field generates magnetic field circulation, and a changing magnetic field generates electric field circulation, allowing the wave to travel through empty space without a material medium.

The geometry of a wave determines which coordinate form of the Laplacian is most convenient. Waves spreading from a small source are naturally described using spherical coordinates; waves from a long wire or antenna can have cylindrical geometry; and sufficiently far from a source, a small portion of a wavefront is nearly flat and can be approximated as a plane wave.

The Laplacian also appears in quantum mechanics. In the Schrödinger equation it describes spatial variation of the wave function ψ\psiψ and is associated with kinetic energy; spherical coordinates are useful for the hydrogen atom.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent