Simple Harmonic Motion (SHM)

Any oscillating system for which the net restoring force is directly proportional to the negative of the displacement is said to exhibit simple harmonic motion (SHM), as it is sinusoidal with a single frequency. Such a system is often called a simple harmonic oscillator (SHO). Due to its sinusoidal nature, the displacement of any system in simple harmonic motion can be modeled as

where is the waveform’s amplitude, representing the initial displacement of the oscillator from its equilibrium position), is its natural frequency, and is its phase.

The total energy of the simple harmonic oscillator is then given by

Intuition

We start with Newton’s second law: . Since , and the total force exerted by a spring is given as . Therefore,

This is an un(der)damped () second order differential equation with natural frequency Solving for it by definition, we get

x(t)&=K_{1}\cos(\omega_{n}t)+K_{2}\sin(\omega_{n}t). \end{align}$$ At $t=0$, $x(0)=K_{1}\cos(\omega_{n}0)=K_{1}=x_{0}$. Therefore, $K_{1}=x_{0}$. If we take the derivative of $x(t)$, we get: $$\dot{x}(t)=-\omega_{n}x_{0}\sin(\omega_{n}t)+\omega_{n}K_{2}\cos(\omega_{n}t).$$ Setting $t=0$, we get $\dot{x}(0)=\omega_{n}K_{2}=\dot{x_{0}}=v_{0}$. Therefore, $K_{2}=\frac{v_{0}}{\omega_{n}}$. We find that the general solution to the simple harmonic model is $$x(t)=x_{0}\cos(\omega_{n} t)+\frac{v_{0}}{\omega_{n}}\sin(\omega_{n} t),$$ where $\omega_{n}=\sqrt{\frac{k}{m}}$. If we assume that $v_{0}=0$ (i.e. the SHO starts motion after $t=0$), we get the final form, $$x(t)=x_{0}\cos(\sqrt{ \frac{k}{m} }t).$$