Sub topic 1
Magnetic field, field lines and right-hand rules
Prerequisites
This chapter assumes you know the following:
- The dot product and cross product of vectors, and the right-hand rule for a cross product.
- Electric current and its SI unit, the ampere.
- The idea of a field as a vector assigned to every point in space.
What the magnetic field is
A magnetic field B is a vector field that describes the force on a moving charge. Its SI unit is the tesla (T), where 1 T = 1 N A⁻¹ m⁻¹. A smaller unit, the gauss, equals 10⁻⁴ T. Earth's field is about 5×10⁻⁵ T.
A charge q moving with velocity v in a field B feels the force
F = q v × B
Three facts follow from the cross product:
- The force is zero if v is parallel or antiparallel to B.
- The force is always perpendicular to both v and B.
- The force does no work, because F · v = 0. A magnetic field changes the direction of a charge's velocity but not its speed.
Static charges produce electric fields. Moving charges, that is currents, produce magnetic fields. The next chapters turn this statement into formulas.
Field lines
Field lines are a picture of B. They follow two rules:
- The tangent to a line at a point gives the direction of B there.
- Where lines are closer together, the field is stronger.
Magnetic field lines differ from electric ones in one way. They form closed loops with no start and no end. Outside a bar magnet they run from north to south, and inside the magnet they continue from south to north. Two field lines never cross, because B has one direction at each point.
The right-hand rules
There are three rules. Keep them separate, because mixing them up is the most common error in direction questions.
Straight wire: grip rule
Point your right thumb along the current. Your fingers curl around the wire in the direction of B. The field lines are circles centred on the wire, in planes perpendicular to it.
Loop or solenoid: curl rule
Curl your right fingers in the direction the current circulates. Your thumb points along B inside the loop, which is the direction of the loop's north face. Viewed from that face, the current runs anticlockwise.
Force: cross product rule
For F = q v × B, point your fingers along v, curl them toward B, and your thumb gives F for a positive charge. For a negative charge, reverse the result. For a current element, replace qv with I dl.
Notation for fields on paper
Fields perpendicular to the page are drawn with two symbols:
| Symbol | Meaning | Memory aid |
|---|---|---|
| ⊙ (dot) | **B** points out of the page, toward you | The tip of an arrow coming at you |
| ⊗ (cross) | **B** points into the page, away from you | The tail feathers of an arrow leaving you |
Worked example
A proton moves in the +x direction in a field pointing in the +z direction. Find the direction of the force.
Use F ∝ v × B. Since x̂ × ẑ = −ŷ, the force on the proton points along −y. An electron in the same situation feels a force along +y.
The numbers can be checked with code:
import numpy as np
q = 1.6e-19 # proton charge in coulombs
v = np.array([1e5, 0.0, 0.0]) # velocity in m/s, along +x
B = np.array([0.0, 0.0, 0.2]) # field in tesla, along +z
F = q * np.cross(v, B)
print(F) # force is along -y: about [0, -3.2e-15, 0] NExercise
A wire carries current vertically upward. Looking down from above, is the magnetic field around the wire clockwise or anticlockwise?
Show answer
Point the right thumb upward along the current. Looking from above, the fingers curl anticlockwise, so the field circulates anticlockwise.
Exercise
An electron moves in the +y direction in a field along +x. What is the direction of the force on it?
Show answer
First find ŷ × x̂ = −ẑ. This is the direction for a positive charge. The electron is negative, so the force reverses and points along +z.