GATE 2020 EC – Question 37
Which one of the following options contains two solutions of the differential equation $\dfrac{dy}{dx}=(y-1)x$?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $\ln|y-1|=0.5x^2+C$ and $y=1$
Explanation
Separating variables, $\frac{dy}{y-1}=x\,dx$ gives $\ln|y-1|=\frac{x^2}{2}+C$. The constant function $y=1$ also satisfies the equation, since both sides are zero. $y=-1$ does not.