# Magnetic Fields: AP Physics C: E&M Review

Course: AP® Physics C: E & M › Unit 12: Magnetic Fields and Electromagnetism › 12.1 Magnetic Fields ([course hub](https://www.albert.io/blog/category/test-prep/advanced-placement/ap-physics-c-e-and-m.md))
Source: https://www.albert.io/blog/magnetic-fields-ap-physics-c-em-review/ · Updated November 16, 2026

Snap a bar magnet in half and you do not get a separate north piece and south piece. You get two smaller magnets, each with its own north and south pole. Keep snapping and the pattern never breaks. That stubborn fact, no magnetic monopoles, sits at the center of Topic 12.1 and of one of Maxwell's four equations.

This article covers **Topic 12.1: Magnetic Fields** in Unit 12, Magnetic Fields and Electromagnetism. The topic asks you to describe the properties of a magnetic field, explain magnetic behavior in materials through the alignment of magnetic dipoles, and describe magnetic permeability.

By the end, you should be able to:

- Describe magnetic fields as vector fields with closed field lines.
- Apply Gauss's law for magnetism to any closed surface.
- Compare ferromagnetic, paramagnetic, and diamagnetic materials.
- Explain what magnetic permeability measures and why \(\mu_0\) is a constant.

## Properties of Magnetic Fields

The CED describes a magnetic field as a vector field that determines the magnetic force on moving charges, currents, and magnetic materials. Fields come from magnetic dipoles or combinations of dipoles, never from monopoles.

![Magnetic field lines leave the north pole and enter the south pole.](https://www.albert.io/blog/wp-content/uploads/2026/11/bar-magnet-field-lines.png) Magnetic field lines leave the north pole and enter the south pole.

- **Field lines form closed loops.** Outside a bar magnet they point away from the north pole and return to the south pole; inside, they run from south back to north.
- **Like poles repel and opposite poles attract.** A compass needle, itself a small dipole, rotates to align with the field.
- **Strength falls off with distance.** Far from a dipole, the field weakens roughly as \(\dfrac{1}{r^3}\), much faster than the field of a point charge.
- **Earth acts like a giant dipole.** A compass's north pole points toward Earth's geographic north, which means a magnetic south pole lies near the geographic North Pole.

## Gauss's Law for Magnetism

The CED identifies Gauss's law for magnetism as Maxwell's second equation:

![Gauss's law: the flux through a closed surface equals the enclosed charge divided by ε₀.](https://www.albert.io/blog/wp-content/uploads/2026/11/gauss-law-sphere.png) Gauss's law: the flux through a closed surface equals the enclosed charge divided by ε₀.

\(\oint \vec{B}\cdot d\vec{A}=0\)

Because field lines always close on themselves, every line that enters a closed surface must also leave it. The net magnetic flux through any closed surface is therefore zero.

**Why does this matter?** Compare it with Gauss's law for electricity, \(\oint \vec{E}\cdot d\vec{A}=\dfrac{Q_{enc}}{\varepsilon_0}\). Electric flux can be nonzero because isolated charges exist. Magnetic flux through a closed surface is always zero because isolated magnetic "charges" do not.

## Worked Example: Flux Around a Pole

A closed spherical surface surrounds only the north pole of a bar magnet. Exactly 4.0 mWb of flux leaves through the surface near the pole. What is the net flux through the whole surface?

\(\Phi_{net}=\oint \vec{B}\cdot d\vec{A}=0\)

So 4.0 mWb must also enter the surface elsewhere, carried by field lines running inside the magnet from the south pole back toward the north pole. Students who answer "4.0 mWb" are treating the north pole as a monopole.

## Magnetic Materials

The CED explains that magnetic dipoles come from circular or rotational motion of charges, such as electrons. A material's magnetism depends on how those dipoles align.

![Current in a straight wire creates circular magnetic field lines: B = μ₀I/(2πr).](https://www.albert.io/blog/wp-content/uploads/2026/11/magnetic-field-around-wire.png) Current in a straight wire creates circular magnetic field lines: B = μ₀I/(2πr).

| Type | Examples | Behavior in an external field |
| --- | --- | --- |
| **Ferromagnetic** | Iron, nickel, cobalt | Domains align strongly and can stay aligned, making a permanent magnet. |
| **Paramagnetic** | Aluminum, titanium, magnesium | Weak attraction; alignment disappears when the field is removed. |
| **Diamagnetic** | All materials (dominant in water, copper) | Weak alignment opposite the field, causing slight repulsion. |

Permanent and induced magnetism are both system properties: each results from dipoles inside the material lining up. A steel paper clip near a magnet becomes an induced magnet and is attracted; a ferromagnet that keeps its alignment after the field is gone becomes a permanent one.

## Magnetic Permeability

Permeability measures how much a material magnetizes in response to an external field. Free space has a fixed value, \(\mu_0=4\pi\times 10^{-7}\ \text{T}\cdot\text{m/A}\), which appears in the Biot-Savart law and Ampère's law. The permeability of matter differs from \(\mu_0\) and is not constant; it depends on temperature, orientation, and the strength of the applied field.

## Test-Taking Strategies

### Mnemonic Devices and Memory Shortcuts

Remember **"No lone poles, no net flux."** For materials, use **"Ferro Forever, Para Passes, Dia Defies"**: ferromagnets stay magnetized, paramagnets lose it, diamagnets oppose the field.

### Cross-Topic Connections

- [Topic 8.6: Gauss's Law](https://www.albert.io/blog/ap-physics-c-em-gausss-law/) is the electric counterpart to this topic's magnetic law.
- [Topic 12.2: Magnetism and Moving Charges](https://www.albert.io/blog/ap-physics-c-em-magnetic-force-on-a-moving-charge/) shows how fields push on charges.
- [Topic 12.3: Biot-Savart Law](https://www.albert.io/blog/ap-physics-c-em-biot-savart-law-and-magnetic-fields/) computes fields from currents using \(\mu_0\).
- [Topic 13.1: Magnetic Flux](https://www.albert.io/blog/ap-physics-c-em-magnetic-flux/) builds on flux through open surfaces.

### Common Question Formats

- A field-line diagram asking where the field is strongest or which way a compass points.
- A closed surface around part of a magnet, asking for the net magnetic flux.
- A comparison of how iron and aluminum respond after an external field is removed.

### Frequent Student Mistakes

- Drawing field lines that end at a pole. They form closed loops.
- Calling Earth's geographic North Pole a magnetic north pole.
- Treating permeability of a material as a fixed constant like \(\mu_0\).

### Test-Day Shortcuts

Any question about net magnetic flux through a closed surface has the answer zero. Spend your time on the open-surface flux questions instead.

### Time Management Tips

The May 2027 exam is hybrid digital: 40 multiple-choice questions in Bluebook in 80 minutes, then 4 handwritten free-response questions in 100 minutes. Conceptual items like these should take about a minute, leaving room for longer Ampère's law and induction problems.

## Check for Understanding

Think you've got it? Complete the quiz below to make sure. Download your results at the end.

Previous topic: [11.8 Resistor Capacitor (RC) Circuits](https://www.albert.io/blog/ap-physics-c-em-rc-circuits.md)
Next topic: [12.2 Magnetism and Moving Charges](https://www.albert.io/blog/ap-physics-c-em-magnetic-force-on-a-moving-charge.md)
