Chapter 12 - Sources of Magnetic Fields

Chapter 12.1 - The Bio-Savart Law

At point $P$, the magnetic field $\vec{dB}$ due to a small segment $d\vec{l}$ of a current carrying wire $I$ is:

$$ \vec{B} = \frac{\mu_0}{4\pi} \int_{wire} \frac{I d\vec{l} \times \hat{r}}{r^2} $$

If you're only concerned with the magnitude: $$ B = \frac{\mu_0}{4\pi} \int_{wire} \frac{I dl \sin(\theta)}{r^2} $$


The magnetic field at the center of a circular arc of wire, radius $R$ and angle $\theta$ is:

$$ B = \frac{\mu_0 I \theta}{4\pi r} $$


Chapter 12.2 - Magnetic Field of a Straight Wire


The magnetic field $B$ at a distance $R$ away from a thin straight wire carrying current $I$:

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


Chapter 12.3 - Magnetic Force between Parallel Currents


The magnetic field $\vec{B}_1$ created by the first wire, experienced by the other wire, separated by distance $r$:

$$ \vec{B}_1 = \frac{\mu_0 I_1}{2\pi r} $$


The force per unit length between two conducting wires separated by distance $r$:

$$ \frac{F}{l} = \frac{\mu_0 I_1 I_2}{2\pi r} $$

$$ \vec{F}_1 = -\vec{F}_2 $$


Chapter 12.4 - Magnetic Field of a Current Loop


Helmholtz Coils

A flat, circular coil with N turns of wire, radius $R$ and $N$ turns, is known as a "Helmholtz Coil"


The magnetic field at the center of a flat, circular coil:

$$ \vec{B} = \frac{\mu_0 N I}{2 R} \hat{n} $$


Magnetic field at an axial displacement $x$ from the center of a flat, circular coil:

$$ B = \frac{\mu_0 N I R^2}{2 (R^2 + x^2)^{3/2}} $$


Magnetic field at an axial displacement $z$ from the center of a flat, square coil of side-length $a$:

$$ B = \frac{\mu_0 N I a^2}{2 \pi \sqrt{z^2 + \frac{a^2}{2}}(z^2 + \frac{a^2}{4})} $$


Chapter 12.5 - Ampère's Law


Over an arbitrary closed path, the line integral of the magnetic field $\vec{B}$ is:

$$ \oint \vec{B} \cdot d\vec{l} = \mu_0 I_{\text{enc}} $$


The magnetic field due to a thick conductive wire:

$$ B = \frac{\mu_0 I}{2\pi R^2}r \ \ (r \le R) $$

Note that for situations where the wire is hollow, or contains another wire within it, this formula will not work. You will need to determine the right formula using:

$$ I_{enc} = J * A $$

Once you have these values, you can use the following revised formula:

$$ B = \frac{\mu_0 I_{enc}}{2\pi r} \ \ (r \le R) $$

Chapter 12.6 - Solenoids and Toroids


The magnetic field along the central axis of an infinite solenoid:

$$ B = \mu_{0} \frac{N}{l} I = \mu_{0} n I $$


The magnetic field of a toroid, in particular, inside the torus, at a distance $r$ from the center of the ring of empty space that is being enclosed by the torus:

$$ B = \frac{u_{0} N I}{2\pi r} $$


Chapter 12.7 - Gauss's Law of Magnetism

The net magnetic flux through any closed surface is zero:

$$ \oint \vec{B} \cdot d\vec{A} = 0 $$