Need Help with Differential Equation (integrating factor)

Click For Summary

Homework Help Overview

The discussion revolves around finding the integrating factor for a differential equation involving two variables, specifically the equation y^2 + y - xy' = 0. The original poster expresses difficulty in integrating a function derived from this equation.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the method of integrating factors and question the assumption that the integrating factor can depend solely on x. Some suggest making the equation separable as an alternative approach.

Discussion Status

Participants are actively engaging with the problem, with some providing alternative methods and questioning assumptions made by the original poster. There is recognition of the potential misstep in assuming the form of the integrating factor.

Contextual Notes

There is a mention of the general difficulty in solving non-linear differential equations using integrating factors, indicating a broader context of the problem's complexity.

minger
Science Advisor
Messages
1,494
Reaction score
2
Hi there, I am having a bit of difficulty finding the integration factor for the following problem. The problem lies in taking the integral of a function of two variables. Anyways, here's what I have:

[itex]y^2+y-xy'=0[/itex]
I then divided by x (i prefer it this way), so

[itex]\frac{y^2+y}{x} + y' = 0[/itex]

then, letting u be a integration factor:

[itex]\frac{duM}{dy} = \frac{duN}{dx}<br /> \\\\\Rightarrow<br /> \frac{du(y^2+y)x^{-1}}{dy} = -\frac{du}{dx}[/itex]

[itex] (\frac{du}{dy})(\frac{y^2+y}{x}) + u\frac{2y+1}{x} = -\frac{du}{dx}[/itex]
Assuming that u is a function of only x, we get rid of the u partial with y term, so:
[itex] \frac{du}{dx} = -u\frac{2y+1}{x}<br /> \\\mbox{now doing some dividing on both sides and integrating}<br /> \\<br /> \int\frac{\delta\mu}{\mu} = -\int\frac{2y+1}{x}dx[/itex]

Now this is where I'm stuck. I guess I can't remember how to integrate that right side. Can I just pull the (2y+1) term out of the integral assuming that its contant? Thanks for the help

edit: wow, this latex is really messed up. I'm working on it. The last equation, the integral is correct, and that's the most important part though.
 
Last edited:
Physics news on Phys.org
Why not just make the case separable? Seems to me a lot easier this way
[tex]y^2+y - x y^{\prime} = 0 \Rightarrow \frac{y^{\prime}}{y^2+y}=\frac{1}{x} \Rightarrow \frac{dy}{y^2+y} = \frac{dx}{x}[/tex]
and this is an easy integral to do.
 
You can't integrate that last integral precisely because in has y in it. Your assumption that the integrating factor u could be a function of x only is incorrect.

As xman pointed out, this is obviously a separable equation. (Which is the same as saying that
[tex]\frac{1}{x(y^2+ y)}[/tex]
is an integrating factor.)
 
wow, I cannot believe that I missed that. It was in the integrating factor section, so I just assumed it to be of that form.

I feel like an idiot, thanks a lot.
 
Note that usually, non-linear diff.eqs rarely can be solved by methods of finding integrating factors.
That is, the method of finding an integrating factor is mainly of use for solving linear diff. eqs.

On special occasions, though, you may succeed..
 

Similar threads

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