Use the methods of this section to solve the following differential equations. Compare computer solutions and reconcile differences.

xy'+y=exyHint:Letu=xy

Short Answer

Expert verified

The general solution of the differential equation is y=-InC2-xx.

Step by step solution

01

Given information

The given differential equation is xy'+y=exy.

02

Definition of differential equation

A differential equation is a mathematical equation for an unknown function of one or several variables that relates the values of the function itself to its derivatives of various orders.

03

Solve the differential equation

Let u = xy, then u' = y + xy', so the differential equation becomes

u'-y+y=eudu-eudx=0

we can show that this is not an exact equation,

u-eu=-euu(1)=0μdu-μeudx=0

And because this integrating factor will make it exact

u-μeu=x(μ)-μ'eu-μeu=0dμμ=-duμ=e-u

So, the differential equation becomes an exact equation if we multiply it by e-u,

e-udu-dx=0

And we can check

u-1=0=xe-u

a function F (x,u) such that

-1=Fx,e-u=Fu,-dx+e-udu=dF

Take -1=F/xand solve it (n.b. we can takee-u=F\uinstead)

dF=-dxF=-x+fy

Function f(u) we are going to integrate F(x,u) with respect to u,

Fu=f'u

But, we know that F/u=e-u, so

e-u=f'uf(u)=e-udu=-e-u+C

Therefore, the function F (x,u) is

Fx,u=-x-e-u+C

then -dx+e-udu=dF=0, and therefore, for the equation -dx+e-udu=0the solution is

Fx,u=C1x+e-u=C2

Finally, substitute u = xy back into the solution, so we get

x+e-xy=C2,y=-InC2-xx

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

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 Example .

(1+ex)y+2exy=(1+ex)

Sketch on the same axes graphs ofsint,sin(t-π/2), andsin(t+π/2), and observe which way the graph shifts. Hint: You can, of course, have your calculator or computer plot these for you, but it's simpler and much more useful to do it in your head. Hint: What values of tmake the sines equal to zero? For an even simpler example, sketch on the same axesy=t,y=t-π/2,y=t+π/2.

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 Example 1.

2xy+y=2x5/2

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 Example 1.

(xlnx)y+y=Inx

Find the orthogonal trajectories of each of the following families of curves. In each case, sketch or computer plot several of the given curves and several of their orthogonal trajectories. Be careful to eliminate the constant from y'for the original curves; this constant takes different values for different curves of the original family, and you want an expression for y'which is valid for all curves of the family crossed by the orthogonal trajectory you are trying to find. See equations (2.10)to (2.10)

y=kxn. (Assume that n is a given number; the different curves of the family have different values of k.)

See all solutions

Recommended explanations on Physics 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