A circle is drawn touching the x-axis and centre at the point which is the reflection of
(a,b) in the line y−x=0 . The equation of the circle is
x2+y2−2bx−2ay+a2=0
x2+y2−2bx−2ay+b2=0
x2+y2−2ax−2by+b2=0
x2+y2−2ax−2by+a2=0
The reflection of (a,b) in the line y=x is (b,a)
: Equation of circle having centre at b,a and touching x-axis is (x−b)2+(y−a)2=a2⇒x2+b2−2bx+y2+a2−2ay=a2⇒x2+y2−2bx−2ay+b2=0