Q6E

Question

find a general solution to the given equation. y'''+y''-5y'+3y=e-x+sinx. 

Step-by-Step Solution

Verified
Answer

y(x)=18e-x+320cosx+120sinx+c1ex+c2xex+c3e-3x

1Step 1: Find the corresponding auxiliaryequation

Theauxiliary equationof corresponding homogeneous equation 

r3+r2-5r+3=(r-1)2(r+3)=0

The solutions of the auxiliary equation are

r=1,r=1,r=-3

Therefore a general solution to the homogeneous equation is

yh(x)=c1ex+c2xex+c3e-3x

2Step 2: Find particular solution

Let the particular solution be

yp(x)=ae-x+bcosx+csinx

 Then

yp'(x)=-ae-x-bsinx+ccosxyp'(x)=ae-x-bcosx-csinxyp'(x)=-ae-x+bsinx-ccosx

Then

yp'''(x)+yp''(x)-5yp'(x)+3yp(x)=-ae-x+bsinx-ccosx+ae-x-bcosx-csinx+5ae-x+5bsinx-5ccosx+3ae-x+3bcosx+3csinx=8ae-x+(2b-6c)cosx+(6b+2c)sinx

If 8ae-x+(2b-6c)cosx+(6b+2c)sinx=e-x+sinx

Then 8a = 1,2b - 6c = 0 and 6b + 2c = 1

Then 

 a=-18, b=320 and c=120

Hence 

 yp(x)=18e-x+320cosx+120sinx

3Step 3: y ( x ) = y h + y p

Then y(x)=18e-x+320cosx+120sinx+c1ex+c2xex+c3e-3x

Is the general solution of y'''+y''-5y'+3y=e-x+sinx