Finding the integrating factor (ODEs)

In summary, the problem involved finding an integrating factor and solving a given equation. The attempt at a solution involved testing for exactness and finding \mu(x) and \mu(y). However, the given equation did not have an integrating factor that was a pure function of just x or y. After correcting a typo in the test for an integrating factor that is a pure function of y, it was discovered that the given equation satisfied the criteria for \mu(y) to be a function of y only. This allowed for the integration and solution of the equation.
  • #1
Novark
15
0
Finding the integrating factor (ODEs) [Solved]

Working on this problem, I can't figure out why we take the derivative of [tex]\mu[/tex] with respect to y, and what to do when our integrating factor is a function of both x and y. In the case below, it ended up being separable, but what can you do if it's not?

Homework Statement



Find an integrating factor and solve the given equation.

[tex]y{\cdot}dx + (2xy - e^{-2y}){\cdot}dy = 0[/tex]

Homework Equations



[tex]\frac{d\mu}{dy} = \frac{M_y - N_x}{N}{\cdot}\mu[/tex]

The Attempt at a Solution



[tex]M(x,y) = y[/tex]
[tex]N(x,y) = (2xy - e^{-2y})[/tex]

So,

[tex]M_y = 1[/tex]
[tex]N_x = 2y[/tex]

[tex]\frac{d\mu}{dy} = \frac{1 - 2y}{(2xy - e^{-2y})}{\cdot}\mu \Rightarrow
\frac{d\mu}{\mu} = \frac{1 - 2y}{(2xy - e^{-2y})}{\cdot}dy[/tex]

[tex]ln(\mu) = \int{\frac{1 - 2y}{(2xy - e^{-2y})}}{\cdot}dy[/tex]

If someone could refresh me on the methods to integrate the above, that would also be much appreciated. What I really want to know, however, is why we choose [tex]\mu[/tex] with respect to y instead of x, and how to find our integrating factor when [tex]\mu[/tex] is not separable.

Thanks in advance :-)
 
Last edited:
Physics news on Phys.org
  • #2
First, you need to realize that, just as an equation may not be exact, it may also not have an integrating factor that is a pure function of just x or y. Say you start with:

M(x,y)dx + N(x,y)dy = 0

Of course your first test would be to see if Nx = My. If so, it is exact and you proceed with exact methods. But what if it isn't exact. Maybe, if we are lucky, we can find an integrating factor of the form μ(x) or μ(y) that will make it exact. So let's try it:

μ(x)M(x,y)dx + μ(x)N(x,y)dy = 0

Let's try the exactness test on this. We need

(μ(x)N(x,y))x = (μ(x)M(x,y))y

μ'(x)N(x,y) + μ(x)Nx(x,y) = μ(x)My(x,y)

[tex]\mu'(x) = \frac {\mu(x)(M_y(x,y) - N_x(x,y))}{N(x,y)}[/tex]

We can only hope to find μ(x) as a pure function of x if there are no y's on the right hand side. So before we even try to find such a μ(x), we should test the given equation to see if

[tex]\frac {M_y(x,y) - N_x(x,y)}{N(x,y)}[/tex]

is a pure function of x.

Trying the same thing for a pure function of y we get:

μ(y)M(x,y)dx + μ(y)N(x,y)dy = 0

Testing for exactness:

μ(y)Nx(x,y) = μ(y)My(x,y) + μ'(y)M(x,y)

[tex]\mu'(y) = \frac {\mu(y)(N_x(x,y) - M_y(x,y))}{M(x,y)}[/tex]

For this to work there needs to be no x on the right side, so:

[tex]\frac {M_y(x,y) - N_x(x,y)}{M(x,y)}[/tex]

must be a pure function of y.

In your example, neither of the two tests work, which explains why you didn't get a pure function of y to integrate and your method failed.
 
Last edited:
  • #3
Thanks for the reply LC - I understand what you're saying.

In this case, however - my professor said that the integrating factor [tex]\mu[/tex] is a function of y only.

How should I proceed with finding my function [tex]\mu[/tex] by integrating with respect to y, and how will this affect the rest of the problem?
 
Last edited:
  • #4
The above test shows that a pure function of y can't be an integrating factor. Maybe the problem has a typo or something.
 
  • #5
I just checked the answer at the back of the book, it gives the following answers:

[tex]{\mu}(y) = \frac{e^{2y}}{y}[/tex]

[tex]xe^{2y}-ln|y| = c[/tex]

[tex]y = 0[/tex]

I've written the question down correctly, too. Do I have an error in my math anywhere? I've checked it over, and I think it is correct...

Any ideas?
 
  • #6
Hmmm, that looks correct. Unless I have a mistake, apparently the condition above is sufficient but not necessary. I'll have to think about it some more tomorrow. Interesting.
 
  • #7
Still no luck in figuring this one out...

Anyone have any ideas?
 
  • #8
Novark said:
Still no luck in figuring this one out...

Anyone have any ideas?

Hello Novark. I finally had time this morning to get back to this. There was a typo in my post in the test for an integrating factor just a function of y. I have edited and corrected it. To test for an integrating factor a pure function of y you need:

[tex]\frac {N_x(x,y) - M_y(x,y)}{M(x,y)}[/tex]

to be a function of y only. I had mis-typed the denominator as N(x,y). You will see that your equation does indeed satisfy this criteria which is why you could find a function of y for an integrating factor.

(At least I tried to edit that post to fix the denominator. It looks corrected when I try to edit it but it is still displaying wrong at the moment)
 
Last edited:
  • #9
Makes perfect sense now!

Thanks again LC!
 

1. What is an integrating factor?

An integrating factor is a function that is multiplied to both sides of a differential equation in order to make it easier to solve. It can help to reduce the complexity of the equation and make it solvable by separation of variables or other methods.

2. How do I find the integrating factor of an ODE?

The integrating factor of an ODE can be found by following a specific formula, depending on the type of equation. For linear equations, the integrating factor is typically e^(integral of coefficient of y). For non-linear equations, the integrating factor may require more advanced techniques such as substitution or inspection.

3. Why is finding the integrating factor important?

Finding the integrating factor is important because it can transform a difficult or unsolvable differential equation into a simpler form that can be easily solved. This can provide insights into the behavior of the system described by the equation and help to make predictions and calculations.

4. Can an integrating factor be used for all types of ODEs?

No, an integrating factor can only be used for certain types of ODEs, specifically those that are first-order and linear or can be transformed into a linear form. Non-linear equations may require different methods for solving, such as numerical techniques.

5. Are there any tips for finding the integrating factor?

There are a few tips that can make finding the integrating factor easier. These include identifying the type of equation (linear or non-linear), checking for exactness, and using properties of trigonometric functions. Additionally, practice and familiarity with different types of equations can also improve the ability to find the integrating factor.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
874
  • Calculus and Beyond Homework Help
Replies
14
Views
241
  • Calculus and Beyond Homework Help
Replies
1
Views
491
  • Calculus and Beyond Homework Help
Replies
2
Views
461
  • Calculus and Beyond Homework Help
Replies
6
Views
294
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
266
  • Calculus and Beyond Homework Help
Replies
6
Views
757
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
24
Views
2K
Back
Top