I am trying to solve an ODE problem involving higher order.
Let $p(s) = s(s^2-s+1)(s-1)$ and $D = d/dt$. Solve the initial value problem $$p(D)x = t + e^t,$$ $x'''(2) = 1$, $x''(2) = 1$, and $x'(2) = 1$, and $x(2) = 0$.
Attempt: I believe I need to solve the homogenous equation by finding all the roots of $p(s)$. Then, for the particular solution I don't really know what to do? Variation of parameters? (Method of Undetermined Coefficient maybe?, I dislike that method and would like to avoid it) .
Edit: Also what is $p(s)$, and $p(D)x$, I am confused on those two things as-well.
Jessica,
You want $$ p(D)f=D(D^{2}-D+1)(D-1)f = t+e^{t} $$ The operator $D^{2}$ annihilates $t$ and $(D-1)$ annihilates $e^{t}$. Therefore, $$ D^{3}(D^{2}-D+1)(D-1)^{2}f = 0. $$ Because $D^{2}-D+1=(D-1/2+i\sqrt{3}/2)(D-1/2-i\sqrt{3}/2)$, That gives a solution $$ f = A + Bt + Ct^{2}+Ee^{t/2}\cos(\sqrt{3}t/2)+Fe^{t/2}\sin(\sqrt{3}t/2)+Ge^{t}+Hte^{t}. $$ When you plug back into the original equation, $D(D^{2}-D+1)(D-1)$ annihilates the terms with $A$, $E$, $F$ and $G$. The remaining terms are $$ g = Bt+Ct^{2}+Hte^{t}. $$ Then, \begin{align} p(D)f = p(D)g & = (D^{2}-D+1)(D-1)[D(Bt+Ct^{2})] \\ & +D(D^{2}-D+1)[(D-1)(Hte^{t})] \\ & = (D^{2}-D+1)(D-1)(B+2Ct) \\ & + D(D^{2}-D+1)He^{t} \\ \end{align} Single powers of $D$ annihilate $B$ and higher powers annihilate $2Ct$. Therefore, $$ (D^{2}-D+1)(D-1)(B+2Ct) = (2D-1)(B+2Ct)=(4C-B)-2Ct $$ And, $De^{t}=e^{t}$. Therefore, $$ D(D-D^{2}+1)He^{t} = (1)(1-1+1)He^{t}=He^{t}. $$ Finally, $$ p(D)f = (-B+4C)-2Ct+He^{t} = t+e^{t}\\ \implies -B+4C=0,\;\; C=-1/2,\;\; H =1 \\ \implies B = 4C=-2. $$ The general solution is then $$ f = A-2t-t^{2}/2+Ee^{t/2}\cos(\sqrt{3}t/2)+Fe^{t/2}\sin(\sqrt{3}t/2)+Ge^{t}+te^{t} $$ I'll leave it to you to solve $f'''(2)=f''(2)=f'(2)=1$ and $f(2)=0$ for the remaining constants $A$, $E$, $F$ and $G$.