[Math] Find the equation of a circle which is tangent to $y$-axis at a given point and cuts a chord of given length on the $x$-axis

analytic geometrycircles

How to find the equation of the circle which touches $y$ axis at $(0,3)$ and cuts a chord of length $8$ on the $x$ axis?

It should look like this:

enter image description here

My approach:

Since the circle touches $y$ axis at $(0,3)$, its center has $y$-coordinate $3$. So the equation of the circle is of the form $(x-r)^2+(y-3)^2=r^2$.

How can I proceed further by using the fact that the circle passes through $(a,0)$ and $(b,0)$ with $b-a=8$? Anyway this would be very long. Is there some alternative?

Best Answer

HINT:

For $x$ intercept $y=0$

Setting $y=0, x^2-2xr+9=0$

If the circle cuts $x$ axis at $(x_1,0);(x_2,0)$ where $x_1\ge x_2$

We have $x_1-x_2=8$ and $\displaystyle x_1+x_2=2r,x_1x_2=9$

Use $\displaystyle (x_1-x_2)^2=(x_1+x_2)^2-4x_1x_2$ to find $r$