Sub topic 6
Combining fields of composite conductors
What this chapter assumes
You should already know the Biot-Savart law, the field of a finite straight wire, B = μ0 I (sin θ1 + sin θ2) / (4π d), and the field of a circular arc, B = μ0 I φ / (4π R) at the centre (φ in radians). You should be comfortable with the right-hand rule for direction and with adding vectors in components.
The principle: superposition
Magnetic fields from different current elements add as vectors. The Biot-Savart law is linear in the current, so if a conductor is built from several pieces, the total field at a point is the vector sum of the field each piece produces on its own:
Btotal = B1 + B2 + B3 + ...
The method is the same for every composite problem:
- Split the conductor into pieces whose fields you already know: straight segments, arcs, full loops, semi-infinite wires.
- Find the magnitude of each piece's field at the target point.
- Find the direction of each field with the right-hand rule.
- Add with signs, or with components if the fields are not parallel.
Standard building blocks
| Piece | Field at the point of interest | Condition |
|---|---|---|
| Infinite straight wire | μ0 I / (2π d) | Point at perpendicular distance d |
| Semi-infinite wire | μ0 I / (4π d) | Point on the perpendicular through the end of the wire |
| Finite straight wire | μ0 I (sin θ1 + sin θ2) / (4π d) | Angles measured from the perpendicular to the wire |
| Circular arc | μ0 I φ / (4π R) | Point at the centre of curvature |
| Full loop | μ0 I / (2R) | Point at the centre |
| Straight wire, point on its extension | 0 | Every dl is parallel to r, so dl × r = 0 |
The last row is the most useful shortcut. Because dB is proportional to dl × r, any straight segment whose line passes through the field point contributes nothing. Many JEE problems become short once you cross out these segments.
Worked example 1: a hairpin with a semicircle
A long wire runs along the negative x-axis toward the origin region, turns through a semicircle of radius R, and leaves along the positive direction in a parallel line, so that the shape is two straight semi-infinite wires joined by a semicircular arc. The point P is the centre of the semicircle. Each straight wire is a semi-infinite wire whose end lies on the perpendicular through P, and the line of each wire does not pass through P.
Each semi-infinite wire gives μ0 I / (4π R). The semicircle gives μ0 I π / (4π R) = μ0 I / (4R). If the current circulates the same way around P in all three pieces, all three fields point the same way, normal to the plane of the figure, so the magnitudes add:
B = 2 × μ0 I / (4π R) + μ0 I / (4R) = (μ0 I / 4R)(1 + 2/π)
The "same way" condition matters. Check it with the right-hand rule for each piece instead of assuming it.
Worked example 2: wire along a radius
Consider a loop made of a straight section running radially toward the centre O, an arc of angle φ and radius R, and a second radial section leaving O. The field at O has these contributions:
- Each radial section passes through O. By the shortcut above, each contributes zero.
- The arc contributes μ0 I φ / (4π R).
So B = μ0 I φ / (4π R). The straight parts do not matter for the magnitude. They only matter for carrying the current, and the arc direction is fixed by the sense of current in it.
Worked example 3: two concentric coplanar loops
Two loops with radii R1 and R2 lie in the same plane with the same centre. Their fields at the centre are μ0 I1 / (2R1) and μ0 I2 / (2R2), both normal to the plane.
- If the currents circulate the same way, B = μ0 I1 / (2R1) + μ0 I2 / (2R2).
- If they circulate in opposite senses, B = |μ0 I1 / (2R1) − μ0 I2 / (2R2)|.
The net field is zero when I1 / R1 = I2 / R2 and the senses are opposite.
Perpendicular combinations
When the pieces produce fields in different directions, use components. Take two identical circular loops of radius R and current I with a common centre and perpendicular planes. At the centre, each loop gives μ0 I / (2R), one along x and the other along y. The magnitudes combine as a right triangle:
B = √2 × μ0 I / (2R)
The resultant makes 45 degrees with each axis when the loops are identical.
Checking a composite field numerically
The code below applies superposition directly: it treats a square loop of side a as four finite wires and sums their fields at the centre. Each side is at perpendicular distance a/2 and subtends θ1 = θ2 = 45 degrees. The result should match the known closed form 2√2 μ0 I / (π a).
import math
MU0 = 4e-7 * math.pi
def straight_wire_field(I, d, theta1, theta2):
return MU0 * I / (4 * math.pi * d) * (math.sin(theta1) + math.sin(theta2))
I, a = 4.0, 0.20
one_side = straight_wire_field(I, a / 2, math.pi / 4, math.pi / 4)
total = 4 * one_side # all four fields point the same way at the centre
closed_form = 2 * math.sqrt(2) * MU0 * I / (math.pi * a)
print(total)
print(closed_form)The four sides add directly because the current circulates in one sense, so each side's field at the centre points along the same normal to the plane.
Common errors
- Adding magnitudes when directions differ. Always determine direction before you add. Opposite fields subtract and perpendicular fields combine by Pythagoras.
- Using the semi-infinite formula at the wrong point. The value μ0 I / (4π d) applies only when the point lies on the perpendicular through the end of the wire. For other points, use the finite-wire formula with θ1 and θ2.
- Counting a segment that points at the field point. A segment along the line through P gives zero. Do not substitute d = 0 into the wire formula, since it is undefined there.
- Mixing up the arc angle. The arc formula needs φ in radians. A quarter circle has φ = π/2, so B = μ0 I / (8R).
- Forgetting the connecting wires. A loop fed by two long straight wires is not an isolated loop. If the wires are not collinear with the point, they add to the field.
Worked example 4: a loop with a straight wire through its centre
A long straight wire carries current I1 along a diameter-line tangent to a circular loop of radius R, in the plane of the loop, touching it at one point. The loop carries I2. At the centre of the loop, the straight wire is at distance R, so it contributes μ0 I1 / (2π R), and it is perpendicular to the plane of the loop at that point. The loop contributes μ0 I2 / (2R), also normal to the plane. Both fields are along the same line, so they add or subtract according to the sense of the currents.
If the two currents are equal and the fields add, B = (μ0 I / 2R)(1 + 1/π). If the senses give opposite fields, B = (μ0 I / 2R)(1 − 1/π).
Exercise
A wire carrying current I is bent into a shape made of a semicircle of radius R and two long straight sections, one on each side. Each straight section is collinear with a diameter of the semicircle, so both lines pass through the centre O. Find the magnitude of the field at O.
Show answer
Each straight section lies along a line through O, so each contributes zero. Only the semicircle contributes, with φ = π. B = μ0 I π / (4π R) = μ0 I / (4R), directed normal to the plane of the wire, with the sense given by the right-hand rule for the current in the semicircle.
Exercise
Two concentric circular loops lie in one plane. The inner loop has radius 5 cm and carries 3 A. The outer loop has radius 10 cm. What current in the outer loop, and in which sense relative to the inner loop, makes the field at the common centre zero?
Show answer
The fields cancel when μ0 I1 / (2R1) = μ0 I2 / (2R2), so I2 = I1 R2 / R1 = 3 × 10 / 5 = 6 A. The currents must circulate in opposite senses, so that the two fields at the centre point in opposite directions.