Part 5 of 10 · Maxwell's Equations & Electromagnetic Theory Series overview →

This article builds on Part 4: Faraday's Law of Electromagnetic Induction. Next up: Part 6: Maxwell's Displacement Current.

Fig 1 — Amperian loops around a straight current (left) and the H-field in a coaxial cable cross-section (right)
I 𝐇, 𝐁 Amperian loop C ∮ 𝐇·d𝐥 = H·2πr = I → H = I/(2πr) +I (out) outer conductor: −I (into page) a < r < b: H = I/(2πr) · outside: I_enc = 0 → H = 0

Introduction to Ampere's Circuital Law

Gauss's law (Part 2) relates the electric field to its sources, the charges. Ampère's circuital law does the same job for the magnetic field and its sources, the currents. It states that the magnetic field circulating around any closed loop is fixed by the total current passing through that loop. Formulated by André-Marie Ampère in 1826, it is to magnetostatics what Gauss's law is to electrostatics: a fundamental law, and — for symmetric problems — a quick way to calculate fields.

For RF engineers, Ampère's law answers practical questions directly: what is the magnetic field around a cable, how much inductance does a coaxial line have per metre, how many turns does a toroidal inductor need? It also has a famous flaw. Applied to a charging capacitor, the original law gives two contradictory answers. Repairing it — the subject of Part 6 — was the step that led Maxwell to predict electromagnetic waves.

Relationship Between Electric Current and Magnetic Fields

Magnetic Field Around a Current-Carrying Wire

Ørsted's 1820 experiment showed that a compass needle placed near a wire swings when current flows. Mapping the field with iron filings reveals concentric circles around the wire. The field strength is proportional to the current and inversely proportional to the distance from the wire:

Field of a long straight wire
H=I2πr B=μ0H=μ0I2πr
H in A/m, B in T, r is the perpendicular distance from the wire axis. The field falls off as 1/r — more slowly than the 1/r² of a point charge, because a long wire is an extended source.

Right-Hand Rule

The direction of the field is given by the right-hand grip rule: grip the wire with your right hand with the thumb pointing in the direction of conventional current; your fingers curl in the direction of the magnetic field lines. The same rule, applied the other way round, gives the direction of the field inside a coil: curl the fingers along the current in the turns, and the thumb points along the field through the coil (toward its north pole).

The right-hand rule also fixes the sign convention in Ampère's law. If you traverse the Amperian loop with your fingers, currents passing through the loop in the direction of your thumb count as positive.

Magnetic Field Due to Different Current Configurations

ConfigurationFieldNotes
Long straight wireB = μ₀I / (2πr)Circles around the wire
Centre of a circular loop (radius R)B = μ₀I / (2R)Along the loop axis (from Biot–Savart)
Long solenoid (n turns per metre)B = μ₀nIUniform inside, ≈ 0 outside
Toroid (N turns, radius r)B = μ₀NI / (2πr)Confined inside the core
Coaxial line (a < r < b)B = μ₀I / (2πr)Zero outside the outer conductor
Infinite current sheet (K A/m)B = μ₀K / 2Uniform; model of a ground plane current

Understanding Ampere's Circuital Law

Statement of Ampere's Circuital Law

📌 Ampère's circuital law

The line integral of the magnetic field intensity 𝐇 around any closed path equals the total current enclosed by that path. Equivalently, the line integral of 𝐁 equals μ₀ times the enclosed current.

Mathematical Expression

Ampère's circuital law
∮C𝐁·d𝐥=μ0Ienc ∮C𝐇·d𝐥=Ienc
The closed path C is called an Amperian loop. Like a Gaussian surface, it is imaginary and can be chosen freely. The 𝐇 form holds in any material because 𝐇 depends only on free currents; the 𝐁 form with μ₀ holds in non-magnetic media.

We can verify the law for a straight wire. Take a circle of radius r around it: 𝐇 is tangent to the circle and constant in magnitude, so ∮𝐇·d𝐥 = H × 2πr. Setting this equal to I gives H = I/(2πr) — the result Ørsted and Biot–Savart found experimentally. As with Gauss's law, the 1/r fall-off of the field exactly balances the r growth of the path length, so any circle gives the same answer.

Understanding the Concept of Enclosed Current

"Enclosed current" means the net current that passes through any surface bounded by the loop C:

  • Sign: currents in the direction of the right-hand-rule normal count positive, currents in the opposite direction count negative.
  • Multiple conductors: only the algebraic sum matters. A loop around both conductors of a cable carrying equal and opposite currents encloses I − I = 0.
  • Coils: a loop threading a coil of N turns, each carrying I, encloses NI ampere-turns — the "magnetomotive force" of magnetic circuit theory.
  • Partial enclosure: if the loop lies inside a conductor, only the fraction of the current inside the loop counts: I_enc = ∫𝐉·d𝐀 over the enclosed area.
  • Zero enclosed current does not mean zero field. It means the circulation is zero — the field may still exist, with contributions that cancel around the loop.

Integral Form of Ampere's Circuital Law

Writing the enclosed current as the flux of the current density 𝐉 (A/m²) through any surface S bounded by C gives the general integral form:

Ampère's law — integral form
∮C𝐇·d𝐥 = ∫S𝐉·d𝐀
For this to be meaningful, the result must not depend on which surface S is chosen. That is true only if as much current flows into any closed volume as flows out — i.e., for steady currents. This hidden assumption is the source of the limitation discussed in Section 7.

To use the law to find 𝐇, choose a loop on which 𝐇 is either tangent and constant in magnitude, or perpendicular to the path (contributing zero). The usual choices are circles around wires and coax, rectangles straddling solenoid walls and current sheets, and circles inside toroids.

Differential Form of Ampere's Circuital Law

Applying Stokes' theorem, ∮𝐇·d𝐥 = ∫(∇×𝐇)·d𝐀, and requiring the equality to hold for every surface gives the point form:

Ampère's law — differential form (magnetostatics)
∇×𝐇=𝐉 ∇×𝐇= | 𝐱^𝐲^𝐳^ ∂∂x∂∂y∂∂z HxHyHz |
Wherever current flows, the magnetic field curls around it. In current-free space ∇ × 𝐇 = 0. Compare Faraday's law (Part 4): ∇ × 𝐄 = −∂𝐁/∂t. The two curl equations will couple 𝐄 and 𝐇 once the missing term is added in Part 6.

Applications of Ampere's Circuital Law

Magnetic Field Around a Straight Conductor

For a solid round conductor of radius a carrying current I uniformly distributed over its cross-section (true at DC; at RF the skin effect pushes current to the surface), a circular Amperian loop of radius r gives:

Field inside and outside a solid round conductor (uniform current)
H(r)= { Ir2πa2 r < a (I_enc = I r²/a²) I2πr r ≥ a
The field rises linearly inside the conductor and peaks at its surface. At high frequency the current crowds into a skin layer, the internal field vanishes and the internal inductance drops — one reason a conductor's inductance falls slightly with frequency.

Magnetic Field Inside a Solenoid

For a long solenoid with n turns per metre, take a rectangular loop with one side of length ℓ inside the coil, parallel to the axis, and the opposite side outside. Outside the field is negligible, and the two short sides are perpendicular to the field, so only the inside side contributes: Hℓ = nℓI.

Long solenoid
H=nI B=μ0μrnI L≈μ0μrN2Aℓ
The field inside is uniform and independent of the coil radius. The inductance follows from L = NΦ/I with Φ = BA. Real air-core RF coils are short, so a correction (e.g. Wheeler's formula) is needed — but the N² dependence remains.

Magnetic Field Inside a Toroid

A toroid is a solenoid bent into a ring. A circular Amperian loop of radius r inside the core encloses NI ampere-turns, while a loop outside the ring encloses equal currents going in and coming out, giving zero:

Toroid
H=NI2πr B=μ0μrNI2πr (inside core; B = 0 outside)
Because the field is confined to the core, toroidal inductors and transformers produce little stray field and are largely immune to external fields — which is why they are favoured for RF baluns, broadband transformers and EMI chokes.

Magnetic Fields in Transmission Lines

In a coaxial line the inner conductor carries current +I and the outer conductor carries the return current −I. A circular loop between the conductors (a < r < b) encloses only +I, so H = I/(2πr). A loop outside the cable encloses I − I = 0, so H = 0: a properly balanced coax has no external magnetic field. This is the field-theory reason coaxial cable does not radiate or pick up interference — as long as the outer conductor carries the full return current. Common-mode current on the outside of the shield breaks the balance, and that is exactly what baluns and ferrite chokes are used to suppress.

The magnetic energy stored between the conductors gives the cable its inductance per unit length:

Coaxial line: inductance per unit length and characteristic impedance
L′=μ2πlnba C′=2πεln(b/a) Z0=L′C′ =60εrlnba
L′ from Ampère's law (this article) and C′ from Gauss's law (Part 2) combine to give the characteristic impedance. The factor 60 is η₀/(2π) ≈ 376.7/6.283.

Limitations of the Original Ampere's Circuital Law

Ampère's law in the form ∮𝐇·d𝐥 = I_enc is correct for steady currents but fails when currents change in time. Two arguments show the problem.

The capacitor paradox. Consider a capacitor being charged by a current I. Draw an Amperian loop around the wire leading to one plate. If we choose a flat surface S₁ bounded by the loop, the wire pierces it, so I_enc = I. But we may equally choose a bag-shaped surface S₂ bounded by the same loop that passes between the plates, where no conduction current flows — giving I_enc = 0. The same loop yields two different answers for the same field.

The mathematical contradiction. The divergence of a curl is always zero. Taking the divergence of ∇ × 𝐇 = 𝐉 therefore gives ∇·𝐉 = 0. But charge conservation requires ∇·𝐉 = −∂ρ_v/∂t. The two agree only when the charge density is constant in time — i.e., for steady currents. In a charging capacitor, charge is accumulating on the plates, ∂ρ_v/∂t ≠ 0, and the original law violates conservation of charge.

📌 The missing term

Maxwell resolved the contradiction in 1861–1865 by adding a second source of magnetic field — the rate of change of electric flux density, ∂𝐃/∂t, which he called the displacement current. The corrected law, ∇ × 𝐇 = 𝐉 + ∂𝐃/∂t, is consistent with charge conservation and predicts electromagnetic waves. That is the subject of Part 6: Maxwell's Displacement Current.

Numerical Examples

Use μ₀ = 4π × 10⁻⁷ H/m, so μ₀/(2π) = 2 × 10⁻⁷ H/m.

01

Field Around a Straight Wire

Problem: A long straight wire carries 10 A DC. Find H and B at 5 cm from the wire. At what distance does B fall to the Earth's field of about 50 μT?

H = I/(2πr); B = μ₀H
H=102π×0.05=31.83 A/m B=2×10−7×100.05=40 μT r=2×10−7×1050×10−6=4 cm
Answer: H = 31.8 A/m, B = 40 μT at 5 cm; B = 50 μT at 4 cm

A 10 A cable deflects a compass noticeably within a few centimetres. If the same 10 A has its return conductor right beside it (as in a power cord), the two fields almost cancel at a distance — the same principle as the coaxial line.

02

Field Inside a Thick Conductor

Problem: A copper rod of radius 2 mm carries 20 A DC, uniformly distributed. Find B at r = 1 mm (inside), r = 2 mm (surface) and r = 4 mm (outside).

Inside: B = μ₀Ir/(2πa²); outside: B = μ₀I/(2πr)
B(1 mm)=2×10−7×20×0.0010.0022=1.0 mT B(2 mm)=2×10−7×200.002=2.0 mT B(4 mm)=1.0 mT
Answer: 1.0 mT (inside)  |  2.0 mT (surface, maximum)  |  1.0 mT (outside)

The field is the same at half the radius and at twice the radius: linear growth inside, 1/r decay outside.

03

Field Inside a Solenoid

Problem: A solenoid 50 cm long has 1000 turns and carries 2 A. Find the field inside (a) with an air core and (b) if it is filled with a powdered-iron core of μ_r = 75. (c) If its cross-section is 4 cm², what is its air-core inductance?

n = 1000/0.5 = 2000 turns/m; B = μ₀μ_r nI
Bair=4π×10−7×2000×2=5.03 mT Biron=75×5.03=377 mT
(c) L = μ₀N²A/ℓ
L=4π×10−7×10002×4×10−40.5=1.005 mH
Answer: B = 5.03 mT (air), 377 mT (iron core)  |  L ≈ 1.0 mH (air core)

H = nI = 4000 A/m in both cases — 𝐇 is set by the current alone. The core multiplies 𝐁 (and the inductance) by μ_r, until the core material approaches saturation.

04

Toroidal Inductor Field

Problem: A toroid with 500 turns and mean radius 4 cm carries 0.5 A. Find H and B at the mean radius for (a) an air core and (b) a powdered-iron core with μ_r = 100.

H = NI/(2πr); B = μ₀μ_r H
H=500×0.52π×0.04=994.7 A/m Bair=1.25 mT Bcore=125 mT
Answer: H = 995 A/m; B = 1.25 mT (air) or 125 mT (μ_r = 100)

The 125 mT result is comfortably below the 0.5–1 T saturation level of typical powdered-iron materials. A high-permeability ferrite (μ_r ≈ 2000) with the same ampere-turns would try to reach 2.5 T and saturate, so ferrite-cored chokes are designed with fewer ampere-turns or with an air gap.

05

Coaxial Cable Inductance and Characteristic Impedance

Problem: Return to the RG-58-type cable of Part 2 (a = 0.45 mm, b = 1.47 mm, polyethylene ε_r = 2.25, C′ = 105.7 pF/m). It carries 1 A. Find (a) H at r = 1 mm, (b) H outside the cable, (c) the inductance per metre, (d) the characteristic impedance and (e) the propagation velocity.

(a), (b): circular Amperian loops
H(1 mm)=12π×0.001=159.2 A/m Houtside=1−12πr=0
(c) L′ = (μ₀/2π) ln(b/a), with ln(b/a) = 1.1837
L′=2×10−7×1.1837=236.7 nH/m
(d) Z₀ = √(L′/C′); (e) v = 1/√(L′C′)
Z0=236.7×10−9105.7×10−12=47.3 Ω v=1236.7×10−9×105.7×10−12=2.00×108 m/s
Answer: (a) 159 A/m  |  (b) 0  |  (c) 236.7 nH/m  |  (d) Z₀ ≈ 47 Ω  |  (e) 2.0 × 10⁸ m/s = 0.667c

Check: Z₀ = (60/√2.25) × 1.1837 = 47.3 Ω, and v = c/√ε_r = c/1.5. Commercial RG-58 is specified at 50 Ω; the small difference comes from the stranded inner conductor and dielectric tolerances. Two laws — Gauss and Ampère — applied to the cable's cross-section give its impedance and velocity factor from first principles.

Summary

ConceptExpressionKey point
Ampère's law (integral)∮ 𝐇·d𝐥 = I_enc = ∫ 𝐉·d𝐀Circulation of 𝐇 = enclosed current
Ampère's law (differential)∇ × 𝐇 = 𝐉Currents are the "vortices" of 𝐇
Straight wireH = I/(2πr)Right-hand rule for direction
SolenoidH = nI; L ≈ μN²A/ℓUniform field inside
ToroidH = NI/(2πr)Field confined to the core
Coaxial lineL′ = (μ/2π) ln(b/a); Z₀ = √(L′/C′)No external field when balanced
Limitation∇·(∇ × 𝐇) = 0 ⇒ ∇·𝐉 = 0Fails for time-varying currents
  • Currents produce magnetic fields that circulate around them; Ampère's law relates the circulation of 𝐇 around any loop to the current through it.
  • With a symmetric Amperian loop, the fields of wires, solenoids, toroids and coaxial lines follow in one line.
  • Combined with Gauss's law, Ampère's law gives the inductance, capacitance and characteristic impedance of transmission lines.
  • The original law contradicts conservation of charge when currents vary in time — a gap that Maxwell's displacement current fills.

Put It Into Practice

Use the NEXT ANTENNAS calculators to apply the ideas from this article to real designs.