If y = y(x), 0 < y < 1, is the solution of the differential equation \(\displaystyle\frac{dy}{dx} = y(1 - y)\) with \(y(0) = \frac{1}{2}\), then the value of y at x = log 3 is
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\displaystyle\frac{3}{4}\)
By separation of variables:
\( \displaystyle \frac{dy}{y(1 - y)} = dx \)
By partial fractions:
\( \displaystyle \frac{1}{y(1 - y)} = \frac{1}{y} + \frac{1}{1 - y} \)
Integrating (with 0 < y < 1):
\( \log y - \log(1 - y) = x + C \)
\( \displaystyle \log\frac{y}{1 - y} = x + C \)
At x = 0, \(y = \frac{1}{2}\), so \(\log 1 = C\) and C = 0. Hence
\( \displaystyle \frac{y}{1 - y} = e^{x} \)
At x = log 3, \(e^{x} = 3\):
\( y = 3(1 - y) \)
\( 4y = 3 \), so \( \displaystyle y = \frac{3}{4} \)
Why the other options are incorrect
Option (1) \(\displaystyle\frac{1}{4}\) — Incorrect. This comes from \(\frac{y}{1 - y} = e^{-x}\), a sign slip in \(\int \frac{dy}{1 - y} = -\log(1 - y)\); since dy/dx > 0, y must increase above \(\frac{1}{2}\).
Option (2) \(\displaystyle\frac{3}{2}\) — Incorrect. This is \(\frac{1}{2}e^{x}\), the solution of dy/dx = y; it also breaks the condition y < 1.
Option (4) \(\displaystyle\frac{2}{3}\) — Incorrect. With \(\frac{y}{1 - y} = 3\), y = 2/3 gives \(\frac{2/3}{1/3} = 2\), not 3.