Skip to main content

Unit 12 · Topic 12.1

12.1 Magnetic Fields

A magnetic field is the region around magnets and currents where moving charges and magnetic materials feel a force. This topic covers field lines, magnetic dipoles, Gauss's law for magnetism, Earth's field, and how different materials respond to a field.

Key terms

  • magnetic field
  • magnetic dipole
  • Gauss’s law for magnetism
  • ferromagnetism
  • paramagnetism and diamagnetism
  • permeability

Magnetic fields and field lines

A magnetic field B⃗\vec{B} is a vector field, measured in teslas (T). One tesla is a strong field: a fridge magnet is around 0.005 T near its surface, and Earth's field at the surface is roughly 5 × 10⁻⁵ T. Sources of magnetic fields are moving charges: currents in wires, and the spins and orbits of electrons inside magnets.

Field lines show the direction a compass needle's north end would point at each spot. Outside a magnet they run from the north pole to the south pole; inside the magnet they continue from south back to north. Lines are closer together where the field is stronger, and they never cross.

On a flat drawing, a dot (•) means a field pointing out of the page toward you, like the tip of an arrow. An × means a field pointing into the page, like the tail feathers of an arrow flying away.

Dipoles and no monopoles

Every magnet has a north pole and a south pole; it's a magnetic dipole. Like poles repel and unlike poles attract. Cut a bar magnet in half and you don't get a lone north pole: you get two smaller magnets, each with its own north and south. No one has ever found an isolated magnetic pole, called a monopole.

A current loop is also a magnetic dipole. Curl the fingers of your right hand in the direction of the loop's current, and your thumb points toward its north side.

In a uniform field, a dipole feels no net force, but it does feel a torque that turns it to line up with the field. That's what a compass needle does. In a nonuniform field, a dipole also feels a net force, which is why a magnet attracts a paper clip: the field is stronger closer to the magnet.

A dipole's own field gets weaker as you move away from it, which is why a magnet's pull fades quickly with distance.

Gauss's law for magnetism

Because field lines always form closed loops, any line that enters a closed surface must also leave it. So the net magnetic flux through any closed surface is zero: ∮B⃗⋅dA⃗=0\oint \vec{B} \cdot d\vec{A} = 0.

Compare this with Gauss's law for electric fields (8.6), where the net flux depends on the charge inside. The magnetic version says there's no magnetic charge to enclose. It's one of the four Maxwell's equations.

Earth's field

Earth acts roughly like a giant bar magnet tilted a little from its spin axis. A compass's north end points toward geographic north, so the magnetic pole near the geographic North Pole is actually a south magnetic pole. Away from the equator, Earth's field also points partly into or out of the ground.

Magnetic materials

Materials respond to a magnetic field in different ways. Permeability μ\mu tells you how readily a material magnetizes when you put it in a field: the bigger μ\mu, the more the material adds to the field inside it. The permeability of free space is μ0=4π×10−7 T⋅m/A\mu_0 = 4\pi \times 10^{-7}\text{ T·m/A}, and it appears in every field formula in this unit.

Don't think of a material's μ\mu as one number to look up. Heat the material, turn it, or make the applied field stronger or weaker, and μ\mu can shift, especially for iron and other ferromagnets. Ferromagnetic materials have permeabilities far larger than μ0\mu_0; paramagnetic materials are just above it and diamagnetic ones just below.

TypeWhat happens in an applied fieldExamples
Ferromagneticregions called domains line up strongly with the field and can stay lined up afterward, making a permanent magnetiron, nickel, cobalt
Paramagneticatoms line up weakly with the field and are weakly attracted; the effect disappears when the field is removedaluminum, oxygen
Diamagnetica weak induced response opposes the field, so the material is weakly repelled; every material has this, but it's usually hidden by stronger effectscopper, water, bismuth

Worked examples

Try each one yourself first, then open the solution.

  1. Example 1Calculator allowed

    Flux through a closed surface

    An imaginary closed box surrounds the north end of a bar magnet. The magnetic flux leaving the box through its end face, where the field lines exit, is 2.0 × 10⁻⁴ Wb. What is the total magnetic flux through the other five faces?

    Show the solution
    1. Step 1: Gauss's law for magnetism: the net flux through the whole closed surface is zero, ∮B⃗⋅dA⃗=0\oint \vec{B} \cdot d\vec{A} = 0.
    2. Step 2: So the flux through the other five faces must cancel the 2.0 × 10⁻⁴ Wb leaving through the end face.
    3. Step 3: Counting flux that leaves the box as positive, that much flux enters through the other faces. Most of it comes in through the face the magnet passes through, because inside the magnet the field lines run from the south end toward the north end.

    Answer: −2.0 × 10⁻⁴ Wb, counting outward flux as positive (that much flux enters through the other faces)

  2. Example 2Calculator allowed

    Breaking a magnet (classic trap)

    A bar magnet is cut in half across its middle, between its north and south ends. Describe the two pieces.

    Show the solution
    1. Step 1: It's tempting to say one piece is a north pole and the other is a south pole.
    2. Step 2: But magnetic field lines form closed loops, and there are no monopoles. Each piece still has field lines running through it from its south end to its north end.
    3. Step 3: So each half is a complete, weaker dipole. A new south pole appears on the cut face of the original north half, and a new north pole on the cut face of the south half.

    Answer: Two smaller magnets, each with its own north and south pole

Common mistakes

  • Saying field lines start at the north pole and end at the south pole. They continue through the magnet and form closed loops.
  • Thinking a magnet attracts every metal. Only ferromagnetic materials are strongly attracted; aluminum and copper respond only weakly.
  • Assuming the north magnetic pole is near Earth's North Pole. The magnetic pole there is a south pole, which is why it attracts a compass's north end.
  • Thinking a uniform field pulls a dipole along. It only twists it; a net force needs a nonuniform field.

On the exam

  • Multiple-choice questions often ask you to pick the correct field-line sketch or the direction a compass points at a spot. Use closed loops and north-to-south outside the magnet.
  • When a question asks why there's no net magnetic flux through a closed surface, name Gauss's law for magnetism and say there are no magnetic monopoles.

Connected topics

Videos

Check yourself

4 questions on 12.1 Magnetic Fields. Pick an answer to see if you got it, and why.

Question 1 of 4Calculator allowed

A bar magnet is cut in half across its middle, between its north and south ends. Which describes the two pieces?

Question 2 of 4Calculator allowed

An imaginary closed sphere surrounds only the north-pole end of a strong bar magnet; the south end is outside the sphere. What is the net magnetic flux through the sphere?

Question 3 of 4Calculator allowed

A small compass is placed just beyond the north-pole end of a bar magnet, on the magnet’s axis. Which way does the compass needle’s north end point?

Question 4 of 4Calculator allowed

Samples of four materials are placed in a strong magnetic field and then removed. Which is most likely to remain magnetized?

0 of 4 answered