Skip to main content

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.
Starting model: Magnetic-Field Superposition & MappingOn-axis field of two coaxial coils, 30 turns each, radius 12 cm. Each dashed curve is one coil alone, the solid curve their sum, the dashed horizontal line the centre value. Here s/R = 1.00, B₀ = 450 μT, and the probe at z = 0 cm reads 0.00 % off centre.B on the axis / μT R = 12 cm, 30 turns per coilsolid: both coils dashed: one coil alone400 μT200 μTcoil Acoil Bz / cm
Start with a picture. Change the model in the lab below.
1

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.

2

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 T

Straight-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 T

Null 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 1

Helmholtz 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 R

A 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 T

Uncertainty of a summed component

u(Bₓ) = √[u₁(Bₓ)² + u₂(Bₓ)² + …]

Absolute uncertainty survives cancellation; relative uncertainty does not.

independent sources only; every term in T
3

Interactive lab

Predict first. Explore the model. Compare the result.

Explore the model

12 cm
4 to 24 cm; steps of 1.
2.0 A
0.2 to 2 A; steps of 0.1.
0 cm
−15 to 15 cm; steps of 1.

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.

Interactive Physics II modelOn-axis field of two coaxial coils, 30 turns each, radius 12 cm. Each dashed curve is one coil alone, the solid curve their sum, the dashed horizontal line the centre value. Here s/R = 1.00, B₀ = 450 μT, and the probe at z = 0 cm reads 0.00 % off centre.B on the axis / μT R = 12 cm, 30 turns per coilsolid: both coils dashed: one coil alone400 μT200 μTcoil Acoil Bz / cm
On-axis field of two coaxial coils, 30 turns each, radius 12 cm. Each dashed curve is one coil alone, the solid curve their sum, the dashed horizontal line the centre value. Here s/R = 1.00, B₀ = 450 μT, and the probe at z = 0 cm reads 0.00 % off centre.

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

Baseline 12; choose 4 to 24, in steps of 1.
4. Compared with the saved baseline, this result will…

This experiment is kept only while this page is open. It does not change saved course progress.

4

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.

5

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.

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.

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.

6

Quick check

Select an answer and explain it before checking.

Two long parallel wires 0.20 m apart both carry current into the page: 12 A in wire 1 and 4.0 A in wire 2. Where on the line joining them is the net magnetic field zero?
7

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.

Extra challenging questions

Connect several ideas, explore supplied data, and compare your reasoning with a worked solution.