The solution of the differential equation \((x+1)\displaystyle\frac{dy}{dx}=1+y\) is
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\displaystyle\frac{x+1}{y+1}=C\)
Separating the variables:
\( \displaystyle \frac{dy}{1+y} = \frac{dx}{1+x} \)
Integrating both sides, with the constant written as a logarithm:
\(\log|1+y| = \log|1+x| + \log|k|\)
\(1+y = k(1+x)\)
Dividing by \(k(1+y)\) and writing C for \(\frac{1}{k}\):
\( \displaystyle \frac{x+1}{y+1} = C \)