Can Multiplying by Exp[x] Accidentally Solve a Differential Equation?

  • Thread starter Thread starter Crush1986
  • Start date Start date
  • Tags Tags
    Accident
Click For Summary

Homework Help Overview

The discussion revolves around a first-order differential equation represented as 5dx - Exp[y-x]dy = 0. Participants explore methods for solving this equation, particularly focusing on the use of integrating factors and the separation of variables.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Some participants discuss the effectiveness of multiplying the equation by Exp[x] to make it exact, while others explore the separation of variables as a method for solving the equation. There are questions about the general methods for solving differential equations and the role of integrating factors.

Discussion Status

The conversation has evolved with participants sharing insights on different approaches to the problem. Some have provided guidance on separating variables, while others have acknowledged the challenge of finding an integrating factor. The original poster has expressed a sense of progress after engaging with simpler problems.

Contextual Notes

There is mention of a specific requirement to find an integrating factor as part of the problem statement, which adds a layer of complexity to the discussion. Participants also reflect on their experiences with differential equations and the variability in methods applicable to different equations.

Crush1986
Messages
205
Reaction score
10

Homework Statement


5dx - Exp[y-x]dy = 0

Homework Equations


partial of M with respect to y equals partial of N with respect to x.

The Attempt at a Solution



So, I multiplied the equation by Exp[x] and voila that solved it for me by making it an exact D.E. and from there finding the solution was trivial... I was really just trying to make it prettier to look at.

I've tried using the method where you try to find a mu that is equal to Exp[(dN/dx-dM/dy)/M] but that didn't pan out as I was left with an integral dependent on x and y. I have no idea how to deal with that.

If someone could give me a nudge I'd greatly appreciate it![/B]
 
Physics news on Phys.org
You can separate it all out by using ey-x = ey/ex, then rearrange a bit to get all the various bits in comfortable looking places, then solve as a standard f(x)dx = f(y)dy sort of thing.

That's essentially what you did, although you say you did it by accident, heh. It seems you simply overlooked the part where you use basic laws of indices to separate the ey-x part.

:smile:
 
It "didn't pan out" because that method of finding an "integrating factor" only works for linear equations and this equation is not linear. It is, instead, separable-it is easy separate x and y. I am sure you realized that e^{y- x}= e^ye^{-x}. The differential equation can be written as 5dx= e^ye^{-x}dy and, multiplying by ##e^x## as you did gives 5e^x dx= e^y dy. You now have all x terms, including 'dx', on one side of the equation and all y terms, including 'dy' on the other. Integrate both sides.

That's a perfectly valid method of solving such an equation. What more are you asking for?
 
Last edited by a moderator:
I mean I knew how to get that -x out of the exponential. Are you saying that you will pretty much always do that in D.E's?
 
I've not properly done DEs for a while but yeah generally the aim is to separate the x and y variables as best as possible so it's easier to work with.
 
sa1988 said:
I've not properly done DEs for a while but yeah generally the aim is to separate the x and y variables as best as possible so it's easier to work with.
Oh yah, that I knew.

I was just wondering what was the most general method used to solve an equation like that. I tried some algorithms the professor talked about in class and couldn't get anywhere. I then looked in the book and found a few more tricks to try but kept failing.

Then I gave up and just tried to make the equation look better.

I know that is kind of in the spirit of solving D.E.'s. I just don't know if I'll be as lucky on a test, haha.
 
There is NO general method for solving even first order differential equations. If a differential equation is separable, then that is the simplest method.
 
HallsofIvy said:
There is NO general method for solving even first order differential equations. If a differential equation is separable, then that is the simplest method.
I understand that. But I believe I was supposed to find an integrating factor. (I should have said that before, sorry). How would someone go about doing that?
 
Crush1986 said:
I understand that. But I believe I was supposed to find an integrating factor. (I should have said that before, sorry). How would someone go about doing that?
What was the exact wording of the problem? If the problem didn't explicitly say to find and use an integrating factor, then you should go for the simplest technique. In this case, it is separation of variables, as described in post # 3.
 
  • #10
It wanted me to find an integrating factor. It said, "Verify that the D.E. is not exact. Find an integrating factor and solve it.

I meant to include that information but I guess it slipped my mind. Again, sorry.
 
  • #11
NM I GOT IT! WHHHHHEEEEEWWW.

I just had to do some easier problems, and then not fail at algebra... Thanks everyone!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
4
Views
1K
Replies
24
Views
3K
Replies
7
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K