Question
A long solenoid has turns per unit length and carries current . Using Ampere’s Circuital Law, derive the magnetic field inside the solenoid.
This is a classic derivation that JEE Advanced and CBSE Class 12 both love — it tests whether you understand why we choose a particular Amperian loop, not just the final formula.
Solution — Step by Step
A solenoid is a tightly wound helix of wire. For a long solenoid, the field outside is essentially zero, and the field inside runs parallel to the axis (along ). This is the physical picture we exploit.
We pick a rectangular loop straddling the solenoid wall. Side (length ) lies inside the solenoid along the axis. Side lies outside. The two short sides and are perpendicular to the axis.
Why this shape? Because is parallel to and perpendicular to , . That kills off two sides immediately.
Ampere’s law states:
We go around :
- Side AB (inside, field , length ): contribution
- Side CD (outside, field ): contribution
- Sides BC and DA (): contribution
So:
The loop encloses the portion of the solenoid of length . Number of turns in this length . Each turn carries current , so:
Plugging into Ampere’s law:
The cancels — beautiful. The field is uniform inside and independent of position along the axis.
Why This Works
The power of Ampere’s law is symmetry exploitation. We don’t compute the contribution of each tiny current loop separately (that would be Biot-Savart, and it’s brutal for a solenoid). Instead, we pick a loop where the integral is either trivially zero or trivially .
The assumption that deserves scrutiny. For a real solenoid of finite length, the outside field isn’t exactly zero — but for a long solenoid (length radius), it’s negligible. JEE problems always specify “long solenoid” for exactly this reason.
Also notice that depends on (turns per unit length), not the total number of turns or the total length separately. A solenoid twice as long with twice as many turns has the same — because stays constant.
Alternative Method
You can also arrive at by integrating the Biot-Savart result for a circular loop along the solenoid axis. Treat the solenoid as an infinite stack of rings, each carrying current , with turns in a length .
The field on the axis of a single circular loop of radius at its centre is . Summing over all rings with proper geometry and integrating from to gives the same .
This method works, but takes two pages of integration. That’s why Ampere’s law is the preferred route in exams — same answer, one-tenth the effort.
JEE Advanced often asks you to find at the end of a semi-infinite solenoid. The answer there is — exactly half. Think about it: only half the infinite solenoid contributes.
Common Mistake
Students write instead of . They forget that multiple turns pass through the Amperian loop. Each of the turns is a separate wire carrying current , so the total enclosed current is their sum. Ampere’s law counts total current threading the loop — not current per wire.
This single error drops the from your answer, giving , which has wrong dimensions of … actually the same dimensions, which is why students don’t catch it immediately. But plugging in numbers will give a wildly wrong magnitude.