- Foundation
- About 18 min
- 5 practice questions
Gauss's law for magnetism
Define magnetic flux in webers, state that the net magnetic flux through any closed surface is zero, link this to the absence of monopoles, and use it to judge whether a field-line drawing can be magnetic.
If something looks wrong, please tell us.
By the end of this lesson you can
- Define magnetic flux φ = B · ΔS and its unit, the weber.
- State Gauss's law for magnetism and contrast it with Gauss's law of electrostatics.
- Explain the link between the law and the non-existence of magnetic monopoles.
- Use the law to check field-line diagrams and to find unknown fluxes.
In electrostatics, Gauss's law says the electric flux out of a closed surface measures the charge inside. Magnetic field lines, however, never start or end - they close on themselves. That simple picture leads to one of the four basic laws of electromagnetism.
Magnetic flux
For a small area element ΔS (a vector along the normal, pointing outward for a closed surface), the magnetic flux through it is Δφ_B = B · ΔS = B ΔS cos θ. For a larger surface we add the contributions of all its elements.
Magnetic flux φ_B = Σ B · ΔS. SI unit: weber (Wb), 1 Wb = 1 T m². So the tesla is also written Wb m⁻².
The law
Draw any closed surface around a bar magnet or a solenoid - around one pole, around the whole magnet, or anywhere else. Every field line that enters the surface also leaves it, because the lines form unbroken loops. The net flux is therefore always zero.
Gauss's law for magnetism: the net magnetic flux through any closed surface is zero. φ_B = Σ B · ΔS = 0 (over all elements of the closed surface).
Gauss's law in electrostatics and in magnetism
-
Electrostatics
- Σ E · ΔS = q/ε₀
- Flux measures the enclosed charge
- Field lines begin and end on charges
- Isolated charges exist
-
Magnetism
- Σ B · ΔS = 0
- Always zero, whatever is enclosed
- Field lines are closed loops
- No isolated poles (monopoles) are known
The difference reflects the fact that there are no magnetic monopoles: B has no sources or sinks. The simplest magnetic element is a dipole or a current loop, and all magnetic phenomena can be described by arrangements of dipoles and current loops. If monopoles were ever found, the right side would become μ₀ times the magnetic charge enclosed, just as in electrostatics.
Checking field-line drawings
Gauss's law, together with Ampere's law, lets us spot impossible magnetic field patterns:
- Lines radiating out from a point or a wire cannot be magnetic: a closed surface round the source would have net outward flux. (Such lines may be a correct electric field picture.)
- Lines leaving a plate on all sides with none returning cannot be magnetic; they could show the electric field near a charged plate.
- A static magnetic field line forming a closed loop must enclose a current; a loop round empty space violates Ampere's law. The field lines inside a toroid are fine: each encloses the current in the windings.
- Field lines at the ends of a solenoid or between pole pieces cannot be perfectly straight and cut off; they must fringe outward and close.
- Inside a bar magnet the lines run from S to N; not every line leaves from the N pole itself, but the net flux through a surface round either pole is zero.
- Field lines, electric or magnetic, never cross.
Is this a possible magnetic field pattern?
-
Any lines start or end at a point?
- Yes: not magnetic (net flux ≠ 0)
-
A closed loop around empty space?
- Yes: not a static magnetic field (Ampere's law)
-
Lines crossing?
- Yes: impossible for any field
-
Closed loops each enclosing a current, no crossings
- Possible magnetic field
Worked example 1: flux through a flat surface
A uniform field of 0.5 T passes through a flat coil of area 0.02 m² whose normal makes 60° with B. φ = BA cos 60° = 0.5 × 0.02 × 0.5 = 5 × 10⁻³ Wb. Turned so that its plane contains B, the coil has zero flux; turned face-on, it has 0.01 Wb.
Worked example 2: the missing flux
A closed box sits near a magnet. Measurements give outward magnetic fluxes through five of its faces of +2.0, −3.5, +1.0, −0.5 and +4.0 (all in units of 10⁻⁵ Wb). By Gauss's law the six fluxes add to zero, so the sixth face has flux −(2.0 − 3.5 + 1.0 − 0.5 + 4.0) × 10⁻⁵ = −3.0 × 10⁻⁵ Wb, that is, 3.0 × 10⁻⁵ Wb entering the box.
Worked example 3: hemisphere and its base
A uniform field B = 0.2 T points along the axis of a hemisphere of radius 0.1 m, entering through its flat base. The hemisphere plus its base form a closed surface, so their outward fluxes add to zero. Flux out through the base = −B × πR² = −0.2 × π × 0.01 ≈ −6.3 × 10⁻³ Wb. Therefore the outward flux through the curved surface is +6.3 × 10⁻³ Wb - what enters through the base leaves through the dome.
Key takeaways
- Magnetic flux φ = B · ΔS, measured in webers (1 Wb = 1 T m²).
- Net magnetic flux through any closed surface is zero: there are no magnetic monopoles.
- Magnetic field lines are closed loops; patterns with sources, sinks or loops around empty space are not static magnetic fields.
Check your understanding
-
1. What is the SI unit of magnetic flux?
- tesla
- weber
- gauss
- ampere metre²
Show answer
Answer: B. Magnetic flux φ = BA cos θ has unit T m², called the weber (Wb). The tesla is the unit of B; the gauss is a non-SI unit of B; A m² is the unit of magnetic moment.
-
2. A closed surface encloses the north pole of a bar magnet but not its south pole. The net magnetic flux through the surface is
- positive
- negative
- zero
- equal to μ₀ times the pole strength
Show answer
Answer: C. Gauss's law for magnetism holds for every closed surface. Field lines leaving near the N pole are matched by lines passing back through the surface (including lines inside the magnet), so the net flux is zero.
-
3. A field of 0.4 T makes an angle of 30° with the plane of a flat loop of area 0.05 m². What is the flux through the loop?
- 0.017 Wb
- 0.02 Wb
- 0.01 Wb
- 0.04 Wb
Show answer
Answer: C. The angle with the plane is 30°, so the angle with the normal is 60°. φ = BA cos 60° = 0.4 × 0.05 × 0.5 = 0.01 Wb.
-
4. A diagram shows field lines spreading radially outward from a long straight wire. This diagram
- correctly shows the magnetic field of a current in the wire
- cannot be a magnetic field, but could be the electric field of a charged wire
- shows the field inside a solenoid
- shows the earth's magnetic field
Show answer
Answer: B. Radial lines would give a net outward flux through a closed surface round the wire, which is impossible for B. The magnetic field of a current forms circles round the wire. Radial lines do describe the electric field of a positively charged wire.
-
5. Assertion (A): The net magnetic flux through any closed surface is zero. Reason (R): Isolated magnetic poles are not known to exist, so magnetic field lines have no beginning or end.
- Both A and R are true, and R is the correct explanation of A
- Both A and R are true, but R is not the correct explanation of A
- A is true, but R is false
- A is false, but R is true
Show answer
Answer: A. Both are true. Since there are no monopoles to act as sources or sinks, every field line entering a closed surface must also leave it, making the net flux zero. R explains A.
Sign in to keep track of the lessons you finish.