Physics in Motion

# Sources of Magnetic Fields

Electricity and magnetism have a fundamental relationship with each other: magnetic fields are created by moving electric charge (such as electricity flowing through a conductive wire). Magnetic fields are also created by electrons or protons, or by some magnetic atoms such as iron.

The magnetic field a distance $$R$$ from a long straight wire carrying a current $$I$$ is given by the following:

$$B = \frac{\mu_0 I}{2 \pi R}$$

To determine the direction of the magnetic field lines, point your right thumb along the direction of the current and curl your fingers. Your fingers will point in the direction of the magnetic field lines.