• Foundation
  • About 24 min
  • 5 practice questions

Ampere's circuital law, the solenoid and forces between currents

State Ampere's circuital law, use it to find the field of a long straight wire (inside and outside) and of a long solenoid, and derive the force per unit length between parallel currents that defines the ampere.

If something looks wrong, please tell us.

By the end of this lesson you can

  • State Ampere's circuital law and its sign convention.
  • Derive B = μ₀I/(2πr) for a long straight wire, and the field inside a thick wire.
  • Derive B = μ₀nI inside a long solenoid.
  • Derive the force between parallel currents and state the definition of the ampere.

Gauss's law made electric fields of symmetric charge distributions easy to find. Ampere's circuital law does the same for magnetic fields of symmetric current distributions. It is not new physics - it follows from the Biot-Savart law - but it is a far quicker tool when there is symmetry.

Ampere's circuital law

Take any closed loop C bounding a surface through which currents pass. Break the loop into small elements dl, multiply each by the tangential component of B there (B · dl), and add them all up round the loop:

∮ B · dl = μ₀ I, where I is the total current passing through the surface bounded by the loop.

Sign convention: curl the fingers of the right hand in the sense in which the loop is traversed; currents in the direction of the thumb count as positive. When symmetry lets us choose an Amperian loop on which B is either tangential with constant size, normal to the loop, or zero, the law reduces to BL = μ₀I_e, where L is the length of the part of the loop along which B is tangential and I_e is the current enclosed. The law holds for steady currents.

Field of a long straight wire

By symmetry, the field of an infinitely long straight wire has the same size at all points on a circle of radius r centred on the wire, and is tangential to that circle. Taking that circle as the Amperian loop: B × 2πr = μ₀I, so:

B = μ₀I/(2πr), with field lines forming concentric circles round the wire. Right-hand rule: grasp the wire with the thumb along the current; the fingers curl in the direction of B.

  • The field has cylindrical symmetry: it depends only on r.
  • Magnetic field lines are closed loops - unlike electrostatic field lines, which begin and end on charges. This explains Oersted's circles of iron filings.
  • Though the wire is infinite, the field at any non-zero distance is finite; it grows large only very near the wire.

Inside a thick wire. If the current I is spread uniformly over a wire of radius a, a circle of radius r < a encloses only the fraction r²/a² of the current: B × 2πr = μ₀I r²/a², so B = μ₀Ir/(2πa²). The field rises linearly from zero at the axis to μ₀I/(2πa) at the surface, then falls as 1/r outside. (Ampere's law cannot easily give the field at the centre of a single circular loop, because there the symmetry needed for a simple Amperian loop is missing.)

Worked example 1: straight wires

(a) A long wire carries 10 A. At 5 cm: B = μ₀I/(2πr) = 2 × 10⁻⁷ × 10 ÷ 0.05 = 4 × 10⁻⁵ T. (b) A wire of radius 2 mm carries 10 A spread uniformly. At its surface B = 2 × 10⁻⁷ × 10 ÷ 0.002 = 1 × 10⁻³ T; at r = 1 mm, inside, B = μ₀Ir/(2πa²) = 2 × 10⁻⁷ × 10 × 0.001 ÷ (0.002)² = 5 × 10⁻⁴ T, half the surface value as expected for B ∝ r.

The long solenoid

A solenoid is a long wire wound as a closely spaced helix of insulated (enamelled) turns, its length much greater than its radius. Between neighbouring turns their fields largely cancel; inside, they add to a strong field along the axis; outside, the field is very weak. For an ideal long solenoid we take B uniform and axial inside, and zero outside.

  1. Take a rectangular Amperian loop with one side of length h inside, parallel to the axis, and the opposite side outside.
  2. Outside side: B = 0. The two short sides crossing the winding: B is perpendicular to them (or zero), contributing nothing.
  3. Inside side contributes Bh. With n turns per unit length, the loop encloses nh turns, so I_e = nhI.
  4. Bh = μ₀nhI.

Inside a long solenoid: B = μ₀nI, uniform and along the axis (direction by the right-hand rule), where n = turns per unit length.

A solenoid is the usual way to produce a uniform magnetic field; inserting a soft iron core makes the field much stronger, as the next chapter explains.

Worked example 2: a solenoid

A solenoid 0.5 m long has 1000 turns and carries 2 A. n = 1000 ÷ 0.5 = 2000 m⁻¹. B = μ₀nI = 4π × 10⁻⁷ × 2000 × 2 ≈ 5.0 × 10⁻³ T.

Force between two parallel currents

Two long parallel wires a and b, a distance d apart, carry currents I_a and I_b. Wire a produces a field B_a = μ₀I_a/(2πd) at wire b, perpendicular to b. A length L of wire b therefore feels a force F = I_b L B_a:

F/L = μ₀ I_a I_b / (2πd). Parallel currents (same direction) attract; antiparallel currents repel.

The force on a due to b is equal and opposite, in agreement with Newton's third law for steady currents. Notice the reversal compared with electrostatics: like charges repel, but like (parallel) currents attract.

Parallel and antiparallel currents

  • Same direction
    • Each wire sits in the other's field
    • Force on each points towards the other
    • Wires attract
    • F/L = μ₀I_aI_b/(2πd)
  • Opposite directions
    • Field directions at each wire reverse relative to its current
    • Force on each points away from the other
    • Wires repel
    • Same magnitude formula

Definition of the ampere (adopted in 1946): the ampere is the steady current which, maintained in each of two very long, straight, parallel conductors of negligible cross-section placed 1 m apart in vacuum, produces a force of 2 × 10⁻⁷ N per metre of length on each. The coulomb is then the charge carried past a point by 1 A in 1 s. In practice, a current balance with multiturn coils is used, and stray fields such as the earth's must be eliminated.

Worked example 3: force between wires

Two long parallel wires 3 cm apart carry 6 A and 4 A in the same direction. F/L = 2 × 10⁻⁷ × 6 × 4 ÷ 0.03 = 4.8 × 10⁻⁶ ÷ 0.03 = 1.6 × 10⁻⁴ N m⁻¹, attractive. On a 0.5 m section the force is 8 × 10⁻⁵ N.

Key takeaways

  • ∮ B · dl = μ₀I_enclosed (steady currents); with symmetry, BL = μ₀I_e.
  • Long wire: B = μ₀I/(2πr) outside; inside a uniform thick wire B ∝ r.
  • Long solenoid: B = μ₀nI inside, ≈ 0 outside.
  • Parallel currents attract, antiparallel repel: F/L = μ₀I_aI_b/(2πd); this defines the ampere.

Check your understanding

  1. 1. What is the magnetic field 20 cm from a long straight wire carrying 25 A? (μ₀ = 4π × 10⁻⁷ T m A⁻¹)

    1. 2.5 × 10⁻⁶ T
    2. 1.25 × 10⁻⁴ T
    3. 2.5 × 10⁻⁵ T
    4. 5 × 10⁻⁵ T
    Show answer

    Answer: C. B = μ₀I/(2πr) = 2 × 10⁻⁷ × 25 ÷ 0.2 = 5 × 10⁻⁶ ÷ 0.2 = 2.5 × 10⁻⁵ T.

  2. 2. A long solenoid has 1500 turns per metre and carries 4 A. What is the field inside it?

    1. 7.5 × 10⁻³ T
    2. 1.9 × 10⁻³ T
    3. 6 × 10⁻³ T
    4. 2.4 × 10⁻² T
    Show answer

    Answer: A. B = μ₀nI = 4π × 10⁻⁷ × 1500 × 4 = 4π × 10⁻⁷ × 6000 ≈ 7.5 × 10⁻³ T.

  3. 3. A long solid wire of radius a carries a current spread uniformly over its cross-section. How does the magnetic field inside it vary with distance r from the axis?

    1. B ∝ 1/r
    2. B ∝ r
    3. B ∝ 1/r²
    4. B is constant
    Show answer

    Answer: B. A circle of radius r < a encloses current I r²/a², so B × 2πr = μ₀I r²/a², giving B = μ₀Ir/(2πa²) ∝ r.

  4. 4. Two long parallel wires 5 cm apart carry 10 A each in opposite directions. What is the force per metre between them?

    1. 4 × 10⁻⁴ N m⁻¹, attractive
    2. 2 × 10⁻⁴ N m⁻¹, repulsive
    3. 2 × 10⁻⁴ N m⁻¹, attractive
    4. 4 × 10⁻⁴ N m⁻¹, repulsive
    Show answer

    Answer: D. F/L = μ₀I₁I₂/(2πd) = 2 × 10⁻⁷ × 10 × 10 ÷ 0.05 = 4 × 10⁻⁴ N m⁻¹. Currents in opposite directions repel.

  5. 5. Assertion (A): Magnetic field lines always form closed loops. Reason (R): The magnetic field of a long straight wire consists of concentric circles around the wire.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: B. Both statements are true. But one example (a straight wire) does not explain why all magnetic field lines close; that follows from the absence of magnetic monopoles (magnetic field lines have no starting or ending points). So R is true but is not the correct explanation of A.

Privacy · Terms · Refunds · Delivery