
Physics II course sequence · Interactive lesson
Magnetic-Field Superposition & Mapping
Every wire and coil in the room contributes to the field at a bench point, and the only honest way to combine them is component by component. That is how you find where the field vanishes, how you read a probe you can trust, and how you shape two coils into a region of uniform field.
UPII-09.08 · Lesson 8 of 8 in this unit. Position is not a completion score.Build the model
Fields add as vectors, so they can also cancel.
The key idea
Magnetic-field superposition is the rule that the field at a point equals the vector sum of the fields each current would produce there by itself, with every other current switched off.
Example. At one bench point a coil contributes 30 μT pointing east and a wire contributes 40 μT pointing north. The net field is 50 μT at 53° north of east — not the 70 μT that adding the two numbers gives.
The complete physical model and assumptions
Maxwell's equations are linear in the currents, so the field of a collection of wires and coils is nothing more than the sum of what each would produce on its own — but the sum is a vector sum, taken component by component, with each contribution's direction fixed by its own right-hand rule. That one statement is the whole engine of field mapping: choose a field point, run a single kernel over every source, add the components, repeat on a grid, and the map draws itself. It is also what makes nulls possible, since contributions pointing in opposite senses can cancel exactly at isolated points, and finding those points means setting each component to zero and solving. The same linearity lets you design rather than merely describe: two coils placed one radius apart cancel each other's curvature and leave a centre region where the field is uniform to a fraction of a percent. Where the model stops is at the sources themselves. Superposition says nothing about how a current arranges itself, so an iron core, a superconductor, or any material whose magnetisation answers to the field you are computing breaks the additivity — the field you add back changes the source you added it from.
1Add vectors, never magnitudes
Linearity is what licenses the whole method: doubling every current doubles every field, and switching on a second wire does not alter what the first one produces. So compute each source's contribution as though it were alone, then add. The adding is where students lose the thread. Contributions are vectors, and the angle between them settles the answer: two wires that each give 60 μT at a point sum to 120 μT when their directions coincide, to 85 μT when they meet at 90°, to 60 μT when they meet at 120°, and to nothing at all when they are opposed. One pair of magnitudes therefore covers every value from zero up to twice either of them. So fix each direction first, with the right-hand rule applied separately to each source — thumb along that current, fingers curling the way its own field circles — then resolve onto one pair of axes and add the components. Never add magnitudes and attach a direction afterwards.
2One kernel, summed over every wire, is a map
A map is the same short calculation repeated. For a long wire through (x₀, y₀) carrying I in the +z direction, write its contribution at (x, y) straight into components: Bₓ = −(μ₀I/2π)(y − y₀)/r² and By = (μ₀I/2π)(x − x₀)/r², with r² = (x − x₀)² + (y − y₀)². The signs already carry the right-hand rule, so nothing is reasoned out twice. Test it on one point: a wire at the origin carrying 10.0 A out of the page gives, at (4.0 cm, 3.0 cm), r = 5.0 cm and magnitude μ₀I/2πr = 40 μT, split as Bₓ = −24 μT and By = +32 μT — perpendicular to the radius, as it must be. Now sample a grid, sum the kernel over every wire at each node, and draw an arrow. Arrows at true scale are useless, because the magnitude runs as 1/r and the near ones swamp everything else; draw each arrow along the direction of B with a length going as √|B|, or as ln(|B|/Bref) against a stated reference field, and say on the figure which you used.
3A null is a solved equation, not a small number
Zero field means every component is zero, so a null in a plane is two equations in two unknowns and is generically a point, not a region. On the line joining two parallel wires it collapses to one equation. With both currents in the same direction the contributions oppose only between the wires, so the null lies there, where μ₀I₁/2πd₁ = μ₀I₂/2πd₂, that is d₁/d₂ = I₁/I₂. With d = 0.20 m, I₁ = 12 A and I₂ = 4.0 A the ratio is 3.0 and d₁ = 0.15 m — three-quarters of the way across, close to the weak wire, where its field has grown enough to match. Reverse one current and the geometry inverts: between the wires the contributions now reinforce, and the null moves outside the pair, beyond the weaker wire, at distance d I₁/(I₁ − I₂) from the stronger one. Make the currents equal as well and that denominator vanishes: there is then no null on the line at all. Add a third source — Earth's field is always present — and the null shifts again, which is why a measured null never sits exactly where a two-wire calculation puts it.
4Geometry you can optimise: why a coil pair goes flat
Superposition also lets you design. Take two identical coaxial coils of radius R, N turns each, a distance s apart, carrying the same current the same way round. On the axis the sum is B(z) = (μ₀NIR²/2)[(R² + (z − s/2)²)(−3/2) + (R² + (z + s/2)²)(−3/2)]. The arrangement is symmetric about the midpoint, so every odd derivative of B already vanishes at z = 0 and the first thing that can spoil uniformity is the second derivative. Demanding d²B/dz² = 0 at the centre gives exactly s = R, which is what the name Helmholtz records. The leading surviving term is fourth order, B(z) ≈ B₀[1 − (144/125)(z/R)⁴], so the field is flat to better than 0.5% out to a quarter of a radius either side of centre. The centre value is B₀ = 8μ₀NI/(5√5 R) ≈ 0.7155 μ₀NI/R; with N = 130, I = 1.50 A and R = 0.150 m that is 1.17 mT. Pull the coils closer and the field peaks at the centre; push them past s = R and it sags into a double hump.
5Calibrate the probe, then subtract what you are not measuring
A Hall probe does not report B; it reports a voltage. Convert with B = (V − V₀)/S, where S is the sensitivity in V T⁻¹ and V₀ the reading in zero field — a few millivolts that drifts with temperature and, at S = 50 V T⁻¹, stands for tens of microtesla. Two habits make a map trustworthy. First, reverse the source current and take half the difference: forward, the probe sees Bₛ + Bbg; reversed, it sees −Bₛ + Bbg, so (V₊ − V₋)/2S returns Bₛ with the offset and every steady background — Earth's field, the magnetised steel bench, the transformer across the room — removed in one step. That matters, because Earth's field is 25 to 65 μT and a 100 μT bench coil cannot ignore it. Second, watch the orientation. The probe senses only B ⋅ n̂, so a misalignment θ reads |B| cos θ: 10° costs 1.5% and 25° costs 9.4%. Mapping a direction, not just a magnitude, means turning the probe through three orthogonal settings at the same point.
6Uncertainty behaves badly near a null
Uncertainties travel through superposition the way the fields do — in components, in quadrature, provided the sources are independent: u(Bₓ)² = u₁(Bₓ)² + u₂(Bₓ)² + … . The absolute uncertainty therefore survives cancellation untouched. Two contributions of 200 μT each known to 1% carry 2.0 μT apiece, so their difference near a null is 0 ± 2.8 μT: the value is small, its uncertainty is not, and the relative uncertainty is unbounded. Quoting a null to a percentage is meaningless. What is worth reporting is the position of the null, which is well conditioned. For two parallel wires d₁ = d/(1 + I₂/I₁), so a fractional mismatch δ in the current ratio moves the null by dδ/4 when the currents are nominally equal — 1.0 mm for a 2% mismatch across a 0.20 m gap. That displacement is measurable, and it is how a null earns its keep: as a sensitive comparator of two currents, not as a place where the field is known to be zero.
Key equations
Read the units, assumptions and limits before substituting.
Superposition of magnetic fields
B(P) = B₁(P) + B₂(P) + B₃(P) + …
Licensed by the field equations being linear in the currents, and only by that.
each Bⱼ is what source j alone would give at P, added component by component; every term in TStraight-wire kernel in components
Bₓ = −(μ₀I/2π)(y − y₀)/r² and By = (μ₀I/2π)(x − x₀)/r²
The signs carry the right-hand rule, so a grid sweep needs no further reasoning.
wire through (x₀, y₀) along +z; r² = (x − x₀)² + (y − y₀)², lengths in m, I in A, B in TNull between two parallel currents
d₁ = d I₁/(I₁ + I₂)
The null sits nearer the weaker wire; equal currents put it at the midpoint.
currents I₁, I₂ in A in the same direction, separation d in m, d₁ measured from wire 1Helmholtz pair at its centre
B₀ = 8μ₀NI/(5√5 R) ≈ 0.7155 μ₀NI/R
The separation that flattens the field also costs 28% of two coils stacked together.
N turns per coil, I in A, coil radius R in m, coil separation set equal to RA probe reads one component
Bprobe = B ⋅ n̂ = |B| cos θ
A 10° misalignment reads 1.5% low, so a direction needs three probe orientations.
n̂ the probe's sensitive axis, θ the angle between n̂ and B; B in TUncertainty of a summed component
u(Bₓ) = √[u₁(Bₓ)² + u₂(Bₓ)² + …]
Absolute uncertainty survives cancellation; relative uncertainty does not.
independent sources only; every term in TInteractive lab
Predict first. Explore the model. Compare the result.
Explore the model
Try this. Set s to 6 cm and the sum peaks sharply at the centre; set s to 18 cm and it sags into two humps. At s = 12 cm, one coil radius, put the probe at z = 3 cm: the field there is only 0.42 % below the centre value.
Live results
- PROBE READS B(z)
- 450 μT
- CENTRE FIELD B₀
- 450 μT
- SEPARATION s/R
- 1.00
- OFF CENTRE BY
- 0.00 %
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. Coil separation s: 12 cm; Current in each coil: 2.0 A; Probe position z: 0 cm
This experiment is kept only while this page is open. It does not change saved course progress.
Catch the common trap
The error is adding magnitudes. Contributions of 30 μT and 40 μT at the same point give 70 μT only if they are parallel; at right angles they give 50 μT, and head to head they give 10 μT. Direction has to be fixed first, source by source, with the right-hand rule. The same slip runs backwards in a familiar claim: that two parallel wires carrying equal and opposite currents must cancel somewhere between them. They never do. Between any antiparallel pair both contributions circulate the same way through the gap, so they reinforce rather than oppose, and the field between the wires is larger there than either wire would give on its own. When the two currents are also equal, the nearer wire wins everywhere outside the pair as well, so there is no null anywhere on the line through the wires: reversing one of two equal currents does not move the null, it destroys it. Make the currents unequal and a null reappears, but outside the pair and beyond the weaker wire — never between them.
Practice & worked examples
3 authored examples. Make an attempt, then reveal the reasoning one step at a time.
EasyExample 1
Two long straight wires run perpendicular to the page, 0.100 m apart, wire 1 on the left and wire 2 on the right, each carrying current out of the page: 6.0 A in wire 1 and 8.0 A in wire 2. Find the net field at the midpoint of the line joining them, then find where on that line the field is zero.
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.
- Wire 1 is 0.050 m from the midpoint, so it contributes μ₀I₁/2πr = (2.0 × 10⁻⁷ T m A⁻¹)(6.0 A)/(0.050 m) = 24 μT. Its current is out of the page, so at a point to its right the field circles anticlockwise and points up the page.
- Wire 2 is also 0.050 m away and contributes (2.0 × 10⁻⁷)(8.0)/(0.050) = 32 μT, but the midpoint lies to its left, so its contribution points down the page.
- The two are antiparallel, so their components subtract: B = 32 − 24 = 8.0 μT, down the page. Adding the magnitudes would have given 56 μT.
- For the null the magnitudes must match: μ₀I₁/2πd₁ = μ₀I₂/2πd₂, so d₁/d₂ = I₁/I₂ = 6.0/8.0 = 0.75 with d₁ + d₂ = 0.100 m.
- Hence d₁ = 0.100 m × 6.0/14.0 = 0.0429 m. Check: (2.0 × 10⁻⁷)(6.0)/0.0429 = 28 μT and (2.0 × 10⁻⁷)(8.0)/0.0571 = 28 μT.
Answer. B = 8.0 μT at the midpoint, directed down the page; the field is zero 0.0429 m from wire 1, that is 0.0571 m from wire 2.
MediumExample 2
A two-wire feeder runs perpendicular to the page, one wire at the origin and one at (8.0 cm, 0). Each carries 10.0 A, the one at the origin out of the page and the one at (8.0 cm, 0) into the page. Find the net field at P = (4.0 cm, 3.0 cm), as magnitude and direction.
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.
- Distances: r₁ = √(4.0² + 3.0²) = 5.0 cm and r₂ = √((−4.0)² + 3.0²) = 5.0 cm. Each wire therefore contributes μ₀I/2πr = (2.0 × 10⁻⁷)(10.0)/(0.050) = 40 μT.
- Use the kernel for a current out of the page: Bₓ = −(μ₀I/2π)Δy/r² and By = (μ₀I/2π)Δx/r², with Δ the displacement from the wire to P.
- Wire 1: Δ = (4.0, 3.0) cm, so the unit direction is (−0.60, +0.80) and B₁ = 40 μT × (−0.60, +0.80) = (−24, +32) μT.
- Wire 2: Δ = (−4.0, 3.0) cm gives the out-of-page direction (−0.60, −0.80); the current is into the page, which reverses it, so B₂ = 40 μT × (+0.60, +0.80) = (+24, +32) μT.
- Add components: Bₓ = −24 + 24 = 0 and By = 32 + 32 = 64 μT. The x-components cancel by the symmetry of the pair while the y-components reinforce.
Answer. B = 64 μT directed along +y, straight up the page and perpendicular to the line joining the wires. Adding magnitudes would have given 80 μT.
HardExample 3
A Helmholtz pair carries 130 turns on each coil, has radius R = 0.150 m, and the coils sit a distance R apart. Its axis is aligned with the horizontal component of Earth's field, 19.0 μT. (a) What coil current cancels that component at the centre? (b) Using B(z) ≈ B₀[1 − (144/125)(z/R)⁴] on the axis, how far from the centre may a sample sit before the residual field exceeds 0.20 μT?
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.
- Superposition sets the target: the pair must produce 19.0 μT at the centre, pointing opposite Earth's horizontal field. At separation equal to the radius the centre value is B₀ = 8μ₀NI/(5√5 R) = 0.7155 μ₀NI/R.
- Field per unit current: 0.7155 × (4π × 10⁻⁷ T m A⁻¹)(130)/(0.150 m) = 7.793 × 10⁻⁴ T A⁻¹, that is 779.3 μT A⁻¹.
- So I = 19.0 μT ÷ 779.3 μT A⁻¹ = 0.02438 A = 24.4 mA, wound so that its field opposes Earth's.
- Off centre the cancellation decays. Earth's field is uniform across the bench, so the residual is BE − B(z) = B₀(144/125)(z/R)⁴ = 1.152 B₀ (z/R)⁴.
- Set 1.152 (z/R)⁴ = 0.20/19.0 = 0.01053, giving (z/R)⁴ = 9.14 × 10⁻³ and z/R = 0.309, so z = 0.309 × 0.150 m = 0.046 m.
- Summing the two coil fields exactly rather than through the quartic term alone puts the limit at 0.048 m, so the approximation errs on the safe side.
Answer. I = 24.4 mA, and the residual stays below 0.20 μT — about 1% of Earth's field — for |z| ≤ 4.6 cm, a working region some 9 cm long.
Quick check
Select an answer and explain it before checking.
Review & continue
Magnetic-field superposition is the rule that the field at a point equals the vector sum of the fields each current would produce there by itself, with every other current switched off.
- 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.