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

Short Answer

Expert verified

The solution to the initial value problem is given as:

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

Step by step solution

01

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

02

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

03

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,

role="math" localid="1655105817882" 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

04

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),

role="math" localid="1655106131887" 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),

role="math" localid="1655106175590" 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,

role="math" localid="1655106269488" 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),

role="math" localid="1655106386434" --274+c2=254c2=254-274c2=-12

Substitute the value of c1and c2in the equation (5),

role="math" localid="1655106510470" y=c1e-t+c2te-t+t2-4t+7-14ety=-274e-t-12te-t+t2-4t+7-14et

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free