Sub topic 1
Magnetic field, field lines and right-hand rules
Prerequisites
This chapter assumes you are comfortable with the following:
- Vector basics: the dot product, the cross product and the right-hand rule for cross products.
- The electric field of point charges and the idea of superposition.
- Electric current and its SI unit, the ampere.
- Basic circular motion, which helps in the later force examples.
Calculus is not needed here. It enters in the next chapter, on the Biot-Savart law.
What a magnetic field is
A magnetic field, written B, is a vector field. It assigns a vector to every point in space. Moving charges create it, and it acts on other moving charges. A charge at rest feels no magnetic force, and a charge at rest produces no magnetic field.
The SI unit of B is the tesla (T). One tesla is one newton per ampere per metre, so 1 T = 1 N A⁻¹ m⁻¹. The older CGS unit is the gauss, with 1 G = 10⁻⁴ T. Typical values help you judge answers:
| Source | Approximate B |
|---|---|
| Earth's surface field | 3 × 10⁻⁵ to 6 × 10⁻⁵ T |
| Fridge magnet | 5 × 10⁻³ T |
| Laboratory electromagnet | 1 T |
| MRI scanner | 1.5 to 3 T |
Two facts organise the whole topic:
- Currents and moving charges are the sources of B. The next chapters compute this field.
- B exerts a force on moving charges and currents. Later chapters use this force.
The constant that links sources to the field is the permeability of free space, μ0 = 4π × 10⁻⁷ T m A⁻¹. It plays the role that 1/ε0 plays in electrostatics.
The force that defines B
The field at a point is defined through the force on a test charge q moving with velocity v:
F = q v × B
This is the magnetic part of the Lorentz force. The full Lorentz force also includes the electric part, F = q(E + v × B). Three properties follow from the cross product:
- The force is perpendicular to both v and B.
- The magnitude is F = qvB sin θ, where θ is the angle between v and B.
- The force is zero when v is parallel or antiparallel to B, and largest when v is perpendicular to B.
Because F is always perpendicular to v, the magnetic force does no work on the charge. Power is F · v, and that dot product is zero. A magnetic field can change the direction of a particle's velocity but never its speed or kinetic energy.
Field lines
Field lines give a picture of B. They follow these rules:
- The tangent to a line at any point gives the direction of B there.
- The density of lines, meaning how closely they are packed, shows the magnitude of B.
- Lines never cross. If they did, B would have two directions at one point.
- Lines form closed loops. They have no starting or ending points.
The last rule separates magnetic lines from electric ones. Electric lines begin on positive charges and end on negative charges. Magnetic lines have no such endpoints because isolated magnetic poles have never been observed. Outside a bar magnet the lines run from the north pole to the south pole. Inside the magnet they continue from south back to north, which completes each loop. The last chapter of this tutorial states this formally as Gauss's law for magnetism.
Do not confuse a field line with the path of a charged particle. A charge does not move along a field line. The force on it is perpendicular to the line.
Field lines of simple sources
- Long straight wire: concentric circles around the wire, in planes perpendicular to it. The spacing grows with distance, so the field weakens.
- Circular loop: near the wire the lines circle the conductor. Near the centre they are almost straight and pass through the plane of the loop.
- Solenoid: parallel lines inside, closely packed. Outside they spread out and return, so the outside field is weak.
- Bar magnet: lines match those of a short current loop. You will see why in the chapters on dipoles.
Right-hand rules
Direction errors cost marks in JEE more often than arithmetic errors. Three rules cover almost every case. Learn which rule applies to which situation.
Rule 1: field of a straight current
Point the right thumb along the current. The fingers curl in the direction of B around the wire. If the current is out of the page, the field circles anticlockwise as seen from above. If the current goes into the page, it circles clockwise.
Rule 2: field of a loop or coil
Curl the fingers of the right hand in the direction of the current around the loop. The thumb points along B through the loop. Equivalently, looking at the loop face-on, a face where the current is anticlockwise acts as a north pole, and a face where it is clockwise acts as a south pole.
Rule 3: force on a moving charge or current
Point the fingers along v (or along the current direction for a wire), then curl them toward B. The thumb gives the direction of F = qv × B for a positive charge. For a negative charge, reverse the result. For a wire, F = I L × B, where L points along the conventional current.
The same cross-product logic sits under all three rules. You can also use unit vectors. With x̂ × ŷ = ẑ, ŷ × ẑ = x̂ and ẑ × x̂ = ŷ, any direction question reduces to algebra.
Notation for vectors perpendicular to the page
| Symbol | Meaning |
|---|---|
| ⊙ (dot in a circle) | Vector points out of the page, toward you |
| ⊗ (cross in a circle) | Vector points into the page, away from you |
The dot looks like the tip of an arrow coming at you. The cross looks like the tail feathers of an arrow going away.
Worked example: force direction with unit vectors
A proton moves along +x with speed v = 2 × 10⁶ m s⁻¹ in a field B = 0.50 T along +z. Find the force.
F = q v × B = (1.6 × 10⁻¹⁹)(2 × 10⁶ x̂) × (0.50 ẑ)
Since x̂ × ẑ = −ŷ:
F = (1.6 × 10⁻¹⁹)(2 × 10⁶)(0.50)(−ŷ) = −1.6 × 10⁻¹³ ŷ N
The force has magnitude 1.6 × 10⁻¹³ N and points along −y. Check with Rule 3: fingers along +x, curled toward +z, give a thumb along −y. The two methods agree.
The proton then moves in a circle in the xy-plane. The magnetic force supplies the centripetal force, so qvB = mv²/r and r = mv/(qB).
import numpy as np
q = 1.6e-19 # proton charge in C
m = 1.67e-27 # proton mass in kg
v = np.array([2e6, 0.0, 0.0]) # velocity in m/s
B = np.array([0.0, 0.0, 0.50]) # field in T
F = q * np.cross(v, B)
r = m * np.linalg.norm(v) / (q * np.linalg.norm(B))
print(F) # force in N, along -y
print(r) # radius of the circular path in mThe code prints a force of about −1.6 × 10⁻¹³ N in the y component and a radius of about 0.042 m.
Field lines and the right-hand rules together
The diagram shows how the rules chain together when you reason about a problem. You first find B from the source. You then use that B to find the force on a second charge or current.
Common errors
- Using the wrong rule. Rule 1 is for the field of a straight wire. Rule 2 is for the field of a loop. Rule 3 is for force. Mixing them reverses answers.
- Forgetting the sign of the charge. For an electron, the force is opposite to the right-hand result.
- Treating the current direction as electron motion. Conventional current points opposite to electron drift. Use the conventional direction in Rules 1 to 3.
- Thinking the force acts along the field. The force is always perpendicular to B.
- Expecting work to be done. A magnetic force alone never changes speed.
- Confusing ⊙ and ⊗. Dot means out, cross means in.
Edge cases
- If v is parallel to B, the force is zero and the particle moves in a straight line.
- If v has components both parallel and perpendicular to B, the perpendicular part gives circular motion and the parallel part is unchanged. The path is a helix.
- At a point where the field is zero, field lines are not defined. Such points occur between two equal currents, where their fields cancel.
Exercise
A long straight wire carries a current in the +z direction. A positive charge sits at the point (1 m, 0, 0) and moves in the +z direction too. Find the direction of the magnetic field at the charge due to the wire, and the direction of the force on the charge.
Show answer
By Rule 1, the thumb points along +z and the fingers curl anticlockwise when viewed from +z. At (1, 0, 0) the circular field line runs in the +y direction, so B points along +y. For the force, v is along +z and B along +y, so F is proportional to ẑ × ŷ = −x̂. The force points along −x, toward the wire. Parallel currents attract, which agrees with the later chapter on forces between wires.
Exercise
An electron moves with velocity 3 × 10⁶ m/s along +y in a field of 0.20 T along +x. Find the magnitude and direction of the force.
Show answer
The magnitude is F = evB = (1.6 × 10⁻¹⁹)(3 × 10⁶)(0.20) = 9.6 × 10⁻¹4 N, that is 9.6 × 10⁻¹⁴ N. For a positive charge, ŷ × x̂ = −ẑ, so the force would be along −z. The electron is negative, so the force points along +z.
Exercise
A particle moves through a region with a magnetic field and its speed is measured to increase. Can the magnetic field alone be responsible?
Show answer
No. The magnetic force is always perpendicular to the velocity, so it does no work and cannot change the speed. An electric field or another force must also act.