Oscillations and Waves
Simple harmonic motion
The one motion hiding in springs, pendulums, clocks
A mass bouncing on a spring. A pendulum clock ticking once a second. A car settling after it thumps over a speed bump. A plucked guitar string. These look like four different things, but underneath they are the same motion, repeating and smooth, and once you can describe one of them you can describe all of them.
Here is a spring hanging from the ceiling with a weight on the end. Pull the weight down and let go. It does not just snap back and stop. It overshoots, rises past where it started, falls again, and keeps bouncing up and down in a steady rhythm. That back-and-forth is the thing we are going to pin down.
First, a guess
Picture a pendulum: a string with a weight tied to the bottom, swinging side to side, like a clock's. Now imagine two of them, exact same length of string, but one has a heavy metal ball and the other a light wooden one. You pull both back the same amount and release them together.
Two pendulums, same length, released together. One bob is heavy, one is light. Which one completes a full swing first?
Play with the oscillator
Before any formula, get a feel for it. This is a mass on a spring. Drag the mass heavier or lighter, make the spring stiffer or softer, and change how far you pull it. Watch two numbers: the (time for one full bounce) and the frequency (bounces per second).
Two things should jump out. Changing the pull - the amplitude - moves the mass further but does not change the period at all. And the smooth curve on the right is a perfect sine wave, the very same shape the spinning dot on the left traces out with its height. Both of those facts are the heart of this lesson.
Why it swings: a force that always points home
Stretch a spring a little and it pulls back a little. Stretch it twice as far and it pulls back twice as hard. Nothing exotic - you can feel this with any rubber band. Whatever the direction you pull, the spring pulls back the other way, toward the resting position. That is a , and we can write it in one line:
Here is how far you are from the resting spot and is the of the spring - a stiff spring has a big . The minus sign is the whole story: it says the force always points opposite to the displacement, back toward the middle. That is stated from the everyday behavior of springs, not derived.
Now bring in the one law of motion we already have: a force produces an acceleration, and heavier things accelerate less for the same force, (from force, mass, acceleration). Put the two together:
Read that out loud: the acceleration is proportional to the displacement and points the opposite way. The further out you are, the harder you get yanked back. That single relationship is what means, and it is derived, not assumed.
What motion obeys that rule?
We need a position whose acceleration - its second rate of change over time - is just itself flipped negative and scaled. If you have met derivatives that is a clean way to see it, but you do not need them: it is enough to know that one familiar shape does exactly this. The cosine wave. Its slope is a sine, and the slope of that is a cosine again, back where it started but negated. So the motion is
is the amplitude, how far you first pulled it. (omega) is the , and it depends only on the stiffness and the mass. Plug the cosine back in and its acceleration comes out to , which matches our rule the moment . The cosine works, and nothing simpler does.
Notice what is missing from : the amplitude . Pull the mass twice as far and it has twice as far to travel, but the spring also pulls it twice as hard, so it moves twice as fast and arrives in the same time. The period is set by the mechanism, not by how big the swing is. That is why the pull slider in the widget never touched the period.
The period, and the pendulum surprise
One full cycle takes the dot all the way around the circle, an angle of , so the period is
Heavier mass sits under the square root on top, so more mass means a longer, lazier period. A stiffer spring sits underneath, so more stiffness means a quicker one. Both match what you felt in the widget.
Now back to the pendulum. For small swings a pendulum has a restoring force proportional to displacement too, so it is also simple harmonic motion, and its period turns out to be , set by the length and gravity . The mass is nowhere in it. Why? Gravity pulls harder on a heavier bob, which would speed it up, but a heavier bob is also harder to get moving in exactly the same proportion, and the two effects cancel perfectly. So the heavy and light pendulums keep the same time, just as the probe claimed.
The sine is the shadow of a circle
The spinning dot in the widget is not decoration. Take a point moving around a circle at a steady rate and look at just its height. As the point goes round, its height rises, peaks, falls, bottoms out, and returns - tracing an exact cosine curve. Simple harmonic motion is literally the shadow of uniform circular motion cast onto one line.
Why this shortcut is worth keeping
The same idea, in code
A programmer's way to convince yourself: never write the cosine at all. Just encode the rule and step it forward in tiny time slices. The cosine emerges on its own. This is exactly the numerical integration idea from simulating motion.
k, m = 8.0, 0.5 # stiffness, mass
x, v = 1.0, 0.0 # start pulled to x = 1, released from rest
dt = 0.001
for step in range(20000):
a = -(k / m) * x # the only physics: force pulls back, F = -k x
v = v + a * dt # update velocity first (semi-implicit, stays stable)
x = x + v * dt # then position
# x now traces A*cos(omega*t) with omega = sqrt(k/m) = 4 rad/sLock it in
- Simple harmonic motion is any motion with a restoring force proportional to displacement: , so .
- The position over time is a sine wave, , with .
- The period depends on mass and stiffness but not on amplitude. Bigger swings still take the same time.
- A pendulum's period depends on its length, not its mass, because gravity's extra pull on a heavier bob is exactly cancelled by its extra inertia.
- A sine wave is the shadow of steady circular motion. That is why is an angular rate.
Check yourself
Does a heavier bob change a pendulum's period? Why or why not?
This is the classic trap the lesson opened on. Try to state it, then check.
You keep the mass the same but swap in a stiffer spring. The period of the bouncing becomes:
Plotted against time, the position of an object in simple harmonic motion traces out a:
Match each change to what it does to the period of a mass on a spring.
Longer period (slower oscillation)
Shorter period (faster oscillation)
No change to the period
Primary source
Feynman Lectures on Physics, Vol I, Chapter 21: The Harmonic OscillatorFeynman builds the oscillator from the same equation of motion and shows the circle-to-sine connection in full. For a worked, exercise-driven treatment, OpenStax University Physics Vol 1, Chapter 15 (Oscillations) covers springs and pendulums with numbers you can check.[1][2]
Sources