Pull a block sideways on a spring and let go. It comes back, overshoots, goes out the other side by the same distance, and comes back again. Do it on a frictionless bench and it never stops. Pull it twice as far and it still takes exactly the same time to complete a round trip: it just moves faster the whole way. That last fact is strange enough to be worth the rest of this page.
In rolling without slipping you found the motion by writing a force law and a torque law and grinding out an acceleration. You can do the same here, but something new happens. The acceleration turns out to depend on where the block is, which means it changes from instant to instant, which means the constant-acceleration kinematics you have been leaning on is useless. You need a different tool. The good news is that one tool covers a whole family of problems: springs, pendulums, floating blocks, rocking cylinders, atoms in a crystal. The shape of the motion is always the same.
Where the equation comes from
A spring stretched or compressed by an amount from its natural length pushes back with force
This is Hooke's law. is the spring constant or stiffness, measured in newtons per metre: it says how many newtons of pull you get per metre of stretch. The minus sign is the whole story. It says the force always points back toward . Stretch the spring right and it pulls left; compress it left and it pushes right. A force like that is called a restoring force.
Now attach a block of mass and apply Newton's second law. The only horizontal force is the spring, so , or
Read that as a sentence: the acceleration is proportional to the displacement and points the opposite way. At the far end of the swing the block is momentarily still but accelerating hardest. At the middle it is moving fastest but not accelerating at all. Nothing in constant-acceleration kinematics behaves like that.
The quantity has units of , so its square root is a rate. Give it a name:
Any motion obeying is called simple harmonic motion, SHM for short. You can check by substitution that
solves it: differentiate twice and each derivative pulls down a factor of , giving . Here is the amplitude, the largest distance from the middle, and is the phase constant, which only sets where in the cycle the clock starts. Choose if you release the block from rest at full stretch; choose if it passes through the middle at .
The cosine repeats when advances by , so the period is
with in seconds and the frequency in hertz. Look at what is missing: does not appear. Doubling the amplitude doubles the distance travelled and doubles the average speed, and those cancel exactly. That is the fact you noticed at the top, and it is special to forces that are strictly proportional to displacement.
Differentiating once gives and again gives . Since sine and cosine reach 1,
Those two lines solve a surprising number of problems on their own.
Three numbers describe an oscillation completely: from the physics of the system, and from how you started it. The system sets the rhythm; you only choose how hard and when.
Example 1. A 0.25 kg glider on a frictionless track is attached to a spring of stiffness 100 N/m, pulled 4.0 cm aside and released. Find the period, the maximum speed and the maximum acceleration.
Start with , always:
Then s, so Hz. The amplitude is m because the glider was released from rest there, so
That acceleration is larger than , which should make you slightly suspicious of anything resting loosely on top of an oscillator. Hold that thought.
Quick check
A block on a spring has period 2.0 s. You replace it with a block of four times the mass on the same spring. The new period is:
The energy shortcut
Timing is often not what a problem wants. It wants a speed at a particular place, and it does not care when the block gets there. For that, use energy.
The work you do stretching a spring from 0 to is the area under the force graph, a triangle of base and height , so the stored elastic potential energy is . On a frictionless surface the total mechanical energy never changes:
At the turning point and , so . Setting the two expressions equal and solving for :
using in the last step. At this gives , which matches what you got from calculus. At it gives zero. In between it gives everything.
Example 2. A 2.0 kg block on a spring of stiffness 800 N/m oscillates with amplitude 5.0 cm. How fast is it moving 3.0 cm from equilibrium?
The 3-4-5 triangle hiding in there is not an accident; problem setters like it. And notice the total energy, if you want it, is J.
Energy is quadratic, so it is never safe to scale it linearly. Doubling the amplitude does not double the energy, it quadruples it. And at half the amplitude is not half of : it is . Always go back through rather than guessing a fraction.
Hanging springs: gravity shifts the middle, not the rhythm
Hang the same block from the same spring vertically and a new force appears. Let measure downward from the spring's natural length. The net downward force is
This is zero at . That is the static sag: where the block hangs at rest. Now measure displacement from there instead, writing :
The cancelled exactly. The block obeys the identical SHM equation about the hanging position, with the identical . Gravity moved the centre of the oscillation and changed nothing else.
This gives you a free measurement. Since , you have , so
Measure how far a spring sags under a load and you know the period without ever knowing or separately. A spring that sags 4.5 cm oscillates at rad/s, giving s.
Quick check
A block hangs at rest on a spring, stretching it 10 cm. It is then pulled down 2 cm and released. Compared with the same block oscillating horizontally on the same spring, the vertical period is:
Example 3. A 2.0 kg package is dropped from rest 20 cm above the massless pan of a spring scale of stiffness 500 N/m, and stays on the pan. Find the amplitude of the oscillation that follows. Take m/s².
Blank paper, first line: the motion after contact is SHM about the loaded equilibrium, not about the pan's starting position. So find that point first.
At the moment of contact the package is m above the new equilibrium, so its displacement is m. Its speed there comes from the free fall:
Now use , rearranged for the amplitude:
The two contributions matter comparably, so you cannot drop either. Skipping the sag term is the standard way to get this one wrong.
Building the right and the right
Most problems are not a bare block on a bare spring. They are something that behaves like one, and your job is to find the effective stiffness and the effective mass so that .
Springs side by side (parallel). Both stretch by the same , and their forces add: . So . Two springs pulling together are stiffer than either alone.
Springs end to end (series). They carry the same force , and their stretches add: . Since ,
A series pair is always softer than either spring alone. Two identical 400 N/m springs joined end to end give 200 N/m.
Two free masses joined by a spring. Neither end is nailed down, so both move. The separation obeys SHM with the reduced mass , giving . The quick way to see it: each mass accelerates as and , so the stretch accelerates as .
A spring with its own mass. Not every coil moves at the block's speed: the fixed end does not move at all, and the speed grows linearly along the spring. Adding up along the length gives an extra kinetic energy of , so use .
Something rolling or rotating. Write the total energy and read off the coefficients. For a solid cylinder rolling without slipping, and , so the kinetic energy is , which is . Effective mass , and the period lengthens by .
That last move generalises. If you can write
for some coordinate measured from equilibrium, the system is a harmonic oscillator with , whatever physically is.
Example 4. Two carts of mass 0.50 kg and 1.50 kg sit on a frictionless track joined by a spring of stiffness 200 N/m. Pull them apart and release. Find the frequency.
Neither cart is fixed, so use the reduced mass:
Check it for sanity: is smaller than either mass, so the pair oscillates faster than 1.50 kg alone on that spring would. It should, because both ends are free to respond.
When a spring is attached through a lever or a pulley, its stretch is not the same as the mass's displacement. If the spring stretches times as far as the mass moves, the energy tells you : the factor is squared, not linear. Getting upside down turns a factor of 4 into a factor of , so draw the geometry and check which end moves further before you trust the number.
When the motion is only partly harmonic
Two more patterns show up often enough to name.
Half-cycles glued together. A puck sliding between two springs it touches but is not attached to spends half a period on each. Each half is a genuine half-oscillation of that spring's system, taking . So the total period is
Do not average the stiffnesses. Add the times.
Losing contact. Anything merely resting on an oscillator is held down only by gravity, and the surface can only push, never pull. The book stays on the platform as long as the required downward acceleration at the top of the motion does not exceed . Since , contact survives while
which is the static sag again. Push the oscillation past the sag and the book leaves the platform at the top.
Recognising it
Reach for SHM when a problem contains any of these:
- The words period, frequency, oscillates, vibrates, bounces, or small oscillations. "Small" is the tell that a curved potential is about to be approximated by a parabola.
- A restoring force or torque proportional to displacement, or one you can show is proportional after expanding for small displacements.
- A system displaced from equilibrium and released, with no friction mentioned.
Then the routine is fixed. Find the equilibrium. Displace by a small from it. Get either the net force, in the form , or the total energy, in the form . Read off . Everything else (period, maximum speed, maximum acceleration, speed at a given place) follows from , and the two formulas and .
If instead the question gives you a place and asks for a speed, go straight to energy and skip entirely. If it gives you a time, use the cosine.
The next system worth this treatment has no spring in it at all: a mass on a string, restored by gravity, harmonic only because when is small. That is pendulums.