Simple harmonic motion, or SHM, happens when an object is pulled back toward equilibrium by a restoring force that is proportional to its displacement. That is the defining condition. For an ideal linear system such as a mass on a spring, this gives sinusoidal motion with a constant period.
For a mass on an ideal spring, the restoring force is
The minus sign means the force points opposite the displacement . Using Newton's second law, , gives
or
That is the standard SHM model for a mass-spring system.
What makes motion simple harmonic
Not every back-and-forth motion is SHM. To call a motion SHM, all of these must be true:
- the motion is about an equilibrium position
- the restoring force points toward equilibrium
- the restoring force is proportional to displacement, at least over the range you are modeling
If one of those conditions fails, the motion may still oscillate, but it is not SHM in the strict sense.
Key simple harmonic motion formulas
For the mass-spring model, the angular frequency is
The period and ordinary frequency are then
The displacement is often written as
where is amplitude and is the phase constant. The exact sine-or-cosine form depends on the starting conditions.
Why SHM repeats
When the mass is far from equilibrium, the restoring force is larger, so the acceleration back toward the center is larger. As the mass moves inward, the force gets smaller, but the speed increases because the mass has already been accelerated toward the center.
After it passes equilibrium, the force reverses direction and slows the mass down until it stops at the other side. Then the same process repeats. That is why SHM keeps cycling between two turning points.
Worked example: period of a spring-mass system
Suppose a mass of is attached to an ideal spring with spring constant . Find the angular frequency and the period.
First compute the angular frequency:
Now compute the period:
So this system completes one full oscillation every seconds.
This example shows what controls the timing. A stiffer spring makes the oscillation faster, while a larger mass makes it slower.
Common mistakes in SHM
- Calling any oscillation SHM. Oscillation alone is not enough; the restoring force must be proportional to displacement.
- Forgetting the minus sign in . Without it, the force would point away from equilibrium instead of toward it.
- Mixing up amplitude and period. Amplitude tells you how far the object moves from equilibrium. Period tells you how long one cycle takes.
- Assuming a pendulum is always SHM. A simple pendulum is only approximately SHM for small angular displacements.
Where simple harmonic motion is used
SHM is the standard starting model for springs, vibrating molecules, electrical oscillators, and small oscillations near stable equilibrium. It is also a useful approximation when a more complicated system behaves linearly near its equilibrium point.
That condition matters. Real systems often include damping, driving forces, or nonlinear effects, so the motion stops being ideal SHM once those effects become important.
Try a similar SHM problem
Change the example to a mass on the same spring and solve for again. That one change makes it clear how the period depends on mass.
If you want to explore another case after that, compare SHM with Newton's second law. SHM is one of the cleanest examples of how a force law creates a specific kind of motion.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →