I will answer the first one. The other two can be solved in a similar manner.
y" + y = 0 is a second order linear homogeneous differential equation. If the auxiliary equation for such an equation has the complex roots a + bi and a - bi, then the general solution of the differential equation is Aeaxcos(bx) + Beaxsin(bx).
For the differential equation y" + y = 0, the auxiliary equation is m2+1=0, which has the roots ±i = 0±i
General solution: y = Ae0xcosx + Be0xsinx = Acosx + Bsinx
Michael J.
03/15/17