The solenoid
Take a long straight wire and the magnetic field it makes wraps around it in circles that grow feebler the farther out you go — useful, but weak and awkward to aim. Now wind that same wire into a tight helix, turn after turn after turn, and something remarkable happens: deep inside the coil the field lines straighten out, line up parallel to the axis, and pack in at nearly the same strength everywhere — as if you had built a small, switchable bar magnet out of nothing but wire and current. This device is the solenoid, and it is the workhorse of electromagnetism — the field-shaper hiding inside doorbells, MRI magnets, electromagnetic relays, loudspeakers, and the coil that snaps a car's starter motor into gear. The solenoid is also the moment in this chapter where Ampere's circuital law finally earns its keep. Rather than integrating tiny contributions from every current element the way the Biot–Savart law demands, Ampere's law lets us read off the interior field of a solenoid almost by inspection, using nothing more than a cleverly chosen rectangular loop and the symmetry of the winding. The result, , is short enough to memorise in five seconds — yet it hides a genuinely elegant argument about why the field is uniform inside, why it vanishes outside, and why, strikingly, a fat solenoid and a skinny one carrying identical current and turn-density produce exactly the same interior field. This article builds that picture from the ground up: the physical shape of the field, the Ampere's-law argument that pins down , two worked numbers you can check by hand, the marks students routinely lose on this exact topic, and a quick-reference card for exam day.
- A solenoid is a long wire wound into a tightly-packed helical coil with turns per unit length carrying current .
- Deep inside a long solenoid, away from the ends, the field is uniform and axial: .
- Outside an idealised long solenoid the field is taken as zero; a real solenoid's field falls to near-zero just past the winding.
- The interior field depends only on and , never on the solenoid's cross-sectional radius.
- Near the open ends the field weakens and curves, so the solenoid behaves like a bar magnet with a north pole at one end and a south pole at the other (right-hand rule fixes which is which).
- CBSE treats this result qualitatively — you must know and use , but you are not asked to reproduce the full Amperian-loop derivation from scratch in an exam, only to follow and apply it.
- Key idea: winding a wire into a long, tightly-packed helix concentrates the magnetic field into a uniform interior region where B = μ₀nI, independent of the solenoid's radius, because Ampere's circuital law applied to a rectangular loop makes every side except the one running through the interior contribute nothing.
A long solenoid with turns per unit length carrying current produces a uniform interior field along its axis, independent of its radius, because Ampere's circuital law applied to a rectangular Amperian loop straddling the winding collapses to a single non-zero side.
Where it fits in the syllabus
In the CBSE Class 12 unit Moving Charges and Magnetism, the solenoid is the flagship worked application of Ampere's circuital law, alongside the infinitely long straight wire. The board syllabus is explicit that the solenoid's field is a qualitative treatment only — you are expected to describe the physical picture (uniform inside, near-zero outside, bar-magnet-like near the ends) and to state and apply the final result , but a full formal derivation is not the syllabus's centrepiece the way it might be for, say, the straight-wire result from Ampere's law. A rigorous derivation using a rectangular Amperian loop is included below purely to build genuine understanding of why the formula is true — CBSE examiners reward students who can reason about the field pattern and apply the formula correctly far more than students who have merely memorised the symbol string. Toroid fields and a formal proof of Ampere's law from Biot–Savart law are explicitly out of scope for this chapter and are not touched here.
The physical picture
Picture the solenoid as a long cylindrical coil: a wire wrapped around and around a cylindrical form, each loop pressed close against its neighbours, so that over a length there are tightly-spaced turns. The quantity that matters is not alone but the turns density,
where: is the number of turns per unit length (turns per metre), is the total number of turns, and is the solenoid's length. A short fat coil with few turns can have the same as a long thin coil with many — what matters for the field is how densely the current loops are packed along the axis, not the raw turn count. Each single turn of the solenoid is, on its own, just a circular current loop, and it produces its own weak, curved field. What makes a solenoid special is that when thousands of these loops sit side by side, their fields add up constructively along the axis and largely cancel in the sideways direction between adjacent turns. Deep inside the coil, far from either open end, this superposition leaves behind a field that points steadily along the axis and has almost the same magnitude everywhere in the interior cross-section — a uniform field region, manufactured purely by geometry and superposition.
Well outside the winding, the picture is very different: the field lines that leave the "north" end must loop all the way around and re-enter the "south" end, spreading out over a large volume, so the field there is comparatively very weak. For an idealised solenoid that is infinitely long compared to its radius, the exterior field is taken to be exactly zero. Near the two actual open ends of a real, finite solenoid, the field is weaker than the deep-interior value and starts to curve outward, so the ends behave like the poles of a bar magnet; the right-hand rule (curl the fingers along the current's sense of circulation, the thumb points to the north-behaving end) tells you which end is which.
The goal here is to show, using only Ampere's circuital law and a symmetry argument (no integration over individual current elements as Biot–Savart would demand), why the magnetic field deep inside a long, tightly-wound solenoid carrying current with turns per unit length has the single clean value , is directed along the axis, and does not depend on the solenoid's radius at all. The trick is choosing an Amperian loop shaped so that three of its four sides contribute nothing to the circulation integral, leaving only one side to solve.
Step 1. Set up the geometry. Take a long solenoid lying along an axis, and idealise it as effectively infinite so that end effects can be ignored for a loop taken well away from either end. From experiment and the field-line picture above, the field inside is uniform and parallel to the axis, and the field outside is negligibly small (zero for the ideal case).
Step 2. Choose the Amperian loop. Draw a rectangle : side of length lies deep inside the solenoid, parallel to the axis; side of equal length lies far outside the solenoid, also parallel to the axis; and the two short sides and connect them, running perpendicular to the axis, partly inside and partly outside the coil.
Step 3. Evaluate the circulation term by term. Along , outside the solenoid, , so this side contributes nothing. Along the two short sides and , the interior field is perpendicular to the direction of travel (axial field, sideways path), so along the interior portion of these sides too, and the exterior portion again contributes nothing because there. Only the interior side survives, where is parallel to over its full length , giving a contribution .
Step 4. Count the enclosed current. The rectangle encloses every turn of the solenoid that passes through the length along the axis. Since there are turns per unit length, the number of turns enclosed is , and each one carries current , so the total enclosed current is .
Step 5. Apply Ampere's circuital law and solve. becomes . The length of the chosen loop cancels from both sides, leaving the clean, loop-independent result
Step 6. Read off what the cancellation means physically. Because dropped out completely, the result cannot depend on how big a loop was drawn — and the loop's cross-sectional radius or shape never entered the argument at all, which is exactly why the interior field does not depend on the solenoid's radius. The only two quantities that survived, and , are the only two quantities the field can depend on. Verified: with cancelling from , the result carries no dependence on loop size or solenoid radius, consistent with the field being determined purely by winding density and current.
Worked examples
Board level - field inside a solenoid
A solenoid of length has turns and carries a steady current of . Find the magnetic field well inside the solenoid, away from its ends.
Step 1. Compute turns per unit length. .
Step 2. Apply the solenoid field formula. .
Step 3. Compute stepwise. , so .
Step 4. Evaluate numerically. . The interior field is about (10 millitesla), directed along the solenoid's axis, roughly 200 times Earth's surface field — a reminder of how effectively a coil concentrates field compared with a single straight wire carrying the same current.
Competitive level - comparing two solenoids of different radius
Two solenoids, A and B, have the same number of turns per unit length () and carry the same current (), but solenoid A has a radius of while solenoid B has a radius of . Compare the magnetic fields inside each, well away from the ends, and also find the ratio of the total flux linked per unit length through each cross-section.
Step 1. Recall what the interior field depends on. contains no radius term at all, since the Amperian-loop derivation shows the loop side length (not the loop's width or the solenoid's radius) is the only geometric quantity involved, and even that cancels out.
Step 2. Compute the common field value. , so for both solenoids.
Step 3. Compare the fields directly. Since neither solenoid's radius enters the formula, A and B have the same interior field, , despite A being narrower than B.
Step 4. Extend to flux per unit length (a natural next question once field-independence-of-radius is established). Flux through one cross-section is . For A, gives area ; for B, gives area — a ratio of . So although itself is identical, solenoid B links times more flux per turn simply because its cross-sectional area is larger — the field strength is radius-independent, but the flux through a turn is not, because area scales with radius squared. The two solenoids, despite very different radii, produce identical interior field strengths, , while the flux through solenoid B's larger cross-section is times that through A's. Timing note: in a competitive exam, recognise the "radius trap" instantly — the moment a question gives two different radii but the same and , the field-strength comparison should take under fifteen seconds (" has no , so equal"); spend your remaining time only on genuinely radius-dependent quantities like flux or inductance, which is where such questions usually pivot next.
Common traps
- Assuming a wider solenoid automatically produces a stronger (or weaker) field — the interior field depends only on turns per unit length and current, not on the radius; only flux and self-inductance depend on the cross-sectional area.
- Applying the uniform-field formula right up to the open ends of the solenoid, where the field is actually weaker and non-uniform — the formula strictly applies "well inside," away from the ends, not at the mouth of the coil.
- Thinking the field outside a solenoid is always exactly zero in every real case — it is only negligibly small for an idealised very long solenoid; near the ends, a real solenoid has field lines emerging much like a bar magnet, which is a nonzero external field.
- Confusing (turns per unit length, units turns per metre) with (total number of turns) — always divide by the solenoid's length to get before substituting into the formula; forgetting this division is the single most common numerical slip on this topic.
- Forgetting to convert length units to metres before dividing by (for instance leaving length in centimetres), which silently inflates or deflates by a factor of 100.
You should be able to…
- Describe the qualitative magnetic field pattern of a long solenoid: uniform and strong inside, negligible outside, and bar-magnet-like near the ends.
- State and correctly apply for the field well inside a long solenoid, including converting given data into turns per unit length .
- Explain, using the Amperian-rectangle argument, why the interior field does not depend on the solenoid's radius.
- Identify the polarity (which end behaves as a north or south pole) of a current-carrying solenoid using the right-hand rule.
- Distinguish the solenoid's uniform interior field from the field of a single straight wire or a single circular loop.
- Recognise which solenoid-related quantities (flux, inductance) do depend on radius even though the field strength itself does not.
Ask the tutor: Want to see how swapping in an iron core changes the numbers, or how the solenoid's field connects to the moving-coil galvanometer's design — ask the AI tutor to walk through either extension.
Why does winding the wire into a coil make such a huge difference compared to a straight wire?
A single straight wire's field wraps around it in circles and falls off as with distance — it spreads out into all the surrounding space. When you coil the same wire into a solenoid, every turn's field adds constructively along the shared axis while the sideways components from neighbouring turns cancel each other out. The result is that essentially all of the field gets funnelled into a compact, uniform interior region rather than being spread thin over open space, which is why a solenoid can produce a much stronger, more useful field from the same current.
Do I need to reproduce the full Amperian-loop derivation in my board exam, or just quote the formula?
CBSE explicitly marks the solenoid's field as a qualitative topic, so the safest exam strategy is to know and correctly apply , describe the field pattern in words (uniform inside, negligible outside, bar-magnet-like near the ends), and be ready to sketch the field lines. A full formal derivation with an Amperian rectangle is good to understand — it is what makes the formula trustworthy rather than magic — but it is not the item you are most likely to be asked to reproduce step by step; numerical and conceptual questions using the formula are far more common.
If I put an iron rod inside the solenoid, does the formula B equals mu-naught n I still work?
Not as it stands — that formula assumes the solenoid's core is empty (vacuum or air, where the permeability is essentially ). Slipping a ferromagnetic core like iron inside dramatically boosts the interior field because the material itself becomes strongly magnetised and adds its own field on top of the coil's, an effect captured by replacing with a much larger effective permeability. The quantitative treatment of that boost belongs to the "Magnetism and Matter" chapter, so for this chapter's numerical problems you should assume an air-core solenoid unless a question states otherwise.
How is a solenoid different from a toroid, and do I need to know the toroid's field formula?
A solenoid is a straight cylindrical coil with two open ends, so it has genuine "end effects" and a field that leaks out near the mouths. A toroid is the same idea bent into a closed ring with no ends at all, which in principle traps its field entirely inside the ring with none leaking out anywhere. The toroid's field derivation and formula are explicitly outside this chapter's prescribed CBSE scope, so you are not expected to derive or quote it — focus your preparation on the solenoid result, , and its qualitative field picture.