The GATE Grind

GATE 2020 EC – Question 37

Engineering Mathematics · Differential Equations · 2 marks · Multiple choice

Which one of the following options contains two solutions of the differential equation $\dfrac{dy}{dx}=(y-1)x$?

  1. $\ln|y-1|=0.5x^2+C$ and $y=1$
  2. $\ln|y-1|=2x^2+C$ and $y=1$
  3. $\ln|y-1|=0.5x^2+C$ and $y=-1$
  4. $\ln|y-1|=2x^2+C$ and $y=-1$

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

Separate the variables: $\dfrac{dy}{y-1}=x\,dx$, so $\ln|y-1|=\dfrac{x^2}2+C$ (coefficient $0.5$).

The constant function $y=1$ also satisfies the equation, since both sides become 0 (it is the case $y-1=0$ that was divided out). The function $y=-1$ gives $0\ne(-2)x$, so it is not a solution.

So the two solutions are $\ln|y-1|=0.5x^2+C$ and $y=1$.

More Differential Equations questions

All Differential Equations questions →