Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

In Problems 27-36solve the given initial-value problem.

y''-y=coshx,y(0)=2,y'(0)=12

Short Answer

Expert verified

y=-5e-x+7ex-14xe-x+14xex

Step by step solution

01

Complementary function

Consider the differential equationy''-y=coshx,y(0)=2,y'(0)=12

Rewrite the differential equation as,

y''-y=ex+e-x2.

The auxiliary equation corresponding to homogenous equation is:m2-1=0.

m2-1=0m=±1

Therefore, the complementary function isyc=c1e-x+c2ex

02

For particular solution

Let particular solution be.yp=Axe-x+Bxex

Differentiating we have:

yp'=Ae-x-Axe-x+Bex+Bxexyp''=-Ae-x-Ae-x+Axe-x+Bex+Bex+Bxex=-2Ae-x+Axe-x+2Bex+Bxex

Substitute these values in.

yp''-yp=ex+e-x2

yp''-yp=ex+e-x2-2Ae-x+Axe-x+2Bex+Bxex-Axe-x-Bxex=ex+e-x2-2Ae-x+2Bex=12ex+12e-x

Equate the coefficients of like terms on both sides.

-2A=12and2B=12.

A=-14andB=14

Therefore, the particular solution is.

yp=-14xe-x+14xex

03

General solution

The general solution of the IVP can be written as,

y=yc+yp=c1e-x+c2ex-14xe-x+14xex

Therefore, the solution of the IVP isy=c1e-x+c2ex-14xe-x+14xex

04

Apply initial condition

Puty(0)=2iny=c1e-x+c2ex-14xe-x+14xex

y(0)=c1e0+c2e0-14(0)e0+14(0)e02=c1+c2

Differentiate with respect to x.

y'=-c1e-x+c2ex-14e-x+14xe-x+14ex+14xex.

Puty'(0)=12in.y'=-c1e-x+c2ex-14xe-x+14xe-x+14ex+14xex

y'(0)=-c1e0+c2e0-14e0+14(0)e0+14e0+14(0)e0

localid="1664111077012" 12=-c1+c2-14+1412=-c1+c2

Solve the equations

Then c1=-5and c2=7

Therefore, the solution is

y=-5e-x+7ex-14xe-x+14xex

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