Skip to content
Tutorials Center
My learning

Topics

Lesson 23 of 38 · Magnetism and Magnetic Fields

Magnetic Fields and Forces on Moving Charges

Meet the magnetic field, the tesla, and the force on a moving charge. Learn F = qvB sin θ, the right-hand rule, and why magnetic forces do no work.

You have met electric fields, which push on any charge, moving or not. Magnetism is different. A magnetic field pushes only on charges that are moving, and the push is sideways to the motion. This unusual rule explains compasses, electric motors, the beams in old television tubes, and the way the Earth's field deflects charged particles from the Sun.

In this lesson you will define the magnetic field, learn the formula for the magnetic force on a charge, apply the right-hand rule, and see why a magnetic force cannot speed a particle up.

The magnetic field B

A magnetic field B is a vector field. Its SI unit is the tesla (T). A bar magnet, a current in a wire, and a moving charge all create magnetic fields, and every magnetic field exerts forces on moving charges and on currents.

Some typical sizes help your intuition:

Source Approximate magnetic field
Earth's field at the surface 25 to 65 μT
A small fridge magnet about 5 mT
A strong laboratory electromagnet 1 to 2 T
An MRI scanner commonly 1.5 T or 3 T

An older unit, the gauss, equals 10⁻⁴ T.

Field lines show the direction of B at each point (the direction a small compass needle would point) and their spacing shows strength. Outside a magnet they leave the north pole and re-enter at the south pole. Magnetic field lines always form closed loops: no isolated magnetic pole (monopole) has ever been found.

The force on a moving charge

A charge q moving with velocity v in a field B feels the force

Text
F = q v × B

This is a vector cross product. Its magnitude is

Text
F = |q| v B sin θ

where θ is the angle between the velocity and the field. Three facts follow:

  • If the charge is at rest (v = 0), there is no magnetic force.
  • If the velocity is parallel or anti-parallel to B (θ = 0° or 180°), there is no force either.
  • The maximum force occurs when v is perpendicular to B: F = q v B.

The force is perpendicular to both v and B. A tesla is therefore defined as the field that gives a force of 1 N on a charge of 1 C moving at 1 m/s perpendicular to the field. Dimensionally 1 T = 1 N / (A·m) = 1 kg / (A·s²).

The right-hand rule

To find the direction for a positive charge:

  1. Point the fingers of your right hand along the velocity v.
  2. Curl (orient) them toward the direction of B.
  3. Your thumb points along the force F.

For a negative charge, the force is the opposite way. Electrons are deflected the other way from protons, in the same field.

Because F is always at a right angle to v, it can change the direction of the motion but not the speed.

flowchart LR
  A["velocity v"] --> C["cross product v × B"]
  B["field B"] --> C
  C --> D["force on positive charge"]
  C --> E["opposite force on negative charge"]

The magnetic force is perpendicular to both the velocity and the field.

Worked example

A proton (q = 1.602×10⁻¹⁹ C) travels at 3.0×10⁶ m/s perpendicular to a 0.50 T field.

F = q v B = 1.602×10⁻¹⁹ × 3.0×10⁶ × 0.50 ≈ 2.4×10⁻¹³ N.

That is tiny in everyday terms, but the proton's mass is only 1.673×10⁻²⁷ kg, so the acceleration is F / m ≈ 1.4×10¹⁴ m/s², enormous.

Python Magnetic force with a cross product

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In the vector result, the force points along -y. For a positive charge moving along +x in a field along +z, the right-hand rule gives x × z = -y. The code agrees.

Magnetic forces do no work

Work is W = F · d. Because the magnetic force is always perpendicular to the displacement, it does zero work. A magnetic field can therefore curve the path of a particle, but cannot change its kinetic energy. To speed a particle up, you need an electric field. Particle accelerators use both: electric fields to accelerate and magnetic fields to steer.

Electric and magnetic forces together

If both fields are present, the total force on a charge is the Lorentz force:

Text
F = q (E + v × B)

In a region where E and B are perpendicular, a charge with a particular speed v = E / B feels equal and opposite forces and moves straight. This is the principle of a velocity selector, which you will see in the next lesson.

Python Force on a charge in crossed fields

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Only at 1.0×10⁵ m/s does the net sideways force vanish (apart from rounding).

Common mistakes

  • Using the right-hand rule for a negative charge without reversing the result.
  • Using sin θ with the wrong angle. The angle is between v and B, not between v and the force.
  • Thinking a magnetic field can accelerate a particle to a higher speed. It cannot, it only turns it.
  • Assuming a magnet attracts anything electrically charged. A stationary charge feels no magnetic force at all.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. A charge moves parallel to a uniform magnetic field. What is the magnetic force on it?

    F = q v B sin θ, and sin 0° = 0, so there is no force.
  2. 2. An electron (q = -1.60×10⁻¹⁹ C) moves at 2.0×10⁶ m/s perpendicular to a 0.10 T field. What is the magnitude of the magnetic force?

    F = 1.60×10⁻¹⁹ × 2.0×10⁶ × 0.10 = 3.2×10⁻¹⁴ N. The sign of the charge changes the direction, not the magnitude.
  3. 3. Why can a magnetic field not change the kinetic energy of a charged particle?

    Work equals force times displacement along the force. A force perpendicular to the motion does zero work.
  4. 4. A positive charge moving along +x is in a field along +z. In which direction is the force?

    x × z = -y by the right-hand rule, and the charge is positive.

Summary

  • A magnetic field B (unit: tesla) acts on moving charges, not on charges at rest.
  • Force magnitude: F = |q| v B sin θ; direction from v × B (reverse for negative charges).
  • The force is perpendicular to both v and B, so it does no work and cannot change speed.
  • With both fields, the Lorentz force is F = q (E + v × B).
  • Magnetic field lines form closed loops; no monopole has been observed.

Next: Charged Particles Moving in Magnetic Fields