Harmonic oscillation of a mass-spring oscillator
Left: the displacement-time law x(t) = A sin(ω₀t + φ). Right: the mass-spring oscillator without external force. The red point on the curve and the mass move in sync.
The amplitude A = √(x(0)² + (v(0)/ω₀)²) and the phase angle φ (with x(0) = A sin φ, v(0) = A ω₀ cos φ, −π/2 < φ < 3π/2 as in the lecture notes) follow from the initial conditions; the period T depends only on m and c. The dashed part of the curve lies outside the domain t ≥ 0. The time axis always spans 2.75 periods; the animation repeats after two periods. The damper is drawn as in the figure, but the oscillation is undamped (b = 0). With x pointing upward, the mass and the curve point lie at the same height; the equation of motion is symmetric in x, so the direction of the x-axis is a matter of convention.