Pendulums, springs and simple harmonic motion
A swinging pendulum and a bouncing mass on a spring both repeat the same motion over and over. When the pull back toward the middle grows in step with how far you've moved, you get simple harmonic motion, and its timing follows a neat formula.
Hooke's law and the restoring force
Stretch or squeeze a spring by from its rest length and it pulls back with
The minus sign means the force always points back toward the rest position. is the spring constant in N/m: a stiff spring has a big . Any motion driven by a force like this is simple harmonic motion (SHM).
In Newtonpad and are Coulomb's and Boltzmann's constants, so a subscript like keeps a spring constant clearly separate.
Period and frequency
The period is the time for one full back-and-forth cycle. The frequency is how many cycles happen each second, in hertz (Hz):
Mass on a spring
A heavier mass swings more slowly and a stiffer spring swings faster. The amplitude, how far you pull it, doesn't change the period.
Simple pendulum
Only the length and gravity matter. The mass of the bob cancels out. This works well for swings up to about . Wider swings take slightly longer.
Worked example: a pendulum and a spring
Find the period and frequency of a pendulum. Then find the period of a mass on a spring with .
- 1
- 2
- 3
The pendulum takes about per swing, a frequency of (shown as , which is what a hertz is). The spring oscillates much faster, with a period of about .
Energy in simple harmonic motion
The energy keeps swapping between kinetic energy and stored energy. For a spring, the stored energy at stretch is , and the maximum speed happens in the middle, where all of it has become kinetic energy. See kinetic and potential energy for more.
Common mistakes
- Thinking a heavier bob makes a pendulum slower. Only the length matters.
- Mixing up period and frequency. They're reciprocals.
- Leaving out the .
- Using for the period. That's the angular frequency . The period is .
Try your own numbers
Open the example in the physics calculator and find the length that gives a pendulum a period of exactly 2 s. (Hint: it's just under a metre.)
More guides
- Projectile motionRange, peak height and time of flight, and why 45° goes farthest.
- Newton's second law (F = ma)Net force, free-body diagrams, friction and inclines.
- Kinematic equationsThe four constant-acceleration equations and how to pick one.
- Kinetic and potential energy½mv², mgh, and energy conservation on a roller coaster.