AP Physics C: E&M · Unit 12 · 10-20% of the exam · about 80 minutes
Unit 12: Magnetic Fields and Electromagnetism
By the end: Describe magnetic fields and their sources, find the magnetic force on moving charges and currents with cross products, and calculate the fields of currents with the Biot-Savart law and Ampère's law.

- 12.1 Magnetic fields · 7 min
A field that comes from moving charge
- B is a vector field in teslas (1 T = 1 N/(A·m)). Earth: about 5 × 10⁻⁵ T.
- All magnetic fields come from moving charge: currents, and electrons in atoms.
- Field lines: outside a magnet N to S, inside S to N. Always closed loops. No monopoles.
- 12.2 Magnetism and moving charges · 9 min
The sideways force, qv × B
- $\vec F_B = q\vec v \times \vec B$; size $|q|vB\sin\theta$, θ between v and B.
- No force on a charge at rest or moving along B. Largest force when v is perpendicular to B.
- Directions: unit vectors and the cycle $\hat x \to \hat y \to \hat z$; flip for a negative charge.
- 12.2 Charged particles moving in circles · 8 min
Circles, periods and spectrometers
- $|q|vB = \frac{mv^2}{r}$ gives $r = \frac{mv}{|q|B}$.
- Period $T = \frac{2\pi m}{|q|B}$, independent of speed.
- Positive and negative charges circle in opposite senses. Speed and kinetic energy stay constant.
- 12.2 Electric and magnetic forces together · 7 min
Crossed fields and the velocity selector
- $\vec F = q\vec E + q\vec v \times \vec B$.
- Crossed fields, straight path: $qE = qvB$, $v = E/B$, for any charge or mass.
- Too fast: bends toward the magnetic force. Too slow: toward the electric force.
- 12.2 Magnetic forces on currents · 8 min
Forces on wires
- $\vec F = I\vec L \times \vec B$ (straight wire, uniform B); $\vec F = \int I\,d\vec\ell \times \vec B$ in general.
- Size $ILB\sin\theta$, θ between the wire and B. $\vec L$ points along the current.
- Uniform field: a curved wire from a to b feels the same force as the straight wire a to b. A closed loop feels zero net force.
- 12.3 Fields of current-carrying wires and the Biot-Savart law · 10 min
Building a field piece by piece
- Biot-Savart: $d\vec B = \frac{\mu_0}{4\pi}\frac{I\,d\vec\ell \times \hat r}{r^2}$. Pieces aimed at the point give zero.
- Long straight wire: $B = \frac{\mu_0 I}{2\pi r}$, circling (right-hand grip).
- Arc of angle φ at its center: $\frac{\mu_0 I\varphi}{4\pi R}$. Full loop: $\frac{\mu_0 I}{2R}$; N turns: ×N.
- 12.3 Superposition and forces between currents · 8 min
Two wires: adding fields, feeling forces
- Fields add as vectors: find each size, each direction, then add.
- Parallel wires: $\frac{F}{L} = \frac{\mu_0 I_1I_2}{2\pi d}$. Same direction attract, opposite repel.
- The two forces are a third-law pair: equal sizes even with unequal currents.
- 12.4 Ampère's law · 9 min
Ampère's law: symmetry does the work
- $\oint \vec B \cdot d\vec\ell = \mu_0 I_{enc}$, with the right-hand sign rule.
- It finds B only with symmetry: B constant along the loop, or perpendicular to it.
- Inside a wire, $I_{enc}$ is only the current within the loop: integrate J over rings $2\pi r\,dr$.
- 12.4 Ampère's law: solenoids and cables · 8 min
Solenoids, cables and the fields worth knowing
- Long solenoid: $B = \mu_0 nI$ inside (uniform, along the axis), B ≈ 0 outside; $n = N/\ell$.
- Coax: B = 0 outside (net current zero); between, only the center wire counts.
- Hollow current-carrying pipe: B = 0 in the hollow.
- Unit 12 wrap-up · 6 min
Put it together