A long wire gives B equal to μ0I over 2πr and a solenoid μ0nI inside, from Ampere's circuital law. Parallel currents in the same direction attract. In a magnetic circuit, flux equals NI divided by reluctance l over μA, so even a small air gap dominates. Inductance is N squared over reluctance and stores half LI squared.
What are you preparing for?We show the practice and previous year questions of your exam.
Start from zero: fields from steady currents
Every motor, generator, transformer, relay and loudspeaker depends on one fact: an electric current makes a magnetic field, and a magnetic field pushes on a current. Magnetostatics studies the fields of steady currents and the forces they produce.
Two laws find the field. The Biot-Savart law adds up the effect of each small piece of current, and Ampere's law gives the answer quickly when there is symmetry. The field then exerts forces on moving charges and on wires.
Engineers then use a simpler model. A magnetic circuit treats flux in iron like current in a wire, with mmf as the source and reluctance as the opposition. This leads directly to inductance, which sets how much energy a coil stores and how it resists changes in current.
Why it matters. Fields of wires, loops and solenoids, Ampere's law, forces on conductors, magnetic circuits with air gaps and inductance appear every year in GATE EE, and in ESE, SSC JE and state AE papers.
Biot-Savart law
The law. A small element dl carrying current I produces, at a point at distance R, a field
dH=4πR2Idl×a^R
It is the magnetic counterpart of Coulomb's law. The field is perpendicular to both the element and the line to the point, and its direction follows the right-hand rule. In free space B=μ0H, with μ0=4π×10−7 H/m.
Long straight wire. Integrating along an infinite wire gives circles of field around it:
B=2πrμ0I
For a finite wire, H=4πrI(sinα2−sinα1), where the angles are measured from the perpendicular to the ends.
Worked example. A wire carries 10 A. At 5 cm, B=2π×0.054π×10−7×10 = 40 µT, about the size of the Earth's field.
Circular loop. At the centre of a loop of radius R, B=2Rμ0I; for N turns, multiply by N. For 5 A in a loop of radius 0.1 m, B = 0.24π×10−7×5 ≈ 31.4 µT. On the axis at distance z, B=2(R2+z2)3/2μ0IR2.
Ampere's circuital law
The law. The line integral of H around any closed path equals the current passing through the surface bounded by that path:
∮H⋅dl=Ienc
Its point form is ∇×H=J: the curl of H at a point equals the current density there. Like Gauss's law, it always holds, but it gives H easily only when symmetry lets H be constant along a chosen path.
Standard results.
Long wire: a circle of radius r gives H⋅2πr=I, the same as Biot-Savart.
Inside a solid wire of radius a with uniform current: H=2πa2Ir, rising linearly from zero at the centre.
Long solenoid, n turns per metre: B=μ0nI inside, nearly uniform, and almost zero outside.
Toroid, N turns, mean radius r: B=2πrμ0NI inside the core, and zero outside.
Coaxial cable: field only between the conductors, H=2πrI, and zero outside, because the currents are equal and opposite.
Worked example. A long solenoid has 1000 turns per metre and carries 2 A. Inside, B = 4π×10−7×1000×2 ≈ 2.51 mT.
No magnetic monopoles. Magnetic field lines always form closed loops, so the net flux through any closed surface is zero: ∇⋅B=0. This is Gauss's law for magnetism.
Magnetic forces
On a moving charge. A charge q moving with velocity v in a field B feels the Lorentz force
F=q(E+v×B)
The magnetic part is perpendicular to the velocity, so it changes the direction of motion but does no work. A charge moving at right angles to a uniform B circles with radius r=qBmv.
On a current-carrying conductor. A straight conductor of length l carrying current I in a field B feels F=Il×B, of magnitude F = BIl sin θ. Its direction follows Fleming's left-hand rule. This is the force that turns every motor.
Between parallel conductors. Each wire sits in the other's field, so the force per metre is
lF=2πdμ0I1I2
Currents in the same direction attract; opposite currents repel. The ampere was once defined this way: 1 A in two wires 1 m apart gives 2×10−7 N/m.
Worked example. Two busbars 0.1 m apart each carry 100 A in opposite directions. The force is 2π×0.14π×10−7×100×100 = 0.02 N/m, repulsive. During a 40 kA short circuit, the force rises by (400)2 to 3200 N/m, which is why busbar supports are designed for fault forces.
Torque on a coil. A coil of N turns and area A carrying I in a field B feels a torque T=NIABsinθ. This is the working principle of moving-coil meters and DC motors.
Magnetic circuits
Magnetic materials. In a material, B=μ0μrH. For iron and silicon steel, μr is in the thousands, so iron guides flux much as copper guides current. But μr is not constant: it falls as the core saturates, so real calculations use the B-H curve.
The analogy.
Electric circuit
Magnetic circuit
EMF (V)
MMF, F=NI (ampere-turns)
Current I (A)
Flux φ (Wb)
Resistance R=σAl
Reluctance S=μAl (A/Wb)
Ohm's law I=RV
ϕ=SF
Reluctances in series add, just like resistances. One difference matters: no energy is lost in reluctance by a steady flux, while resistance always dissipates power.
Worked example. An iron ring has a mean length of 0.5 m, an area of 4 cm² and μr = 1000, with a 500-turn coil. A flux of 0.4 mWb is needed, so B = 1 T.
Iron reluctance Si=4π×10−7×1000×4×10−40.5 ≈ 0.995 × 10⁶ A/Wb.
MMF = φS = 0.4 × 10⁻³ × 0.995 × 10⁶ ≈ 398 At, so I ≈ 0.80 A.
With an air gap. Now cut a 1 mm gap in the ring.
Gap reluctance Sg=4π×10−7×4×10−410−3 ≈ 1.99 × 10⁶ A/Wb, twice that of all the iron.
Total MMF ≈ 0.4 × 10⁻³ × 2.98 × 10⁶ ≈ 1194 At, so I ≈ 2.39 A, three times more.
A 1 mm gap needs more MMF than half a metre of iron. Gaps are still used on purpose, in motors and in inductors, because they make the inductance stable and stop the core from saturating.
Leakage and fringing. Some flux escapes outside the intended path (leakage), and flux spreads out at an air gap (fringing), which increases the gap's effective area.
Inductance and magnetic energy
Self-inductance. A coil of N turns linking flux φ has flux linkage λ = Nφ. Its inductance is
L=INϕ=SN2
It depends on the turns squared and the geometry, and in iron it falls as the core saturates.
Standard results.
Long solenoid: L=lμN2A. For 500 turns, A = 4 cm² and l = 0.2 m in air, L=0.24π×10−7×250000×4×10−4 ≈ 0.63 mH.
Ring with reluctance S: for the iron ring above without a gap, L=0.995×1065002 ≈ 0.25 H; with the 1 mm gap, it falls to about 0.084 H.
Coaxial cable per metre: L=2πμlnab (external part).
Two-wire line per metre: about πμ0lnrd, the basis of transmission-line inductance.
Mutual inductance. Flux from coil 1 that links coil 2 gives M=I1N2ϕ21. It is the same both ways, and M=kL1L2, where k is the coupling coefficient, from 0 to 1. Transformers aim for k close to 1. Coils in series add as L1+L2±2M, depending on whether their fluxes aid or oppose.
Energy. A coil carrying I stores W=21LI2. The energy sits in the field, with density
w=2μB2=21BH J/m3
At 1 T in air this is about 398 kJ/m³, far more than in iron at the same B, because μ is so much smaller. This is why most of the energy in a motor or a gapped inductor is stored in its air gap.
Boundary conditions. At a boundary between two magnetic materials, the normal component of B is continuous, Bn1=Bn2, because ∇⋅B=0. The tangential component of H changes by any surface current K; with no surface current, Ht1=Ht2.
Descriptive lens: how this topic is asked in written papers
Written papers test this chapter in four ways:
Derive: fields of a finite wire, a loop and a solenoid from the Biot-Savart law.
Apply: Ampere's law to wires, coaxial cables and toroids.
Compute: forces between conductors and torque on coils.
Solve: magnetic circuits with air gaps, and inductance and energy of simple shapes.
Practice questions (our own, not previous-year questions).
Using Ampere's law, find H inside and outside a coaxial cable carrying equal and opposite currents. Sketch H against r. (10 marks)
A cast-steel ring of mean length 60 cm and area 5 cm² (μr = 800) has a 2 mm air gap. Find the ampere-turns needed for a gap flux of 0.5 mWb, ignoring fringing. (12 marks)
Derive the inductance of a toroid and the energy stored in it. Why does an air gap raise the energy a core can store before saturating? (10 marks)