Magnetic Fields
A magnetic field B⃗ is a vector field that describes magnetic interactions with moving charges, currents, and magnetic materials. Magnetic field lines form closed loops because isolated magnetic monopoles are not part of the course model; magnetic materials are understood through dipoles, domains, and permeability rather than by treating north and south poles as separable charges.
Topic sequence · 1 of 4
Learning objectives
Objective 1
Represent a magnetic field as vectors or closed field lines, distinguish a dipole from a monopole model, and use Gauss’s law for magnetism to reason about closed-surface magnetic flux.
Objective 2
Explain permanent, induced, ferromagnetic, paramagnetic, and diamagnetic behavior in terms of magnetic dipoles and their response to an external field.
Objective 3
Interpret magnetic permeability carefully, including the special role of μ₀ in free space and why a material permeability need not be a universal constant independent of temperature, orientation, or field strength.
- Vector fields, vector components, dot products, and oriented area vectors from electric-field and electric-flux work.
- Closed-surface integrals and the logic of Gauss’s law from Unit 8.
- The distinction between a field created by a source and the force experienced by a test object placed in that field.
- Basic current language from Unit 11: moving electric charge can create magnetic effects.
Definitions first
Representations you must read and create
Representation 1
Vector-field map: arrows show the local direction of B⃗, while arrow length or another scale can encode magnitude. Read the map point by point rather than imagining that a field line is a physical object.
Representation 2
Bar-magnet field-line diagram: outside the magnet the conventional field-line direction is from the north pole toward the south pole; inside the magnet the loops continue back toward the north pole so every line closes.
Representation 3
Closed Gaussian surface around a magnet: count signed outward and inward flux. A surface can enclose part or all of a magnet, but the net closed-surface magnetic flux remains zero.
Representation 4
Magnetic-domain sketch: represent initially disordered domains, partial alignment in an external field, and persistent alignment for a ferromagnetic sample.
Representation 5
Material comparison table: distinguish ferromagnetic, paramagnetic, and diamagnetic behavior by alignment direction, strength, and what remains after the external field is removed.
Core relationships and calculus
Variables: Φ_B magnetic flux in Wb; B magnetic field in T; dA oriented area element in m²
Use: Use the surface integral to track the signed magnetic flux through an open or closed surface. The dot product selects the component of B⃗ normal to the surface.
Variables: B T; dA m²
Use: Gauss’s law for magnetism: for every closed surface, outward magnetic flux and inward magnetic flux cancel. This is true even when the field is highly nonuniform.
Variables: ∇·B in T/m
Use: Local differential form corresponding to zero closed-surface magnetic flux when the field is sufficiently smooth. It means the magnetic field has no source or sink corresponding to an isolated magnetic charge.
Variables: μ and μ₀ in H/m (equivalently N/A²); μ_r dimensionless
Use: Use only as a material-response ratio. Do not assume μ is independent of field strength, temperature, orientation, or material history unless a linear-medium model is explicitly justified.
The central calculus idea is a closed surface integral. Break a complicated closed surface into small area elements dA⃗, evaluate B⃗·dA⃗ on each element, and integrate. Gauss’s law for magnetism says the result is zero for every closed surface, not only symmetric ones. By the divergence theorem, ∮B⃗·dA⃗=∫(∇·B⃗)dV; therefore zero closed-surface flux for arbitrary volumes corresponds locally to ∇·B⃗=0. This contrasts with electric Gauss’s law, where enclosed electric charge can make the closed electric flux nonzero.
Start with the course statement ∮B⃗·dA⃗=0 for an arbitrary closed surface. Divide space into an imagined collection of small neighboring volumes. Flux through every internal shared face cancels because the two adjacent volumes assign opposite area-vector directions to that face. Only the outer boundary survives. If every possible closed boundary has zero net flux, there can be no point at which magnetic field lines terminate as if on a magnetic monopole. In differential language, applying the divergence theorem gives ∫_V(∇·B⃗)dV=0 for arbitrary V, which implies ∇·B⃗=0 wherever the field is regular.
Topic 12.1 is about field properties, dipoles, material behavior, and Gauss’s law for magnetism. It does not require treating magnetic field lines as physical strings or inventing magnetic charges. When discussing μ for matter, do not assume a single constant relative permeability is universally valid: the current framework explicitly notes dependence on composition, temperature, orientation, and external-field strength. Detailed hysteresis-loop calculations and microscopic quantum models are beyond the required lesson.
Physical examples
Example 1
A compass near a bar magnet rotates until its magnetic dipole tends to align with the local B⃗. Moving the compass around the magnet traces a direction map without implying that the compass creates the field being measured.
Example 2
Breaking a bar magnet in half does not isolate a north pole from a south pole. Each piece becomes a smaller dipole with both polarities, consistent with zero net magnetic flux through any closed surface.
Example 3
A soft iron object can be strongly magnetized when placed near a magnet because its domains align. Removing the external field may leave substantial residual alignment, unlike a simple paramagnetic response.
Example 4
A paramagnetic sample is weakly attracted toward stronger applied field regions while the field is present, but the induced alignment does not persist significantly after the field is removed.
Example 5
A diamagnetic response produces a weak magnetization opposite the applied field. The page treats this as a material response, not as evidence for isolated magnetic poles.
Example 6
Earth’s magnetic field can be approximated as a dipole for large-scale reasoning. A compass aligns with the local field, but the geographic and magnetic pole naming conventions must not be confused.
Worked reasoning
Exam reasoning patterns
Reasoning pattern 1
When shown a magnetic field map, identify B⃗ direction from the tangent to the local field line or vector arrow, then compare magnitude using the representation’s stated scale rather than the mere presence of a line.
Reasoning pattern 2
For any closed-surface flux question, define outward dA⃗ first. Add signed fluxes and enforce ∮B⃗·dA⃗=0; do not replace this with the electric formula Q_enc/ε₀.
Reasoning pattern 3
If a magnet is cut, predict two smaller dipoles, not separated north-only and south-only pieces.
Reasoning pattern 4
For material-response comparisons, separate ferromagnetic persistence from weak paramagnetic alignment and from diamagnetic opposition to the applied field.
Reasoning pattern 5
A compass aligns with the local field direction because it is a dipole in an external field; this is a direction probe, not a direct measurement of field magnitude.
Reasoning pattern 6
If permeability is used numerically, state the medium model and whether μ is being treated as approximately constant over the conditions of the problem.
Deeper calculus and limiting-case check
A useful comparison is electric Gauss versus magnetic Gauss. Electric charge acts as a source or sink of E⃗, so ∮E⃗·dA⃗=Q_enc/ε₀. The magnetic field instead satisfies ∮B⃗·dA⃗=0. This is why an electric field-line diagram may begin on positive charge and end on negative charge, whereas magnetic field lines form closed loops. In later induction work, a changing magnetic flux through an open surface matters greatly, but the total flux through the corresponding fully closed surface is still zero.
Interactive closed magnetic-flux balance
Enter signed outward magnetic flux through five faces of a closed surface. The tool solves the sixth-face flux required by the magnetic Gauss-law condition.
Experimental connection
Place a bar magnet under or beside a sheet marked with a coordinate grid. Use a small compass to record field direction at many points, then sketch a vector-field map and closed field-line pattern. Repeat selected measurements with an iron object, an aluminum sample, and a nonmagnetic spacer nearby, documenting qualitative changes and experimental limitations. As a data-analysis extension, choose an imaginary closed box around the mapped region and explain why a physically consistent three-dimensional field must have zero net closed-surface flux even though a two-dimensional sketch cannot measure every face directly.
Connections across Physics C
Connection 1
Unit 8 electric flux and Gauss’s law provide the mathematical template, but magnetic Gauss has zero right-hand side because the course model contains no magnetic monopoles.
Connection 2
Topic 11.1 Electric Current supplies the moving-charge picture that later produces magnetic fields from currents.
Connection 3
Topic 12.2 uses B⃗ as the field that exerts qv⃗×B⃗ forces on moving charged particles.
Connection 4
Topic 12.3 replaces qualitative source pictures with the Biot–Savart integral for current-carrying conductors.
Connection 5
Unit 13 will use magnetic flux through open surfaces and its time change to build Faraday–Lenz induction.
Related lessons and resources
Use these links when the current model depends on a prerequisite or becomes the foundation for the next model.
Common mistakes
Avoid this
Drawing magnetic field lines that start at a north pole and simply stop at a south pole. The external drawing must be understood as part of a closed loop continuing through the magnet.
Avoid this
Using ∮B⃗·dA⃗=Q/ε₀. That is electric Gauss’s law, not Gauss’s law for magnetism.
Avoid this
Treating a compass needle as if its north-marked end were an isolated magnetic monopole. A compass is a dipole.
Avoid this
Assuming field-line density alone is a calibrated measurement of B without a stated scale.
Avoid this
Claiming every material has a single fixed μ independent of conditions. That can be a convenient linear approximation, not a universal property.
Avoid this
Confusing diamagnetism with “no magnetic response.” Diamagnetic response is generally weak but is a real induced response opposite the applied field.
Mastery check
- Define the main quantity without relying on an equation.
- Choose the correct representation and sign convention.
- Explain why the calculus relationship matches the physics.
- Design or interpret an experiment that could test the model.
Frequently asked questions
Why do magnetic field lines form closed loops?
Because the course model has no isolated magnetic monopoles. Gauss’s law for magnetism gives zero net magnetic flux through every closed surface, so magnetic field lines have no beginnings or endings.
Does zero net magnetic flux mean B is zero everywhere on a closed surface?
No. Large nonzero field can cross different parts of the surface. The signed outward and inward contributions simply add to zero.
What happens if I cut a bar magnet in half?
Each piece becomes a smaller dipole with both north and south polarity; you do not isolate a single magnetic pole.
What is the difference between ferromagnetic and paramagnetic behavior?
Ferromagnetic materials can exhibit strong domain alignment and retain substantial magnetization; paramagnetic alignment is weak and does not persist significantly when the external field is removed.
Is μ₀ exactly 4π×10⁻⁷ H/m?
In the modern SI, μ₀ is measured rather than fixed to that exact historical value. For AP-level calculations use the reference value supplied by the problem or formula sheet.
Why compare magnetic and electric Gauss laws?
They use the same closed-surface integral structure, but electric charge can create nonzero enclosed-source flux while the magnetic closed-surface flux is always zero in the course model.