Find the solution to the initial value problem.y''(θ)-y(θ)=sinθ-e2θ;     y(0)=1,    y'(0)=-1

Short Answer

Expert verified

The solution to the initial value problem isy=34eθ+712e-θ-12sinθ-13e2θ.

Step by step solution

01

Write the auxiliary equation of the given differential equation. 

The differential equation is,

y''(θ)-y(θ)=sinθ-e2θ                     ......(1)

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

y''(θ)-y(θ)=0

The auxiliary equation for the above equation,

m2-1=0m=±1

02

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θ+c2e-θ

03

Now find the particular solution to find a general solution for the equation.

Assume, the particular solution of equation (1),

yp(θ)=Asinθ+Bcosθ+Ce2θ               ......(2)

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

yp'(θ)=Acosθ-Bsinθ+2Ce2θyp''(θ)=-Asinθ-Bcosθ+4Ce2θ

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

y''(θ)-y(θ)=sinθ-e2θ-Asinθ-Bcosθ+4Ce2θ-[Asinθ+Bcosθ+Ce2θ]=sinθ-e2θ-2Asinθ-2Bcosθ+3Ce2θ=sinθ-e2θ

Comparing all coefficients of the above equation,

role="math" localid="1655134375109" -2A=1   ⇒A=-12-2B=0   ⇒B=03C=-1   ⇒C=-13

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

yp(θ)=-12sinθ+(0)cosθ-13e2θyp(θ)=-12sinθ-13e2θ

04

The general solution and use the given initial condition. 

Therefore, the general solution is,

y=yc(θ)+yp(θ)y=c1eθ+c2e-θ-12sinθ-13e2θ                     ......(3)

Given the initial condition,

y(0)=1,    y'(0)=-1

Substitute the value of y = 1 and θ=0in the equation (3),

role="math" localid="1655134708459" y=c1eθ+c2e-θ-12sinθ-13e2θ1=c1e0+c2e-0-12sin(0)-13e2(0)1=c1+c2-13c1+c2=43                                   ......(4)

Now find the derivative of the equation (3),

role="math" localid="1655134750830" y'=c1eθ-c2e-θ-12cosθ-23e2θ

Substitute the value of y’ = -1 and θ=0in the above equation,

role="math" localid="1655134857938" y'=c1eθ-c2e-θ-12cosθ-23e2θ-1=c1e0-c2e-0-12cos(0)-23e2(0)-1=c1-c2-12-23c1-c2=16                                 .....(5)

Solve the equation (4) and (5),

role="math" localid="1655134925741" c1+c2=43c1-c2=16       2c1=96          c1=34¯

Substitute the value of c1in the equation (4),

role="math" localid="1655135004141" c1+c2=4334+c2=43c2=712

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

role="math" localid="1655135133890" y=c1eθ+c2e-θ-12sinθ-13e2θy=34eθ+712e-θ-12sinθ-13e2θ

Thus, the solution to the initial value is:

y=34eθ+712e-θ-12sinθ-13e2θ

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