Solving Nonexact First Order ODEs.

In summary: Then the problem has a solution in parametric form with a parameter being x. In summary, the given equation can be solved using a parametric method.
  • #1
Je m'appelle
120
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
  • #2
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.
 
  • #3
Another possibility, since the d.e. involves only powers of x and y, is to try an integrating factor of the form \(\displaystyle ax^ny^m\) 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.
 
  • #4
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 \(\displaystyle ax^ny^m\) 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?
 
  • #5
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:
  • #6
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.
 

FAQ: Solving Nonexact First Order ODEs.

What is the difference between exact and nonexact first order ODEs?

Exact first order ODEs can be solved by finding an integrating factor, while nonexact first order ODEs require other methods such as separation of variables or substitution.

Why are nonexact first order ODEs more difficult to solve?

Nonexact first order ODEs do not have a readily available integrating factor, making it necessary to use other techniques to solve them.

How do I know if a first order ODE is nonexact?

If the partial derivatives of the equation are not equal, then it is a nonexact first order ODE. This can also be determined by trying to find an integrating factor and not being able to do so.

What are some common methods for solving nonexact first order ODEs?

Some common methods include separation of variables, substitution, and using an integrating factor that is not the traditional one.

Are there any tips for solving nonexact first order ODEs more efficiently?

One tip is to try different substitutions or integrating factors to see if they simplify the equation. It is also helpful to break down the problem into smaller parts and solve them separately. Additionally, practicing and becoming familiar with different techniques can make solving nonexact first order ODEs easier.

Back
Top