$D^4+D^2$
This is in my college made textbook. The solution is $1,x,\cos x,\sin x$ I can understand why cosx and sinx would be part of the solution.
$D^4+D^2 = 0$
$D^2(D^2+1) = 0$
$D= 0, i, -i $
But i don't understand where the 1 and x come from. Anyone else can help?
The question is $(D^4+D^2)y=0$ sometimes in some books author do not mention $y$.
So the auxiliary equation is $M^4+M^2=0$ ,
so $M=0,0,i,-i$
So the C.F. is $(c_1+c_2x)e^{0x}+c_3\cos x+c_4\sin x$ or $c_1+c_2x+c_3\cos x+c_4\sin x$.
Hence the complete solution is $y= c_1+c_2x+c_3\cos x+c_4\sin x$.
Hence the solution set is ${1,x,\cos x,\sin x}.$