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

Question: Solve the given boundary-value problem.

y''+y=x2+1,y(0)=5,y(1)=0

Short Answer

Expert verified

y=6cosx-6cot1sinx+x2-1

Step by step solution

01

Obtain the general solution of the homogeneous differential equation   

First, we need to solve the associated homogeneous equation y''+y=0

Corresponding auxiliary equation is m2+1=0

(m2-i2)=0

Solving,

m1=i, m2=-i, which are complex and conjugate.

So the solution of corresponding homogeneous equation is

yc=c1cosx+c2sinx

02

Finding the particular solution

Given non homogeneous differential equation is y''+y=x2+1

Assume that yp=Ax2+Bx+C······1is a solution of the non-homogeneous differential equation

Differentiate with respect to x

yp'=2Ax+B······2yp''=2A······3

Substituting (1) and (3) in given differential equation

2A+Ax2+Bx+C=x2+1

Comparing the coefficients,

A=1B=02A+C=1C=-1

Hence the particular solution isyp=x2-1

03

Finding the solution

Hence the solution of given differential equation is

y = yh + yp

y=C1cosx+C2sinx)+x2-1······4

04

Applying the given conditions

At the point (0,5)

(4) becomes 5=C1cos0+C2sin0+(0)2-1

Or C1=6

At the point (1,0)

role="math" localid="1664170054814" 0=C1cos1+C2sin1+(1)2-1C2=-6cot1

Hence the solution is y=6cosx-6(cot1)sinx+x2-1

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

Most popular questions from this chapter

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free