Solution of the differential equation (x + xy)dy − y(1 − x2)dx = 0 is
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(y=\log \displaystyle\frac{x}{y}-\displaystyle\frac{x^2}{2}+C\)
Taking x common on the left, the equation is variables separable:
\(x(1 + y)\,dy = y(1 - x^2)\,dx\)
\( \displaystyle \frac{1 + y}{y}\,dy = \frac{1 - x^2}{x}\,dx \)
\( \displaystyle \int\left(\frac{1}{y} + 1\right)dy = \int\left(\frac{1}{x} - x\right)dx \)
\( \displaystyle \log y + y = \log x - \frac{x^2}{2} + C \)
Moving log y to the right and using \(\log x - \log y = \log\frac{x}{y}\):
\( \displaystyle y = \log\frac{x}{y} - \frac{x^2}{2} + C \)