How can I find the integrating factor for this non-exact differential equation?

Click For Summary

Homework Help Overview

The discussion revolves around finding an integrating factor for a non-exact differential equation represented by the initial value problem (x - xy) + (y + x²) dy/dx = 0, with the initial condition y(0)=2. Participants explore the nature of integrating factors, particularly those of the form u = u(x² + y²), and the implications of absolute values in the context of the problem.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss the calculation of the integrating factor and the implications of using absolute values in the expression. There is inquiry into whether different forms of the integrating factor yield the same general solution. Some participants suggest testing assumptions about the behavior of solutions near critical points, such as y=1.

Discussion Status

The discussion is active, with participants sharing their findings and questioning the validity of their approaches. Some guidance has been offered regarding the nature of integrating factors and the process of testing different forms. There is an ongoing exploration of the implications of assumptions made about the function and its behavior.

Contextual Notes

Participants note the initial condition y(0)=2, which leads to considerations about the behavior of the solutions in relation to the line y=1. The discussion also reflects on the constraints of the problem, particularly regarding the form of the integrating factor and the necessity of ensuring the equation becomes exact.

kingwinner
Messages
1,266
Reaction score
0
1) Solve the initial value problem (x - xy) + (y + x2) dy/dx = 0, y(0)=2
Hint: The ODE is not exact, but can be made exact. There exists an integrating factor of the form u=u(x2+y2)


M(x,y) + N(x,y) y' = 0

Omitting the hint, I found out that
(Nx - My) / M = 3 / (1-y) which is just a function of y

So u(y) = exp∫ 3 / (1-y) dy = 1 / |1-y|3 must be an integrating factor which can make the given ODE exact.

But how can I cope with the absolute value? I can't integrate until I can get rid of it. Now, if I just take one of u(y) = 1 / (1-y) or u(y) = 1 / (y-1), is that OK? Will I be getting the same general solution?

Another thing is that the initial condition is x=0, y=2>1, so must we take u(y) = 1 / (y-1) and not u(y) = 1 / (1-y)?



Secondly, I am very interested in what integrating factor the hint is referring to, what does it mean and how can I find it?



Can someone help? I would really appreciate!:smile:
 
Last edited:
Physics news on Phys.org
Can somebody please help me?
 
kingwinner said:
1) Solve the initial value problem (x - xy) + (y + x2) dy/dx = 0, y(0)=2
Hint: The ODE is not exact, but can be made exact. There exists an integrating factor of the form u=u(x2+y2)


M(x,y) + N(x,y) y' = 0

Omitting the hint, I found out that
(Nx - My) / M = 3 / (1-y) which is just a function of y

So u(y) = exp∫ 3 / (1-y) dy = 1 / |1-y|3 must be an integrating factor which can make the given ODE exact.

But how can I cope with the absolute value? I can't integrate until I can get rid of it. Now, if I just take one of u(y) = 1 / (1-y) or u(y) = 1 / (y-1), is that OK? Will I be getting the same general solution?
Did you try it and see?


Another thing is that the initial condition is x=0, y=2>1, so must we take u(y) = 1 / (y-1) and not u(y) = 1 / (1-y)?
Again, why not try it? Certainly one would suspect, since you would up with a "1- y" in the denominator, that solutions will not cross the line y= 1. You might check to see if that is true. If so, then, since y(0)> 1 you could assume that 1-y is always negative and |1- y|= y- 1.



Secondly, I am very interested in what integrating factor the hint is referring to, what does it mean and how can I find it?
For the third time try- don't be afraid to just plug things in and see what happens. If v(x,y) is an "integrating factor", then multplying by it makes the equation exact. If you think that the integrating factor is a function of x^2+ y^2, try multiplying by f(x^2+ y^2) and see what happens.

(x - xy)f(x^2+ y^2) + (y + x^2)f(x^2+ y^2) dy/dx = 0
Now M= (x- xy)f(x^2+ y^2) so M_x= (1- y)f + (x- xy)(2x)f' and M_y= (x^2+ y^2)+(y+ x^2)(2y)f'. Set those equal and solve for f.


Can someone help? I would really appreciate!:smile:
 
HallsofIvy said:
Did you try it and see?
Yes, I got the same answer no matter I take |1-y|=1-y or |1-y|=y-1. In general, will they always be the same? (If so, then I don't have to waste time checking both cases every time)



Again, why not try it? Certainly one would suspect, since you would up with a "1- y" in the denominator, that solutions will not cross the line y= 1. You might check to see if that is true. If so, then, since y(0)> 1 you could assume that 1-y is always negative and |1- y|= y- 1.
OK, so for this entire question, we should take |1- y|= y - 1



For the third time try- don't be afraid to just plug things in and see what happens. If v(x,y) is an "integrating factor", then multplying by it makes the equation exact. If you think that the integrating factor is a function of x^2+ y^2, try multiplying by f(x^2+ y^2) and see what happens.

(x - xy)f(x^2+ y^2) + (y + x^2)f(x^2+ y^2) dy/dx = 0
Now M= (x- xy)f(x^2+ y^2) so M_x= (1- y)f + (x- xy)(2x)f' and M_y= (x^2+ y^2)+(y+ x^2)(2y)f'. Set those equal and solve for f.
You mean Ny, right?
f is a function of two variables, x and y, so this should give rise to a "partial" differential equation, right? But when you write only f on the last line, it seems like just one variable, is this a valid step?
So in order to find the integrating factor u(x2+y2), I need to solve another ODE, right?
 
Last edited:
No, you do not get a partial differential equation. f is a function of a single variable, say f(u), and we have replaced u by x2+ y2.
The derivate, with respect to x, of f(x2+ y2), is 2x f ' (x2+ y2 where f ' is the ordinary derivative of f. I have used the chain rule: df/dx= (df/du)(du/dx).
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
7
Views
2K
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K