Find the general solution of
Substitute the exponential trial solution . Then , and the equation becomes
Read off the characteristic equation. Since for all real :
Write the real general solution. With and in the template :
Two arbitrary constants is exactly right for a second-order equation — they are fixed by two initial conditions such as and .
Verify both basis solutions. For : , so . For : , again .
Compare with . That equation gives and solutions in : the coefficient of is the square of the angular frequency, so oscillates at . Here and the period is .
Need to solve a different problem like this? Open the solver →