Sub topic 7
A magnet oscillating in a uniform field
This chapter assumes you know simple harmonic motion (SHM), torque and moment of inertia, and the torque and energy of a dipole in a uniform field from the previous chapter.
The restoring torque
A bar magnet of dipole moment m is pivoted at its centre so it can rotate in a horizontal plane. It sits in a uniform field B. At equilibrium, m points along B. Turn the magnet through a small angle θ and release it. The field exerts a torque of magnitude
τ = mB sin θ
and this torque points back toward the equilibrium position. Because the torque opposes the displacement, the magnet swings back and forth.
Small-angle approximation
For small θ (in radians), sin θ ≈ θ. The equation of rotational motion, τ = Iα, becomes
I (d²θ/dt²) = −mBθ
Rearranging gives
d²θ/dt² = −(mB/I) θ
This has the form of SHM, d²θ/dt² = −ω²θ, with ω² = mB/I. So
T = 2π√(I/(mB))
Here I is the moment of inertia about the axis of rotation. For a thin bar magnet of mass M and length l, rotating about an axis through its centre and perpendicular to its length, I = Ml²/12.
How T depends on each quantity
- T increases with I. A heavier or longer magnet is sluggish.
- T decreases as m increases. A stronger magnet swings faster.
- T decreases as B increases. A stronger field swings the magnet faster.
- T does not depend on the amplitude, as long as the angle stays small.
Frequency is f = (1/2π)√(mB/I). If B is the only thing that changes, then T ∝ 1/√B and f ∝ √B.
Computing the period
The code below computes T for a small magnet. It also compares two fields to confirm the 1/√B scaling.
import math
def oscillation_period(I, m, B):
return 2 * math.pi * math.sqrt(I / (m * B))
def bar_magnet_inertia(mass, length):
# thin bar, axis through the centre, perpendicular to its length
return mass * length**2 / 12
I = bar_magnet_inertia(0.05, 0.10) # kg m^2
m = 0.5 # A m^2
T1 = oscillation_period(I, m, 0.04)
T2 = oscillation_period(I, m, 0.16) # field four times larger
print(T1, T2, T1 / T2)The field is four times larger, so the period halves. The printed ratio T1/T2 is 2.
Comparing fields with a magnetometer
A common NEET problem compares two fields using the same magnet. Since I and m are unchanged,
T₁/T₂ = √(B₂/B₁), so B₁/B₂ = (T₂/T₁)²
This is the idea behind the vibration magnetometer. It measures the horizontal component of Earth's field, BH, by timing oscillations. You can also compare BH with a known field. When a magnet oscillates in the combined field of Earth and another magnet, the effective field is B_H ± B, and the period changes accordingly.
Common errors
- Using the wrong I. The moment of inertia must be about the pivot axis. For a bar magnet about its centre, I = Ml²/12, not Ml²/3, which applies about one end.
- Confusing m with the pole strength. The dipole moment m is pole strength times magnetic length, so check which quantity the question gives.
- Forgetting that B is the net field at the magnet. If Earth's field and a second magnet act together, add them as vectors.
- Cutting the magnet. If a magnet is cut into two equal pieces along its length, m is halved and I is also changed. If it is cut across its length, the new m, mass, and length all change. Recompute each quantity before using the formula.
Exercise
A magnet oscillates in a uniform field of 0.20 mT with a period of 4.0 s. The same magnet is placed in a field of 0.80 mT. What is its new period?
Show answer
T ∝ 1/√B. The field is four times larger, so the period is halved: T = 4.0 / √4 = 2.0 s.
Exercise
A magnet of moment 0.60 A m² and moment of inertia 3.0 × 10⁻⁵ kg m² is displaced slightly in a field of 0.050 T. Find its period of oscillation.
Show answer
T = 2π√(I/(mB)) = 2π√(3.0 × 10⁻⁵ / (0.60 × 0.050)) = 2π√(1.0 × 10⁻³) ≈ 2π × 0.0316 ≈ 0.20 s.