HSC Physics · Magnetic Fields due to Electric Current
Ampere's Law, the Solenoid and the Toroid
Ampere's circuital law, how a well chosen loop gives the field of a long wire, a coaxial cable, a long solenoid and a toroid without the Biot-Savart integration, and the formulas μ₀nI and μ₀NI/(2πr).
Why this matters
13 questions. Five were set in board papers: state and explain Ampere's circuital law (2018), obtain the field of a toroid (2023, 2026), find the field at the centre of a long solenoid (2025) and the field of a coaxial cable between and outside its conductors (2026). The textbook adds the use of the law in different cases, the sign of the current through an Amperian loop, the field inside a wire with uniform or varying current density, and the current needed in a toroid.
Concept 1 of 4: Ampere's circuital law
Definition
- Statement: the line integral of the magnetic field round any closed path is times the net current passing through the area bounded by the path: .
- The closed path is called an Amperian loop; it is imaginary and can have any shape.
- Sign of a current: curl the fingers of the right hand along the direction in which the loop is traversed. A current along the stretched thumb is positive; one opposite to it is negative. Currents outside the loop are not counted.
- Use: choose a loop on which has the same size everywhere and is along (or perpendicular to it). Then (length of the loop) and B follows at once.
- The Biot-Savart law plays the role in magnetism that Coulomb's law plays in electrostatics; Ampere's law plays the role of Gauss's law.
- Example: a circle of radius round a long straight wire gives , so .
Ampere's circuital law
- small length of the Amperian loop, along the direction of travel
- net current passing through the loop
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a real exam question:
Example 1 · Magnetic Fields due to Electric Current · Ampere's Law, Solenoid and Toroid
Reading a zero integral as a zero field
Getting the sign of the enclosed current wrong
Concept 2 of 4: Field of a long wire and a coaxial cable
Definition
- Take a circle of radius about the axis; by symmetry is the same all round it and along it, so .
- Outside a long wire: , so .
- Inside a wire of radius with uniform current density : , so . B grows in proportion to and is largest at the surface.
- If varies with , find by adding the current in thin rings of area .
- Coaxial cable (core radius , outer conductor radius , equal and opposite currents): for , ; for , , so . The field lines are circles about the axis.
Long wire and coaxial cable
- radius of the Amperian circle, from the axis
- radius of the wire
- current density, current per unit area
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a real exam question:
Example 2 · Magnetic Fields due to Electric Current · Ampere's Law, Solenoid and Toroid
Using the whole current inside the wire
Giving a direction where there is no field
Concept 3 of 4: Field of a long solenoid
Definition
Derivation outline (Ampere's law):
- Take a rectangular Amperian loop with one side of length inside the solenoid, parallel to the axis, and the opposite side outside.
- Outside an ideal solenoid ; on the two short sides is perpendicular to . So .
- With turns per unit length, the loop encloses turns, each carrying : .
- , so , uniform inside and along the axis. .
- The diameter does not appear. A real solenoid of finite length has a uniform, strong field near its centre and a weaker one near its ends.
Long solenoid
- number of turns per metre of length
- current in the winding
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a real exam question:
Example 3 · Magnetic Fields due to Electric Current · Ampere's Law, Solenoid and Toroid
Using N for n
Bringing the diameter into the answer
Concept 4 of 4: Field of a toroid
Definition
Derivation outline (Ampere's law):
- Take as the Amperian loop a circle of radius inside the core, concentric with the toroid. By symmetry is the same all round it and along it: .
- Each of the turns passes through this circle once, so .
- , so .
- With turns per unit length, , as for a long solenoid.
- , so unlike a solenoid the field is not the same across the cross section of the core.
- In the open space inside the ring and outside the toroid, , so .
Toroid
- total number of turns
- radius of the circle inside the core (the mean radius)
Worked example
Practise this conceptself-check · 2 quick reps
The same idea in a real exam question:
Example 4 · Magnetic Fields due to Electric Current · Ampere's Law, Solenoid and Toroid
Taking the field of a toroid as uniform
A derivation with no Amperian loop named
Summary — formulas & gotchas at a glance
A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.
Formulas (4)
- Ampere's circuital law
Ampere's circuital law
- Field of a long wire and a coaxial cable
Long wire and coaxial cable
- Field of a long solenoid
Long solenoid
- Field of a toroid
Toroid
Watch out for (8)
- Reading a zero integral as a zero field→ Ampere's circuital law
- Getting the sign of the enclosed current wrong→ Ampere's circuital law
- Using the whole current inside the wire→ Field of a long wire and a coaxial cable
- Giving a direction where there is no field→ Field of a long wire and a coaxial cable
- Using N for n→ Field of a long solenoid
- Bringing the diameter into the answer→ Field of a long solenoid
- Taking the field of a toroid as uniform→ Field of a toroid
- A derivation with no Amperian loop named→ Field of a toroid
Test yourself on Magnetic Fields due to Electric Current
9 past MH HSC 12 questions from this chapter, timed at 14 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.