Suppose we are given four concyclic points or two lines which intersect the axes in concyclic points. Many a times, one point has a variable as a co-ordinate. Suppose the concyclic points are $(a_1,0),\;(a_2,0),\;(0,b_1),\;(0,b_2)$. Then, the relation between them is $$a_1a_2=b_1b_2$$ (Though I don't know how it can be proved.)
Now, knowing the four points, is there any direct way to find the equation of the circle? Or do we have to find the '$g$', the '$f$', and the '$c$' of the equation $x^2+y^2+2gx+2fy+c=0$ using those points?
Note: You can't pass a circle through any arbitrary four points. However, the formula for a circle to go through any three points is fairly simple. The condition for the fourth point to be on this circle is also simple.
If you do not have the formula for circle through three points, here is the method. If the center is at $(c_x, c_y)$ and radius is $R$
$$ (P_{1x}-c_x)^2 + (P_{1y}-c_y)^2 = R^2 \tag 1 $$ $$ (P_{2x}-c_x)^2 + (P_{2y}-c_y)^2 = R^2 \tag 2 $$ $$ (P_{3x}-c_x)^2 + (P_{3y}-c_y)^2 = R^2 \tag 3 $$
Subtract (1) from (2) to get $$ P_{2x}^2 - P_{1x} + 2 (P_{1x}-P_{2x} )c_x P_{2y}^2 - P_{1y} + 2 (P_{1y}-P_{2y} )c_y = 0 \tag 4$$ Similarly (3)-(1) gives $$ P_{3x}^2 - P_{1x} + 2 (P_{1x}-P_{3x})c_x P_{3y}^2 - P_{1y} + 2 (P_{1y}-P_{3y}) c_y = 0 \tag 5$$
(4) and (5) are linear and you can solve for $c_x$ and $c_y$ (Here you will see that for a solution to exist, the three points can't be collinear).
Once you have $c_x$ and $c_y$ you can solve for $R$ from any of the equation (1),(2), (3). You can then see the condition for the 4th point to be on the cirlce.
BTW, if the three points are $(a_1,0)$, $(a_2,0)$, $(0, b_1)$, then the equation (4) and (5) are very simple and it is easy to see the condition for $(0,y)$ to be on the circle.