Almost anything disturbed from a stable position oscillates: springs, pendulums, atoms in a solid, the air in a flute, and the electromagnetic field itself. This is the most useful system in physics, and solving it is your first real differential equation.
- Pull it a long way, then only a little way. Do the swings take different times?
- Make the mass 4 times bigger. What happens to the time of a swing?
- Add damping and watch the swings die away.
The equation
A spring pulls back in proportion to how far it's stretched: \(F = -kx\). Put that into \(F = ma\).
This asks for a function whose second derivative is itself, flipped and scaled. You've met one.
Solving it
Guess a cosine, since differentiating it twice gives back minus itself.
Differentiate twice. The chain rule brings out \(\omega\) each time.
Put it into the equation. The \(A\) and the cosine cancel on both sides.
So the guess works if \(\omega\) has this value, and the time for one swing follows.
Notice what isn't in the answer: \(A\). A bigger swing has further to go but moves faster, and these cancel exactly. Pendulums nearly do too, for small swings, which is why pendulum clocks work.
A pendulum also shows where "nearly" ends. Its pull back towards the middle goes as \(\sin\theta\), and only at small angles is \(\sin\theta\) close to \(\theta\) itself, which is what a spring would give. So small swings take \(2\pi\sqrt{L/g}\) whatever their size, and big ones take longer.
- Let it go from 10°. Can you tell the pendulum from the sine wave?
- Now from 90°. How many swings is it before the pendulum is half a swing behind? Then try 150°, where it's most of a swing behind after its very first.
- Make it four times longer, from 0.40 m to 1.60 m. What happens to the time of a swing?
- Take it to the Moon.
Near the bottom of any smooth valley, the Taylor series of the energy starts with an \(x^2\) term, which is a spring. That's why oscillators are everywhere, and why quantum field theory treats every particle as an oscillating field.
Problems
With \(k = 6\) N/m and \(m = 1\) kg, find \(\omega\) and \(T\). Check against the visualisation's first setting.
Answer
\(\omega = \sqrt{6} \approx 2.45\) per second. \(T = \frac{2\pi}{2.45} \approx 2.57\) s.
What happens to the period if you make the mass 4 times bigger?
Answer
It doubles, because \(T \propto \sqrt{m}\).
A 1 kg mass on a 100 N/m spring swings with an amplitude of 0.1 m. What's its greatest speed?
Answer
\(\omega = 10\). Velocity is \(-A\omega\sin(\omega t)\), so the most it reaches is \(A\omega = 1\) m/s.
Show that the energy \(\frac{1}{2}kx^2 + \frac{1}{2}mv^2\) stays constant.
Answer
Using \(\cos^2 + \sin^2 = 1\) and \(m\omega^2 = k\): \(\frac{1}{2}kA^2\cos^2(\omega t) + \frac{1}{2}mA^2\omega^2\sin^2(\omega t) = \frac{1}{2}kA^2\), which doesn't depend on time.