Materials respond to magnetic fields: in paramagnets and ferromagnets atomic moments line up with the field, while every material is slightly diamagnetic, acting like a magnet pointing against the field. A diamagnet therefore seeks weaker field and can be levitated, like a frog in a 16 T magnet or a magnet over a superconductor. Ampère's law, the third Maxwell equation, says that the line integral of B around any closed loop is μ₀ times the current through it. Like Gauss's law it is always true but useful only with symmetry: outside a thick wire B = μ₀I/2πr, inside it grows as r; an ideal solenoid has a uniform field μ₀nI inside and none outside; a current sheet gives a uniform field on each side.
Every material is also slightly diamagnetic; in materials without unpaired electrons this effect dominates, and the material behaves like a magnet pointing against the field.
A diamagnet therefore seeks lowerfield. Make a very strong field that weakens upwards, and the upward push on a diamagnet can balance gravity: a living frog floats stably in a 16 T magnet, and so do strawberries, water droplets and crickets (slides 6, 11–12). A superconductor is a perfect diamagnet, a "magnetic mirror": a magnet above it is repelled by its mirror image and floats stably, whatever its angle (slides 13–15). Experiment 8 uses the force between current-carrying coils to measure μ0 (slide 18).
Start with a long straight wire, whose field circles it with B=μ0I/2πr. Around a circle of radius r, B is parallel to ds and constant, so ∮B⋅ds=B(2πr)=μ0I, independent of r (course notes, Section 9.3, p. 14). The same holds for a loop crossing several field lines, and in fact for any closed loop around the wire, since only the angle swept matters: ∮2πrμ0Irdφ=μ0I (pp. 14–15). In general (p. 16; slide 24):
Ampère's law
∮CB⋅ds=μ0Ienc,Ienc=∫∫SJ⋅dA
In words
the loop integral of sub C vector capital B dot d vector s equals mu nought I enclosed, I enclosed equals the integral of the integral of _ capital S vector J dot d vector A
The recipe (slides 27, 35): find the direction of B by the right-hand rule and symmetry; choose an Amperian loop on which B is either constant and parallel to the loop, or perpendicular to it, or zero; compute ∮B⋅ds and Ienc; solve for B.
A long wire of radius R carries current I spread uniformly over its cross-section (course notes, Example 9.3, pp. 16–17; slides 29–33). Take circles of radius r around the axis. Outside, the circle encloses all the current; inside, only the fraction r2/R2:
Field of a thick wire
B=2πrμ0I(r≥R),B=2πR2μ0Ir(r<R)
In words
capital B equals mu nought I over the quantity 2 pi r, times (r is greater than or equal to capital R ), capital B equals mu nought I r over the quantity 2 pi capital R squared, times (r less than capital R )
The field is zero on the axis, grows linearly to the surface and then falls as 1/r (p. 17).
Loading graph…
Field of a wire of radius R with uniform current, in units of μ₀I/2πR, computed from Ampère's law: it grows linearly inside, peaks at the surface and falls as 1/r outside.
A solenoid is a long, tightly wound coil. Its field is nearly uniform inside and weak outside; an ideal, infinitely long solenoid has a uniformfield parallel to its axis inside and none outside (course notes, Section 9.4, pp. 19–20; slides 39–41). Take a rectangular loop of length ℓ with one side inside along the axis and one outside. Only the inside side contributes, Bℓ, and the loop encloses N=nℓ turns, each carrying I (pp. 20–21; slide 42):
Field of an ideal solenoid
B=μ0ℓNI=μ0nI
In words
capital B equals mu nought capital N I over ell equals mu nought n I
where n is the number of turns per unit length. A finite solenoid, built from the ring fields of its turns, has nearly this field over most of its length (Eq. 9.4.6, pp. 21–22); evaluating that formula at an end gives about half of it (the page's own check). A toroid, a solenoid bent into a ring, keeps its field entirely inside, where Ampère's law around a circle of radius r gives B=μ0NI/2πr, so the field is not uniform (Example 9.5, pp. 22–23). The slides also show pairs of coils, a Helmholtz coil and a closer pair, as steps from a single loop towards a solenoid (slides 37–38); with the two coils one radius apart the field between them is nearly uniform (the page's own addition).
A sheet of thickness b carrying current densityJ0 is like many parallel wires side by side. The field is parallel to the sheet, opposite on its two sides. A rectangular loop straddling the sheet gives (course notes, Example 9.4, pp. 17–19; slides 44–45):
the same at every distance, like the electric field of a charged plane. Inside the sheet, at a distance ∣z∣ from its middle plane, B=μ0J0∣z∣, zero in the middle (p. 19).
Worked example
A wire and a solenoid
(a) A copper wire of radius 1 mm carries 10 A. Find B at 0.5 mm from the axis, at the surface and 1 cm away. (b) A solenoid 20 cm long has 400 turns and carries 2 A. Find the field inside.
(a) The wire
μ0I/2π=2×10−6 T m. Inside at 0.5 mm: (2×10−6)(0.0005)/(0.001)2=10−3 T. At the surface: (2×10−6)/0.001=2×10−3 T. At 1 cm: (2×10−6)/0.01=2×10−4 T.
(b) The solenoid
n=400/0.2=2000 turns per metre, so B=μ0nI=(4π×10−7)(2000)(2)≈5.03×10−3 T, about a hundred times the Earth's field.
The four equations that together describe all electric and magnetic fields: how charges and currents create them and how each changing field creates the other. Explained in Displacement current, Maxwell's equations and light.
The turning effect of a force about a point or axis: the force times its distance from the axis, measured at right angles. Explained in Torque and balance.
Something that has a value at every point of space, such as the temperature, the wind velocity or the electric field at each place. Explained in Newton's law of gravitation.
Of a material such as iron, called a ferromagnet: strongly magnetized by a field, because neighbouring atomic magnets line up together in regions called domains. Explained in Magnetic fields and magnetic force.
The complete loss of electrical resistance that some materials, superconductors, show when cooled below a critical temperature. Explained in Current, resistance and Ohm's law.
The law that the flux out of any closed surface is set by what is inside: the charge for electric fields, the mass for gravity. Explained in Gauss's law.
The field made by magnets and moving charges, which pushes sideways on other moving charges and turns compass needles. Explained in Magnetic fields and magnetic force.
The rule that gives the magnetic field made by each small piece of a current-carrying wire; adding the pieces gives the whole field. Explained in Forces on currents and the Biot–Savart law.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
A long coil of wire wound like a spring; a current through it makes a strong, nearly uniform magnetic field inside. Explained in Magnetic fields from currents.
A way to find a direction with the right hand: curl the fingers from the first vector to the second; the thumb gives the result. Explained in Magnetic fields and magnetic force.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
The current flowing through each square metre of a cross-section, as an arrow pointing along the flow of charge. Explained in Current, resistance and DC circuits.
A fixed series of steps that, followed in order, always gives the answer.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).