Question:

The general solution of the differential equation \( \frac{dy}{dx} = xy - 2x - 2y + 4 \) is:

Show Hint

In solving separable differential equations, always aim to rearrange the equation to isolate the differentials on opposite sides. Integration then typically leads to a direct relationship or an implicit function defining \(y\) in terms of \(x\).
Updated On: Mar 12, 2025
  • \(\frac{1}{(y-2)^2} = \frac{(x-2)^2}{2} + C\)
  • \(\log_e|y-2| = \frac{(x-2)^2}{2} + C\)
  • \((y-2)^2 = \frac{(x-2)^2}{2} + C\)
  • \(\log_e|y-2| = C\)
  • \(\log_e|y-2| = (x-2)^2 + C\)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

First, rearrange the differential equation to group terms with \(x\) and \(y\): \[ \frac{dy}{dx} = x(y - 2) - 2(y - 2) \] \[ = (x - 2)(y - 2) \] Separating variables and integrating, we have: \[ \frac{dy}{y - 2} = (x - 2) dx \] Integrate both sides: \[ \int \frac{1}{y-2} dy = \int (x-2) dx \] \[ \log_e|y-2| = \frac{(x-2)^2}{2} + C \] Thus, the integral transforms into a logarithmic relationship between \(y - 2\) and a quadratic expression in \(x - 2\), simplified to match the form of option (B).
Was this answer helpful?
0
0