# Help with an Ordinary Differential Equation

The following problem is from a text book on differential equations but it is not an homework problem.

Problem: Solve the following differential equation by first finding an integrating factor: \begin{equation*} (5xy + 4y^2 + 1) dx + ( x^2 + 2xy) dy = 0 \end{equation*}

I have no idea on how to find an integrating factor. I am hoping somebody here can help me. I thank the group in advance for their responses.

Bob

We guess that the integrating factor will be $I(x)$, a function of $x$ only. After multiplying by $I(x)$, the equation will be exact if $$\frac{\partial}{\partial y}\bigl((5xy+4y^2+1)I(x)\bigr)=\frac{\partial}{\partial x}\bigl((x^2+2xy)I(x)\bigr)\ .$$ If you do the differentiations and simplify, you should end up with $$\frac{dI}{dx}=\frac{3I}{x}\ .$$ You can solve this to find an integrating factor.

• David, I worked out your differential equation and found that: I=e^(cx^3) which is not a valid integrating factor. I am thinking that the integrating factor is not a function of x alone.
– Bob
Jun 18, 2014 at 2:00
• I think you need to check your solution for $I$, you should have got $x^3$ not $e^{x^3}$. Jun 18, 2014 at 2:21
• You are right, it is $x^3$.
– Bob
Jun 18, 2014 at 23:24

If this equation is not exact, you can find an integrate factor by

$\mu = \dfrac{\frac{{\partial}M}{{\partial}y} - \frac{{\partial}N}{{\partial}x}}{M}$

• My text book says that an integrating factor can be found as suggested by user115595 but it says to use that method only if u depends upon x only. However, in this case, u is going to depend on both and x and y. Therefore, it is my understanding that the solution suggested by user115595 is wrong. Is there something I am missing?
– Bob
Jun 18, 2014 at 1:53