The Solenoid — Construction

illustration of a long solenoid.

A solenoid is a long cylindrical coil produced by winding a single insulated wire in the shape of a tight helix. Two important parameters:

  • nn = number of turns per unit length (units: turns·m⁻¹).
  • II = current through the wire.

We say a solenoid is ideal when:

  1. Its length is much greater than its diameter (so the central region behaves as if the wire-wrappings were infinitely long).
  2. The winding is tight (adjacent turns close together — almost a continuous current sheet on a cylinder).

For an ideal solenoid:

  • The magnetic field inside is uniform, parallel to the axis, and strong. Its direction is given by the right-hand thumb rule: if you curl your fingers in the direction of current, the thumb points along the axis in the direction of B\vec B.
  • The magnetic field outside is essentially zero.

You can visualise the solenoid as a stack of many circular loops, each producing its own on-axis field; at any interior point, contributions from all loops add up to produce a strong uniform field, while at any exterior point they partly cancel.

[NEET Important] "Long solenoid" \Rightarrow ideal solenoid approximation \Rightarrow uniform BB inside, zero BB outside. This is a standard idealisation in JEE/NEET problems.

Applying Ampère's Law to the Solenoid

To find BB inside an ideal solenoid, we apply Ampère's circuital law to a rectangular Amperian loop straddling the wall of the solenoid.

Choosing the loop

Take a rectangle abcdabcd where:

  • Side abab of length LL lies inside the solenoid, parallel to the axis.
  • Side cdcd of length LL lies outside, parallel to the axis.
  • Sides bcbc and dada are short segments perpendicular to the axis, crossing the wall of the solenoid.

Evaluating Bdl\oint \vec{B}\cdot d\vec{l}

Split the integral into four parts:

  • abab (inside, along axis): B\vec{B} is along the axis (parallel to dld\vec{l} if you traverse aba\to b along B\vec{B}). Contribution: BLBL.
  • cdcd (outside, opposite direction): B0\vec{B}\approx 0 outside an ideal solenoid. Contribution: 00.
  • bcbc and dada (perpendicular crossings): inside, Bdl\vec{B}\perp d\vec{l}, so contribution is zero on the inside parts; outside, B=0\vec{B} = 0. Contribution: 00.

So Bdl=BL\oint \vec{B}\cdot d\vec{l} = BL.

Enclosed current

The rectangle of length LL along the axis encloses nLnL turns, each carrying II. So Ienc=nLII_{enc} = nLI.

Putting it together

BL=μ0nLI  B=μ0nI  BL = \mu_0\,nLI \quad\Rightarrow\quad \boxed{\;B = \mu_0\,n\,I\;}

The field inside an ideal solenoid is uniform and depends only on nn and II — not on the radius of the solenoid or on the position inside it. Outside: B=0B = 0.

At the end of a long solenoid

By a careful argument (or by superposing the contributions of two semi-infinite solenoids), the field on the axis at one end of a long but finite solenoid is half the interior value:

Bend=μ0nI2B_{end} = \dfrac{\mu_0 n I}{2}

This is a 1-mark JEE recall — make sure you know which factor (½) applies.

[JEE Tip] A "long" solenoid is ideal only in its central region. The end correction matters whenever the question asks about the field at the mouth.

The Toroid — Solenoid Bent into a Donut

illustration of a toroid

A toroid is what you get if you bend a long solenoid into a circle and join its ends — essentially a "donut-shaped solenoid". It has total NN turns around a central radius rr (the radius of the circle running through the centre of the tube).

The toroid has one big advantage over a straight solenoid: its field is entirely confined inside the tube, with no end effects. There's no "outside the ends" because the toroid has no ends.

Applying Ampère's law

Choose an Amperian loop that is a circle of radius rr concentric with the torus. By symmetry, B\vec{B} is tangent to this loop, constant in magnitude, and its direction follows the right-hand grip rule (curl your fingers along the current; the thumb points along B\vec B).

Bdl=B(2πr)\oint \vec{B}\cdot d\vec{l} = B\,(2\pi r)

Each of the NN turns of wire passes through this loop once, all carrying current II in the same direction. So Ienc=NII_{enc} = NI.

B(2πr)=μ0NI  B=μ0NI2πr  B\,(2\pi r) = \mu_0\,N\,I \quad\Rightarrow\quad \boxed{\;B = \frac{\mu_0\,N\,I}{2\pi r}\;}

Connection to the solenoid formula

If we let n=N/(2πr)n = N/(2\pi r) — the number of turns per unit circumferential length of the toroid — then B=μ0nIB = \mu_0 n I, exactly the same form as the solenoid.

Field outside the toroid

An Amperian loop drawn entirely outside the toroid encloses no net current. So

Boutside=0B_{outside} = 0

The toroid is the most "magnetically clean" device in elementary electromagnetism — no leakage field at all, in the ideal limit.

[JEE Tip] Toroid: BB inside depends on rr as 1/r1/r — the field is not uniform across the toroid's cross-section (unlike the solenoid). For thin toroids, the variation is small; for fat ones, it matters.

Solenoid vs Toroid — A Comparison & Applications

Feature Solenoid Toroid
Shape Long straight cylinder Donut (closed ring)
Field formula B=μ0nIB = \mu_0 n I B=μ0NI/(2πr)B = \mu_0 N I/(2\pi r)
Field uniform? Yes (central region) No — varies as 1/r1/r across cross-section
Field outside Approx. zero (ideal limit) Exactly zero (no end effects)
End correction Yes, Bend=Bcenter/2B_{end} = B_{center}/2 None
Best for Strong uniform fields Confined magnetic fields

Practical applications

  • Solenoid valves: small solenoid pulls an iron plunger when energised — used in washing machines, automatic doors, hydraulic systems, and car starters.
  • Electromagnets: a solenoid wrapped around an iron core can lift cars in scrapyards (core multiplies BB by hundreds).
  • MRI machines: superconducting solenoids generate fields of several tesla over a region big enough for a human body.
  • Loudspeakers: a solenoid attached to the speaker cone — current oscillations push it, producing sound.
  • Toroidal transformers: power-supply transformers with toroidal cores have lower leakage flux and are quieter than open-core transformers.
  • Tokamak fusion reactors: enormous toroidal magnets confine plasma at 100100 million K.

Memory Capsule

Solenoid — the must-remember formulas

Location Field
Inside (central) B=μ0nIB = \mu_0 n I
Outside (ideal) B=0B = 0
At one end (on axis) B=μ0nI/2B = \mu_0 n I/2

nn = turns·m⁻¹. Uniform interior field; direction by right-hand rule.

Toroid — the must-remember formula

Binside=μ0NI2πrB_{inside} = \frac{\mu_0 N I}{2\pi r}

NN = total turns. Field varies as 1/r1/r. Outside (and in the central hole): B=0B = 0.

Key conceptual points

  • Both follow Ampère's law: solenoid uses a rectangular loop; toroid uses a circular loop.
  • A toroid is essentially a solenoid bent into a circle.
  • A solenoid has end-effects; a toroid does not.

One-line takeaway

Solenoid: stores a uniform BB inside; toroid: keeps the field entirely confined.

Exam Tips

  • For solenoids, choose a rectangular Amperian loop with one long side inside (parallel to B\vec B) and the opposite side outside (where B0B\approx0). Perpendicular sides contribute zero.
  • For toroids, choose a circular Amperian loop at the mean radius rr, concentric with the torus. The symmetry makes BB tangent and constant.
  • Always apply the right-hand rule (thumb along B\vec B, fingers in direction of current) to fix the field direction.

Solved Examples

Example 1: Field inside a solenoid

A solenoid has 10001000 turns wound over a length of 5050 cm. It carries a current of 22 A. Find the magnetic field inside the solenoid.

Solution. First compute nn:

n=NL=10000.50=2000  turns/mn = \dfrac{N}{L} = \dfrac{1000}{0.50} = 2000\;\text{turns/m}

Then apply B=μ0nIB = \mu_0 n I:

B=(4π×107)(2000)(2)=1.6π×103  T5.03×103  TB = (4\pi\times 10^{-7})(2000)(2) = 1.6\pi\times 10^{-3}\;\text{T} \approx 5.03\times 10^{-3}\;\text{T}

B5.0  mTB \approx 5.0\;\text{mT}

Example 2: Field at the end of a solenoid

For the same solenoid as Example 1 (n=2000n=2000 turns·m1^{-1}, I=2I=2 A), find the magnetic field at one end (on the axis).

Solution. The end-correction formula gives Bend=Binside2=μ0nI2=5.0  mT2=2.5 mT.B_{end}=\frac{B_{inside}}{2} = \frac{\mu_0nI}{2} = \frac{5.0\;\text{mT}}{2} = 2.5\text{ mT}\,. Alternatively, use Bend=μ0nI/2B_{end}=\mu_0nI/2 directly.

Example 3: Designing a solenoid for a given BB

A solenoid is to produce a field of 0.020.02 T inside it, using a current of 55 A. How many turns per metre are needed?

Solution. From B=μ0nIB = \mu_0 n I:

n=Bμ0I=0.02(4π×107)(5)=0.026.28×1063183  turns/mn = \dfrac{B}{\mu_0 I} = \dfrac{0.02}{(4\pi\times 10^{-7})(5)} = \dfrac{0.02}{6.28\times 10^{-6}} \approx 3183\;\text{turns/m}

That's about 3.23.2 turns per millimetre — achievable with fine wire wound tightly.

Example 4: Toroid — basic numerical

A toroid has 2000 turns and a mean radius of 0.20 m. It carries a current of 4 A. Find the magnetic field along the central circle inside the toroid.

Solution. B=μ0NI2πr=(4π×107)(2000)(4)2π(0.20)=8.0×103  T=8.0  mT.B=\frac{\mu_0NI}{2\pi r} = \frac{(4\pi\times10^{-7})(2000)(4)}{2\pi(0.20)} = 8.0\times10^{-3}\;\text{T} = 8.0\;\text{mT}\,.

Example 5: Solenoid vs toroid with same nn

A solenoid has n=1000n=1000 turns·m1^{-1}, I=3I=3 A. A toroid is made by joining the ends of the same length of coil into a donut of mean radius 0.25 m.

(a) Bsol=μ0nI=3.77×103B_{sol}=\mu_0nI=3.77\times10^{-3} T.

(b) For the toroid, N=n2πr=1000×2π(0.25)=500π1571N=n\cdot2\pi r=1000\times2\pi(0.25)=500\pi\approx1571 turns, Btor=μ0NI2πr=3.77×103  TB_{tor}=\frac{\mu_0NI}{2\pi r}=3.77\times10^{-3}\;\text{T} Same as the solenoid.

Example 6: Effect of doubling current and halving turns

A solenoid currently produces B=0.01B=0.01 T. The current is doubled while the turn density is halved. What is the new field?

Solution. B=μ0(n/2)(2I)=μ0nI=0.01  T.B'=\mu_0\,(n/2)\,(2I)=\mu_0nI=0.01\;\text{T}\,.

Example 7: Toroid field across its cross-section

A toroid has N=1500N=1500, I=6I=6 A, inner radius 0.150.15 m, outer radius 0.250.25 m. Find BB at r1r_1 and r2r_2.

B1=(4π×107)(1500)(6)2π(0.15)=12.0  mT,B2=7.2  mT.B_1=\frac{(4\pi\times10^{-7})(1500)(6)}{2\pi(0.15)}=12.0\;\text{mT},\quad B_2=7.2\;\text{mT}.

Example 8: Solenoid in an MRI-style application

A superconducting solenoid has n=2000n=2000 turns·m1^{-1} and must produce 1.5 T.

(a) I=Bμ0n597  A.I=\frac{B}{\mu_0n}\approx597\;\text{A}.

(b) In copper this current would generate enormous heat. MRI solenoids use superconducting wire cooled by liquid helium to carry hundreds of amperes with zero resistance.