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 the given differential equation by undetermined coefficients.

y''+y=2xsinx

Short Answer

Expert verified

The general solution of the given differential equation is

y=k1cosx+k2sinx-12x2cosx+12xsinx

Step by step solution

01

Note the given data

Given the second order differential equationy''+y=2xsinx

02

Obtain the general solution of the homogeneous differential equation  

We know a homogeneous differential equation is an equation containing

differentiation and a function with a set of variables.

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

Corresponding auxiliary equation ism2+1=0

Solving,

m2-(i)2=0

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

So the complementary function is

yc=c1eix+c2e-ix=k1cosx+k2sinx

03

Finding the particular solution

Given non homogeneous differential equation is y''+y=2xsinx

Assume thatyp=(Ax2+Bx)cosx+(Cx2+Dx)sinx……(1) is a solution of thenon homogeneous differential equation

Differentiate with respect to x

yp'=[(2Ax+B)cosx+(2Cx+D)sinx-(Ax2+Bx)sinx+(Cx2+Dx)cosx

Oryp'=[Cx2+(2A+D)x+B]cosx+[-Ax2+(-B+2C)x+D]sinx

yp''=[2Cx+(2A+D)+]cosx+[-2Ax+(-B+2C)]sinx-[Cx2+(2A+D)x+B]sinx+[-Ax2+(-B+2C)x+D]cosx

or yp''=[-Ax2+(-B+4C)x+(2A+2D)]cosx+[-Cx2+(-4A-D)x+(2C-2B)]sinx……(2)

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

[-Ax2+(-B+4C)x+(2A+2D)]cosx+[-Cx2+(-4A-D)x+(2C-2B)]sinx+(Ax2+Bx)cosx+(Cx2+Dx)sinx=2xsinx

or

[4Cx+(2A+2D)cosx+[-4Ax+(2C-2B]sinx=2xsinx

comparing the coefficients,

4C=0C=0

-4A=2A=-12

2A+2D=0D=12

2C-2B=0B=0

Hence the particular solution is (1) becomes

yp=-12x2cosx+12xsinx

04

Finding the solution

Hence the solution of given differential equation is

y=yc+yp

y=k1cosx+k2sinx-12x2cosx+12xsinx

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