A circle of radius $r$ passes through the origin $O$ and cuts the axes at $A(a,0)$ and $B(0,b)$. What is the locus of the foot of perpendicular from $O$ to $AB$?
I found the equation of circle passing through $A$, $B$ and $O$ and then found $k/a=h/b$ (taking the foot as $(h,k)$). I also found that $a^2+b^2=4r^2$. What's next?