Q30E

Question

Find the solution to the initial value problem. y''+2y'+y=t2+1-et         y(0)=0,    y'(0)=2

Step-by-Step Solution

Verified
Answer

The solution to the initial value problem is given as:

y=-274e-t-12te-t+t2-4t+7-14et.

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

The differential equation is,

y''+2y'+y=t2+1-et                                      ......(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(m+1)2=0

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

The root of an auxiliary equation is, 

m1=-1,   m2=-1

 

The complementary solution of the given equation is,

 yc=c1e-t+c2te-t

 

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

Assume, the particular solution of equation (1),

 yp(t)=At2+Bt+C+Det                          .....(2)


Now find the first and second derivatives of the above equation,


yp'(t)=2At+B+Detyp''(t)=2A+Det


Substitute the value of  yp(t),  yp'(t) and  yp''(t) the equation (1),


y''+2y'+y=t2+1-et2A+Det+2[2At+B+Det]+At2+Bt+C+Det=t2+1-etAt2+(B+4A)t+(2A+2B+C)+4Det=t2+1-et


Comparing all coefficients of the above equation,

4D=-1D=-14A=1B+4A=0                                          ......(3)2A+2B+C=1                               ......(4)


Substitute the value of A in the equation (3),

B+4(1)=0B=-4


Substitute the value of A and B in the equation (4),


2(1)+2(-4)+C=1C=7



Substitute the value of A, B, C, and D in the equation (2),


yp(t)=At2+Bt+C+Detyp(t)=t2-4t+7-14et



4Step 4: Find the general solution and use the given initial condition.

Therefore, the general solution is,


y=yc(t)+yp(t)y=c1e-t+c2te-t+t2-4t+7-14et                     .          .....(5)



Given the initial condition,

y(0)=0,    y'(0)=2


Substitute the value of y = 0 and t = 0 in the equation (5),


y=c1e-t+c2te-t+t2-4t+7-14et0=c1e-0+c2(0)e-0+(0)2-4(0)+7-14e(0)0=c1+7-14c1=-274



Now find the derivative of the equation (5),


y'=-c1e-t-c2te-t+c2e-t+2t-4-14ety'=-c1e-t+c2(e-t-te-t)+2t-4-14et


Substitute the value of y’ = 2 and t = 0 in the above equation,

y'=-c1e-t+c2(e-t-te-t)+2t-4-14et2=-c1e-0+c2(e-0-(0)e-0)+2(0)-4-14e02=-c1+c2-4-14-c1+c2=254                             .                              ....(6)



Substitute the value of  c1  in the equation (6),


--274+c2=254c2=254-274c2=-12



Substitute the value of  c1 and c2 in the equation (5),


y=c1e-t+c2te-t+t2-4t+7-14ety=-274e-t-12te-t+t2-4t+7-14et