Advanced Physics‹›⌂ 0:00 studied

Module 10 · 6 min read · Free chapter

Magnetostatics: Biot-Savart law, Ampère's law, magnetic shell and uniformly magnetised sphere

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: currents make magnets

In 1820 Hans Christian Ørsted noticed a compass needle twitch whenever he switched on a current nearby. Electricity and magnetism, long thought separate, were linked. Within weeks, Jean-Baptiste Biot, Félix Savart and André-Marie Ampère had found the laws for the magnetic field of a current.

Every magnetic field in this chapter comes from moving charge, either in wires or in the spinning, orbiting electrons of atoms. Steady currents give fields that do not change with time; this is magnetostatics.

Two tools do the work. The Biot-Savart law adds up contributions from each bit of current, like Coulomb's law for charges. Ampère's law, like Gauss's law, finds fields quickly when there is symmetry.

The Biot-Savart law

The law. A short element dl⃗d\vec l of a wire carrying current I produces, at a point at displacement r⃗\vec r from it,

dB⃗=μ04πI dl⃗×r^r2d\vec B = \frac{\mu_0}{4\pi}\frac{I\,d\vec l\times\hat r}{r^2}

with μ0=4π×10−7\mu_0 = 4\pi\times10^{-7} T m per A. The field is perpendicular to both the current and r⃗\vec r, so it circles the wire. The right-hand rule gives its sense: thumb along the current, fingers curl along B⃗\vec B.

Long straight wire. Integrating along an infinite wire, with perpendicular distance r,

B=μ0I2πrB = \frac{\mu_0I}{2\pi r}

A wire of finite length gives μ0I4πr(sin⁡α2−sin⁡α1)\dfrac{\mu_0I}{4\pi r}(\sin\alpha_2 - \sin\alpha_1), where the angles are measured from the perpendicular to the two ends.

Worked example 1. A household wire carries 10 A. At 1 cm, B=4π×10−7×102π×0.01B = \dfrac{4\pi\times10^{-7}\times10}{2\pi\times0.01} = 2 × 10⁻⁴ T, about four times the Earth's field. A compass near such a wire is noticeably disturbed.

Force between wires. Two parallel wires with currents I1I_1, I2I_2 a distance d apart attract (same direction) or repel (opposite) with force per unit length μ0I1I22πd\dfrac{\mu_0I_1I_2}{2\pi d}. This force once defined the ampere.

Circular loop, solenoid and magnetic dipole

Loop on its axis. For a loop of radius R carrying current I, at distance z along the axis, the components perpendicular to the axis cancel by symmetry. The axial parts add to

B=μ0IR22(R2+z2)32B = \frac{\mu_0IR^2}{2(R^2 + z^2)^{\frac{3}{2}}}

At the centre, B=μ0I2RB = \dfrac{\mu_0I}{2R}. Two coaxial loops a distance R apart (Helmholtz coils) give a very uniform field between them.

Magnetic dipole. Far away (z ≫ R) the axial field becomes μ04π⋅2mz3\dfrac{\mu_0}{4\pi}\cdot\dfrac{2m}{z^3}, with magnetic moment m=IπR2m = I\pi R^2. In general m⃗=IA⃗\vec m = I\vec A for any flat loop. The far field has the same shape as an electric dipole's, with 14πε0\dfrac{1}{4\pi\varepsilon_0} replaced by μ04π\dfrac{\mu_0}{4\pi} and p by m.

Magnetic shell. Ampère showed that a current loop is equivalent to a thin magnetic shell: a sheet bounded by the loop, with magnetic dipoles of moment per unit area I spread over it. The magnetic scalar potential at a point is μ0IΩ4π\dfrac{\mu_0I\Omega}{4\pi}, where Ω is the solid angle the loop subtends there.

Torque. In a uniform field B, a loop feels torque τ⃗=m⃗×B⃗\vec\tau = \vec m\times\vec B and has energy −m⃗⋅B⃗-\vec m\cdot\vec B. This turns compass needles, electric motors and moving-coil meters.

Solenoid. A long coil with n turns per metre has, deep inside, a uniform field

B=μ0nIB = \mu_0nI

and almost no field outside.

Ampère's law, divergence and vector potential

Ampère's circuital law. For any closed loop C,

∮CB⃗⋅dl⃗=μ0Ienc\oint_C\vec B\cdot d\vec l = \mu_0I_{enc}

where IencI_{enc} is the current through any surface bounded by C. For a straight wire, a circle of radius r gives B⋅2πr=μ0IB\cdot2\pi r = \mu_0I at once. For a solenoid, a rectangular loop with one side inside gives BL=μ0nLIBL = \mu_0nLI. For a toroid with N turns, B=μ0NI2πrB = \dfrac{\mu_0NI}{2\pi r} inside.

Differential form. By Stokes' theorem,

∇×B⃗=μ0J⃗\nabla\times\vec B = \mu_0\vec J

No monopoles. Field lines of B⃗\vec B always close on themselves; there are no magnetic charges:

∇⋅B⃗=0\nabla\cdot\vec B = 0

Vector potential. Since the divergence is zero, we can write B⃗=∇×A⃗\vec B = \nabla\times\vec A. In the Coulomb gauge ∇⋅A⃗=0\nabla\cdot\vec A = 0, Ampère's law becomes ∇2A⃗=−μ0J⃗\nabla^2\vec A = -\mu_0\vec J, three Poisson equations, with solution

A⃗=μ04π∫J⃗r dV\vec A = \frac{\mu_0}{4\pi}\int\frac{\vec J}{r}\,dV

Worked example 2. A long cylindrical wire of radius a carries current I spread uniformly. Inside (r < a), the enclosed current is Ir2a2\dfrac{Ir^2}{a^2}, so B=μ0Ir2πa2B = \dfrac{\mu_0Ir}{2\pi a^2}, rising linearly. Outside, B=μ0I2πrB = \dfrac{\mu_0I}{2\pi r}.

Uniformly magnetised sphere

Magnetisation. A magnetic material carries atomic dipoles. Their moment per unit volume is the magnetisation M⃗\vec M. It is equivalent to bound currents: J⃗b=∇×M⃗\vec J_b = \nabla\times\vec M inside and K⃗b=M⃗×n^\vec K_b = \vec M\times\hat n on the surface.

The sphere. For a sphere of radius R with uniform M⃗\vec M along z, J⃗b=0\vec J_b = 0, and the surface current is Kb=Msin⁡θK_b = M\sin\theta, circling the axis. This is the same surface current as a spinning charged shell.

Fields. Solving gives a uniform field inside,

B⃗in=23μ0M⃗\vec B_{in} = \frac{2}{3}\mu_0\vec M

and outside, the field of a pure dipole of moment m⃗=43πR3M⃗\vec m = \dfrac{4}{3}\pi R^3\vec M at the centre. The auxiliary field is H⃗in=−13M⃗\vec H_{in} = -\dfrac{1}{3}\vec M, opposite to M⃗\vec M: the demagnetising field.

Earth as a magnet. To a first approximation, the Earth's field outside looks like that of a uniformly magnetised sphere, tilted about 10° from the rotation axis. It actually comes from currents in the liquid iron outer core, a self-sustaining dynamo, and reverses every few hundred thousand years.

Mains lens: how UPSC asks this

Biot-Savart applications and Ampère's law are routine. The magnetic shell and the uniformly magnetised sphere are named in the syllabus and asked as derivations.

Expect:

  • Biot-Savart (10 marks): field on the axis of a loop; finite wire; Helmholtz coils.
  • Ampère's law (10 marks): solenoid, toroid, thick wire; differential form; ∇·B = 0.
  • Shell and sphere (15 marks): equivalence of loop and shell; fields of a magnetised sphere.

Model answer plan: "Using the Biot-Savart law, find the magnetic field on the axis of a circular current loop. Show that at large distances the loop behaves as a magnetic dipole" (15 marks).

  1. Diagram; dB⃗d\vec B from element dl⃗d\vec l; distance R2+z2\sqrt{R^2 + z^2}.
  2. Perpendicular components cancel; axial component dB⋅RR2+z2dB\cdot\dfrac{R}{\sqrt{R^2 + z^2}}.
  3. Integrate: B=μ0IR22(R2+z2)32B = \dfrac{\mu_0IR^2}{2(R^2 + z^2)^{\frac{3}{2}}}; centre value μ0I2R\dfrac{\mu_0I}{2R}.
  4. For z ≫ R: B≈μ04π⋅2mz3B \approx \dfrac{\mu_0}{4\pi}\cdot\dfrac{2m}{z^3} with m = IπR².
  5. Compare with electric dipole; sketch field lines; torque m⃗×B⃗\vec m\times\vec B.

Quick revision

  • Biot-Savart: dB⃗=μ04πI dl⃗×r^r2d\vec B = \dfrac{\mu_0}{4\pi}\dfrac{I\,d\vec l\times\hat r}{r^2}.
  • Wire μ0I2πr\dfrac{\mu_0I}{2\pi r}; loop centre μ0I2R\dfrac{\mu_0I}{2R}; solenoid μ0nI\mu_0nI; toroid μ0NI2πr\dfrac{\mu_0NI}{2\pi r}.
  • Ampère: ∮B⃗⋅dl⃗=μ0Ienc\oint\vec B\cdot d\vec l = \mu_0I_{enc}; ∇×B⃗=μ0J⃗\nabla\times\vec B = \mu_0\vec J; ∇⋅B⃗=0\nabla\cdot\vec B = 0.
  • Dipole m⃗=IA⃗\vec m = I\vec A; torque m⃗×B⃗\vec m\times\vec B; loop ≡ magnetic shell.
  • Vector potential A⃗=μ04π∫J⃗r dV\vec A = \dfrac{\mu_0}{4\pi}\int\dfrac{\vec J}{r}\,dV.
  • Magnetised sphere: inside 23μ0M⃗\dfrac{2}{3}\mu_0\vec M; outside pure dipole.

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Using the Biot-Savart law, find the magnetic field on the axis of a circular loop carrying current I. Show that at large distances it behaves as a magnetic dipole.

    Show answer points
    • dB = (μ₀/4π) I dl × r̂/r², distance √(R² + z²)
    • Perpendicular components cancel by symmetry
    • Axial sum: B = μ₀IR²/[2(R² + z²)^(3/2)]; centre μ₀I/2R
    • For z ≫ R: B ≈ (μ₀/4π)(2m/z³), m = IπR²
    • Same form as electric dipole axial field; torque m × B
  2. A long straight wire carries 10 A. Find the magnetic field 1 cm from it and compare it with the Earth's field.

    Show answer points
    • Biot-Savart or Ampère gives B = μ₀I/(2πr)
    • B = 4π × 10⁻⁷ × 10/(2π × 0.01)
    • B = 2 × 10⁻⁴ T
    • Earth's field ≈ 5 × 10⁻⁵ T
    • Wire's field about four times larger; disturbs a compass
  3. State Ampère's circuital law and express it in differential form. Use it to find the field inside and outside a long cylindrical wire of radius a carrying uniform current I.

    Show answer points
    • ∮B·dl = μ₀I_enc
    • Stokes' theorem ⇒ ∇ × B = μ₀J; also ∇·B = 0
    • Inside: I_enc = Ir²/a² ⇒ B = μ₀Ir/(2πa²)
    • Outside: B = μ₀I/(2πr)
    • Maximum at surface; sketch linear rise then 1/r fall
  4. Show that a current loop is equivalent to a magnetic shell. Find the torque on a current loop in a uniform magnetic field.

    Show answer points
    • Loop ≡ shell of dipoles with moment I per unit area
    • Scalar potential ∝ IΩ/4π, Ω = solid angle subtended
    • Magnetic moment m = IA
    • Torque τ = m × B, energy −m·B
    • Basis of motors, galvanometers, compass alignment
  5. Find the magnetic field inside and outside a uniformly magnetised sphere. How does this model the Earth's magnetic field?

    Show answer points
    • Bound currents: J_b = ∇ × M = 0, K_b = M × n̂ = M sin θ
    • Same as a spinning uniformly charged shell
    • Inside: uniform B = (2/3)μ₀M; H = −M/3 (demagnetising)
    • Outside: pure dipole with m = (4/3)πR³M
    • Earth ≈ dipole tilted ≈ 10°; real source is the core dynamo; reversals

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

More in this module: Electricity and magnetism

Official sources

Facts in this chapter were checked against these official sources.

  1. IGNOU BPHCT-133 Magnetic field and Ampère's law units
  2. OpenStax University Physics Volume 2, Chapter 12: Sources of magnetic fields
  3. MIT OpenCourseWare 8.02 Electricity and Magnetism, course notes