### Summary

### 12.1 The Biot-Savart Law

- The magnetic field created by a current-carrying wire is found by the Biot-Savart law.
- The current element $Id\overrightarrow{l}$ produces a magnetic field a distance
*r*away.

### 12.2 Magnetic Field Due to a Thin Straight Wire

- The strength of the magnetic field created by current in a long straight wire is given by $B=\frac{{\mu}_{0}I}{2\pi R}$ (long straight wire) where
*I*is the current,*R*is the shortest distance to the wire, and the constant ${\mu}_{0}=4\pi \phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{\text{\u22127}}\phantom{\rule{0.2em}{0ex}}\text{T}\cdot \text{m/s}$ is the permeability of free space. - The direction of the magnetic field created by a long straight wire is given by right-hand rule 2 (RHR-2): Point the thumb of the right hand in the direction of current, and the fingers curl in the direction of the magnetic field loops created by it.

### 12.3 Magnetic Force between Two Parallel Currents

- The force between two parallel currents ${I}_{1}$ and ${I}_{2},$ separated by a distance
*r*, has a magnitude per unit length given by $\frac{F}{l}=\frac{{\mu}_{0}{I}_{1}{I}_{2}}{2\pi r}.$ - The force is attractive if the currents are in the same direction, repulsive if they are in opposite directions.

### 12.4 Magnetic Field of a Current Loop

- The magnetic field strength at the center of a circular loop is given by $B=\frac{{\mu}_{0}I}{2R}\phantom{\rule{0.2em}{0ex}}\text{(at center of loop)},$ where
*R*is the radius of the loop. RHR-2 gives the direction of the field about the loop.

### 12.5 Ampère’s Law

- The magnetic field created by current following any path is the sum (or integral) of the fields due to segments along the path (magnitude and direction as for a straight wire), resulting in a general relationship between current and field known as Ampère’s law.
- Ampère’s law can be used to determine the magnetic field from a thin wire or thick wire by a geometrically convenient path of integration. The results are consistent with the Biot-Savart law.

### 12.6 Solenoids and Toroids

- The magnetic field strength inside a solenoid is

$$B={\mu}_{0}nI\phantom{\rule{1em}{0ex}}\text{(inside a solenoid)}$$

where*n*is the number of loops per unit length of the solenoid. The field inside is very uniform in magnitude and direction. - The magnetic field strength inside a toroid is

$$B=\frac{{\mu}_{o}NI}{2\pi r}\phantom{\rule{1em}{0ex}}\text{(within the toroid)}$$

where*N*is the number of windings. The field inside a toroid is not uniform and varies with the distance as 1/*r*.

### 12.7 Magnetism in Matter

- Materials are classified as paramagnetic, diamagnetic, or ferromagnetic, depending on how they behave in an applied magnetic field.
- Paramagnetic materials have partial alignment of their magnetic dipoles with an applied magnetic field. This is a positive magnetic susceptibility. Only a surface current remains, creating a solenoid-like magnetic field.
- Diamagnetic materials exhibit induced dipoles opposite to an applied magnetic field. This is a negative magnetic susceptibility.
- Ferromagnetic materials have groups of dipoles, called domains, which align with the applied magnetic field. However, when the field is removed, the ferromagnetic material remains magnetized, unlike paramagnetic materials. This magnetization of the material versus the applied field effect is called hysteresis.