We can quickly verify that
where is the Heaviside unit step function which steps from 0 to 1 at time 0 .
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