#### Magnetic Field from a Long Straight Wire

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

**B** = ( m_{o} I / 4pa ) [cos(q_{1}) - cos(q_{2}]

This simplifies nicely in the limit of an infinitely long wire, where q_{1} = 0 and q_{2} = 180:

**B** = ( m_{o} 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.