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

Solve each differential equation by variation of parameters.

y''-y=coshx

Short Answer

Expert verified

y=k1ex+k2e-x+12xsinhx

Step by step solution

01

Step 1: Determine the corresponding homogeneous equation

We have the second order differential equation

y''-y=coshx,

which is

y''-y=12ex+12e-x

as the form

y''+p(x)y'+q(x)y=f(x),

and we have to get its general solution by the following technique :

First, we have to find the solution of the corresponding homogeneous differential equation as

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

by assuming that y=emxis a solution for the homogeneous differential equation, then follow the following technique:

Differentiate the assumption with respect to x , then we have

y'=memx

and

y''=m2emx …….. (2)

After that, substitute withy=emx and equation (2) into the differential equation (1), then we obtain

m2emx-emx=0emxm2-1=0

Sinceemx cannot be equal 0, the we have

(m-1)(m+1)=0

Then the roots are

m1=1andm2=-1

which are conjugate and complex.

Then we can obtain the solution of the homogeneous differential equation as

yh=c1y1+c2y2=c1ex+c2ex

yh=c1ex+c2ex ……… (a)

02

Determine the particular solution for  differential equation

Second, now we have to find the particular solution of the given differential equation as the following technique:

Since we have y1=exand y2=e-x, then we can obtain the wronskian as

Wy1,y2=y1y2y1'y2'=exe-xex-e-x=ex×-e-x-e-x×ex=-ex-x-ex-x=-1-1=-2

After that, since we have the right side of the given differential equation f(x)=coshx, then we can obtain the wronskian W1and W2as

W1=0y2f(x)y'2=0e-x12ex+12ex-ex=0-ex×12ex+12e-x=-12ex×e-x-12e-x×e-x=-12-12e-2x=-121+e2x

W2=0y2f(x)y'2=ex0ex12ex+12e-x=ex×12ex+12e-x-0=12ex×ex+12e-x×ex=12e2x+12=12e2x+1

After we had obtained the wronskian W1and W2 , we have to obtain and as the following

u1'=W1Wy1,y2=-121+e-2x-2=1+e-2x4

and

u2'=W2Wy1,y2=12e2x+1-2=-e2x+14

After that, we have to do integration for both u1'and u2'neglecting integration constants to obtainu1 andu2 as the following

u1=u1'dx=1+e2x4dx=14dx+14e2xdx=14x-18e-2x

and

u2=u2'dx=-e2x+14dx=-14e2xdx-14dx=-18e2x-14x

After that, using the values of role="math" localid="1664179698207" u1 and u2the functions role="math" localid="1664179759970" y1and role="math" localid="1664179843371" y2 , we can obtain the particular solution as

yp=u1y1+u2y2=14x-18e-2x×ex+-18e2x-14x×e-x=14xex-18e-x-18ex-14xe-x=12x12ex-12e-x-18ex+e-xyp=12xsinhx-18ex+e-x …….. yp=12xsinhx-18ex+e-x(b)

03

Determine the general solution for given differential equation

Finally, from equations (a) and (b) we can obtain the general solution of the differential equation as

y=yh+yp=c1ex+c2e-x+12xsinhx-18ex+e-x=c1-18ex+c2-18e-x+12xsinhxy=k1ex+k2e-x+12xsinhx

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