The equation of all circles through the origin and having their centres on the X-axis is (x−g)2+(y−0)2=g2 ⇒x2+y2−2gx=0.....(i)
On differentiating equation (i) w.r.t. x, we get 2x+2ydxdy−2g=0 ⇒2g=2(x+ydxdy)
On putting the value of 2g in Eq. (i), we get x2+y2−2(x+ydxdy)x=0 ⇒y2−x2−2xydxdy=0 ⇒y2=x2+2xydxdy