The solution of the differential equation, , when , is
- A.
- B.
- C.
- D.
Show answer and solution
Correct option: D
Solution
Let t = x - y, so dt/dx = 1 - dy/dx = 1 - t². This separable ODE gives dt/(1-t²) = dx.
Integrating: (1/2)log|(1+t)/(1-t)| = x + C, i.e., log|(1+x-y)/(1-x+y)| = 2x + C.
Applying y(1)=1: t=0 at x=1, so log(1) = 2(1) + C → C = -2.
Thus log|(1+x-y)/(1-x+y)| = 2x - 2 = 2(x-1), which is exactly -log|(1-x+y)/(1+x-y)| = 2(x-1), confirming option 4.
Integrating: (1/2)log|(1+t)/(1-t)| = x + C, i.e., log|(1+x-y)/(1-x+y)| = 2x + C.
Applying y(1)=1: t=0 at x=1, so log(1) = 2(1) + C → C = -2.
Thus log|(1+x-y)/(1-x+y)| = 2x - 2 = 2(x-1), which is exactly -log|(1-x+y)/(1+x-y)| = 2(x-1), confirming option 4.
[JEE Main 2019 · 11 Jan · Shift II]