
Physics II course sequence · Interactive lesson
Magnetic Fields & Field Representation
Before any force law you need a picture you can trust. This topic builds it: what the vector B means at a point, what a field line is allowed to do, why every line closes on itself, and how two fields add when a compass happens to sit in both at once.
UPII-08.01 · Lesson 1 of 8 in this unit. Position is not a completion score.Build the model
Magnetic field lines close on themselves; electric field lines do not.
The key idea
The magnetic field B at a point is the vector whose direction is the one axis along which a moving charge feels no magnetic force, the sense being that taken by a compass needle's north end, and whose magnitude is the largest force per unit charge per unit speed found there.
Example. At a bench in southern England the field is about 49 μT tilted 66° below horizontal; only the 20 μT horizontal part can turn a compass, while an MRI bore runs at 1.5 T, some 31 000 times the whole local field.
The complete physical model and assumptions
A magnetic field is a vector attached to every point of space, and it is defined by what happens to a moving charge there: sweep a test charge's velocity through every direction and you find exactly one axis along which it feels no force at all. That axis is the line of B, a compass needle picks which sense along it to call the direction, and the largest force found, divided by |q| v, is the magnitude B in tesla. Nothing in that definition mentions magnets, which is the point — currents, permanent magnets and electron spins all make the same kind of field, and any probe responds to the total. Field lines are the drawing convention that makes the vector field visible: tangent to B, crowded where B is strong, never crossing, and, unlike electric field lines, never starting or stopping anywhere. That last property is a law rather than an aesthetic. The net magnetic flux out of any closed surface is exactly zero, ∮B⋅dA = 0, because no isolated magnetic pole has ever been found. Fields from separate sources simply add as vectors, so the compass on your bench reads the Earth plus the steel in the table plus whatever you switched on. Where the model stops: lines are bookkeeping, not objects — there is no number of them, only flux — and the picture alone says nothing about the force, which acts perpendicular to the lines rather than along them.
1Defining B by the force on a moving charge
Electrostatics defines E by the force on a charge at rest, E = F/q. That test fails outright for magnetism, because a stationary charge in a magnetic field feels nothing. So B is defined by motion. Fire a test charge q through a point with speed v, swinging the direction of v through every orientation, and two things emerge. There is exactly one axis along which the force vanishes: that axis is the line of B, and a compass needle's north end picks which of the two senses along it to call the direction. Across that axis the force is largest, and the ratio Fₘₐₓ/(|q| v) comes out the same whatever test charge you use — that ratio is the magnitude B, in tesla. An electron at 2.0 × 10⁶ m s⁻¹ crossing a 0.050 T field feels 1.6 × 10⁻¹⁴ N, tiny in absolute terms and still about 1.8 × 10¹⁵ times its own weight. The force law itself is the next topic; what matters here is that this definition makes B a property of the point, not of the charge that probed it.
2What a field line is allowed to do
A field line is drawn tangent to B at every point along it, so it gives the field's direction there and only there; the line's shape a metre away tells you nothing about the field where you are standing. Two lines may never cross, because a crossing would hand one point two field directions at once. Spacing carries magnitude: lines are drawn so that the number crossing a fixed area is proportional to B, which is why they crowd near a pole and thin out far from it. Flux makes that exact, ΦB = ∫ B⋅dA. A uniform 0.40 T field through a flat 25 cm² loop held face-on gives ΦB = 0.40 × 25 × 10⁻⁴ = 1.0 × 10⁻³ Wb, and tilting the loop's normal by 60° to the field halves it. On paper a field lying in the page is drawn as arrows, and one perpendicular to the page as ⊙ for out of the page, the tip of an arrow, and ⊗ for into it, the tail feathers. Nothing in the picture is countable: there is no true number of lines, only flux.
3Every line closes, so the net flux out of any surface is zero
Electric field lines begin on positive charge and end on negative charge, which is what ∮E⋅dA = qenc/ε₀ says in pictures: enclose charge and the surface leaks flux. Magnetic lines do neither. Follow one out of a bar magnet's north end, round through the air and in at the south end — and it keeps going, up through the iron itself from south back to north, closing the loop. A line that closes on itself has no end at which flux could be created, so every line leaving a closed surface must come back in through it somewhere else. That is a law of its own: ∮B⋅dA = 0 through every closed surface, whatever sits inside it. Wrap a surface around the north end alone and the flux out through the air is cancelled exactly by flux entering where the magnet's body crosses the surface. Two consequences are worth carrying forward. The law is exact rather than a weak-field or high-symmetry approximation, and any two surfaces sharing one rim pass the same flux — which is why the loop in the third example can be capped with a flat disc or with a dome and give the same answer.
4Fields from different sources simply add
Magnetic fields superpose: the field at a point is the vector sum of what every source contributes, each computed as though the others were absent. Work in components. A compass in an 18 μT northward horizontal Earth field, with a magnet adding 12 μT due east, sits in a resultant of √(18² + 12²) = 21.6 μT pointing arctan(12/18) = 33.7° east of north. Swing the magnet round so its 12 μT points due south and the components subtract along one line: 18 − 12 = 6 μT north, and the needle still points north but is held only feebly. Strengthen it to 24 μT south and the resultant is 6 μT south — the needle turns right round. Between those two settings lies a null point where the two cancel exactly, the resultant is zero, and the needle has no preferred direction at all. That superposition is what the figure below draws, and it is why a compass indoors is worth so little.
5A compass compares, it does not measure
A compass needle is a small dipole free to turn about a vertical pivot, so it settles along the horizontal component of the field and ignores the vertical component entirely. Three consequences are worth stating. It reports a direction, never a magnitude: it cannot tell 20 μT from 200 μT. It does not point at the geographic pole — the angle between the field's horizontal part and true north is the declination, a few degrees across most of Europe. And most of the field is invisible to it: where the total is 49 μT at a dip of 66° below horizontal, only 20 μT lies in the horizontal plane. The instrument becomes quantitative only as a comparator. Hold a known horizontal field Bₕ, apply an unknown transverse field Bₜ at right angles, and the needle settles where tan θ = Bₜ/Bₕ; a deflection of 34.0° in a 19.0 μT Earth field gives Bₜ = 19.0 × tan 34.0° = 12.8 μT. The dip angle needs a second instrument, a dip circle.
6Five places where B behaves unlike E
Set the two fields side by side. Sources: E comes from charge, B comes from charge in motion — currents, and the intrinsic spin of electrons, which is what a permanent magnet is built from. What they act on: E pushes any charge, at rest or moving, while B acts only on a moving charge, and only on the part of that motion across the field. Direction: the electric force lies along E, or against it for a negative charge, whereas the magnetic force is perpendicular to both v and B, so it never lies along a field line. Work: an electric force can speed a charge up, a magnetic force never can, because a force perpendicular to v does no work. Topology: E lines start and stop on charge, B lines close. Even the units record the difference — E is quoted in N C⁻¹, while 1 T = 1 N A⁻¹ m⁻¹, a force per unit current per unit length, because it takes a moving charge to feel B at all.
Key equations
Read the units, assumptions and limits before substituting.
The field vector at a point
B = Fₘₐₓ / (|q| v)
Makes B measurable: sweep the velocity, record the largest force, divide.
Fₘₐₓ in N, q in C, v in m s⁻¹, B in T; Fₘₐₓ is the largest force over all directions of vThe tesla
1 T = 1 N A⁻¹ m⁻¹ = 1 Wb m⁻² = 1 kg s⁻² A⁻¹
Fixes the scale: Earth about 5 × 10⁻⁵ T, a fridge magnet 5 × 10⁻³ T, an MRI bore 1.5 T.
the older unit is the gauss, with 1 G = 10⁻⁴ T exactlyMagnetic flux through a surface
ΦB = ∫ B⋅dA = B A cos θ (uniform B, flat area)
Turns lines crossing an area into a number you can compute and compare.
ΦB in weber (Wb), A in m², θ the angle between B and the surface normalGauss's law for magnetism
∮ B⋅dA = 0
No magnetic charge exists, so every line entering a closed surface also leaves it.
any closed surface, any field, at any instant; the ring on the integral marks a closed surfaceSuperposition of magnetic fields
B = B₁ + B₂ + B₃ + …
Sources never interfere: each contributes as though the others were absent.
a vector sum, so add components: Bₓ = B₁ₓ + B₂ₓ + …, every term in TCompass in two crossed horizontal fields
tan θ = Bₜ / Bₕ
Reads an unknown field off a protractor once Bₕ is known — the tangent method.
Bₜ the transverse field, Bₕ the Earth's horizontal component, both in T; θ measured from northInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. At bearing 90° with Bₕ = 20 μT, step Bₐ from 10 to 20 μT: θ climbs from 26.6° to 45.0°, not to twice 26.6°, because Bₐ sets tan θ rather than θ itself. Then put the bearing at 180° with Bₐ = Bₕ and watch the resultant collapse to zero, leaving the needle nothing to settle along.
Live results
- NORTH COMPONENT
- 20.0 μT
- EAST COMPONENT
- 20.0 μT
- RESULTANT B
- 28.3 μT
- DEFLECTION θ
- 45.0 °
Results follow this lesson’s model and assumptions. Displayed values are rounded.
Predict → change one variable → check
Plan a change before running it. Every other input stays at the saved baseline.
Saved baseline. Horizontal Earth field Bₕ: 20 μT; Applied field Bₐ: 20 μT; Bearing of Bₐ from north: 90 °
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The picture imported from electrostatics is that a magnet's north pole is a lump of positive magnetic charge that field lines stream out of, and the south pole a lump of negative charge they die on. It is tempting, because two magnets really do attract and repel much as two charges do, and it is wrong in every consequence. There is no magnetic Coulomb's law to write, because there is no magnetic charge to put in it; the force between two magnets is a force between dipoles, and it falls off far faster than 1/r². Nor can you isolate a pole to test the idea: saw the magnet in half and you get two complete magnets, each with its own north and south, and halving again does the same, down to the electron, whose spin is already a dipole. A century of searching has turned up no free monopole. What a pole actually names is a region where the lines are crowded — the end of a dipole where they leave the iron, not a place where they begin.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
A compass stands where the Earth's horizontal field is 18.0 μT due north. A coil is switched on beside it, adding a uniform horizontal field of 11.0 μT due east at the needle. Find the deflection of the needle from north and the magnitude of the resultant horizontal field.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 4 steps revealed.
- Fields superpose as vectors, and these two are at right angles, so take north and east as the axes: the north component is 18.0 μT and the east component is 11.0 μT.
- The needle settles along the resultant, so the deflection satisfies tan θ = Bₑₐₛₜ / Bₙₒᵣₜₕ = 11.0/18.0 = 0.6111.
- θ = arctan 0.6111 = 31.4°, measured east of north.
- Magnitude: B = √(18.0² + 11.0²) = √(324 + 121) = √445 = 21.1 μT — larger than either field alone, as a perpendicular sum must be.
Answer. θ = 31.4° east of north, in a resultant horizontal field of 21.1 μT.
MediumExample 2
A three-axis magnetometer at a survey site reads Bₙₒᵣₜₕ = 19.2 μT, Bₑₐₛₜ = 1.6 μT and Bdown = 44.8 μT. Find the magnitude of the field, the declination (the bearing of its horizontal part from geographic north) and the dip angle below the horizontal. Then say what a flat-lying compass needle does there.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 5 steps revealed.
- Take the horizontal part first, since that is all a compass can reach: Bₕ = √(19.2² + 1.6²) = √(368.64 + 2.56) = √371.2 = 19.27 μT.
- Total magnitude: B = √(Bₕ² + Bdown²) = √(371.2 + 2007.0) = √2378.2 = 48.77 μT.
- Declination: tan D = Bₑₐₛₜ/Bₙₒᵣₜₕ = 1.6/19.2 = 0.08333, so D = 4.76° east of north.
- Dip: tan I = Bdown/Bₕ = 44.8/19.27 = 2.325, so I = 66.7° below the horizontal.
- The needle is pivoted to stay horizontal, so only the 19.3 μT horizontal part turns it, and it settles 4.8° east of geographic north. The 44.8 μT vertical part presses on the pivot and never turns the needle, so the compass responds to under 40% of the field's magnitude.
Answer. B = 48.8 μT, declination 4.8° east, dip 66.7°; the needle points 4.8° east of north, driven by only 19.3 μT of the 48.8 μT field.
HardExample 3
Two uniform fields overlap: B₁ = 0.085 T along +x, B₂ = 0.036 T along +z. A flat circular loop of radius 6.0 cm lies in the xy-plane. (a) Find the resultant field and its angle to the z-axis. (b) Find the flux through the loop. (c) A hemispherical dome of the same radius caps the loop's rim, bulging along +z; treating dome and disc as one closed surface, find the outward flux through the dome. (d) Find the tilt about the y-axis that zeroes the flux.
Sketch your answer or reasoning, then compare it with the authored solution. Your writing is not automatically graded or saved.
0 of 6 steps revealed.
- (a) Superpose as vectors: B = √(0.085² + 0.036²) = √(0.007225 + 0.001296) = √0.008521 = 0.0923 T. Its angle from the z-axis is α = arctan(0.085/0.036) = arctan 2.361 = 67.0°.
- (b) The loop's normal lies along +z, so only the z-component threads it. Area A = πr² = π(0.060)² = 1.131 × 10⁻² m², giving Φ = Bz A = 0.036 × 1.131 × 10⁻² = 4.07 × 10⁻⁴ Wb. The general form B A cos α gives the same thing, since B cos α is exactly Bz.
- (c) For the closed surface, ∮B⋅dA = 0, so the outward flux through the dome plus the outward flux through the disc is zero. The disc's outward normal points away from the enclosed volume, along −z, so its outward flux is −4.07 × 10⁻⁴ Wb.
- The dome therefore carries +4.07 × 10⁻⁴ Wb outward. Its curvature is irrelevant: every surface on that rim passes the same flux, which is the practical content of ∮B⋅dA = 0.
- (d) Zero flux needs the normal perpendicular to B. Tilting the normal by an angle a about the y-axis gives n = (sin a, 0, cos a), so n⋅B = 0.085 sin a + 0.036 cos a = 0, hence tan a = −0.036/0.085 = −0.4235 and a = −23.0°.
- That is also the check: the normal must sit 90° from B, and B lies 67.0° from +z, so the normal ends up 90° − 67.0° = 23.0° on the far side of +z, and the loop's own plane then contains B.
Answer. (a) 0.0923 T at 67.0° from the z-axis. (b) 4.07 × 10⁻⁴ Wb. (c) +4.07 × 10⁻⁴ Wb outward. (d) A tilt of 23.0° about the y-axis, the normal swinging towards −x.
Quick check
Select an answer and explain it before checking.
Review & continue
The magnetic field B at a point is the vector whose direction is the one axis along which a moving charge feels no magnetic force, the sense being that taken by a compass needle's north end, and whose magnitude is the largest force per unit charge per unit speed found there.
- Explain the relationship without looking at the equation.
- Check a sign, a unit and a model assumption in your working.
- Return to the lab or worked example if a step is still unclear.
Optional supporting lessons
These chapter resources can help with earlier ideas; they are not additional required Physics II completion tasks.