SHM Equation and Displacement
On this page
Direct answer
The SHM equation is the differential equation d²x/dt² = -ω²x, which follows from a restoring force F = -kx proportional to displacement. Its solution is x = A sin(ωt + φ), where A is the amplitude and φ the initial phase constant. The angular frequency is ω = √(k/m), so the period is T = 2π/ω = 2π√(m/k).
What you must remember
- Restoring force: in SHM the force is F = -kx, directed towards the mean position and proportional to the displacement x.
- Equation of motion: Newton's second law gives m(d²x/dt²) = -kx, so d²x/dt² = -ω²x with ω² = k/m.
- Solution: x = A sin(ωt + φ) satisfies the equation, and x = A cos(ωt + φ) describes the same motion with a different phase constant.
- Amplitude: A is the maximum displacement from the mean position, fixed by the initial conditions.
- Angular frequency: ω = √(k/m) depends only on the spring constant and the mass, not on the amplitude.
- Period: T = 2π/ω = 2π√(m/k), and the frequency is f = 1/T.
- Phase constant: φ is set by the displacement and velocity at t = 0.
Deriving the solution from the restoring force
The derivation starts from the force law and turns it into a differential equation. The steps below then find the form of x(t) that satisfies that equation, and they show where each constant comes from.
- Restoring force: A particle displaced by x feels F = -kx, so the force is zero at x = 0 and grows linearly with displacement. The minus sign means the force always points back towards the mean position.
- Newton's second law: Setting F = ma gives m(d²x/dt²) = -kx. Because the mass is constant, the equation is linear, which is why sine and cosine functions solve it.
- Standard form: Dividing by m and writing ω² = k/m gives d²x/dt² + ω²x = 0.
- Trial solution: Try x = A sin(ωt + φ). Its second derivative is -ω²A sin(ωt + φ), which equals -ω²x, so the equation is satisfied.
- Amplitude and phase: The constants come from initial conditions. If the displacement is x0 and the velocity v0 at t = 0, then A = √(x0² + (v0/ω)²) and tan φ = ωx0/v0.
- Period: The motion repeats when ωt increases by 2π, because sine repeats every 2π in its argument. So T = 2π/ω, and substituting ω = √(k/m) gives T = 2π√(m/k).
Where the exam tries to catch you
Most errors here come from mixing up the spring constant, the angular frequency and the period.
- Trap: Taking ω = k/m instead of ω = √(k/m) Correct: The angular frequency is the square root of k divided by m, so skipping the root gives a wrong period.
- Trap: Reading the amplitude as the displacement at a given instant Correct: A is the maximum displacement, while x(t) changes continuously between -A and +A.
- Trap: Assuming the period depends on amplitude Correct: T = 2π√(m/k) contains only m and k, so in SHM doubling the amplitude leaves the period unchanged.
Frequently asked questions
What is the differential equation of simple harmonic motion?
The differential equation of simple harmonic motion is d²x/dt² = -ω²x, or equivalently d²x/dt² + ω²x = 0. It comes from Newton's second law applied to a restoring force F = -kx, with ω² = k/m. Any motion that obeys this equation is simple harmonic motion.
What is the displacement equation of SHM with initial phase?
The displacement equation of SHM is x = A sin(ωt + φ), where A is the amplitude, ω the angular frequency and φ the initial phase constant. Changing φ shifts the starting point of the motion without changing its amplitude or frequency. The phase constant is found from the displacement and velocity at t = 0.
How is the period of a spring-mass oscillator calculated in SHM?
The period of a spring-mass oscillator in SHM is T = 2π√(m/k), where m is the mass and k is the spring constant. The period does not depend on the amplitude in SHM. Frequency is the reciprocal of this period.
Why is the restoring force in SHM written as F = -kx?
The negative sign in F = -kx shows that the restoring force acts opposite to the displacement, always towards the mean position. The constant k is the force per unit displacement, which is the spring constant for a spring. This form of force is the defining condition for SHM.
Does a simple pendulum obey the SHM equation with x = A sin(ωt + φ)?
A simple pendulum obeys the SHM equation only for small angular amplitudes, where sin θ is close to θ. For such oscillations the restoring force is proportional to displacement, with ω = √(g/L). The period then becomes T = 2π√(L/g).