Concept understanding — Magnetic Field of a Straight Wire
Magnetic Field of a Straight Wire
A long, straight wire carrying a steady current I sets up a magnetic field that circles around it. If the current flows upward, the field lines form concentric circles in planes perpendicular to the wire — stronger close to the wire, weaker farther away. This circular pattern comes from adding up the field contributions of every moving charge in the wire, and it is the simplest current-generated field — the starting point for solenoids, toroids, and electromagnets later in the chapter.
Direction: the right-hand rule
Grip the wire with your right hand, thumb pointing along the current. Your curled fingers show the direction the field circles — clockwise when viewed along the current's direction, counter-clockwise viewed against it.
The formula
For a long straight wire, the field magnitude at a perpendicular distance r from the wire is:
B=2πrμ0I
where μ0=4π×10−7T⋅m/A is the permeability of free space. This follows from Ampere's circuital law applied to a circular Amperian loop of radius r centred on the wire, over which B is constant by symmetry:
∮B⋅dl=B(2πr)=μ0Ienclosed
Why it behaves this way
Proportional to I: more current means more moving charge, so a proportionally stronger field.
Falls off as 1/r, not 1/r2: the same total field "spreads" around a circle of circumference 2πr, so it thins out as r grows — double the distance, half the field. An infinite line source falls off more slowly than a point charge's 1/r2 electric field.
Watch out
This formula assumes an infinitely long wire (or a point close enough that the ends are effectively far away). Near the actual ends of a finite wire, the field is weaker and must be found from the Biot–Savart law directly.
By Ampere's circuital law, the field of an infinite straight current-carrying wire is B=μ0I/(2πR), which is inversely proportional to the distance R.
Working
Applying Ampere's circuital law to a circular Amperian loop of radius R centred on a long straight wire carrying current I (by symmetry, B is uniform in magnitude around the loop and tangential to it): …