# Integrating Factor and the Exact Equation $(y-\frac{1}{x})dx+\frac{1}{y}dy=0$.

$$(y - \frac{1}{x})dx + \frac{1}{y}dy = 0 \,\,\, , \,\,\, y(\sqrt[]{2}) = \sqrt[]{2}$$

So I need to find the integrating factor. $\frac{M_y - N_x}{N} = \frac{1 - 0}{0}$ which we cannot have so that leaves us with only $\frac{N_x - M_y}{M} = -1$. This last condition says if the result is dependent on $y$, then the integrating factor is $u(y) = exp(\int \frac{N_x - M_y}{M})$, but our result was a constant. It relies neither on $x$ or $y$. What now?

You have some mistakes, you should divide over $N$, but you divide over $N_y$. this is the correct one $$\frac{M_y - N_x}{N} = y$$ Which is not a function of $x$. So we rewrite the equation as $$y - \frac{1}{x} + \frac{1}{y}\frac{dy}{dx} = 0 \\ \frac{dy}{dx} - \frac{1}{x}y = y^2$$
• Ah, yes of course. Still though, we needed for $\frac{M_y - N_x}{N}$ to be dependent on $x$, not $y$. – nomlelyn Feb 9 '14 at 23:48