Question:

The solution of the differential equation \(\frac{\mathrm{d} y}{\mathrm{~d} x}=(x-y)^2\) when \(y(1)=1\) is

Show Hint

Substitute v = x - y to get a separable equation, then use the initial condition.
Updated On: Nov 16, 2026
  • \(\mathrm{log}|\frac{2-y}{2-x}|=2(y-1)\)
  • \(-\mathrm{log}|\frac{1+x-y}{1-x+y}|=x+y-2\)
  • \(\mathrm{log}|\frac{2-x}{2-y}|=x-y\)
  • \(-\mathrm{log}|\frac{1-x+y}{1+x-y}|=2(x-1)\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept
Put \(v=x-y\), so \(\dfrac{dv}{dx}=1-\dfrac{dy}{dx}=1-v^{2}\).

Step 2: Separate and integrate
\(\int\dfrac{dv}{1-v^{2}}=\int dx\), that is \(\dfrac12\log\left|\dfrac{1+v}{1-v}\right|=x+C\).

Step 3: Use the condition
At \(x=1,\ y=1\) we get \(v=0\), so \(0=1+C\) and \(C=-1\).

Step 4: Final form
\(\log\left|\dfrac{1+x-y}{1-x+y}\right|=2(x-1)\), which can be written as \(-\log\left|\dfrac{1-x+y}{1+x-y}\right|=2(x-1)\), the fourth option.

Final Answer:
The solution is \(-\log\left|\frac{1-x+y}{1+x-y}\right|=2(x-1)\). \[ \boxed{\text{(D) }\text{(D) }-\log\left|\dfrac{1-x+y}{1+x-y}\right|=2(x-1)} \]
Was this answer helpful?
0
0