Consider the differential equation \(\displaystyle\frac{dy}{dx}=\frac{y+1}{x+1}\), and y = 0 when x = 2. The value of y at x = 3 is:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{1}{3}\)
The equation is variables separable:
\( \displaystyle \int\frac{dy}{y+1} = \int\frac{dx}{x+1} \)
\(\log|y+1| = \log|x+1| + \log c\)
\(y + 1 = c(x+1)\)
Putting y = 0, x = 2:
\(1 = 3c\)
\( \displaystyle c = \frac{1}{3} \)
At x = 3:
\( \displaystyle y + 1 = \frac{1}{3}(3+1) = \frac{4}{3} \)
\( \displaystyle y = \frac{1}{3} \)