Sub topic 4
The SHM Equation \(a=-\omega^2x\)
Prerequisites and the central idea
This chapter assumes that you know Newton's second law, \(F=ma\), basic algebra, and the meaning of displacement and acceleration. You should also know that a spring obeys Hooke's law for small enough stretches.
Simple harmonic motion (SHM) is motion in which acceleration is proportional to displacement from equilibrium and points back toward equilibrium:
\[ a=-\omega^2x \]
Here:
- \(x\) is displacement from the equilibrium position, in meters.
- \(a\) is acceleration, in meters per second squared.
- \(\omega\) is angular frequency, in radians per second.
- The minus sign means that acceleration points opposite to displacement.
The equation does not say that acceleration is constant. As the object moves, its displacement changes, so its acceleration changes too.
Deriving the equation for a spring
For an ideal spring, Hooke's law gives the restoring force:
\[ F=-kx \]
The spring constant \(k\) measures the spring's stiffness. A larger \(k\) means that more force is needed for the same displacement.
Apply Newton's second law:
\[ ma=-kx \]
Divide both sides by the mass \(m\):
\[ a=-\frac{k}{m}x \]
Compare this with \(a=-\omega^2x\). The coefficient of \(x\) must be equal, so:
\[ \omega^2=\frac{k}{m} \qquad\text{and}\qquad \omega=\sqrt{\frac{k}{m}} \]
This result predicts that a heavier mass oscillates more slowly, while a stiffer spring oscillates more quickly.
| Quantity | Meaning | Spring relation |
|---|---|---|
| \(x\) | displacement from equilibrium | measured in m |
| \(a\) | restoring acceleration | \(a=-(k/m)x\) |
| \(\omega\) | angular frequency | \(\omega=\sqrt{k/m}\) |
Reading the signs
Suppose \(x>0\), so the object is to the right of equilibrium. Then \(a<0\), and the acceleration points left.
Suppose \(x<0\), so the object is to the left. Then \(a>0\), and the acceleration points right.
At \(x=0\), the acceleration is zero. The object can still have its greatest speed there because it has converted potential energy into kinetic energy.
The acceleration is greatest in magnitude at the endpoints, where \(|x|\) is largest. The object momentarily stops at each endpoint, but its acceleration immediately turns it back toward equilibrium.
Numerical check
The following code calculates the angular frequency and acceleration when a \(0.10\) meter displacement occurs:
import math
k = 20.0 # N/m
m = 0.5 # kg
x = 0.10 # m
omega = math.sqrt(k / m)
acceleration = -(omega ** 2) * x
print(f"omega = {omega:.3f} rad/s")
print(f"acceleration = {acceleration:.3f} m/s^2")The acceleration is \(-0.4\ \text{m/s}^2\), so it points opposite the positive displacement.
Exercise
A \(2.0\) kg mass is attached to a spring with \(k=50\) N/m. What is its angular frequency, and what is its acceleration when \(x=-0.20\) m?
Show answer
\(\omega=\sqrt{50/2.0}=5.0\) rad/s. Then \(a=-\omega^2x=-(25)(-0.20)=+5.0\) m/s², toward equilibrium.