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

From Vector Calculus to the Wave Equation of Light

Light travels through the nearly empty space between the Sun and Earth without a material medium such as air or water. To understand how that is possible—and why light travels at a particular speed—it helps to learn the mathematical language of fields. The central tool is the del operator, which produces the gradient, divergence, and curl. These operations describe how fields change, spread, and turn. Maxwell’s equations combine them to show that changing electric and magnetic fields can travel through empty space as waves.

1. The del operator: one symbol, three operations

A field assigns a value to every point in space. A scalar field assigns a single number, such as temperature, to each point. A vector field assigns a vector, such as wind velocity, to each point.

The symbol ∇\nabla∇, called del or nabla, is a vector-like operator whose components are derivatives:

∇=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∂​.

It is not an ordinary vector of numbers. It is an operator: it waits for a field to its right and differentiates that field. Depending on how it acts, it produces a gradient, divergence, or curl.

Gradient: the direction of steepest increase

For a scalar field ϕ\phiϕ, del acts like a vector multiplying the field:

∇ϕ=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 result is a vector called the gradient. Its components give the field’s rate of change in the xxx, yyy, and zzz directions. The gradient points in the direction in which the field increases fastest. Its length indicates how rapidly the field increases in that direction.

For a hill, the gradient points uphill. For a temperature field, it points toward the direction of fastest temperature increase.

Divergence: how much a field spreads out

When del is dotted with a vector field A\mathbf{A}A, the result is a scalar called the divergence:

∇⋅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 measures the field’s net outward flow per unit volume at a point. Imagine a tiny box placed in a flowing liquid. Flow may enter through some faces and leave through others. The net amount leaving, divided by the box’s volume, is the divergence.

  • Positive divergence means more flow leaves than enters. The point acts like a source.
  • Negative divergence means more flow enters than leaves. The point acts like a sink.
  • Zero divergence means there is no net creation or removal of flow at that point.

This interpretation comes from comparing the field on opposite faces of the tiny box. For example, the difference between the flow leaving through the right face and entering through the left face is proportional to ∂Ax∂x\frac{\partial A_x}{\partial x}∂x∂Ax​​. The other pairs of faces contribute the yyy and zzz derivatives. Together, those three contributions give the divergence.

Curl: how much a field turns

When del is crossed with a vector field, the result is another vector called the curl:

∇×A=∣i^j^k^∂∂x∂∂y∂∂zAxAyAz∣.\nabla \times \mathbf{A} = \begin{vmatrix} \hat{\mathbf{i}} & \hat{\mathbf{j}} & \hat{\mathbf{k}}\\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z}\\ A_x & A_y & A_z \end{vmatrix}.∇×A=​i^∂x∂​Ax​​j^​∂y∂​Ay​​k^∂z∂​Az​​​.

Expanding the determinant gives

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

The curl measures the field’s local turning. Its direction is the axis about which the turning occurs. A small paddle wheel placed in the field illustrates the idea: the curl indicates the wheel’s turning axis and, locally, its magnitude is twice the wheel’s angular speed.

The middle component deserves special care. The determinant expansion gives the j^\hat{\mathbf{j}}j^​ component an extra minus sign, so its derivatives appear in the order shown above.

Why the order of del and a field matters

Ordinary dot products do not depend on order, but del is not an ordinary vector. The expression ∇⋅A\nabla \cdot \mathbf{A}∇⋅A differentiates the components of A\mathbf{A}A. By contrast, writing A⋅∇\mathbf{A}\cdot\nablaA⋅∇ describes a different operator that has not yet acted on a field. Del acts on what is to its right, so order matters for both dot and cross products.

The gradient describes how a scalar rises, the divergence describes how a vector field spreads or gathers, and the curl describes how it turns.

Think About It: How could a tiny box and a tiny paddle wheel reveal different properties of the same flow?

2. Divergence and curl in action

A field can spread out and turn at the same time. Divergence and curl measure different features, so the presence of one does not rule out the other.

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 differentiates each component along its matching coordinate:

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

The three terms are sin⁡y\sin ysiny, −sin⁡y-\sin y−siny, and 000, so

∇⋅V=0.\nabla\cdot\mathbf{V}=0.∇⋅V=0.

There is no net source or sink at any point: as much flow enters a small region as leaves it. A field with zero divergence is called incompressible in this context.

The curl, however, is not zero:

∇×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^.

This field therefore has local turning. The strength and axis of that turning vary from point to point.

A spreading flow and a rotating flow

The field

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

points radially outward from the origin and grows stronger farther from it. Its divergence is 222, so it acts as a source everywhere. Its curl is zero, so a paddle wheel is carried along without turning.

Now consider

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

This field circles around the origin. Its divergence is zero, while its curl is

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

The field turns a paddle wheel at the same local rate everywhere, including far from the center.

Adding the fields gives

A+B=(x−y)i^+(x+y)j^.\mathbf{A}+\mathbf{B} = (x-y)\hat{\mathbf{i}}+(x+y)\hat{\mathbf{j}}.A+B=(x−y)i^+(x+y)j^​.

Because derivatives distribute over sums, this combined field has divergence 222 and curl 2k^2\hat{\mathbf{k}}2k^. Its flow spirals outward: it spreads and turns simultaneously. This is why divergence and curl must be treated as independent measurements.

Curl and the rotation of a rigid body

A rigid body rotating around the zzz-axis with angular velocity ω=ωk^\boldsymbol{\omega}=\omega\hat{\mathbf{k}}ω=ωk^ has velocity

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

Its curl is

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

Thus, the curl of this velocity field is twice the body’s angular velocity. A small paddle wheel embedded in the rotating body turns at half the curl’s magnitude. This illustrates the general local relationship between curl and paddle-wheel rotation.

Think About It: Why does a flow that spirals outward show that “spreading” and “turning” cannot be treated as opposites?

3. The Laplacian and useful vector identities

The gradient of a scalar field is itself a vector field, so divergence can act on it. This operation 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 adds the second derivatives in all three spatial directions. Despite its notation, ∇2ϕ\nabla^2\phi∇2ϕ is not the square of the gradient; it is a sum of second derivatives.

The Laplacian compares a point with its neighbors

In one dimension, the second derivative measures how a point compares with nearby points. If the values on either side of a point have an average greater than the value at the point, the curve bends upward there and its second derivative is positive. If the point is higher than its neighbors’ average, the curve bends downward and its second derivative is negative.

The Laplacian extends this comparison to all spatial directions. This helps explain its role in heat flow: a relatively cold spot is below the temperatures around it, so heat tends to flow toward it and warm it. At the top of a hill, the field value is greater than nearby values, so the Laplacian is negative there. Since the Laplacian is the divergence of the gradient, the uphill gradient arrows gather toward the hilltop.

For example, the Laplacian of y3y^3y3 is 6y6y6y. In a broader example, contributions from the xxx- and yyy-curvatures cancel, leaving the same result, 6y6y6y.

Vector identities

Because del is built from derivatives, ordinary derivative rules carry over. The gradient of a sum is the sum of the gradients, constants can be taken outside, and products follow the product rule. Several additional identities are especially important:

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

and

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

In the last identity, the Laplacian acts on each component of the vector field.

The first identity follows because mixed derivatives of a smooth scalar field can be taken in either order. For example, the k^\hat{\mathbf{k}}k^ component of the curl of a gradient contains

∂2ϕ∂x ∂y−∂2ϕ∂y ∂x,\frac{\partial^2\phi}{\partial x\,\partial y} - \frac{\partial^2\phi}{\partial y\,\partial x},∂x∂y∂2ϕ​−∂y∂x∂2ϕ​,

which is zero when the mixed derivatives agree. Thus, a gradient field does not turn a paddle wheel.

The second identity follows by expanding the divergence of a curl. Its second-derivative terms occur in pairs with opposite signs, so they cancel. A field that is a curl has no sources or sinks; its field lines do not begin or end. This is the mathematical pattern seen in magnetic field lines, which form closed loops.

For a scalar field ϕ\phiϕ and vector field A\mathbf{A}A, the product rules include

∇⋅(ϕA)=(∇ϕ)⋅A+ϕ(∇⋅A),\nabla\cdot(\phi\mathbf{A}) = (\nabla\phi)\cdot\mathbf{A} + \phi(\nabla\cdot\mathbf{A}),∇⋅(ϕA)=(∇ϕ)⋅A+ϕ(∇⋅A),

and

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

The divergence of a cross product 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 product rule matters because a field such as ϕ\phiϕ cannot simply be pulled out of a divergence as if it were a constant: del differentiates it too.

Think About It: Why can a field that is the gradient of a hill have no local circulation, even though it changes from place to place?

4. Curvilinear coordinates: matching the math to the shape

Cartesian coordinates are convenient when directions are naturally straight, but many fields have circular or spherical symmetry. In those situations, cylindrical or spherical coordinates can make the same field much simpler to describe.

In an orthogonal coordinate system, each point is specified by three coordinates, and each coordinate has a unit vector pointing along the direction in which only that coordinate changes. “Orthogonal” means those three directions meet at right angles.

A small change in a coordinate is not always a small distance. Changing an angle by dϕd\phidϕ, for instance, moves a point along an arc. The scale factor hih_ihi​ converts a small coordinate change duidu_idui​ into a physical distance:

distance along coordinate ui=hi dui.\text{distance along coordinate }u_i = h_i\,du_i.distance along coordinate ui​=hi​dui​.

Scale factors

For Cartesian coordinates, each coordinate change is already a distance, so the scale factors are 111, 111, and 111.

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.

The factor ρ\rhoρ appears because an angular change dϕd\phidϕ at distance ρ\rhoρ from the axis corresponds to an arc length ρ dϕ\rho\,d\phiρdϕ.

For spherical coordinates (r,θ,ϕ)(r,\theta,\phi)(r,θ,ϕ), 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θ.

A small step in the θ\thetaθ direction follows a meridian and has length r dθr\,d\thetardθ. A small step in the ϕ\phiϕ direction follows a circle of latitude and has length rsin⁡θ dϕr\sin\theta\,d\phirsinθdϕ.

General formulas in orthogonal coordinates

For scale factors h1,h2,h3h_1,h_2,h_3h1​,h2​,h3​, a scalar field fff has gradient

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

Each derivative is divided by the distance scale factor because a gradient measures change per unit physical length—not merely change per unit coordinate. In cylindrical coordinates, this is why the angular derivative includes 1/ρ1/\rho1/ρ.

For a vector field with components A1,A2,A3A_1,A_2,A_3A1​,A2​,A3​, the divergence is

∇⋅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​)].

This formula reflects the same physical idea as the box argument: flow through each face depends on the face’s area, and the result is divided by the small volume.

The Laplacian follows by taking the divergence of the gradient:

∇2f=1h1h2h3∑i=13∂∂ui(h1h2h3hi2∂f∂ui).\nabla^2f = \frac{1}{h_1h_2h_3} \sum_{i=1}^{3} \frac{\partial}{\partial u_i} \left( \frac{h_1h_2h_3}{h_i^2} \frac{\partial f}{\partial u_i} \right).∇2f=h1​h2​h3​1​i=1∑3​∂ui​∂​(hi2​h1​h2​h3​​∂ui​∂f​).

The curl also takes scale factors into account. In orthogonal coordinates it can be written as

∇×A=1h1h2h3∣h1u^1h2u^2h3u^3∂∂u1∂∂u2∂∂u3h1A1h2A2h3A3∣.\nabla\times\mathbf{A} = \frac{1}{h_1h_2h_3} \begin{vmatrix} h_1\hat{\mathbf{u}}_1 & h_2\hat{\mathbf{u}}_2 & h_3\hat{\mathbf{u}}_3\\ \frac{\partial}{\partial u_1} & \frac{\partial}{\partial u_2} & \frac{\partial}{\partial u_3}\\ h_1A_1 & h_2A_2 & h_3A_3 \end{vmatrix}.∇×A=h1​h2​h3​1​​h1​u^1​∂u1​∂​h1​A1​​h2​u^2​∂u2​∂​h2​A2​​h3​u^3​∂u3​∂​h3​A3​​​.

Cylindrical-coordinate formulas

Using (ρ,ϕ,z)(\rho,\phi,z)(ρ,ϕ,z), the gradient is

∇f=ρ^∂f∂ρ+ϕ^1ρ∂f∂ϕ+k^∂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{k}}\frac{\partial f}{\partial z}.∇f=ρ^​∂ρ∂f​+ϕ^​ρ1​∂ϕ∂f​+k^∂z∂f​.

The divergence is

∇⋅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​​.

The curl is

∇×A=(1ρ∂Az∂ϕ−∂Aϕ∂z)ρ^+(∂Aρ∂z−∂Az∂ρ)ϕ^+1ρ[∂∂ρ(ρAϕ)−∂Aρ∂ϕ]k^.\nabla\times\mathbf{A} = \left(\frac{1}{\rho}\frac{\partial A_z}{\partial\phi} -\frac{\partial A_\phi}{\partial z}\right)\hat{\boldsymbol{\rho}} + \left(\frac{\partial A_\rho}{\partial z} -\frac{\partial A_z}{\partial\rho}\right)\hat{\boldsymbol{\phi}} + \frac{1}{\rho} \left[ \frac{\partial}{\partial\rho}(\rho A_\phi) -\frac{\partial A_\rho}{\partial\phi} \right]\hat{\mathbf{k}}.∇×A=(ρ1​∂ϕ∂Az​​−∂z∂Aϕ​​)ρ^​+(∂z∂Aρ​​−∂ρ∂Az​​)ϕ^​+ρ1​[∂ρ∂​(ρAϕ​)−∂ϕ∂Aρ​​]k^.

The Laplacian of a scalar field is

∇2f=1ρ∂∂ρ(ρ∂f∂ρ)+1ρ2∂2f∂ϕ2+∂2f∂z2.\nabla^2f = \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^2f}{\partial z^2}.∇2f=ρ1​∂ρ∂​(ρ∂ρ∂f​)+ρ21​∂ϕ2∂2f​+∂z2∂2f​.

Even a constant-length field pointing radially outward from an axis has divergence 1/ρ1/\rho1/ρ, not zero. Its arrows spread apart as they move outward, so the divergence detects geometric spreading even when the arrow length itself does not increase.

Spherical-coordinate formulas

Using (r,θ,ϕ)(r,\theta,\phi)(r,θ,ϕ), the gradient is

∇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​.

The divergence is

∇⋅A=1r2∂∂r(r2Ar)+1rsin⁡θ∂∂θ(sin⁡θ Aθ)+1rsin⁡θ∂Aϕ∂ϕ.\nabla\cdot\mathbf{A} = \frac{1}{r^2}\frac{\partial}{\partial r}(r^2A_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 curl is

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

The spherical Laplacian is

∇2f=1r2∂∂r(r2∂f∂r)+1r2sin⁡θ∂∂θ(sin⁡θ∂f∂θ)+1r2sin⁡2θ∂2f∂ϕ2.\nabla^2f = \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^2f}{\partial\phi^2}.∇2f=r21​∂r∂​(r2∂r∂f​)+r2sinθ1​∂θ∂​(sinθ∂θ∂f​)+r2sin2θ1​∂ϕ2∂2f​.

These forms are valuable whenever the field has a natural axis or center. For a point charge, a radial electric field varies as 1/r21/r^21/r2. In spherical coordinates, its divergence away from the charge reduces to differentiating the constant product r2(1/r2)r^2(1/r^2)r2(1/r2), giving zero. The field spreads outward and thins, but it is not being created at points away from the charge.

Think About It: Why does an angular derivative need a scale factor before it can represent change per unit distance?

5. Maxwell’s equations: the rules for electric and magnetic fields

Maxwell’s equations connect electric and magnetic fields to electric charge and current. The source quantities are the free charge density ρf\rho_fρf​ and current density Jf\mathbf{J}_fJf​. The fields are the electric field E\mathbf{E}E and magnetic field B\mathbf{B}B. All may vary with time.

In differential form, the four 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​,

and

∇×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​.

The constants ϵ0\epsilon_0ϵ0​ and μ0\mu_0μ0​ describe properties of electricity and magnetism in vacuum. The ρf\rho_fρf​ in these equations means charge density; it is distinct from the cylindrical coordinate ρ\rhoρ.

The divergence equations: sources and field lines

The first equation is Gauss’s law for the electric field. Electric charge is a source or sink of electric field:

  • Positive charge produces outward electric field lines.
  • Negative charge produces inward electric field lines.
  • Away from charges, the field can spread and weaken without being created at those locations.

The second equation says the magnetic field has no divergence. There are no isolated magnetic charges in this description: magnetic field lines do not begin or end on lone magnetic poles. Around a current-carrying wire, magnetic field lines circle the wire. Cutting a magnet in half produces two magnets, each with both a north and a south pole, rather than a single isolated pole.

The curl equations: fields that circulate

Faraday’s law says that a changing magnetic field produces a circulating electric field:

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

The minus sign gives the direction of the induced circulation: it opposes the change in magnetic field. This effect, called induction, is the principle behind generators and transformers, and it also enables wireless charging.

The Ampère–Maxwell law says that current produces a circulating magnetic field, but it includes another source:

μ0ϵ0∂E∂t.\mu_0\epsilon_0\frac{\partial\mathbf{E}}{\partial t}.μ0​ϵ0​∂t∂E​.

That term means a changing electric field can produce a circulating magnetic field even where no current is present. Maxwell’s addition is essential: changing electric and magnetic fields can support one another without charges or currents.

A changing magnetic field can produce a circulating electric field, and a changing electric field can produce a circulating magnetic field.

Think About It: How does Maxwell’s time-dependent electric-field term change the idea that a magnetic field must be produced by a current or magnet?

6. How Maxwell’s equations produce the wave equation of light

In empty space, charge density and current density 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 fields have no sources in empty space, yet their curls are linked to one another’s time changes. To obtain an equation for the electric field alone, 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).

The curl of the Ampère–Maxwell law supplies the expression for ∇×B\nabla\times\mathbf{B}∇×B. Substituting it gives

∇×(∇×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​.

Now apply the curl-of-a-curl identity:

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

Since ∇⋅E=0\nabla\cdot\mathbf{E}=0∇⋅E=0 in empty space, the gradient 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​.

Starting instead with the curl of the Ampère–Maxwell law gives the same form 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​.

These are wave equations. Their spatial curvature is linked to their second time derivative. The equations show that electric and magnetic fields can propagate as waves through empty space.

Reading the wave speed from the equation

A wave traveling at speed vvv has an equation of the form

∇2ψ=1v2∂2ψ∂t2.\nabla^2\psi = \frac{1}{v^2}\frac{\partial^2\psi}{\partial t^2}.∇2ψ=v21​∂t2∂2ψ​.

For example, a one-dimensional wave profile f(x−vt)f(x-vt)f(x−vt) keeps its shape while moving in the positive xxx direction at speed vvv. Its second spatial derivative and second time derivative differ by a factor of v2v^2v2, which is why the wave equation contains 1/v21/v^21/v2.

Comparing this form with the electric- and magnetic-field equations gives

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

so the propagation speed is

v=1μ0ϵ0.v=\frac{1}{\sqrt{\mu_0\epsilon_0}}.v=μ0​ϵ0​​1​.

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

v=3.00×108 m/s.v=3.00\times10^8\ \text{m/s}.v=3.00×108 m/s.

This is the measured speed of light, ccc. Thus,

c=1μ0ϵ0,μ0ϵ0=1c2.c=\frac{1}{\sqrt{\mu_0\epsilon_0}}, \qquad \mu_0\epsilon_0=\frac{1}{c^2}.c=μ0​ϵ0​​1​,μ0​ϵ0​=c21​.

Two constants measured in experiments on electricity and magnetism together determine the speed of light.

What an electromagnetic wave is

Light is an electromagnetic wave: a traveling pattern of electric and magnetic fields. The electric field and magnetic field oscillate at right angles to one another and to the direction of travel. The changing electric field produces the magnetic field, while the changing magnetic field produces the electric field. No material medium is needed; the fields sustain one another across empty space.

Wave geometry also explains why different coordinates are useful. Light spreading from a small source has spherical wavefronts, so spherical coordinates fit naturally. Waves associated with a long wire, such as an antenna, have cylindrical structure. Far from a source, a small portion of a curved 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 the spatial variation associated with the motion-related energy of the wave function ψ\psiψ. For the electron in a hydrogen atom, the spherical form is especially useful.

Comprehensive Review

The del operator turns derivatives into geometric descriptions of fields. Acting on a scalar, it gives the gradient: the direction and rate of fastest increase. Dotted with a vector field, it gives divergence: the local balance between outward and inward flow. Crossed with a vector field, it gives curl: the local tendency to turn. Taking the divergence of the gradient produces the Laplacian, which compares a field’s value with its nearby values in all directions.

Scale factors adapt these operations to coordinates shaped for a problem. Cylindrical coordinates suit fields organized around an axis; spherical coordinates suit fields organized around a center. Their scale factors ensure that derivatives measure changes per physical distance and that divergence and curl account for changing face areas and volumes.

Maxwell’s equations use divergence to describe electric charge and the absence of magnetic charges, and curl to describe how fields circulate. In empty space, changing electric and magnetic fields remain linked. The resulting wave equations predict a propagation speed of 1/μ0ϵ01/\sqrt{\mu_0\epsilon_0}1/μ0​ϵ0​​, which equals the speed of light. Light can therefore travel across empty space because its electric and magnetic fields generate one another as the wave moves.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent