← NSEP physics · Electricity & magnetism

NSEP preparation · Physics · Electricity & magnetism

Magnetic effects of current: Lorentz force, Biot–Savart and Ampère

Track charges through magnetic and crossed fields, find B by integration or by symmetry, and work out forces and torques on wires, loops and galvanometer coils.

What you’ll be able to do

  • Predict circular, helical and drifting motion of a charge in a uniform magnetic field, alone or crossed with an electric field, including the cyclotron condition.
  • Find the field of wires, arcs, loops, solenoids and toroids, choosing between the Biot–Savart law and Ampère's law from the symmetry of the current.
  • Compute the force on a curved current-carrying wire and the torque and energy of a current loop using its magnetic moment.
  • Explain the moving-coil galvanometer, convert it into an ammeter or voltmeter, and sort materials into dia-, para- and ferromagnetic by their response.

Before you start: Vector cross products and the right-hand rule, uniform circular motion and Newton's laws, electric fields and potential from Electrostatics, and integrals of simple trigonometric and power functions.

The magnetic force does no work

The Lorentz force F⃗=q(E⃗+v⃗×B⃗)\vec F = q(\vec E + \vec v \times \vec B) has a magnetic part that is always perpendicular to the velocity, so it can turn a charge but never change its speed or kinetic energy. In a uniform field a charge moving at right angles to B⃗\vec B follows a circle of radius r=mv/(qB)=p/(qB)r = mv/(qB) = p/(qB). The angular frequency ω=qB/m\omega = qB/m and period T=2πm/(qB)T = 2\pi m/(qB) do not depend on the speed: a faster particle runs a bigger circle in the same time. This speed-independence is the whole idea of the cyclotron.

If the velocity has a component along B⃗\vec B, that component is untouched, so the path is a helix of radius mv⊥/(qB)mv_\perp/(qB) and pitch v∥Tv_\parallel T. When a field fills only a slab, compare the radius with the slab width dd: if r<dr < d the particle comes back out of the face it entered, having turned through a semicircle when it entered normally; if r>dr > d it crosses, deflected through an angle with sin⁡θ=d/r\sin\theta = d/r. Because only momentum appears in r=p/(qB)r = p/(qB), particles of equal momentum and charge follow identical paths whatever their masses, and for equal kinetic energy r∝m/qr \propto \sqrt{m}/q.

Crossed fields, drift and the cyclotron

With E⃗⊥B⃗\vec E \perp \vec B, a charge moving at v=E/Bv = E/B in the direction of E⃗×B⃗\vec E \times \vec B feels no net force: this is the velocity selector, and it works for either sign of charge and any mass. For any other start the cleanest method is a change of frame. In a frame moving at u⃗=E⃗×B⃗/B2\vec u = \vec E \times \vec B / B^2 the electric field vanishes (for u≪cu \ll c), so the particle simply circles there. Back in the lab the motion is a circle carried along at uu: a charge released from rest traces a cycloid, momentarily stopping at each cusp and reaching speed 2u2u at the top of each arch.

A cyclotron accelerates ions across the gap between two dees while a uniform field bends them round; the oscillator must run at f=qB/(2πm)f = qB/(2\pi m) so that the gap voltage reverses each half-turn. The exit energy K=q2B2R2/(2m)K = q^2B^2R^2/(2m) is set by the field and the dee radius RR, not by the gap voltage, which only fixes how many turns are needed. It fails at high energy because the relativistic increase of momentum relative to speed lengthens the period, so ions fall out of step; electrons, being light, become relativistic almost at once and are never accelerated this way.

Finding B: integrate or use symmetry

The Biot–Savart law always works for steady currents, and a few results do most of the work. A straight segment gives B=μ0I4πd(sin⁡α1+sin⁡α2)B = \frac{\mu_0 I}{4\pi d}(\sin\alpha_1 + \sin\alpha_2) at perpendicular distance dd, with the angles measured from the perpendicular to each end; an arc of angle θ\theta gives μ0Iθ/(4πR)\mu_0 I\theta/(4\pi R) at its centre; a circular loop gives μ0IR2/[2(R2+x2)3/2]\mu_0 I R^2/[2(R^2 + x^2)^{3/2}] on its axis, falling as 1/x31/x^3 far away like a dipole. Points on the line of a straight segment receive nothing from it, which is why the straight leads of hairpins and arcs often drop out.

Ampère's law ∮B⃗⋅dl⃗=μ0Ienc\oint \vec B \cdot d\vec l = \mu_0 I_{\mathrm{enc}} is true for every closed path around steady currents, but it yields B only when symmetry makes B constant and tangential along a chosen path: an infinite wire, a cylinder (inside a uniform wire B∝rB \propto r), an ideal solenoid (B=μ0nIB = \mu_0 nI inside, zero outside) and a toroid (B=μ0NI/(2πr)B = \mu_0 NI/(2\pi r), falling across the core). It cannot give the field of a finite segment, which is not a complete circuit. A neat consequence: the integral of B along the whole axis of a loop equals μ0I\mu_0 I, because the axis closes round the loop at infinity; likewise the field at the end of a long solenoid is half the field deep inside.

Forces and torques on currents

The force on an element is dF⃗=I dl⃗×B⃗d\vec F = I\, d\vec l \times \vec B. In a uniform field the integral depends only on the vector L⃗\vec L from the start of the wire to its end, so F⃗=IL⃗×B⃗\vec F = I\vec L \times \vec B for any shape and a closed loop feels zero net force. A semicircular wire of radius R therefore feels the same force as its diameter, 2IRB2IRB. Two long parallel wires exert μ0I1I2/(2πd)\mu_0 I_1 I_2/(2\pi d) per unit length on each other, attracting for like currents and repelling for opposite ones, as Newton's third law requires of the pair.

A planar loop has magnetic moment m⃗=NIAn^\vec m = NIA\hat n, with n^\hat n given by the right-hand grip rule. In a uniform field it feels a torque τ⃗=m⃗×B⃗\vec\tau = \vec m \times \vec B and has energy U=−m⃗⋅B⃗U = -\vec m \cdot \vec B, so it settles with m⃗\vec m along B⃗\vec B; only a non-uniform field gives a net force, pulling the aligned dipole towards stronger field. For a charge spread over a rotating body with the same charge-to-mass ratio everywhere, m⃗=q2ML⃗\vec m = \frac{q}{2M}\vec L; this gyromagnetic ratio gives moments of rotating rings, discs and spheres in one line and connects orbital moments of atoms to their angular momentum.

Galvanometers and magnetic materials

In a moving-coil galvanometer the pole pieces are curved and a soft-iron core sits inside the coil, making the field radial so the plane of the coil always contains B. The deflecting torque NIAB is then independent of angle and balances the spring torque kθ, giving a linear scale with current sensitivity θ/I=NAB/k\theta/I = NAB/k. A low shunt S=IgG/(I−Ig)S = I_gG/(I - I_g) in parallel turns it into an ammeter whose total resistance is about IgG/II_gG/I; a high series resistance V/Ig−GV/I_g - G turns it into a voltmeter. Raising the turns raises the sensitivity but also the coil resistance, so the voltage sensitivity need not improve.

In matter, B⃗=μ0(H⃗+M⃗)\vec B = \mu_0(\vec H + \vec M) with M⃗=χH⃗\vec M = \chi\vec H. Diamagnets have small negative χ, nearly independent of temperature, and are pushed out of strong-field regions; superconductors are perfect diamagnets. Paramagnets have small positive χ obeying Curie's law χ∝1/T\chi \propto 1/T, because thermal agitation fights alignment of permanent atomic moments. Ferromagnets have huge χ from aligned domains, show hysteresis and become paramagnetic above the Curie temperature. Soft iron, with high permeability and a thin hysteresis loop, suits electromagnet and transformer cores; hard steel or alnico, with high retentivity and coercivity, suits permanent magnets.

Rules and when they apply

F⃗=q(E⃗+v⃗×B⃗)\vec F = q\left(\vec E + \vec v \times \vec B\right)
Total force on a point charge q moving with velocity v through electric field E and magnetic field B; the magnetic part is perpendicular to v.

Always, with E and B measured in the same frame as v; the magnetic part never does work.

r=mv⊥qB,T=2πmqBr = \dfrac{mv_\perp}{qB}, \quad T = \dfrac{2\pi m}{qB}
Radius and period of the circular part of the motion of charge q, mass m, with velocity component v⊥ normal to B.

Uniform magnetic field, no other forces, and speeds well below c (otherwise use relativistic momentum).

dB⃗=μ04πI dl⃗×r^r2d\vec B = \dfrac{\mu_0}{4\pi}\dfrac{I\, d\vec l \times \hat r}{r^2}
Field at distance r from a current element I dl, with unit vector r̂ pointing from the element to the field point; integrate over the circuit.

Steady currents in vacuum or non-magnetic media; valid for any geometry.

∮B⃗⋅dl⃗=μ0Ienc\oint \vec B \cdot d\vec l = \mu_0 I_{\mathrm{enc}}
The circulation of B round any closed path equals μ0\mu _{0} times the net current threading a surface bounded by the path.

Steady, closed currents; it gives B directly only when symmetry makes B constant and tangential on the path.

B=μ0IR22(R2+x2)3/2B = \dfrac{\mu_0 I R^2}{2\left(R^2 + x^2\right)^{3/2}}
Field on the axis of a circular loop of radius R carrying current I, at distance x from its centre; it is μ0I\mu _{0}I/(2R) at the centre.

Points on the axis only; for N close-packed turns multiply by N.

τ⃗=m⃗×B⃗,U=−m⃗⋅B⃗,m=NIA\vec\tau = \vec m \times \vec B, \quad U = -\vec m \cdot \vec B, \quad m = NIA
Torque and orientation energy of a planar coil of N turns, area A, current I, with moment along the normal by the right-hand rule.

Uniform field over the coil; in a non-uniform field there is also a net force.

Follow the reasoning

Worked example 1

A proton on a helix

A proton enters a uniform magnetic field of 0.50 T with speed 2.0 × 10610^{6} m/s at 60° to the field direction. Find the radius and pitch of its helical path. Take m = 1.67 × 10−2710^{-27} kg and e = 1.6 × 10−1910^{-19} C.

Step-by-step explanation
  1. Split the velocity: v⊥=vsin⁡60∘=1.73×106v_\perp = v\sin 60^\circ = 1.73 \times 10^6 m/s and v∥=vcos⁡60∘=1.0×106v_\parallel = v\cos 60^\circ = 1.0 \times 10^6 m/s.
  2. Radius: r=mv⊥eB=1.67×10−27×1.73×1061.6×10−19×0.50=3.6×10−2r = \dfrac{mv_\perp}{eB} = \dfrac{1.67 \times 10^{-27} \times 1.73 \times 10^6}{1.6 \times 10^{-19} \times 0.50} = 3.6 \times 10^{-2} m.
  3. Period: T=2πmeB=2π×1.67×10−278.0×10−20=1.31×10−7T = \dfrac{2\pi m}{eB} = \dfrac{2\pi \times 1.67 \times 10^{-27}}{8.0 \times 10^{-20}} = 1.31 \times 10^{-7} s, the same for any speed.
  4. Pitch: p=v∥T=1.0×106×1.31×10−7=0.131p = v_\parallel T = 1.0 \times 10^6 \times 1.31 \times 10^{-7} = 0.131 m.

Radius about 3.6 cm and pitch about 13 cm.

Check: The ratio p/r = 2π v∥/v⊥ = 2π cot⁡60°\cot 60° = 3.63 needs no constants, and 13.13.61\frac{13.1}{3.61} = 3.63 agrees.

Worked example 2

Released from rest in crossed fields

A proton is released from rest at the origin in an electric field of 2.0 × 10310^{3} V/m along +y and a magnetic field of 0.10 T along +z. Find the drift velocity, the greatest distance it gets from the x-axis, and its greatest speed. Take m/e = 1.04 × 10−810^{-8} kg/C.

Step-by-step explanation
  1. Move to a frame travelling at u⃗=E⃗×B⃗/B2\vec u = \vec E \times \vec B/B^2: u=E/B=2.0×104u = E/B = 2.0 \times 10^4 m/s along y^×z^=+x^\hat y \times \hat z = +\hat x. In that frame the electric field vanishes.
  2. In the moving frame the proton starts with velocity −ux^-u\hat x and simply circles at speed u with radius r=mu/(eB)=1.04×10−8×2.0×104/0.10=2.1×10−3r = mu/(eB) = 1.04 \times 10^{-8} \times 2.0 \times 10^4/0.10 = 2.1 \times 10^{-3} m.
  3. In the lab the motion is that circle carried along at u: a cycloid. The greatest distance from the x-axis is the diameter 2r=2mE/(eB2)=4.22r = 2mE/(eB^2) = 4.2 mm, reached where the lab speed is u+u=4.0×104u + u = 4.0 \times 10^4 m/s.
  4. The drift is along +x, perpendicular to both fields, not along E.

Drift 2.0 × 10410^{4} m/s along +x; maximum height 4.2 mm; maximum speed 4.0 × 10410^{4} m/s.

Check: Energy: only the electric field does work, so eE y = ½m(2u)² gives y = 2mE/(eB2eB^{2}) = 4.2 mm, matching the frame argument.

Worked example 3

A spinning charged disc

A thin insulating disc of radius 10 cm carries charge 2.0 μC spread uniformly over one face and spins at 300 rad/s about its axis. Find the magnetic field at its centre and its magnetic moment. Take μ0\mu _{0} = 4π × 10−710^{-7} T m/A.

Step-by-step explanation
  1. Slice the disc into rings of radius r and width dr. Each carries charge σ 2πr dr\sigma\, 2\pi r\, dr with σ=Q/(πR2)\sigma = Q/(\pi R^2) and passes it round ω/2π times per second, so dI=QωπR2r drdI = \dfrac{Q\omega}{\pi R^2} r\, dr.
  2. Field at the centre: B=∫0Rμ0 dI2r=μ0Qω2πR2∫0Rdr=μ0Qω2πR=4π×10−7×2.0×10−6×3002π×0.10=1.2×10−9B = \int_0^R \dfrac{\mu_0\, dI}{2r} = \dfrac{\mu_0 Q\omega}{2\pi R^2}\int_0^R dr = \dfrac{\mu_0 Q\omega}{2\pi R} = \dfrac{4\pi \times 10^{-7} \times 2.0 \times 10^{-6} \times 300}{2\pi \times 0.10} = 1.2 \times 10^{-9} T.
  3. Moment: m=∫πr2 dI=QωR2∫0Rr3 dr=QωR24=2.0×10−6×300×0.0104=1.5×10−6m = \int \pi r^2\, dI = \dfrac{Q\omega}{R^2}\int_0^R r^3\, dr = \dfrac{Q\omega R^2}{4} = \dfrac{2.0 \times 10^{-6} \times 300 \times 0.010}{4} = 1.5 \times 10^{-6} A m2m^{2}.

B ≈ 1.2 × 10−910^{-9} T at the centre and m = 1.5 × 10−610^{-6} A m2m^{2} along the axis.

Check: Gyromagnetic ratio: if mass shares the charge distribution, m = (Q/2M)L with L = ½MR²ω, giving QωR²/4 again, with no integral.

Mistakes worth catching

“A strong enough magnetic field can speed a charged particle up.”

The magnetic force is always perpendicular to the velocity and does no work. In a cyclotron the energy comes from the electric field across the gap; B only steers.

“The field of any straight wire is μ0I\mu _{0}I/(2πd), by Ampère's law.”

That result needs an infinitely long wire. A finite segment is not a closed circuit, so use Biot–Savart: μ0I\mu _{0}I(sin α₁ + sin α₂)/(4πd).

“A curved wire in a uniform field feels a force that depends on its length and shape.”

In a uniform field only the straight-line vector from one end to the other matters, F = IL × B, so any closed loop feels zero net force, only a torque.

“A faster ion takes longer to go round in a cyclotron, so the frequency must change with energy.”

Non-relativistically the radius grows in proportion to speed, so the period 2πm/(qB) is fixed. Only relativistic effects break the step.

Quick revision checklist
  • Magnetic forces bend paths but never change speed: r = p/(qB), T = 2πm/(qB).
  • In crossed fields, jump to the frame moving at E/B, where only B remains.
  • Use Biot–Savart for segments, arcs and loop axes; Ampère only with symmetry.
  • In uniform B a wire feels I L × B with L its end-to-end vector; a loop feels only τ = m × B.
  • A radial field makes a galvanometer linear; soft iron for cores, hard steel for magnets.

Try it without the worked examples

Ten separately written NSEP-level questions. Your answers are saved on this browser; finish to see the score and explanations.

Take the chapter test →