A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Magnetic Fields in Solenoids and Toroids

College Depth 127 in the knowledge graph I know this Set as goal
6topics build on this
778prerequisites beneath it
See this on the map →
Ampere's Law and Magnetic Field SymmetryElectromagnetsFaraday's Law and Induced EMF
solenoid toroid field

Core Idea

A solenoid with N turns, length ℓ, and cross-sectional area A produces a uniform field B = μ₀nI = μ₀NI/ℓ inside, and essentially zero outside (ideal solenoid). A toroid has field B = μ₀NI/(2πr) at radius r in the toroidal cross-section, zero outside. These geometries confine magnetic fields efficiently and are fundamental to transformers, electromagnets, and inductors.

Explainer

From Ampère's law, you know that the line integral of B around any closed path equals μ₀ times the total current threading through that path: ∮B·dl = μ₀I_enc. The solenoid and toroid are the two canonical geometries where a clever choice of Amperian loop reduces this integral to a trivial calculation, much as a Gaussian sphere reduces Gauss's law to a single multiplication.

For a solenoid — a tightly wound helix of N turns, length ℓ — draw a rectangular Amperian loop with one long side inside the solenoid and one outside. Along the inside, B is uniform and parallel to the loop edge, contributing B·ℓ_side. Along the outside, B is essentially zero (the fields from opposite sides of the helix cancel for an ideal solenoid, and field lines form closed loops that spread out far from the solenoid). The two short sides contribute nothing because B is perpendicular to them. The total current threading the loop is I times the number of turns in the rectangle, which is n·ℓ_side where n = N/ℓ is the turn density. Setting B·ℓ_side = μ₀·n·ℓ_side·I gives B = μ₀nI. The field inside is perfectly uniform — independent of position along the axis — and the field outside is zero. This makes solenoids ideal field-generation devices for applications requiring a controlled, uniform magnetic field.

A toroid is a solenoid bent into a closed ring. Now the Amperian loop is a circle at radius r centered on the axis. By symmetry, B must be constant in magnitude and tangent to the circle everywhere. The enclosed current is N·I (all N turns thread through), so B·(2πr) = μ₀NI, giving B = μ₀NI/(2πr). The field is confined entirely within the toroidal volume and is not uniform — it varies as 1/r, being strongest at the inner radius. Outside the toroid, any Amperian circle encloses zero net current (every turn contributes both an inward and an outward threading as you go around), so B = 0 exactly. The complete confinement of the field is what makes toroids essential in transformers and inductors where stray fields would interfere with neighboring circuits.

The key conceptual thread is that these geometries convert the continuous current distribution into a problem with high symmetry, and symmetry is what makes Ampère's law calculationally tractable. Both results also reveal the solenoid and toroid as controlled magnetic field factories: the field inside scales linearly with n (or N) and I, making it easy to design a device with a specific target field by choosing the winding density and current. This linear control, combined with efficient field confinement, explains their ubiquity in inductors, magnetic resonance machines, and particle accelerators.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsWork and CirculationLine Integrals of Scalar and Vector FunctionsFundamental Theorem for Line IntegralsConservative Vector FieldsConservative Vector Fields and Potential FunctionsCurl and Divergence of Vector FieldsCurl and DivergenceDivergence TheoremElectric Flux and Divergence TheoremGauss's Law: Integral Form and MeaningSolving Problems with Gauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsLorentz Force on Moving Electric ChargesMagnetic Force on Current-Carrying WiresTorque on Magnetic DipolesMagnetic Field from Biot-Savart LawAmpere's Law and Magnetic Field SymmetryMagnetic Fields in Solenoids and Toroids

Longest path: 128 steps · 778 total prerequisite topics

Prerequisites (2)

Leads To (1)