Ampère's Law
A magnetic field circulates around an electric current.
Formula
Variables
Example
The magnetic field around a wire circles it and grows with the current it carries.
How it works
Ampère's law says that if you add up the component of the magnetic field tangent to any closed loop, that total circulation is proportional to the current passing through the loop. Physically, this expresses the fact that electric current is a source of curling magnetic fields, which is why fields wrap around wires and coils instead of pointing straight out like electric fields do. In highly symmetric situations, it lets you turn a difficult field calculation into a simple current-counting problem.
When to use it
Use this law when the current distribution has enough symmetry to make the magnetic field easy to relate to a closed path, such as around a long straight wire, inside a solenoid, or around a toroid. It is especially useful in electromagnetism problems where you need the magnitude of vec{B} from a known current.
Worked example, step by step
A long straight wire carries a current of 8.0 A. Find the magnetic field at a distance of 4.0 cm from the wire.
For a circular Amperian loop of radius r around the wire, the field is constant and tangent to the loop, so B dl = B(2\u03c0r).