Chapter 32
28 min read
Section 273 of 353

The Ampère-Maxwell Law

Maxwell's Equations

Learning Objectives

By the end of this section, you will be able to:

  1. Understand Ampère's original law and explain why it was incomplete
  2. Explain Maxwell's revolutionary addition of the displacement current and why it was necessary for mathematical and physical consistency
  3. Apply the Ampère-Maxwell law in both integral and differential forms to solve problems
  4. Describe how the displacement current enables electromagnetic wave propagation
  5. Connect these concepts to modern applications in wireless communication, numerical simulation, and machine learning
Why This Matters: The Ampère-Maxwell law is the equation that completed electromagnetism and led to the prediction of electromagnetic waves. Without Maxwell's addition of the displacement current, we would have no theory of light, no radio, no WiFi, no cellular networks, and no understanding of how energy propagates through empty space.

The Big Picture

In the early 19th century, André-Marie Ampère discovered a beautiful relationship: electric currents create magnetic fields that circulate around them. This was a profound insight that explained how electromagnets work and why compass needles deflect near current-carrying wires.

However, Ampère's original law had a fatal flaw that only became apparent when examined mathematically. In 1865, James Clerk Maxwell identified this inconsistency and made one of the most important additions in the history of physics: the displacement current.

Maxwell's insight was that a changing electric field produces the same magnetic effect as a real electric current—even in regions where no actual charges are moving. This seemingly small modification had enormous consequences: it predicted that electromagnetic disturbances would propagate through space as waves traveling at the speed of light, revealing that light itself is an electromagnetic phenomenon.

TimelineDiscoverySignificance
1820Ampère discovers currents create B fieldsFoundation of electromagnetism
1831Faraday discovers changing B creates EElectromagnetic induction
1865Maxwell adds displacement currentPredicts electromagnetic waves
1887Hertz detects electromagnetic wavesExperimental confirmation
TodayWireless technology everywhereWiFi, cellular, satellite, radar

Ampère's Original Law

Ampère's original law states that the magnetic field circulating around a closed loop is proportional to the electric current passing through any surface bounded by that loop:

CBdl=μ0Ienc\oint_C \mathbf{B} \cdot d\mathbf{l} = \mu_0 I_{\text{enc}}

Let's understand each part of this equation:

  • CBdl\oint_C \mathbf{B} \cdot d\mathbf{l}: The line integral of the magnetic field around a closed curve CC. This measures the total "circulation" of the magnetic field.
  • μ0=4π×107\mu_0 = 4\pi \times 10^{-7} T·m/A: The permeability of free space, a fundamental constant that relates magnetic fields to currents.
  • IencI_{\text{enc}}: The total current passing through any surface bounded by the curve CC.

Magnetic Field Around a Current-Carrying Wire

According to Ampère's Law, a current-carrying wire generates a circular magnetic field. The field strength decreases with distance as B=μ0I2πrB = \frac{\mu_0 I}{2\pi r}.

Physical Interpretation: Electric current acts as a source of magnetic field circulation. The field wraps around the current according to the right-hand rule: if your thumb points in the direction of current flow, your fingers curl in the direction of the magnetic field.

Maxwell's Revolutionary Insight

While Ampère's law works beautifully for steady currents, Maxwell realized it contains a fundamental inconsistency when currents change with time. The key to understanding this is the charging capacitor paradox.

The Displacement Current

Maxwell proposed that a changing electric field creates the same magnetic effect as a moving charge. He called this the displacement current:

ID=ε0dΦEdtI_D = \varepsilon_0 \frac{d\Phi_E}{dt}

where ΦE=SEdA\Phi_E = \int_S \mathbf{E} \cdot d\mathbf{A} is the electric flux through a surface. The displacement current density is:

JD=ε0Et\mathbf{J}_D = \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}

Key Insight: The "displacement current" is not a real current of moving charges—no electrons are flowing. It's the rate of change of electric field, which produces exactly the same magnetic effect as if charges were actually moving. Maxwell named it "displacement" based on his mechanical model of the aether, but the name stuck even though we now understand it differently.

The Charging Capacitor Paradox

Consider a capacitor being charged by a current II. Draw an Amperian loop around the wire and consider two different surfaces bounded by this loop:

  1. Surface 1: A flat disk through the wire. Current II passes through it, so Ampère's law predicts Bdl=μ0I\oint \mathbf{B} \cdot d\mathbf{l} = \mu_0 I.
  2. Surface 2: A balloon-shaped surface that goes between the capacitor plates. No current passes through (the gap is empty space), so Ampère's law predicts Bdl=0\oint \mathbf{B} \cdot d\mathbf{l} = 0.

But both surfaces are bounded by the same loop! The magnetic field around that loop can't have two different values—this is a contradiction.

The Displacement Current in a Charging Capacitor

Watch how a changing electric field between capacitor plates creates a magnetic field, even though no actual charges flow through the gap. This is Maxwell's displacement current.

1.0x

Maxwell resolved this paradox by noting that while no charge flows between the plates, the electric field is changing. The displacement current ε0dΦEdt\varepsilon_0 \frac{d\Phi_E}{dt} through Surface 2 exactly equals the conduction current II through Surface 1.

Mathematical Consistency: For charge conservation to hold (continuity equation), we need J+ρt=0\nabla \cdot \mathbf{J} + \frac{\partial \rho}{\partial t} = 0. Taking the divergence of Ampère's original law and using Gauss's law, we get a contradiction unless the displacement current is added.

Mathematical Formulation

Integral Form

The complete Ampère-Maxwell law in integral form states:

CBdl=μ0(Ienc+ε0dΦEdt)\oint_C \mathbf{B} \cdot d\mathbf{l} = \mu_0 \left( I_{\text{enc}} + \varepsilon_0 \frac{d\Phi_E}{dt} \right)

Or equivalently:

CBdl=μ0Ienc+μ0ε0ddtSEdA\oint_C \mathbf{B} \cdot d\mathbf{l} = \mu_0 I_{\text{enc}} + \mu_0 \varepsilon_0 \frac{d}{dt} \int_S \mathbf{E} \cdot d\mathbf{A}

The terms are:

  • μ0Ienc\mu_0 I_{\text{enc}}: Contribution from conduction current—real moving charges
  • μ0ε0dΦEdt\mu_0 \varepsilon_0 \frac{d\Phi_E}{dt}: Contribution fromdisplacement current—changing electric field

Differential Form

Using Stokes' theorem to convert the line integral to a surface integral, we obtain the differential (local) form:

×B=μ0J+μ0ε0Et\nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}

This says that the curl (local circulation) of the magnetic field at any point equals μ0\mu_0 times the sum of:

  • J\mathbf{J}: The current density (conduction current per unit area)
  • ε0Et\varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}: The displacement current density

The Complete Ampère-Maxwell Law

The magnetic field around a closed loop depends on both the conduction current through the loop and the rate of change of electric flux. Toggle each contribution to see how they add together.

Real charge flow through wire
Changing electric field (no charges!)

Physical Interpretation

The Ampère-Maxwell law reveals a profound symmetry in nature:

SourceCreatesMechanism
Electric current JCirculating magnetic field BMoving charges drag field lines
Changing E field (∂E/∂t)Circulating magnetic field BTime-varying flux induces circulation
Changing B field (Faraday)Electric field ESymmetric partner to displacement current

The two "changing field" effects—Faraday's law and the displacement current—are symmetric partners. They represent the deep interplay between electric and magnetic phenomena:

  • Faraday's Law: A changing magnetic field creates an electric field (×E=Bt\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t})
  • Ampère-Maxwell: A changing electric field creates a magnetic field (×B=μ0ε0Et\nabla \times \mathbf{B} = \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}, in the absence of currents)
The Dance of Fields: Each field, when changing, induces the other. This mutual induction is what allows electromagnetic waves to exist and propagate through empty space—the fields regenerate each other as they travel.

Interactive Visualization

The visualizations above demonstrate key aspects of the Ampère-Maxwell law. In the complete visualization, you can independently control both the conduction current and the rate of change of electric field to see how each contributes to the total magnetic field.

Notice that:

  • When only conduction current is present, you see the classic magnetic field pattern around a wire
  • When only the displacement current is present, you see a magnetic field arising from the changing electric field alone—with no moving charges
  • The two contributions add together—the total field comes from both sources

Connection to Electromagnetic Waves

The displacement current term is the key that unlocks electromagnetic wave propagation. In a region with no charges or currents, Maxwell's equations become:

×E=Bt\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t} (Faraday)

×B=μ0ε0Et\nabla \times \mathbf{B} = \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t} (Ampère-Maxwell, no currents)

Taking the curl of the first equation and substituting the second:

×(×E)=t(×B)=μ0ε02Et2\nabla \times (\nabla \times \mathbf{E}) = -\frac{\partial}{\partial t}(\nabla \times \mathbf{B}) = -\mu_0 \varepsilon_0 \frac{\partial^2 \mathbf{E}}{\partial t^2}

Using the vector identity ×(×E)=(E)2E\nabla \times (\nabla \times \mathbf{E}) = \nabla(\nabla \cdot \mathbf{E}) - \nabla^2 \mathbf{E} and noting that E=0\nabla \cdot \mathbf{E} = 0 in free space:

2E=μ0ε02Et2\nabla^2 \mathbf{E} = \mu_0 \varepsilon_0 \frac{\partial^2 \mathbf{E}}{\partial t^2}

This is the wave equation! The wave speed is:

c=1μ0ε03×108 m/sc = \frac{1}{\sqrt{\mu_0 \varepsilon_0}} \approx 3 \times 10^8 \text{ m/s}

Maxwell's Triumph: This is the speed of light! By adding the displacement current, Maxwell unified electricity, magnetism, and optics. Light is an electromagnetic wave—oscillating electric and magnetic fields regenerating each other as they propagate through space at speed cc.

Applications

The Ampère-Maxwell law underlies countless modern technologies:

ApplicationHow Ampère-Maxwell AppliesKey Component
Wireless CommunicationChanging E and B fields propagate as wavesAntenna transmitters
Microwave OvensOscillating E field heats water moleculesMagnetron (wave generator)
MRI MachinesRF pulses create oscillating fields in tissueGradient coils
Radar SystemsEM waves reflect off objectsTransmitter/receiver antennas
WiFi & BluetoothGHz-frequency EM wave transmissionMiniature antennas
Fiber OpticsLight waves (EM waves) carry dataOptical modulators

Antennas: When current oscillates in an antenna, it creates a time-varying electric field in the surrounding space. This changing E field creates a B field (Ampère-Maxwell), which in turn creates an E field (Faraday's law), and so on—the wave propagates outward.

Capacitors at High Frequency: At high frequencies, the displacement current in capacitors becomes significant. This is why capacitors don't fully block AC signals—the displacement current "continues" the current across the gap.


Connections to Machine Learning

The mathematical framework of the Ampère-Maxwell law connects to machine learning in several ways:

  • Numerical PDE Solvers: Physics-informed neural networks (PINNs) can learn to solve Maxwell's equations, including the Ampère-Maxwell law, for complex geometries where analytical solutions don't exist.
  • Electromagnetic Simulation: Deep learning accelerates computational electromagnetics (CEM) simulations used in antenna design, EMC testing, and wireless network planning.
  • Curl and Divergence in Deep Learning: The same differential operators (curl, divergence) appear in certain neural network architectures for physics simulation, ensuring solutions respect physical conservation laws.
  • Wave Propagation: Understanding how EM waves carry energy is essential for wireless communication systems, which increasingly use ML for signal processing, beam forming, and interference management.

Worked Examples

Here's a numerical implementation of the Ampère-Maxwell law showing how to compute magnetic fields from both conduction and displacement currents:

Numerical Implementation of Ampère-Maxwell Law
🐍ampere_maxwell.py
1NumPy Import

NumPy provides efficient array operations essential for numerical electromagnetic simulations.

2Physical Constants

We import fundamental constants: μ₀ (permeability of free space) and ε₀ (permittivity of free space). These appear directly in Maxwell's equations.

EXAMPLE
μ₀ ≈ 4π × 10⁻⁷ H/m, ε₀ ≈ 8.85 × 10⁻¹² F/m
5Function Definition

This function computes the magnetic field B from both conduction and displacement currents at any point in space.

14Total Current Calculation

The key insight: total effective current includes real current (I) plus displacement current (ε₀ × dE/dt × Area). Both contribute equally to B.

EXAMPLE
I_total = I + ε₀ × (∂E/∂t) × A
19Magnetic Field Formula

For a current-carrying wire, B = μ₀I/(2πr). The field circles around the current according to the right-hand rule.

24Field Direction

The magnetic field is tangent to circles around the current. We use θ + π/2 to get the tangent direction perpendicular to the radial vector.

30Line Integral

Verifies Ampère-Maxwell law: ∮B·dl around a closed path equals μ₀ times the enclosed total current.

EXAMPLE
∮B·dl = μ₀(I + ε₀ dΦE/dt)
38Curl Calculation

The differential form uses curl: ∇×B = μ₀J + μ₀ε₀(∂E/∂t). The curl measures local rotation/circulation of the field.

42 lines without explanation
1import numpy as np
2from scipy.constants import mu_0, epsilon_0
3
4# Ampère-Maxwell Law: Magnetic field from currents and changing E fields
5def ampere_maxwell_field(position, current, dE_dt, current_pos, area):
6    """
7    Calculate magnetic field B at a position from:
8    - Conduction current I through a wire
9    - Displacement current ε₀(dE/dt) through an area
10
11    This is the unified Ampère-Maxwell law in action!
12    """
13    # Total effective current (Maxwell's key insight!)
14    displacement_current = epsilon_0 * dE_dt * area
15    total_current = current + displacement_current
16
17    # Distance from current to observation point
18    r_vec = position - current_pos
19    r = np.linalg.norm(r_vec)
20
21    # Magnetic field magnitude: B = μ₀ I_total / (2π r)
22    B_magnitude = mu_0 * total_current / (2 * np.pi * r)
23
24    # Direction: tangent to circle (right-hand rule)
25    theta = np.arctan2(r_vec[1], r_vec[0])
26    B_direction = np.array([-np.sin(theta), np.cos(theta), 0])
27
28    return B_magnitude * B_direction
29
30# Verify: Line integral ∮ B·dl = μ₀(I + ε₀ dΦE/dt)
31def verify_ampere_maxwell(B_field, path, I_enc, dPhi_E_dt):
32    """Check integral form of Ampère-Maxwell law."""
33    line_integral = 0
34    for i in range(len(path) - 1):
35        dl = path[i+1] - path[i]
36        B_avg = (B_field(path[i]) + B_field(path[i+1])) / 2
37        line_integral += np.dot(B_avg, dl)
38
39    expected = mu_0 * (I_enc + epsilon_0 * dPhi_E_dt)
40    return np.isclose(line_integral, expected, rtol=0.01)
41
42# Differential form: ∇×B = μ₀J + μ₀ε₀ ∂E/∂t
43def curl_B(B_field, point, h=1e-6):
44    """Calculate curl of B at a point using finite differences."""
45    x, y, z = point
46    # ∂Bz/∂y - ∂By/∂z
47    curl_x = (B_field([x,y+h,z])[2] - B_field([x,y-h,z])[2]) / (2*h) - \
48             (B_field([x,y,z+h])[1] - B_field([x,y,z-h])[1]) / (2*h)
49    # Similar for y and z components...
50    return np.array([curl_x, 0, 0])  # Simplified

Example Problem: Charging Capacitor

A parallel-plate capacitor with plate area A=0.01 m2A = 0.01 \text{ m}^2 is being charged by a current I=2 AI = 2 \text{ A}. Find the magnetic field at distance r=0.05 mr = 0.05 \text{ m} from the center of the gap.

Solution: Between the plates, there's no conduction current, but the electric field is changing. The displacement current equals the charging current by continuity:

ID=ε0dΦEdt=I=2 AI_D = \varepsilon_0 \frac{d\Phi_E}{dt} = I = 2 \text{ A}

Using Ampère-Maxwell with a circular path of radius rr:

B2πr=μ0IDB \cdot 2\pi r = \mu_0 I_D

B=μ0ID2πr=(4π×107)(2)2π(0.05)=8×106T=8μTB = \frac{\mu_0 I_D}{2\pi r} = \frac{(4\pi \times 10^{-7})(2)}{2\pi (0.05)} = 8 \times 10^{-6}\,\mathrm{T} = 8\,\mu\mathrm{T}


Summary

In this section, we have explored the Ampère-Maxwell law, the fourth and final Maxwell equation, and Maxwell's most profound contribution to physics:

  • Ampère's original law relates magnetic circulation to enclosed current but is incomplete for time-varying fields
  • Maxwell's displacement current ε0Et\varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}resolves the capacitor paradox and ensures mathematical consistency
  • The complete Ampère-Maxwell law states: ×B=μ0J+μ0ε0Et\nabla \times \mathbf{B} = \mu_0 \mathbf{J} + \mu_0 \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t}
  • The displacement current enables electromagnetic wave propagation—changing E creates B, changing B creates E, and they regenerate each other through space
  • This predicts waves traveling at c=1/μ0ε0c = 1/\sqrt{\mu_0 \varepsilon_0}, the speed of light—light is an electromagnetic wave
Looking Ahead: In the next section, we'll see all four Maxwell equations together in their differential form and explore how they work as a unified system. Then we'll derive electromagnetic waves in detail, study energy propagation via the Poynting vector, and examine modern applications in antennas, optics, and beyond.
Loading comments...