Two equal circles with their centres on x and y axis will possess the radical axis in the following form
ax−by−a2+b24=0
2gx−2fy+g2−f2=0
g2x+f2y−g4−f4=0
2g2x+2f2y−g4−f4=0
Let (x−a)2+(y−0)2=r2 and x2+(y−b)2=r2
be two equal circles with their centres on x and y axes respectively.
Then, their radical axis is given by
−2ax+a2+2by−b2=0
⇒2ax−2by+b2−a2=0
Clearly, is of the form 2gx−2fy+g2−f2=0