Gravity acts on any mass and the electric force acts on any charge, but the magnetic force is pickier: it acts only on charges that are moving, and it pushes them sideways rather than along the field. In Grade 11 you met the fields around magnets, wires and coils, and the motor principle. Here that becomes quantitative. The sideways push explains why charged particles circle in a magnetic field, and it is the working principle of mass spectrometers, particle accelerators and every electric motor.
Fields around wires and coils
- Straight wire (right-hand rule 1). Point your right thumb along the conventional current; your curled fingers show the direction of the circular field lines around the wire. The field is strongest close to the wire and weakens with distance.
- Coil or solenoid (right-hand rule 2). Curl the fingers of your right hand in the direction of the conventional current in the loops; your thumb points out of the coil's north end. Inside a long solenoid the field lines are nearly parallel and evenly spaced, so the field there is close to uniform.
- Magnetic field lines always form closed loops. They leave the north pole of a magnet, enter the south pole and continue through the magnet. There are no isolated magnetic poles, unlike positive and negative charges.
- Field strength is measured in teslas (T). Earth's field at the surface is roughly , while hospital MRI magnets commonly run at to .
The force on a moving charge
The force is largest when the charge moves perpendicular to the field (, ) and zero when it moves parallel to the field. A stationary charge feels no magnetic force at all. The force is always perpendicular to both and . To find its direction for a positive charge use right-hand rule 3: point your fingers along and your thumb along ; your palm pushes in the direction of the force. For a negative charge, such as an electron, find the direction for a positive charge and then reverse it. Rearranging also defines the tesla: .
Because the magnetic force is always perpendicular to the velocity, it never does work: it changes the direction of motion but never the speed. A charge moving perpendicular to a uniform field therefore travels in a circle, with the magnetic force acting as the centripetal force. Setting and solving for the radius gives the result below. Faster or heavier particles swing in wider circles; stronger fields or larger charges bend them more tightly.
The force on a current-carrying wire
A current is just many charges moving together, so a wire carrying current in a magnetic field feels the sum of all their magnetic forces. This is the motor principle from Grade 11 in equation form. The direction comes from right-hand rule 3 with your thumb along the conventional current. A wire running parallel to the field feels no force, and a wire perpendicular to it feels the maximum force .
Mass spectrometers and particle accelerators
A mass spectrometer sorts ions by mass. The ions first pass through a velocity selector, a region with electric and magnetic fields at right angles, where the electric force and magnetic force push in opposite directions. Only ions with feel balanced forces and pass straight through. These ions then enter a second uniform magnetic field and curve in semicircles of radius . With speed, charge and field fixed, the radius is proportional to the mass, so heavier ions land farther away. Chemists use this to identify substances and to measure isotope abundances. A cyclotron uses a magnetic field to keep charged particles on a spiral path while an alternating electric field gives them a push every half-turn; hospital cyclotrons produce short-lived radioactive isotopes for medical imaging such as PET scans.
| Property | Gravitational field | Electric field | Magnetic field |
|---|---|---|---|
| Produced by | Mass | Charge | Moving charges, currents and magnets |
| Acts on | Any mass | Any charge, moving or not | Moving charges and currents only |
| Attract or repel | Attract only | Both | Force is sideways to the motion |
| Force law | |||
| Field strength | , in N/kg | , in N/C | , in teslas |
| Field line shape | End on masses, pointing inward | Start on positive, end on negative charges | Closed loops, no isolated poles |
| Relative strength | Weakest by far | Very strong | Electric and magnetic forces are two sides of one electromagnetic force |