Sub topic 8
Field inside and outside a thick cylindrical conductor
This chapter assumes you know Ampère's circuital law, the field of a long straight wire, and the idea of current density. A long straight wire of negligible thickness gives B = μ0 I / (2π r). A real wire has a radius, so you must ask how the field behaves inside the material as well as outside.
Setting up the problem
Take a long straight cylinder of radius R carrying a total current I along its axis. Assume the current is spread uniformly over the cross-section. The current density is then
J = I / (π R²)
By symmetry, the field lines are circles around the axis, and B has the same magnitude at every point of a circle of radius r. Choose that circle as the Amperian loop.
Outside the conductor (r ≥ R)
The loop encloses all the current, so Ampère's law gives
∮ B · dl = B (2π r) = μ0 I
B = μ0 I / (2π r)
Outside, the cylinder acts like a thin wire along its axis. The field falls as 1/r.
Inside the conductor (r < R)
The loop encloses only the current that flows through the disc of radius r:
I_enc = J (π r²) = I r² / R²
Then B (2π r) = μ0 I r² / R², so
B = μ0 I r / (2π R²)
Inside, the field grows linearly with r. It is zero on the axis.
Summary of the profile
| Region | Enclosed current | Field |
|---|---|---|
| r < R | I r² / R² | μ0 I r / (2π R²) |
| r = R | I | μ0 I / (2π R) (maximum) |
| r > R | I | μ0 I / (2π r) |
Both formulas give the same value at r = R, so the field is continuous at the surface. The maximum field is at the surface.
Checking the formulas numerically
The function below returns B at any distance r and confirms continuity at the surface.
import math
MU0 = 4e-7 * math.pi
def cylinder_field(I, R, r):
if r < R:
return MU0 * I * r / (2 * math.pi * R**2)
return MU0 * I / (2 * math.pi * r)
I, R = 100.0, 0.01 # 100 A in a wire of radius 1 cm
for r in (0.0, 0.005, 0.01, 0.02, 0.04):
print(r, cylinder_field(I, R, r))At r = 0.005 m the field is 1×10⁻³ T. At r = 0.01 m it reaches 2×10⁻³ T. At r = 0.02 m it falls to 1×10⁻³ T.
Common errors
- Using μ0 I / (2π r) inside the conductor. That formula assumes all the current is enclosed, which is only true for r ≥ R.
- Writing the enclosed current as I r / R instead of I r² / R². The current scales with area, not radius.
- Forgetting that the result depends on uniform current density. If J varies with r, you must integrate I_enc = ∫ J(r) 2π r dr.
Exercise
A long cylindrical wire of radius 2 cm carries a uniform current of 40 A. Find the magnetic field at distances 1 cm and 4 cm from the axis. Take μ0 = 4π × 10⁻⁷ T m/A.
Show answer
At r = 1 cm (inside), B = μ0 I r / (2π R²) = (2×10⁻⁷)(40)(0.01) / (0.02)² = 2×10⁻⁴ T. At r = 4 cm (outside), B = μ0 I / (2π r) = (2×10⁻⁷)(40) / 0.04 = 2×10⁻⁴ T. Both fields equal 2×10⁻⁴ T.
Exercise
At what two distances from the axis of a cylindrical conductor of radius R is the field equal to half its surface value?
Show answer
Inside, B ∝ r, so B is half the surface value at r = R/2. Outside, B ∝ 1/r, so B is half the surface value at r = 2R.