Lesson 4 of 8 · Stationary magnetic fields
Fields from wires, loops and solenoids
Choose an integration path using symmetry, find fields made by currents and calculate the force between parallel wires.
About 18 minutes
In this lesson
- Use Ampère’s law with cylindrical symmetry.
- Apply the Biot–Savart law to a loop or solenoid.
- Predict the force between parallel currents.
The idea
Put the observation point on the diagram
The field made by a current depends on both the shape of its path and the point where you measure it. Mark that point first. A small segment gives in vacuum for a steady current. Here points from the segment to the observation point. Follow the wire to add each contribution. The inverse square occurs in the contribution from an element. The field of a whole extended wire can follow a different distance dependence because both the angles and the distances vary along the wire.
At the centre of a circular loop, every element has the same distance from the observation point. Every directed length is perpendicular to its radius, and every field contribution points along the same axis. Integrating the circumference gives for one turn. This expression is specific to the centre. A probe displaced far along the axis sees a much weaker dipole field. At the centre of a tightly wound flat stack of identical turns, multiply the single-turn result by their number.
A circulation shortcut
Ampère's law for steady currents in vacuum gives . The integrating path is an imaginary closed curve in space. An oriented surface spans it. Currents piercing that surface count with sign according to the right-hand rule. A current just outside the curve can still produce a field along it, although that current contributes zero to the complete circulation. To extract a local field value you need a reason the integral simplifies.
For an effectively infinite straight wire, rotational and translational symmetry give a field tangent to concentric circles with constant magnitude on each circle. Take a circular path of radius outside the wire. Its circulation is , giving . Curl the right-hand fingers around the wire with the thumb pointing along the current to orient this field. Far from the ends of a long wire this approximation works well if the return path is also sufficiently distant. Inside a thick wire the chosen circle encloses only part of the current. First calculate the current within its radius.
From a circular loop to a long coil
A solenoid stacks many current loops along an axis. Inside a tightly wound long solenoid the axial contributions reinforce each other. Away from its ends the interior field is approximately uniform and the exterior field is small. An Ampèrian rectangle with one long side inside and the other outside gives for an air core, with the turns per unit length. Near an end the external contribution and the curvature of the field lines are significant. For a thin finite winding of radius centred at the origin, the centre field is . This follows by adding the axial fields of its individual loops. As the length grows at fixed turn density, the geometric factor tends to one.
Forces between currents
Draw the field of the first wire at the second wire. Then apply the force law to the current in the second wire. Two parallel long wires a distance apart exert a force of magnitude per unit length . For currents flowing the same way it is attractive. Reversing either current reverses that force while reversing both currents keeps it attractive. The two wires exert equal and opposite forces on each other.
Gauss's law for magnetism gives through any closed surface. Trace a field line across the wall of a box. Where it enters, it contributes negative outward flux. Where it leaves, it contributes positive flux. This law constrains magnetic flux, while Ampère's law constrains magnetic circulation. Distinguishing a closed surface from a closed path is often enough to choose the relevant equation.
Worked examples
Example 1: Place a probe beside a wire
A long straight wire in vacuum carries 6.0 A. Find the field 3.0 cm from its axis outside the wire. Use in SI units.
Use a circular Ampèrian path of radius 0.030 m centred on the wire.
Substitute into T. The field is tangent to the circular path.
Answer
The field is 40 µT, circulating around the current by the right-hand rule.
Example 2: Calculate the force per metre
Two long straight wires in vacuum are 2.0 cm apart and carry 3.0 A and 4.0 A in the same direction. Find the force per metre.
At the second wire, the first produces T.
The second wire crosses this field at right angles, giving .
Answer
Each wire feels N per metre towards the other.
Common traps
Pulling a variable field out of an integral
Choose a path on which symmetry fixes the field magnitude and the angle to the tangent.
Counting all turns without measuring length
In a long solenoid the current enclosed per metre depends on turns per metre. Specify the winding length.
Check yourself
Choose an answer to each question: you will see at once whether it is right, and why.
Question 1: Change a solenoid winding
Magnetostatics
In a long air-core solenoid, turn density doubles while current halves. What happens to the central field?
Show the answer
Answer: B. It stays the same.
Working
The product is unchanged, so stays constant.
Why the other options are wrong
- A. The doubled turn density compensates for the smaller current.
- C. This omits the reduction in current through the turns.
What carries over
Separate total turns from turn density.
Question 2: Expand a single turn
Biot–Savart law
Double the radius of a circular loop while holding its current fixed. What is the new field at its centre?
Show the answer
Answer: A. Half the original field
Working
At the centre , so doubling halves the field.
Why the other options are wrong
- B. Each element is farther away but the circumference also doubles.
- C. Increasing the circumference also increases the source distance.
What carries over
The inverse-square element law must be integrated over the source.
Question 3: Enclose a wire
Gauss’s law for magnetism
A closed surface surrounds part of a current-carrying wire. What is its net outward magnetic flux?
Show the answer
Answer: C. Zero
Working
The integral of the normal magnetic field over any closed surface vanishes.
Why the other options are wrong
- A. A closed magnetic flux has no source term for wire length.
- B. Current enters the circulation law for a closed path.
What carries over
Identify whether the integration object is a loop or a surface.
Flashcards
Recall the answer before you flip each card, then say whether you knew it. Cards you miss come back at the end.
- What path is convenient around an infinite straight wire?
- A circle perpendicular to and centred on the wire.
- Where does the simple circular-loop centre formula apply?
- At the centre of the loop.
- What happens to the interior solenoid approximation near an end?
- The field spreads and the long-solenoid approximation loses accuracy.
- What does a closed magnetic flux integral measure?
- The signed magnetic flux over the entire boundary. Its value is zero.
Key points
Mark the field point before constructing source vectors.
Symmetry can turn Ampère’s circulation law into a field formula.
Parallel currents in the same direction attract.
All questions here are original and written for UniExamer; none comes from the test maker.
Written and reviewed by the UniExamer education and assessment team. Every worked example and check question was checked before publication. If you find a mistake, write to support@uniexamer.com.