Non exact differential equation, initial value problem

1 reply · 3K views · last reply
Cocoleia
Messages
293
Reaction score
4

Homework Statement


I am trying to solve the following:
y'''-9y'=54x-9-20e^2x with y(0)=8, y'(0)=5, y''(0)=38

Homework Equations

The Attempt at a Solution


Handwritten solution on lined paper of the third-order ODE y'''-9y'=54x-9-20e^2x: homogeneous equation, characteristic roots 0 and ±3, general solution form, and particular solutions Yp1 = -3x^2+x and Yp2 = 2e^2x.

Handwritten solution to a third-order linear ODE: general solution y = yh + yp with constants C1, C2, C3 solved from initial conditions, ending in boxed y = 2 + (13/6)e^(3x) + (1/6)e^(-3x) - 3x^2 + x + 2e^(2x).


The right answer is:
y= 2+2e^3x+2e^(-3x)-3x^2+x+2e^2x

I am only wrong on the coefficients C2 and C3. Where did I mess up in my solution?
 
When computing ##y'## at the top of the second you are missing the constant ##1## coming from ##(x)'##=1.