EQUATION

Simple Harmonic Oscillator Equation

The universal differential equation x″ + ω²x = 0 describes any system with a linear restoring force

§ 01

The equation

EQ.SIMPLE-HARMONIC-MOTION
x'' + \omega^2 x = 0
§ 02

What it solves

The universal differential equation x″ + ω²x = 0 describes any system with a linear restoring force. Its general solution is x(t) = A·cos(ωt + φ), with amplitude A and phase φ set by initial conditions.

§ 03

When to use it

Springs, small-angle pendulums, LC circuits, small-amplitude vibrations of any stable equilibrium. Whenever the restoring force is proportional to displacement, this equation governs the motion.

§ 04

When NOT to use it

Breaks down when the restoring force is nonlinear — large-angle pendulums and non-Hookean springs are not true SHM. Adding damping changes the equation to x″ + γx′ + ω₀²x = 0.

§ 05

Common mistakes

Writing ω² = m/k instead of k/m. Forgetting that ω in the solution must match the ω in the differential equation. Assuming A and φ are always 1 and 0 — they depend on initial position and velocity.

§ 06

Topics that use this equation

§ 07

Problems using this equation