Q8E

Question

A nonhomogeneous equation and a particular solution are given. Find a general solution for the equation.

y''=2y'-y+2ex,ypx=x2ex

Step-by-Step Solution

Verified
Answer

The general solution of the given differential equation is y=c1ex+c2xex+x2ex

1Step 1: Write the auxiliary equation of the given differential equation.

The differential equation is,

                y''=2y'-y+2exy''-2y'+y=2ex                                                                                                                   1

 

Write the homogeneous differential equation of the equation (1),

y''-2y'+y=0 

 

The auxiliary equation for the above equation,

m2-2m+1=0

2Step 2: Now find the complementary solution of the given equation.

Solve the auxiliary equation,

m2-2m+1=0       m-12=0

 

The roots of the auxiliary equation are, 

m1=1,m2=1

 

The complementary solution of the given equation is,

yc=c1ex+c2xex

3Step 3: Use the given particular solution to find a general solution for the equation.

The given particular solution,

 ypx=x2ex

 

Therefore, the general solution is,

y=ycx+ypxy=c1ex+c2xex+x2ex