Using(3.9), find the general solution of each of the following differential equations. Compare a computer solution and, if necessary, reconcile it with yours. Hint: See comments just after(3.9), and Example1

y'+y=ex

Short Answer

Expert verified

y=ex2+Ce-x

Step by step solution

01

Definition of Differential Equations

In mathematics, a differential equation is an equation that relates one or further unknown functions and their derivations. In operations, the functions generally represent physical amounts, the derivations represent their rates of change, and the differential equation defines a relationship between the two.

02

Given parameters

The given differential equation isy'+y=ex.

There need to find the general solution of the given differential equation and compare the solution with computer solution.

03

Finding integrating factor.

Firstly, define the functions P and Q.

According to the given differential equationP(x)=1 andQ(x)=ex.

Now there need to find, then the integration factor,

I=Pdx=1dx=x

Further, the integrating factor iseI=ex

04

Finding the general solution of the differential equation

Substituting the values in the formulayeI=QeIdx+c

Now, the solution of the given differential equation is

yeI=QeIdx=e-xe2xdx=e2x2+c

So, the general solution is

y=ex2+Ce-x

05

 Step 5: Comparing the general solution with computer solution

Further, by using the wolfram Mathematica the general solution of the given differential equation is

On comparing the solution finding by the wolfram Mathematica and the solution finding above both will give the same results.

Thus, the general solution of the given differential equation y'+y=exisy=ex2+Ce-x

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