AP® Physics 1: Algebra-Based · Unit 7 · Topic 7.1
The Mass-Spring Oscillator
A mass on a spring oscillates because the spring always pulls or pushes it back toward equilibrium with a force proportional to displacement. This restoring force, through Newton's second law, produces simple harmonic motion.
A spring resists being stretched or compressed, and Hooke's law says that resistance grows in direct proportion to displacement: F = -kx. The minus sign means the force always points back toward equilibrium. Plug that into Newton's second law, F = ma, and you get ma = -kx, so a = -(k/m)x. Acceleration is proportional to displacement and points opposite to it. That single relationship is the definition of simple harmonic motion, and it is why the mass never just stops at equilibrium — it overshoots, gets pulled back, overshoots again.
This equation also explains the intuition. A stiffer spring (larger k) pulls harder at any given displacement, so it accelerates the mass back faster, shrinking the period. A heavier mass (larger m) resists that acceleration more, so it takes longer to complete a cycle. The period comes out to T = 2 π √(m/k), built entirely from how strongly the force reacts to displacement versus how much the mass resists changing speed.
Hang the same spring vertically and gravity adds a constant downward pull, mg, that does not depend on x. That constant force just stretches the spring a bit further before things balance, sliding the equilibrium point down. Measured from that new equilibrium, the restoring force is still exactly -kx, so the motion is still simple harmonic with the same period. This sets up the next idea in the unit: once you accept that period depends only on m and k, you can ask how energy trades between kinetic and spring potential as the mass swings through that equilibrium point.
Key terms
- Hooke's law
- The spring force is proportional to displacement from equilibrium and points opposite to it, F = -kx.
- Restoring force
- A force that always acts to push or pull a system back toward its equilibrium position.
- Simple harmonic motion
- Oscillation where acceleration is proportional to displacement and directed opposite to it.
- Spring constant (k)
- A measure of spring stiffness, in newtons per meter, describing how much force the spring exerts per unit stretch.
- Equilibrium position
- The point where the net force on the oscillating mass is zero.
Watch it explained
- How it worksHow does Hooke's law plugged into Newton's second law give the equation of simple harmonic motion?
- How it worksWalk me through how hanging a mass on a vertical spring just shifts the equilibrium point.
- Worked exampleFind the acceleration of a 0.5 kg mass on a 200 N per meter spring displaced 0.08 m.
- Common mistakeWhy doesn't gravity change the period of a mass bouncing on a vertical spring?
Check yourself
End of topic.