ok so this is y=xC1 + C2sin 4x + C3cos 4x
is this right?
For your first problem, that's a fourth order equation and must have 4 indpendent solutions. The characteristic equation was which has D= 0 as a double root and D= 4i and D= -4i as the other roots. Because of the double root, you need both and . The general solution to the equation is .