Sub topic 3
The equation of motion and its solution x = A sin(ωt + φ)
This chapter assumes you know Newton's second law, basic differentiation of sine and cosine, and the idea of angular velocity from uniform circular motion. The previous chapter showed that SHM needs a restoring force F = −kx. Here we turn that into an equation and solve it.
From force to differential equation
Newton's second law gives m a = −kx. Since a = d²x/dt², we get:
m d²x/dt² = −kx
Define ω² = k/m. The equation becomes:
d²x/dt² + ω²x = 0
This is the standard SHM equation. Any system whose motion obeys it is simple harmonic, whatever the physical source of the restoring force. The coefficient of x is always ω², and that is how you read off the angular frequency.
The solution
We need a function whose second derivative is the negative of itself, scaled by ω². Sine and cosine have this property. Try x = A sin(ωt + φ):
- dx/dt = Aω cos(ωt + φ)
- d²x/dt² = −Aω² sin(ωt + φ) = −ω²x
So the trial function satisfies the equation for any A and φ. The equation is second order, so its general solution has two constants. These come from the initial conditions:
- A is the amplitude, the maximum displacement.
- φ is the phase constant, which sets where in the cycle the motion starts at t = 0.
The quantity ωt + φ is the phase. The motion repeats when the phase increases by 2π, so T = 2π/ω and f = ω/2π.
Finding A and φ
Suppose at t = 0 the displacement is x₀ and the velocity is v₀. From the solution:
- x₀ = A sin φ
- v₀ = Aω cos φ
Dividing gives tan φ = ωx₀/v₀. Squaring and adding x₀² and (v₀/ω)² gives A² = x₀² + v₀²/ω².
Common special cases:
| Starting condition at t = 0 | φ | Solution |
|---|---|---|
| At mean position, moving in +x | 0 | x = A sin ωt |
| At positive extreme, at rest | π/2 | x = A cos ωt |
| At mean position, moving in −x | π | x = −A sin ωt |
Worked example
A 0.5 kg block on a spring with k = 200 N/m is pulled 0.1 m and released from rest. Find x(t).
- ω = √(k/m) = √(200/0.5) = 20 rad/s.
- Released from rest at x = +0.1 m, so A = 0.1 m and the block starts at the positive extreme.
- This is the second row of the table: φ = π/2.
- x = 0.1 sin(20t + π/2) = 0.1 cos(20t) m.
The period is T = 2π/20 ≈ 0.314 s.
Common errors
- Sine versus cosine. Both are valid. They differ only by φ = π/2. Pick the one that matches the starting condition, or keep sine with a phase constant.
- Wrong ω. ω is not the rate at which the block circles anything. It is the coefficient in x'' = −ω²x. For a spring it is √(k/m), and it does not depend on A.
- Degrees in a calculator. The phase ωt + φ is in radians.
- Assuming the equation fits any oscillation. It holds only when the restoring force is linear in x. A pendulum at large angles does not satisfy it.
Exercise
A particle obeys d²x/dt² = −25x. At t = 0 it is at x = 0.03 m with velocity 0.4 m/s. Find ω, T, and the amplitude A.
Show answer
Comparing with x'' = −ω²x gives ω² = 25, so ω = 5 rad/s. The period is T = 2π/5 ≈ 1.26 s. The amplitude is A = √(x₀² + v₀²/ω²) = √(0.03² + (0.4/5)²) = √(0.0009 + 0.0064) = √0.0073 ≈ 0.085 m.