Explanation
Welcome to The Magnet Works
In 1820, Oersted saw a compass needle twitch near a current-carrying wire. Electricity makes magnetism.
In the Magnet Works, you'll find the field of wires, loops and solenoids, and see how magnetic forces bend moving charges into circles.
DB = (μ₀/4π) I dl sin θ / r²
The Biot–Savart law: each tiny piece of current makes a tiny field, falling with distance squared, like Coulomb's law. Add up all the pieces for the total field.
dB = (μ₀/4π) I dl sin θ / r²
Right-hand thumb rule
Grip the wire with your right hand, thumb along the current. Your curled fingers show the direction of the circular field lines.
Right-hand thumb rule: thumb = current, curled fingers = field
Long straight wire
For a long straight wire, B equals mu nought I over two pi r. It falls as one over r, not one over r squared.
Long straight wire: B = μ₀I / 2πr
Centre of a loop
At the centre of a circular loop, B is mu nought I over two R, times the number of turns. A semicircle gives half of that.
Centre of a loop: B = μ₀NI / 2R · arc of angle θ: B = μ₀Iθ / 4πR
Ampère's law
Ampère's law is magnetism's Gauss's law. It gives the field inside a long solenoid in one line: mu nought n I, where n is turns per metre.
Uniform inside, nearly zero outside.
Ampère's law: ∮B·dl = μ₀I(enclosed) · solenoid B = μ₀nI
Worked example
Solenoid with 1000 turns per metre and 1 A: B = 4π × 10⁻⁷ × 1000 × 1 = 4π × 10⁻⁴ ≈ 1. 26 × 10⁻³ T.