Solving Nonexact First Order ODEs.

  • Thread starter Thread starter Je m'appelle
  • Start date Start date
  • Tags Tags
    First order Odes
Click For Summary

Homework Help Overview

The discussion revolves around solving a nonexact first-order ordinary differential equation (ODE) given by (x - √(xy))dy - ydx = 0. Participants explore whether the equation can be transformed into an exact equation and discuss the concept of integrating factors.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants check the conditions for exactness by calculating the partial derivatives of M and N. They question how to find an integrating factor and whether it should be a function of one or two variables. Some suggest trying specific forms for the integrating factor, such as functions of x or y alone, or a combination of both variables.

Discussion Status

There are multiple approaches being explored, including the use of different forms of integrating factors. Some participants express frustration at the complexity of the expressions obtained, while others propose alternative methods, such as substitutions, to simplify the problem. No consensus has been reached on a definitive method for finding the integrating factor.

Contextual Notes

Participants note the challenge of finding an integrating factor that works, as attempts with single-variable functions have led to complex expressions involving both variables. The discussion reflects the inherent difficulties in dealing with nonexact differential equations.

Je m'appelle
Messages
117
Reaction score
0

Homework Statement



Solve [tex](x - \sqrt{xy})dy - ydx = 0[/tex]

Rearranged gives us

[tex]-y + (x - \sqrt{xy})y' = 0[/tex]

And it looks like an exact differential equation, but is it really?

Homework Equations



For any given exact equation of the form

[tex]M(x,y) + N(x,y)y' = 0[/tex]

The following must be true

[tex]\frac{\partial}{\partial y}M(x,y) = \frac{\partial}{\partial x}N(x,y)[/tex]

Otherwise it is a nonexact equation, and then an integrating factor is needed, in order to make them exact.

The Attempt at a Solution



Let's check whether it is exact or nonexact,

[tex]\frac{\partial M}{\partial y} = -1[/tex]

[tex]\frac{\partial N}{\partial x} = 1 - \frac{y}{2\sqrt{xy}}[/tex]

So, as

[tex]\frac{\partial}{\partial y}M(x,y) \neq \frac{\partial}{\partial x}N(x,y)[/tex]

This happens to be a nonexact differential equation and therefore an integrating factor is needed, in order to turn it exact.

Now what I want to know, is how do find an integrating factor? Will it be a two variable function or a single variable function?
 
Last edited:
Physics news on Phys.org
Je m'appelle said:

Homework Statement



Solve [tex](x - \sqrt{xy})dy - ydx = 0[/tex]

Rearranged gives us

[tex]-y + (x - \sqrt{xy})y' = 0[/tex]

And it looks like an exact differential equation, but is it really?

Homework Equations



For any given exact equation of the form

[tex]M(x,y) + N(x,y)y' = 0[/tex]

The following must be true

[tex]\frac{\partial}{\partial y}M(x,y) = \frac{\partial}{\partial x}N(x,y)[/tex]

Otherwise it is a nonexact equation, and then an integrating factor is needed, in order to make them exact.


The Attempt at a Solution



Let's check whether it is exact or nonexact,

[tex]\frac{\partial M}{\partial y} = -1[/tex]

[tex]\frac{\partial N}{\partial x} = 1 - \frac{y}{2\sqrt{xy}}[/tex]

So, as

[tex]\frac{\partial}{\partial y}M(x,y) \neq \frac{\partial}{\partial x}N(x,y)[/tex]

This happens to be a nonexact differential equation and therefore an integrating factor is needed, in order to turn it exact.

Now what I want to know, is how do find an integrating factor? Will it be a two variable function or a single variable function?
Try an integrating factor f(x) that is a function of x alone. Proceed as before to see if the equation is now exact, and what the conditions on the first partials have to be for this to be true. You will be solving a new differential equation to find f(x), the integrating factor.

If the differential equation for f(x) turns out to involve both x and y, give up that plan and try something else; namely, try an integration factor f(y) that is a function of y alone, and continue as before.
 
Another possibility, since the d.e. involves only powers of x and y, is to try an integrating factor of the form [math]ax^ny^m[/math] and see if you can find values of a, m, and n that will make it work. There are no guarentees that any of those will work! While any first order equation has an integrating factor, only linear equations have a formula for finding that integrating factor.
 
Mark44 said:
If the differential equation for f(x) turns out to involve both x and y, give up that plan and try something else; namely, try an integration factor f(y) that is a function of y alone, and continue as before.

What if that happens to both of the attempts? That is, what if my integrating factor [tex]u = u(x),\ or\ u = u(y)[/tex] happens to be a function of [tex](x,y)[/tex] instead of a single variable alone.

What can be done about it then?

HallsofIvy said:
Another possibility, since the d.e. involves only powers of x and y, is to try an integrating factor of the form [math]ax^ny^m[/math] and see if you can find values of a, m, and n that will make it work. There are no guarentees that any of those will work! While any first order equation has an integrating factor, only linear equations have a formula for finding that integrating factor.

You mean, [tex]u(x,y) = ax^ny^m[/tex]

Would that really work? What if it doesn't, are there other methods for finding an integrating factor in this case?
 
Ok folks, so I tried using two integrating factors [tex]u = u(x)[/tex] and [tex]u = u(y)[/tex] and in both cases I ended up with something like

[tex]u(x) = e^{\int f(x,y) dx}[/tex]

[tex]u(y) = e^{\int f(x,y)dy}[/tex]

That is, in both cases I got a very complex expression in terms of x and y in the right-hand side of the equation for the integrating factor (u), instead of a single variable expression as one would expect.
Therefore, the only way to find an integrating factor [tex]u = u(x,y)[/tex] for the original diff. equation on my first post is by solving the following partial differential equation:

[tex]M(x,y)\frac{\partial u(x,y)}{\partial y} + u(x,y)\frac{\partial M(x,y)}{\partial y} = N(x,y)\frac{\partial u(x,y)}{\partial x} + u(x,y)\frac{\partial N(x,y)}{\partial x}[/tex]

Is that correct?
 
Last edited:
I don't know.

I tried three different integrating factors: f(x), f(y), and axmyn, and ran up against a brick wall in all three. I'm not so eager to try an arbitrary function f(x, y).

However, there is another approach that I am reasonably sure will work.

Let u = sqrt(y)/sqrt(x) ==> sqrt(y) = u sqrt(x) ==> y = u2x
From this, we have y' = 2u u' x + u2

The original equation can be written as
x(1 - sqrt(y)/sqrt(x)) dy/dx = y (*)

Make the substitutions y = u2x and y' = 2u u' x + u2 in (*) and you get a differential equation that is separable. The tacit assumption here is that x and y aren't independent, but that y is a (differentiable) function of x.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K