Physics
High Schoolelectromagnetism

The Magnetic Field and Magnetic Force

A force that only notices charges when they move — and does no work on them even then. The strange, purely directional physics of magnetism, and the particle-in-a-circle problem it was built to solve.

Before this, you should know:

In 1820, Hans Christian Oersted was setting up a lecture demonstration and noticed something that should not have been possible under the physics he'd been taught: every time he closed a switch and sent current through a nearby wire, a compass needle sitting on the table twitched and swung to point sideways, across the wire instead of north. Break the circuit, and the needle drifted back. Nothing about Coulomb's law, nothing about static charge, predicted this. A compass needle is a magnet, and here was an electric current — charges in motion, nothing more — pushing on it as though it were another magnet entirely. Electricity and magnetism, two subjects that had been developing on separate tracks for a century, turned out to be the same thing wearing two different masks. This page is about the mask called magnetism, and the strange rule that governs it.

The magnetic field and the Lorentz force

A magnetic field, written B\vec B, is defined operationally, the same way the electric field was: put a charge in it and see what force it feels. But the rule turns out to be genuinely different in character from Coulomb's law. A charge sitting still in a magnetic field feels nothing at all. Only a moving charge feels a magnetic force, and the force depends on the direction of motion relative to the field, not just the field's strength. The full rule is the Lorentz force law:

F=qv×B.\vec F = q\vec v\times \vec B.

Everything unusual about magnetism is packed into that cross product. Recall its meaning: v×B\vec v\times\vec B has magnitude vBsinθvB\sin\theta, where θ\theta is the angle between v\vec v and B\vec B, and it points perpendicular to both v\vec v and B\vec B, in the direction your right hand's thumb points when your fingers curl from v\vec v toward B\vec B. A charge moving parallel to B\vec B feels no force at all (sin0=0\sin 0=0); a charge moving perpendicular to B\vec B feels the maximum possible force, aimed sideways to its own motion.

That last detail is worth sitting with, because it has a consequence unlike anything in Newton's laws so far: the magnetic force is always perpendicular to the velocity that produces it. It can never point even slightly forward or backward along the direction of travel.

A force that does no work

Work and energy defined work as W=FdcosθW=Fd\cos\theta, and singled out θ=90°\theta=90° as the one angle where a force, however large, accomplishes nothing. The magnetic force lives permanently at that angle. Since F=qv×B\vec F = q\vec v\times\vec B is by construction perpendicular to v\vec v at every instant, the power it delivers is

P=Fv=q(v×B)v=0,P = \vec F\cdot\vec v = q(\vec v\times\vec B)\cdot\vec v = 0,

using the fact that v×B\vec v\times\vec B is perpendicular to v\vec v, so their dot product vanishes identically — not approximately, not for special cases, but always, for any v\vec v and any B\vec B. Zero power at every instant means zero work over any stretch of time. A magnetic field can never speed a charged particle up or slow it down. It can only steer it — bend its path, change its direction — while leaving its kinetic energy, and therefore its speed, completely untouched. This is the single fact that makes everything else about magnetic force fall into place, including the worked example below.

Force on a current-carrying wire

A current is nothing but a great many moving charges, so a wire carrying current in a magnetic field should feel a force too — this is exactly the force that swung Oersted's compass needle, seen from the other side. Consider a straight wire of length LL and cross-sectional area AA, carrying current II, sitting in a field B\vec B. Inside the wire, charge carriers of charge qq drift with velocity vd\vec v_d pointing along the wire, at number density nn per unit volume — exactly the microscopic picture behind the current density J=nqvdJ=nqv_d from circuits. The number of carriers inside the wire segment is N=nALN=nAL, so the total force is the sum of the Lorentz force on every one of them:

F=Nq(vd×B)=nALq(vd×B).\vec F = N q(\vec v_d\times\vec B) = nAL\,q(\vec v_d\times \vec B).

Now use I=nqvdAI = nqv_dA (current equals charge density times drift speed times area, the same relation underlying current density) to trade vdv_d for II. Writing vd=vdv^d\vec v_d = v_d\hat v_d and factoring:

F=L(nqAvd)(v^d×B)=LI(v^d×B).\vec F = L(nqAv_d)(\hat v_d\times\vec B) = LI(\hat v_d\times\vec B).

Defining LLv^d\vec L \equiv L\hat v_d, a vector of length LL pointing along the current's direction, this is usually written

F=IL×B.\boxed{\vec F = I\vec L\times\vec B.}

The drift speed vdv_d — normally sluggishly slow, millimeters per second in a typical wire — cancelled out completely. It had to: the force on a wire can't depend on some invisible microscopic velocity, only on the current actually measured by an ammeter, and that's exactly what survived.

Two panels. Left: a straight current-carrying wire in a uniform magnetic field shown as dots coming out of the page, with the current direction labeled I and the resulting force vector F pointing upward, found from the right-hand rule. Right: a positive charge moving in a circle inside the same into-the-page or out-of-page field, with velocity tangent to the circle, the magnetic force vector pointing toward the center as the centripetal force, and the radius r labeled.

Two faces of the same law: a wire feels a sideways push given by the current times its length vector crossed into the magnetic field, and a free charge is steered into a circle by a magnetic force that always points toward the circle's center, doing no work at any point along the way.

Worked example

A particle of charge qq and mass mm moves at speed vv perpendicular to a uniform magnetic field BB. Show that its path is a circle, and find the radius and period of that circle. (click to reveal the solution)

Setting up: the particle moves perpendicular to B\vec B, so sinθ=1\sin\theta=1 and the Lorentz force has constant magnitude F=qvBF=qvB, always perpendicular to v\vec v. We already established that a magnetic force can never change a particle's speed — only its direction. A force of constant magnitude, always perpendicular to the velocity, always pointing the same way relative to the motion (say, always to the particle's left) is exactly the geometric definition of uniform circular motion: it's a centripetal force.

Applying Newton's second law in centripetal form, F=mv2/rF=mv^2/r, and equating it to the magnetic force magnitude:

qvB=mv2r.qvB = \frac{mv^2}{r}.

Solving for the radius, canceling one factor of vv from each side:

qB=mvrr=mvqB.qB = \frac{mv}{r} \quad\Longrightarrow\quad \boxed{r = \frac{mv}{qB}}.

This is the cyclotron radius. Notice its shape: a faster particle, or a heavier one, needs a larger circle to turn on; a stronger field or a bigger charge tightens the circle. Every piece of that makes physical sense on its own — more inertia resists turning, more force enforces it.

Finding the period: the particle covers the full circumference 2πr2\pi r once per orbit, at constant speed vv, so

T=2πrv=2πvmvqB=2πmqB.T = \frac{2\pi r}{v} = \frac{2\pi}{v}\cdot\frac{mv}{qB} = \boxed{\frac{2\pi m}{qB}}.

The striking part of the result: the speed vv cancelled out completely. The orbital period doesn't depend on how fast the particle is moving at all — a slow particle traces a small circle, a fast particle traces a large circle, and both complete one lap in exactly the same time. This is not a coincidence of the algebra; it's the reason particle accelerators called cyclotrons work at all: a charged particle can be accelerated in tiny kicks once per orbit, using an alternating voltage at one fixed frequency f=1/T=qB/(2πm)f=1/T=qB/(2\pi m), and the timing never needs to be adjusted as the particle speeds up and spirals outward to larger and larger radii.

Where this leads

The Lorentz force tells you what a magnetic field does to a charge, but it says nothing yet about where a magnetic field itself comes from. Oersted's compass needle is the clue: currents make magnetic fields, the same way charges make electric fields. Finding the precise law for that — how much field a given current produces, and how to compute it efficiently using the same integral machinery built in line and surface integrals — is the subject of the next topic.