The general solution of the differential equation \((1+y)\,dx-2x\,dy=0\) is:
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(x=C(1+y)^2\), where C is constant of integration
The variables can be separated:
\((1+y)\,dx = 2x\,dy\)
\( \displaystyle \frac{dx}{x} = \frac{2\,dy}{1+y} \)
Integrating both sides:
\(\log|x| = 2\log|1+y|+\log|C|\)
\(\log|x| = \log|C(1+y)^2|\)
\(x = C(1+y)^2\)