Q8E

Question

find a general solution to the given equation.

y'''+y''-2y=xex+1

Step-by-Step Solution

Verified
Answer

y(x)=-425xex+110x2ex-12+c1ex+c2e-xcosx+c3e-xsinx

1Step 1: Find the corresponding auxiliaryequation

Theauxiliary equationof corresponding homogeneous equation 

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

The solutions of the auxiliary equation are

r=-1+i,r=-1-i,r=1

Therefore a general solution to the homogeneous equation is

yh(x)=c1ex+c2e-xcosx+c3e-xsinx

 

2Step 2: Find particular solution

Let the particular solution be

yp(x)=axex+bx2ex+c

 Then

yp'(x)=aex+(a+2b)xex+bx2exyp''(x)=(2a+2b)ex+(a+4b)xex+bx2exyp'''(x)=(3a+6b)ex+(a+6b)xex+bx2ex

Then

yp'''(x)+yp''(x)-2yp(x)=(3a+6b)ex+(a+6b)xex+bx2ex+(2a+2b)ex+(a+4b)xex+bx2ex-2axex-2bx2ex-2c=(5a+8b)ex+10bxex-2c

If (5a+8b)ex+10bxex-2c=xex+1

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

Then  a=-425, b=110 and c=-12

Hence yp(x)=-425xex+110x2ex-12

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

Then y(x)=-425xex+110x2ex-12+c1ex+c2e-xcosx+c3e-xsinx

Is the general solution of y'''+y''-2y=xex+1