AP Physics C: E&M · Unit 12 · Topic 12.1

    12.1 Magnetic Fields

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    A magnetic field B⃗\vec{B}, measured in tesla, surrounds magnets and moving charges. Its field lines leave north poles and enter south poles, but unlike electric field lines they never start or end: they form closed loops. There are no isolated magnetic charges (monopoles), so the magnetic flux through any closed surface is zero. The simplest magnetic object is a dipole: a bar magnet or a current loop.

    What you need to know

    • Describe magnetic field lines for magnets and current loops.
    • Explain why magnetic field lines form closed loops and why there are no monopoles.
    • State Gauss's law for magnetism.
    • Compare magnetic and electric fields.

    The magnetic field

    A compass needle lines up with the magnetic field, its north end pointing along B⃗\vec{B}. The SI unit is the tesla (T); one tesla is large. The Earth's field at the surface is roughly 5×10−55 \times 10^{-5} T, a fridge magnet about 10−210^{-2} T, and a hospital MRI scanner 1.5 to 3 T. The gauss, 10−410^{-4} T, is also common.

    Field lines of a bar magnet leave the north pole, curve round, and enter the south pole, then continue through the magnet back to the north pole. Like electric field lines, they are closer together where the field is stronger, and they never cross.

    Where magnetic fields come from

    All magnetic fields come from moving charges: currents in wires, and at the atomic scale the motion and spin of electrons. Oersted's discovery that a current deflects a compass, in 1820, showed that electricity and magnetism are linked. A loop of current produces a field almost identical, far away, to that of a small bar magnet: both are magnetic dipoles, described by a dipole moment μ=NIA\mu = NIA for a coil of NN turns, current II and area AA.

    Gauss's law for magnetism

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

    Every field line that enters a closed surface also leaves it, because magnetic field lines have no beginning or end. This is the magnetic counterpart of Gauss's law in Unit 8, with zero on the right because there are no magnetic charges. It is one of Maxwell's four equations, and it means magnetic flux, which drives induction in Unit 13, is only non-zero through open surfaces such as the area of a loop.

    Electric and magnetic fields compared

    Electric versus magnetic fields
    FeatureElectric fieldMagnetic field
    SourceChargesMoving charges (currents)
    Field linesStart and end on chargesClosed loops
    Force on a chargeqE, even at restqv × B, only if moving
    Flux through closed surfaceQenc/ε0Q_{\text{enc}}/\varepsilon_0Zero

    A magnetic field exerts force only on moving charges, and always at right angles to their velocity, which is the subject of topic 12.2. That one fact explains motors, mass spectrometers and the circular tracks of particles in detectors.

    Key terms

    Magnetic field
    The field produced by moving charges and magnets, measured in tesla.
    Tesla
    The SI unit of magnetic field; 1 T = 1 N/(A·m).
    Magnetic dipole
    A north–south pair, such as a bar magnet or a current loop.
    Gauss's law for magnetism
    ∮B⃗⋅dA⃗=0\oint \vec{B}\cdot d\vec{A} = 0: no magnetic monopoles.

    Common mistakes

    • Drawing magnetic field lines ending on poles.

      They continue through the magnet and form closed loops.

    • Expecting a force on a stationary charge.

      Magnetic fields only push moving charges.

    • Thinking cutting a magnet separates the poles.

      Each piece is a complete dipole.

    How this topic is tested

    • Draw field lines as closed loops with arrows N to S outside.
    • Use the tesla and convert gauss when needed.
    • Contrast with electric fields when explaining.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · SP 3 · Scientific Questioning and Argumentation

      What is the net magnetic flux through any closed surface?

    2. Question 2 · SP 3 · Scientific Questioning and Argumentation

      A bar magnet is cut in half. What do you get?

    3. Question 3 · SP 1 · Creating Representations

      What is the approximate size of the Earth's magnetic field at the surface?

    4. Question 4 · SP 3 · Scientific Questioning and Argumentation

      Which charge feels a magnetic force?

    5. Question 5 · SP 2 · Mathematical Routines

      What is the magnetic dipole moment of a 50-turn coil of area 0.010 m² carrying 2.0 A?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    A student says: 'Magnetic field lines start on the north pole and end on the south pole, just as electric field lines start on positive charges and end on negative ones.'

    1. (a) Explain what is wrong with this statement.
    2. (b) State the law that expresses this and what it says about closed surfaces.
    3. (c) Describe an experiment that supports there being no magnetic monopoles.

    Connected topics

    Frequently asked questions

    Why are there no magnetic monopoles?

    None has ever been observed; physics allows the idea, but all known magnetism comes from moving charges.

    Is the Earth's north pole a north magnetic pole?

    No, the geographic north pole is near a south magnetic pole, which is why compass norths point there.

    Do I need Maxwell's equations?

    Gauss's laws, Ampère's law and Faraday's law appear separately; the course does not ask for all four together.

    How this shows up on the exam42 multiple-choice questions and 4 free-response questions. See what each FRQ type asks you to do.

    Free Unit 12 cheat sheet

    Every topic in Unit 12: Magnetic Fields and Electromagnetism on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Physics C: E&M practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Physics C: E&M practice examsUnit 12 is one of 6 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Related lessons in other AP courses

    All topics in Unit 12: Magnetic Fields and Electromagnetism

    1. 12.1 Magnetic Fields
    2. 12.2 Magnetism and Moving Charges
    3. 12.3 Magnetic Fields of Current-Carrying Wires and the Biot-Savart Law
    4. 12.4 Ampère's Law

    Other units in AP Physics C: E&M

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.