Find the general solution for the differential equation $\text{ydx+}\left( \text{x-}{{\text{y}}^{\text{2}}} \right)\text{dy=0}$.
Show solutionHide solution
Ans: The given differential equation is:
$ydx+\left( x-{{y}^{2}} \right)dy=0$
$\Rightarrow \frac{dx}{dy}=\frac{{{y}^{2}}-x}{y}$
$\Rightarrow \frac{dx}{dy}+\left( \frac{1}{y} \right)x=y$
It is differential equation of the form $\frac{\text{dx}}{\text{dy}}\text{+px=Q}$, with:
$p=\frac{1}{y}$
$Q=y$
Calculate the integrating factor:
\[I.F={{e}^{\int pdy}}\]
$\Rightarrow I.F={{e}^{\int \frac{1}{y}dy}}$
$\Rightarrow I.F={{e}^{\log y}}$
$\Rightarrow I.F=y$
General solution is of the form:
$x\left( I.F \right)=\int \left( Q\times I.F \right)dy+C$
$\Rightarrow x\left( y \right)=\int \left( y \right)\left( y \right)dy+C$
$\Rightarrow xy=\int {{y}^{2}}dy+C$
$\Rightarrow xy=\frac{{{y}^{3}}}{3}+C$
$\Rightarrow x=\frac{{{y}^{2}}}{3}+\frac{C}{y}$
The general solution for given differential equation is $\text{x=}\frac{{{\text{y}}^{\text{2}}}}{\text{3}}\text{+}\frac{\text{C}}{\text{y}}$.