Remark — Application to physics: the harmonic oscillator

The equation y+ω2y=0y'' + \omega^2 y = 0 has characteristic equation λ2+ω2=0\lambda^2+\omega^2=0, with roots λ=±iω\lambda=\pm i\omega (α=0\alpha=0, β=ω\beta=\omega). The solution is: y=C1cos(ωx)+C2sin(ωx)=Acos(ωx+φ),y = C_1\cos(\omega x)+C_2\sin(\omega x) = A\cos(\omega x + \varphi), that is, a harmonic oscillation of frequency ω\omega.

With damping — y+2γy+ω2y=0y''+2\gamma y'+\omega^2 y=0 — the roots have real part α=γ<0\alpha=-\gamma<0: the oscillation is damped exponentially. It is the model of the spring with friction.

The graph compares the undamped oscillation cos(ωx)\cos(\omega x) with the damped one eγxcos(ωx)e^{-\gamma x}\cos(\omega x), enclosed between the two envelope curves ±eγx\pm e^{-\gamma x}.

Undamped (blue) and damped (red) harmonic oscillation: the amplitude of the latter decays within the envelope ±eγx\pm e^{-\gamma x}.

Topics: Differential equations
Concepts: Second-order linear ODE · Characteristic equation · Harmonic oscillator · Damping
Functions: Cosine
Skills: Interpreting a graph · Solving equations