02 · Intermediate → advanced

Biot–Savart law

Compute magnetostatic B from a prescribed steady current: derive and interpret the filament and current-density integrals, identify source/observation coordinates and right-hand orientation, and integrate the finite and infinite straight wire and the on-axis circular loop. Distinguish the source law from the Lorentz force, specify steady divergence-free currents and the thin-filament idealization, and check signs, dimensions, limits and singular endpoints.

250–310 minIntermediate → advanced
In this lesson
  • State the magnetostatic steady-source assumptions and the Biot–Savart vector integral with a consistent source-to-observation displacement.
  • Explain why dℓ belongs to the conventional current direction and why the direction of dB follows a cross product rather than a scalar 1/R² rule.
  • Derive the volume-current version from J d³r′ and distinguish thin wire, volume and surface current elements.
  • Integrate an infinite straight wire directly and show the 1/s falloff without invoking Ampère's law.
  • Derive the finite straight-wire result at a perpendicular distance s in terms of endpoint axial coordinates and controlled angular limits.
  • Derive the on-axis field of a circular current loop and show the correct center and far-axis limits.
  • Compute superposed fields with signs for wire pairs and circular-loop orientations.
  • State and check the dimensions of μ₀ I dℓ×R/R³ and of the final B in tesla.
  • Clarify why an ideal zero-radius wire field diverges at its axis and why wire endpoints require a physically closed steady circuit.
  • Solve numerical exercises for wire, segment, loop and vector orientation with independent limiting-case checks.
The inverse source problem

Lorentz's force law describes what an already known magnetic field does. Biot–Savart supplies that field from prescribed, time-independent currents. This chapter keeps source coordinates primed, observation coordinates fixed, and cross-product directions explicit; physical current paths close even when a straight segment is integrated separately as a mathematical contribution.

Biot–Savart: source element, observation point and cross productA steady current element dℓ prime along positive z, out of page, is drawn at a source coordinate r prime. The observation point P lies to its right so its source-to-observation vector R points along positive x. The vector product dℓ prime cross R points upward, along positive y, giving the direction of dB at P.dℓ′ : +z ⊙P(r)R : +x →r′
dB : +y ↑
R = r − r′
dB ∝ dℓ′×R̂
Biot–Savart: source element, observation point and cross product

The RIGHTWARD R vector runs from source r′ to observation r, never the reverse. For dℓ′∥+z and R∥+x, dB∝dℓ′×R̂∥+y. Biot–Savart is applied to steady current paths with appropriate return/current continuity; the single marked element is part of a complete source distribution, not an isolated current terminating in space.

02.1Stationary sources and the vector Biot–Savart law

Assume a magnetostatic current distribution: charge density and current do not vary with time, and current conservation gives ∇·J=0. For a thin filament carrying conventional current I in direction dℓ′, define R=r−r′ from SOURCE position r′ to OBSERVATION point r. The vacuum magnetic field is

R=r−r′;   R=|R|
B(r)=μ₀I/(4π)∫wiredℓ′×R/R³
[μ₀]=N/A²=H/m;   μ₀≈4π×10−7 H/m

The familiar decimal for μ₀ is approximate under the modern SI. A current element parallel to R contributes zero at that observation point. The cross product decides both direction and sign: do not replace it with an unsigned scalar 1/R² expression. This field-source relation and the Lorentz force law solve different physical questions.

02.2Current density and surface current: do not mix source measures

A physical conductor has a finite cross-section. In the volume-current formulation the current element is J(r′)d³r′, not I dℓ′; in a thin sheet use surface-current density K(r′)dS′. The stationary vacuum field for localized sources is

B(r)=μ₀/(4π)∫volumeJ(r′)×(r−r′)/|r−r′|³ d³r′
B(r)=μ₀/(4π)∫sheetK(r′)×(r−r′)/|r−r′|³ dS′
[J]=A/m²;   [K]=A/m

The thin-wire form follows by integrating J over its narrow cross-section and assuming the observation distance exceeds that cross-section scale. Infinite uniform wires are idealizations and need a separate convergence/return-path discussion.

02.3Direction of the field of a straight z-oriented current

Put a wire along +z through x=y=0 and observe at r=(s,0,0), s>0. The source element is dℓ′=dz′ ẑ at r′=(0,0,z′), hence R=s x̂−z′ ẑ. The vector numerator simplifies before any integration:

dℓ′×R=dz′ ẑ×(s x̂−z′ ẑ)
=s dz′ ŷ
dB=μ₀ I s/(4π) dz′/(s²+z′²)3/2 ŷ

For +I all source elements contribute +ŷ at the chosen observation point. On the opposite side x<0 the field reverses. The direction follows the right-hand geometry; reversing conventional current also reverses B.

02.4Integrate the finite straight segment and take limits

Restrict that mathematical wire contribution to axial coordinates z′ from a to b, with a<b and s>0. The antiderivative is elementary:

By=μ₀Is/(4π)∫abdz′/(s²+z′²)3/2
∫dz′/(s²+z′²)3/2=z′/[s²√(s²+z′²)]
By=μ₀I/(4πs)[b/√(s²+b²)−a/√(s²+a²)]

The bracket is positive for b>a. Writing sinθ=z′/√(s²+z′²) with θ measured from the perpendicular to the wire gives the equivalent endpoint-angle formula. A finite isolated open segment cannot sustain a steady current indefinitely: a physical loop requires return conductors, whose fields must be added. This formula is the segment's contribution, not a complete standalone stationary circuit.

02.5Infinite straight filament: an independent 1/s derivation

Let a→−∞ and b→+∞ in the exact segment formula. The two endpoint ratios tend to −1 and +1 respectively. Their difference is 2, so

B(s)=μ₀I/(2πs) φ̂
s>0;   I>0 along +z ⇒ B(s,0,0)=+μ₀I/(2πs) ŷ

This 1/s law follows here from DIRECT Biot–Savart integration, not from Ampère's law. It is singular at the axis of an ideal zero-radius filament. In an actual finite-radius wire the internal field depends on how current is distributed over its cross-section, and a long wire is only approximately infinite away from ends and return paths.

02.6Circular loop: on-axis field by vector cancellation

Take a circular filament of radius a in the xy plane, carrying I counterclockwise as seen from +z. Its center is the origin; observe at (0,0,z). Parametrize the source by r′=a(cosφ,sinφ,0) and dℓ′=a(−sinφ,cosφ,0)dφ. Every source point has distance √(a²+z²) to the observer. Upon integrating over φ, transverse components cancel pairwise and axial components add:

R=(−a cosφ,−a sinφ,z)
[dℓ′×R]z=a²dφ
Bz(z)=μ₀I/(4π)∫02πa²dφ/(a²+z²)3/2
Bz(z)=μ₀Ia²/[2(a²+z²)3/2]

At the center Bz(0)=μ₀I/(2a). On the positive far axis z≫a, Bz≈μ₀Ia²/(2z³), with magnetic dipole moment magnitude m=Iπa². Current reversal changes the sign; the formula is ONLY for points on the symmetry axis, not an off-axis field.

02.7Unit, symmetry, and nonrelativistic-source checks

For the filament integrand, μ₀I dℓ′/R² has units (N/A²)·A·m/m²=N/(A·m)=T. For a fixed +z wire and observer at +x, a +ŷ field has the expected direction; changing just I reverses B, but changing observation from +x to −x also reverses it. A zero-radius wire model is inappropriate at s=0.

[μ₀I dℓ′/R²]=T
lims→∞Bwire=0;   lim|z|→∞Bloop,z=0

The magnetostatic approximation is a source/time assumption. A rapidly varying current distribution cannot be treated as if every remote source element communicated its instantaneous change without retardation.

02.8Worked field estimates and source orientation

For a long straight wire I=2.00 A and s=0.0200 m,

B≈(4π×10−7)(2.00)/(2π×0.0200)=2.00×10−5 T=20.0 μT

For a circular loop a=0.0500 m and I=0.500 A, Bcenter≈6.28 μT. At z=a, the axial field is Bcenter/(2√2)≈2.22 μT, directed +z for counterclockwise current viewed from +z. These values assume thin wires and an observation away from their finite cross-section.

02.9Source integration checklist

  1. Declare time-independent current, geometry and conventional direction BEFORE writing dℓ′ or J.
  2. Keep r fixed and parametrize r′: calculate R=r−r′, never r′−r by habit.
  3. Compute the cross product as a vector; use symmetry to cancel components only when the entire source has that symmetry.
  4. Integrate the correct source measure dℓ′, dS′ or d³r′ and declare singular points or endpoints.
  5. Check dimensions, current reversal, reflection geometry and limiting cases.
  6. Remember a finite steady current segment is part of a return circuit; add the other segments if computing the complete physical B.

02.10Mastery exercises with worked solutions

  1. For I=2.00 A along +z and an observer at (s,0,0), s=0.0200 m, compute magnitude and orientation of the infinite-wire B. Repeat after reversing I.
  2. For a finite straight segment from z′=−0.100 m to +0.100 m at s=0.0200 m, I=2.00 A, compute the segment contribution and its ratio to the infinite-wire result.
  3. For the same finite segment move the observer to x=−s. Which components change and why?
  4. For a counterclockwise circular loop of a=0.0500 m and I=0.500 A, find B at the center and at z=a; state the direction and the loop's far-axis power law.
  5. Why is it inconsistent to assume a permanently stationary current that terminates at an isolated open wire endpoint? Which equation expresses the needed condition?
  6. Explain why an off-axis circular-loop field cannot be obtained by replacing z with an arbitrary distance in the axial formula.
Solutions: numerical values, orientations and limits

1. B=μ₀I/(2πs)≈20.0 μT along +ŷ. Reversing current gives −20.0 μT ŷ.

2. In the finite formula b=+0.100 m, a=−0.100 m. The bracket is 2(0.100)/√(0.0200²+0.100²)≈1.96116, so B≈19.6 μT +ŷ. Ratio to infinite wire ≈0.98058.

3. Reflecting x reverses the azimuthal field: at x=−s the contribution is −ŷ with the same magnitude for this symmetric segment.

4. Bcenter=μ₀I/(2a)≈6.28 μT +ẑ; B(z=a)=Bcenter/(2√2)≈2.22 μT +ẑ. On the far axis it decays as 1/|z|³.

5. Charge continuity ∂ρ/∂t+∇·J=0. At steady state ∇·J=0: an unbalanced terminating current would accumulate charge unless a return/source path is included.

6. Only on axis do the transverse source contributions cancel by rotational symmetry with constant source-to-observer distance. Off-axis distances vary around the loop, and an additional radial field component can occur.

Next, Ampère's law will turn the field circulation into a source relation and make explicit which symmetries allow the local B to be extracted from the circulation integral.