Sub topic 3
The magnetic force on a moving charge: F = qv × B
This chapter assumes you can add and resolve vectors, compute a cross product, and apply Newton's second law. It also assumes you know what an electric field is and what the tesla measures. The goal is a working model of the force law, a reliable procedure for getting its direction, and a list of the mistakes people make most often.
The force law
A charge q moving with velocity v through a magnetic field B feels a force
F = q v × B
The magnitude is
F = |q| v B sin θ
Here θ is the angle between v and B, measured with the two vectors placed tail to tail. The direction comes from the cross product and the sign of q:
- For a positive charge, F points along v × B, which the right-hand rule gives.
- For a negative charge, F points opposite to v × B.
- F is perpendicular to both v and B, so it is perpendicular to the plane they span.
The units are consistent: C · (m/s) · T = N, which is why 1 T = 1 N/(A·m).
Four features follow directly from the formula.
- A charge at rest feels no magnetic force. If v = 0, then F = 0. A magnetic field cannot start a stationary charge moving.
- A charge moving along the field feels no force. If θ = 0° or 180°, then sin θ = 0.
- The force is largest when v is perpendicular to B. At θ = 90°, F = |q| v B.
- Only the component of v perpendicular to B matters. Write v⊥ = v sin θ, so F = |q| v⊥ B. The component along the field never contributes.
Finding the direction
Use the same procedure every time.
- Point the fingers of your right hand along v.
- Curl them toward B through the smaller angle between the two vectors.
- Your thumb points along v × B.
- Keep the thumb direction if q is positive. Reverse it if q is negative.
The cross-product components, with v = (vₓ, vy, vz) and B = (Bₓ, By, Bz), are:
- Fₓ = q (vy Bz − vz By)
- Fy = q (vz Bₓ − vₓ B_z)
- Fz = q (vₓ By − v_y Bₓ)
Use these when the vectors are not aligned with convenient axes. Numpy's np.cross applies the same formulas.
Worked example 1: a proton in a perpendicular field
A proton moves along +x at 1.0 × 10⁶ m/s. The field is 0.5 T along +z. By the right-hand rule, x̂ × ẑ = −ŷ, so the force points along −y. The magnitude is
F = (1.602 × 10⁻¹⁹ C)(1.0 × 10⁶ m/s)(0.5 T) = 8.01 × 10⁻¹⁴ N
The code gives the same result:
import numpy as np
q = 1.602176634e-19
v = np.array([1.0e6, 0.0, 0.0]) # velocity along +x, m/s
B = np.array([0.0, 0.0, 0.5]) # field along +z, T
F = q * np.cross(v, B)
print(F) # force points along -y for a positive chargeThe output is approximately [ 0.0e+00 -8.01e-14 0.0e+00]. The x and z components are zero, and the y component is negative. That matches the hand calculation in both direction and size.
You can also check perpendicularity numerically. Both np.dot(F, v) and np.dot(F, B) should be zero. This check is worth running whenever you build a force from a cross product, because a wrong sign or a swapped argument order often breaks it.
Worked example 2: an oblique angle and a negative charge
An electron moves at 2.0 × 10⁶ m/s at 30° to a 0.40 T field. Only the perpendicular component matters:
F = |q| v B sin θ = (1.602 × 10⁻¹⁹)(2.0 × 10⁶)(0.40)(0.50) ≈ 6.4 × 10⁻¹⁴ N
The electron's mass is 9.109 × 10⁻³¹ kg, so its acceleration is
a = F/m ≈ 7.0 × 10¹⁶ m/s²
That is enormous, but it acts on a very light particle. The same force on a proton gives an acceleration about 1836 times smaller. For direction, work out v × B as if the charge were positive, then reverse the result because the electron is negative.
Combining with an electric field
If both fields are present, the total electromagnetic force is the Lorentz force:
F = q (E + v × B)
The electric part acts on any charge, moving or not, and it points along E (or opposite to it for negative q). The magnetic part needs motion and points perpendicular to v. Later chapters use this combination for velocity selectors and mass spectrometers. For now, keep the two contributions separate when you draw force diagrams.
What the force does to the motion
The force is always perpendicular to v. A force perpendicular to the velocity changes the direction of motion and leaves the speed unchanged. The next chapters develop that fact fully. A simple preview is that in a uniform field with v perpendicular to B, the force has constant magnitude and always points sideways to the motion, which is the condition for uniform circular motion.
You can also see this numerically. If you step a particle forward in time using the Euler method, the speed slowly grows because each step moves along a tangent and overshoots the circle. That growth is an artifact of the method, not physics. Chapter code that tracks a particle over many steps should use a rotation-based update so that the speed stays fixed.
Common errors
- Using the wrong angle. The angle in sin θ is between v and B, not between v and the force. The force is always at 90° to v.
- Forgetting the sign of q. An electron and a proton moving the same way in the same field are pushed in opposite directions. Many sign errors come from applying the right-hand rule to the particle's motion and forgetting to flip for electrons.
- Swapping the order of the cross product. B × v = −(v × B). Write the order exactly as in the formula: velocity first, then field.
- Mixing up conventional current and particle motion. For a negative charge, the velocity is opposite to the conventional current direction. Use the particle's actual velocity in the formula.
- Expecting a force along the field. If your answer has a component along B or v, there is an error. The force has no such component.
- Using gauss without converting. 1 G = 10⁻⁴ T. Convert before substituting into the formula.
- Treating the force as a push in the direction of motion. It is a sideways force, so it cannot speed the particle up or slow it down.
Quick summary of the working model
| Situation | Result | Column | Column |
|---|---|---|---|
| v = 0 | F = 0 | ||
| v parallel or antiparallel to B | F = 0 | ||
| v perpendicular to B | F = \ | q\ | v B, the maximum |
| Positive charge | F along v × B | ||
| Negative charge | F opposite to v × B | ||
| Any case | F perpendicular to both v and B |
Exercise
A proton moves along +y at 3.0 × 10⁵ m/s in a uniform field of 0.20 T along +x. Find the magnitude and direction of the magnetic force. Then state the direction of the force if the particle is an electron with the same velocity.
Show answer
The angle between v and B is 90°, so F = qvB = (1.602 × 10⁻¹⁹)(3.0 × 10⁵)(0.20) ≈ 9.6 × 10⁻¹⁵ N. The cross product ŷ × x̂ = −ẑ, so the force on the proton points along −z. For an electron the magnitude is the same and the direction reverses, so the force points along +z.
Exercise
A particle with charge +2.0 μC moves at 4.0 × 10³ m/s at 37° to a 0.50 T field (take sin 37° = 0.60). What is the force magnitude, and what is the force if the particle instead moves parallel to the field?
Show answer
F = qvB sin θ = (2.0 × 10⁻⁶)(4.0 × 10³)(0.50)(0.60) = 2.4 × 10⁻³ N. If the particle moves parallel to the field, sin θ = 0, so F = 0.