How to find proper integrating factor to solve non-separable differential equation $(2x^2+\frac{x}{y^2})dx+(\frac{x^3}{y}-\frac{x^2}{y^3})dy=0$.

229 Views Asked by At

I try to solve the following differential equation:

\begin{equation} \left(2x^2 + \frac{x}{y^ 2}\right)dx + \left(\frac{x^3}{y}-\frac{x^2}{y^3}\right)dy = 0 \end{equation}

\begin{equation} \left(\frac{2x^2y^ 2 + x}{y^ 2}\right)dx + \left(\frac{x^3y^2-x^2}{y^3}\right)dy = 0 \end{equation}

I first tried to check if its separable by rearranging and simplifying terms

\begin{equation} \left(\frac{y(2xy^2 +1)}{x(xy^2-1)}\right) dx = dy \end{equation}

But it did not work so unless I made a mistake its a non-separable differential equation. I learned that to solve these I need to use integrating factors. Could someone please explain me how to know select the proper integrating factor to use? Thanks in advance

1

There are 1 best solutions below

12
On BEST ANSWER

With multiplying factor $x^ay^b$ in equation and finding $a$ and $b$ the integrating factor is $$\mu=\color{blue}{\dfrac{y}{x}}$$

Alternative method: Drop a $x$ of equation, then $$ \left(2x + \frac{1}{y^ 2}\right)dx + \left(\frac{x^2}{y}-\frac{x}{y^3}\right)dy = 0 $$ and rearranging gives $$2x\ dx + \frac{x^2}{y}\ dy+ \frac{y dx-x dy}{y^3}=0$$ $$2xy\ dx + x^2\ dy+ y\dfrac{1}{y}d\left(\frac{x}{y}\right)=0$$ $$d(x^2y)+d\left(\frac{x}{y}\right)=0$$ $$x^2y+\left(\frac{x}{y}\right)=C$$