The superposition of periodic motions — A.P. French
Physics — Waves · differential-equations-shm
Problem
Verify that the differential equation d2y/dx2=−ky has as its solution
y=Acos(kx)+Bsin(kx)
where A and B are arbitrary constants. Show also that this solution can be written in the form
y=Ccos(kx+α)=CRe[ej(kx+α)]=Re[(Cejα)ejkx]
and express C and α as functions of A and B.