AP Physics C: Electricity and Magnetism · Unit 12

Magnetic fields and electromagnetism

Magnetic fields, forces on moving charges and currents, the Biot-Savart law and Ampère's law.

4 topic lessons · 18 key equations · free to read

Start with 12.1

Topics in this unit

  1. 12.1Magnetic fields

    A magnetic field is a vector field produced by magnetic dipoles and moving charge, and because no isolated magnetic pole exists, its field lines always close on themselves.

  2. 12.2Magnetism and moving charges

    A magnetic field pushes on a charge only when the charge moves across the field, and the force is perpendicular to both the velocity and the field, so it steers the charge without changing its speed.

  3. 12.3Magnetic fields of current-carrying wires and the Biot-Savart law

    Every short piece of a current makes a magnetic field that circles it, and adding those pieces by integration gives the field of a whole wire, which in turn pushes on any other current placed in it.

  4. 12.4Ampère's law

    Around any closed path, the magnetic field added up along the path equals μ0\mu_0 times the current passing through the path, which gives the field directly whenever the current is symmetric enough.

Unit 12 equations

Every equation from the unit's lessons, with what it says. Open a topic for when to use each one and when not to.

12.1Magnetic fields

  • ∮B⃗⋅dA⃗=0\oint \vec{B}\cdot d\vec{A} = 0

    The net magnetic flux through any closed surface is zero: field lines that enter also leave (Gauss's law for magnetism).

  • μ=NIA\mu = NIA

    The magnetic moment of a flat coil is its number of turns times its current times its area.

  • τ=μBsin⁡θ\tau = \mu B\sin\theta

    A uniform field twists a dipole toward alignment; this is the magnitude of the torque from the cross product of the moment and the field.

  • U=−μBcos⁡θU = -\mu B\cos\theta

    A dipole's potential energy in a field: lowest when aligned with the field, highest when opposite to it.

12.2Magnetism and moving charges

  • F⃗B=q v⃗×B⃗\vec{F}_B = q\,\vec{v}\times\vec{B}

    The magnetic force on a moving charge is perpendicular to both its velocity and the field; its size is |q|vB sin θ.

  • r=mv∣q∣Br = \frac{mv}{|q|B}

    A charge moving perpendicular to a uniform field travels in a circle of this radius.

  • T=2πm∣q∣BT = \frac{2\pi m}{|q|B}

    The time for one orbit depends on the particle and the field, not on how fast the particle moves.

  • v=EBv = \frac{E}{B}

    In perpendicular electric and magnetic fields, a charge with this speed feels zero net force and goes straight.

  • VH=vdBwV_H = v_d B w

    The Hall voltage across a current-carrying strip is the drift speed times the field times the strip's width.

12.3Magnetic fields of current-carrying wires and the Biot-Savart law

  • dB⃗=μ04π I dℓ⃗×r^r2d\vec{B} = \frac{\mu_0}{4\pi}\,\frac{I\,d\vec{\ell}\times\hat{r}}{r^2}

    The Biot–Savart law: the field made by one short element of a current.

  • B=μ0I2πrB = \frac{\mu_0 I}{2\pi r}

    The field a distance r from a long straight wire; it circles the wire.

  • B=μ0Iϕ4πRB = \frac{\mu_0 I \phi}{4\pi R}

    The field at the centre of a circular arc; a full loop has φ = 2π and gives μ₀I/(2R).

  • F⃗=IL⃗×B⃗\vec{F} = I\vec{L}\times\vec{B}

    The force on a straight wire in a uniform field; its size is ILB sin θ.

  • FL=μ0I1I22πd\frac{F}{L} = \frac{\mu_0 I_1 I_2}{2\pi d}

    The force on each unit length of two long parallel wires: attractive for currents in the same direction.

12.4Ampère's law

  • ∮B⃗⋅dℓ⃗=μ0Ienc\oint \vec{B}\cdot d\vec{\ell} = \mu_0 I_{\text{enc}}

    Ampère's law: the field summed along a closed path equals μ₀ times the net current through the path.

  • Ienc=∫0rJ(r′) 2πr′ dr′I_{\text{enc}} = \int_0^{r} J(r')\,2\pi r'\,dr'

    The current inside a circle of radius r, found by adding thin rings of current.

  • B=μ0Ir2πR2B = \frac{\mu_0 I r}{2\pi R^2}

    The field inside a long wire of radius R carrying uniformly distributed current I; outside, B = μ₀I/(2πr).

  • B=μ0nIB = \mu_0 n I

    The uniform field inside a long solenoid.

Practice Unit 12 with feedback

Each unit's problem sets grade themselves, and Raise hints at the next step instead of giving the answer.