Magnetic Field from a Long Straight Wire

For a straight wire we just derived that the magnetic field is:

B = ( mo I / 4pa ) [cos(q1) - cos(q2]

This simplifies nicely in the limit of an infinitely long wire, where q1 = 0 and q2 = 180:

B = ( mo I / 2pr )

where r represents the distance from the wire to the point where the field is being determined.

For an infinitely long straight wire, the magnetic field lines are circles centered on the wire. The direction is given by a right-hand rule:

With your right hand, point your thumb in the direction of the current. When you curl your fingers they curl in the direction of the magnetic field.