x2+y2=4
x2+y2−8x+7=0⇒(x−4)2+y2=(3)2
According to question point P lies in the region ABCD, and for it to cover maximum distance - the point has to travel along a circle with maximum diameter.
Hence with AB as diameter A(1,0) and B(2,0) - the mid-point is [(1+2)2,0a]=(1.5,0) or (32,0) with radius =12; the equation will be
(x−32)2+(y−0)2=(12)2 [∵(x−a)2+(y−b)2=r2]⇒x2−3x+94+y2=14⇒x2+y2−3x+2=0.