We are told that the slope of the tangent to the required curve is given by the derivative formula
dxdy=x22y.
To find the equation of the curve, we first separate the variables. Bringing all the terms involving y to one side and those involving x to the other, we have
y1dy=x22dx.
Now we integrate both sides. The standard integral formulas to be used are:
∫y1dy=ln∣y∣+C1,∫x−2dx=−x−1+C2.
Applying these, we obtain
∫y1dy=∫x22dx,
so
ln∣y∣=2∫x−2dx=2(−x−1)+C,
which simplifies to
ln∣y∣=−x2+C.
Here C is the constant of integration. We next determine this constant by using the given condition that the curve passes through the centre of the circle
x2+y2−2x−2y=0.
To find the centre, we complete the square:
x2−2x+y2−2y=0⟹(x−1)2−1+(y−1)2−1=0⟹(x−1)2+(y−1)2=2.
Hence the centre is (1,1). Because the required curve passes through this point, we substitute x=1,y=1 into the relation ln∣y∣=−x2+C:
ln∣1∣=−12+C.
Since ln∣1∣=0, we get
0=−2+C⟹C=2.
Therefore the equation obtained after integration becomes
ln∣y∣=2−x2.
We now multiply both sides by x to clear the denominator:
xln∣y∣=2(x−1).
This matches Option B:
xloge∣y∣=2(x−1).
Hence, the correct answer is Option B.