Question:hard

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

The Correct Option is D

Solution and Explanation

Step 1: Check the initial condition
At $(1,1)$: the fourth option gives $-\log\left|\dfrac{1}{1}\right|=0=2(0)$, which holds.

Step 2: Differentiate the option
With $v=x-y$, the option says $\log\left|\dfrac{1+v}{1-v}\right|=2x-2$.
Differentiating gives $\dfrac{2v'}{1-v^{2}}=2$, so $v'=1-v^{2}$.

Step 3: Conclusion
Since $v'=1-y'$, we get $y'=v^{2}=(x-y)^{2}$, which is the given equation.

Final Answer:
The fourth option satisfies both the equation and the condition. \[ \boxed{\text{(D) }\text{(D) }-\log\left|\dfrac{1-x+y}{1+x-y}\right|=2(x-1)} \]
Was this answer helpful?
0