High School · Physics · Unit 14
Oscillations: Springs, Pendulums and Harmonic Motion
Why some things move back and forth in a steady rhythm, and what sets the beat.
Swings, guitar strings, car springs and the quartz crystal in a watch all share one habit: they move away from a resting position, get pulled back, overshoot and repeat. This back-and-forth motion is called an oscillation.
On this page you'll learn Hooke's law for springs, what sets the period of a mass on a spring and of a pendulum, how energy moves between motion and storage during each cycle, and why real oscillations die away or grow huge when pushed at the right rhythm. Then you can try the period calculator, read how the ideas developed and take the quiz. Oscillations that travel from place to place are waves, covered in Unit 4: Waves and Sound.
On this page
- Start hereKey words
- Idea 1Hooke's law
- Idea 2Period, frequency and amplitude
- Idea 3A mass on a spring
- Idea 4The simple pendulum
- Idea 5Energy in an oscillation
- Idea 6Damping and resonance
- PracticeWorked examples
- Try itSpring and pendulum period calculator
- 1602–2000How the ideas developed
- Test yourselfQuiz
Key words first
Equilibrium
The resting position, where the forces balance. An oscillating object moves back and forth through it.
Restoring force
A force that always points back toward equilibrium, like a stretched spring pulling back.
Spring constant (k)
How stiff a spring is, in newtons per meter (N/m). A stiff spring has a large k.
Amplitude (A)
The largest distance from equilibrium during the motion.
Period (T)
The time for one complete cycle, in seconds.
Frequency (f)
The number of cycles per second, in hertz (Hz). f = 1/T.
Simple harmonic motion (SHM)
Oscillation caused by a restoring force proportional to the displacement. Its position-time graph is a smooth sine-shaped curve.
Damping
Friction or air resistance that takes energy away, so the oscillation gets smaller over time.
Idea 1: Hooke's law
Pull on a spring and it pulls back. Stretch it twice as far and it pulls back twice as hard. Robert Hooke described this in 1678:
F = −kx
Here x is how far the spring is stretched or squeezed from its natural length, k is the spring constant and F is the force the spring exerts. The minus sign means the force points opposite the displacement: stretch it down and it pulls up, squeeze it and it pushes out.
Hooke's law holds only up to a point. Stretch a spring too far and it bends out of shape for good and stops following the rule.
Idea 2: Period, frequency and amplitude
Any repeating motion is described by three numbers. The amplitude A says how big the swings are. The period T says how long one full cycle takes: out, back, out the other way and back again. The frequency f says how many cycles happen each second:
f = 1 / T
A heart beating 72 times a minute has a frequency of 1.2 Hz and a period of about 0.83 s. When the restoring force follows Hooke's law, the motion is simple harmonic motion, and the period doesn't depend on the amplitude. Big swings and small swings take the same time.
Idea 3: A mass on a spring
A mass m bouncing on a spring of stiffness k has a period of
T = 2π√(m/k)
A heavier mass is harder to speed up and slow down, so it oscillates more slowly. A stiffer spring pulls back harder, so it oscillates faster. Quadrupling the mass doubles the period. The formula holds for a mass hanging vertically too: gravity only shifts where equilibrium is, not how fast it bounces.
Idea 4: The simple pendulum
A simple pendulum is a small heavy bob on a light string of length L. Gravity pulls it back toward the bottom of its swing. For small swings, up to about 15°, its period is
T = 2π√(L/g)
The mass of the bob isn't in the formula. A heavier bob feels a bigger pull, but it's also harder to move, and the two effects cancel. Only the length and the strength of gravity matter. A pendulum 0.99 m long has a period of almost exactly 2 s on Earth, and on the Moon, where g is about 1.62 N/kg, the same pendulum would take about 4.9 s.
For bigger swings the period grows a little, which is why pendulum clocks use small arcs.
Idea 5: Energy in an oscillation
During each cycle, energy changes form back and forth. At the ends of the motion the object stops for an instant, so all the energy is stored: as elastic potential energy in a spring or gravitational potential energy in a pendulum. At equilibrium the object moves fastest, so the energy is all kinetic.
For a spring, the stored energy at displacement x is ½kx², so the total energy is
E = ½kA² = ½mvmax²
Doubling the amplitude gives four times the energy. Without friction the total never changes, so the swing would go on forever.
Idea 6: Damping and resonance
Real oscillations lose energy to friction and air resistance, so their amplitude shrinks. This is damping. Sometimes it's what we want: a car's shock absorbers damp the springs so the car doesn't keep bouncing after a bump.
Every oscillator has a natural frequency, the one it settles into on its own. If you push it with a repeating force at that same frequency, each push adds energy at the right moment and the amplitude grows. This is resonance. It's how you pump a swing higher with small, well-timed pushes, and how a singer can make a wine glass ring.
Resonance can also cause trouble. When London's Millennium Bridge opened in June 2000, the bridge's slight sideways sway made walkers fall into step with it, which pushed it further, so it was closed after two days. It reopened in 2002 with dampers fitted.
Worked examples
Try each one first, then open the solution. Use g = 9.8 N/kg.
1. A 200 N/m spring stretched 0.15 m
How hard does the spring pull back?
Show solution
The force points back toward the spring's natural length.
2. A 0.50 kg mass on a 200 N/m spring
Find the period and frequency of its bounce.
Show solution
f = 1/0.314 ≈ 3.18 Hz
It bounces a little over three times each second.
3. A 1.0 m pendulum
Find its period on Earth.
Show solution
One full swing, there and back, takes about 2 seconds.
4. Length for a 2.00 s pendulum
How long must a pendulum be to have a period of 2.00 s?
Show solution
= 9.8 × 4.00 ÷ 39.5 ≈ 0.993 m
Rearrange T = 2π√(L/g) by squaring both sides.
5. Energy of a 0.10 m bounce
A 0.50 kg mass on a 200 N/m spring oscillates with an amplitude of 0.10 m. Find its total energy and top speed.
Show solution
½ × 0.50 × v² = 1.0, so v = 2.0 m/s
The top speed happens as the mass passes through equilibrium.
6. 12 swings in 6.0 s
A pendulum makes 12 complete swings in 6.0 s. Find its frequency and period.
Show solution
T = 1/2.0 = 0.50 s
Timing many swings and dividing gives a better period than timing one.
Try it: spring and pendulum period calculator
T = 2π√(m/k) and T = 2π√(L/g) calculator
Answers are rounded to 3 significant figures. The pendulum formula assumes a small swing, up to about 15°, and a light string.
How the ideas developed
The steady beat of a pendulum made it the first really accurate way to keep time, and the study of springs grew alongside it. Together they set up the mathematics of oscillation used across physics today.
- 1602 In a letter to Guidobaldo del Monte, Galileo Galilei reports that a pendulum's swings take the same time whether they are wide or narrow.
- 1656 Christiaan Huygens builds the first pendulum clock, far more accurate than any clock before it.
- 1673 Huygens's Horologium Oscillatorium gives the period of a pendulum and shows how to make one whose period doesn't depend on its swing.
- 1678 Robert Hooke publishes the law of springs as ut tensio, sic vis, "as the extension, so the force," after hiding it in an anagram two years earlier.
- 1851 Léon Foucault hangs a long pendulum in Paris whose swing slowly turns, showing that Earth rotates.
- 2000 London's Millennium Bridge sways under crowds of walkers and is closed two days after opening; dampers fix it by 2002.
Test yourself
The Oscillations Check
Talk about it
- If you sit on a swing instead of standing, you change where your mass is. Does that change the swing's period? Why?
- Why would a pendulum clock carried up a high mountain run slow?
- Soldiers are often told to break step when marching across a bridge. What might they be guarding against?
- Car shock absorbers wear out over time. What would a ride feel like with worn-out ones, and why?
Sources
- OpenStax, College Physics 2e, Chapter 16 "Oscillatory Motion and Waves".
- NASA, "Moon Fact Sheet" (surface gravity).
- Wikipedia, "Hooke's law," "Pendulum," "Pendulum clock," "Resonance" and "Millennium Bridge, London."
Credits: all diagrams on this page, including the springs, the pendulum, the energy bars, the resonance curves and the share image, are original SVG made for Jugami.