We can quickly verify that
By linearity, the solution for the motion of the mass is
If the initial velocity is zero (
), the above formula
reduces to
and the mass simply oscillates sinusoidally at frequency
, starting from its initial position
.
If instead the initial position is
, we obtain