We know that the equation of a circle with center at (h,k) is,
(x−h)2+(y−k)2=r2
Now, this circle passes through (2,−2). Then
(2−h)2+(−2−k)2=r2
h2+k2−4h+4k+8=r2
Again, this circle passes through (3,4). Then
(3−h)2+(4−k)2=r2
h2+k2−6h−8k+25=r2
Subtracting the above results, we have
2h+12k=17 …… (1)
Now, the center lies on x+y=2. So,
h+k=2 ….. (2)
Solving equations (1) and (2), we get
h=710 and k=1310
Put values of (h,k) in the first expression.
(2−710)2+(−2−1310)2=r2
r2=169+1089100
r=√125810
Therefore, equation of the circle is,
(x−710)2+(y−1310)2=1258100
Hence, this is the required equation.