Solution

Prove that the points whose coordinates satisfy the equation \[x^2+y^2+2gx+2fy+c=0\] lie on a circle. State the coordinates of the centre of the circle and the length of its radius.

Completing the square gives us \[(x+g)^2-g^2+(y+f)^2-f^2=c,\] or \[\begin{equation} (x+g)^2+(y+f)^2=g^2+f^2 - c.\label{eq:1} \end{equation}\]

This looks like the standard equation of a circle, but the circle only exists if \(g^2+f^2 - c>0\).

By Pythagoras’s theorem, the distance between the points \((x_1,y_1)\) and \((x_2,y_2)\) is \[\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.\]

Taking square roots of both sides of \(\eqref{eq:1}\) gives \[\sqrt{(x+g)^2+(y+f)^2}=\sqrt{g^2+f^2 - c}\] and so the distance between points \((x,y)\) and \((-g,-f)\) is \(\sqrt{g^2+f^2 - c}\). Therefore all points which satisfy this equation are the same distance away from \((-g,-f)\), which shows they lie on a circle.

The circle has centre \((-g,-f)\) and radius \(\sqrt{g^2+f^2 - c}\).

We have explained why the points satisfying \[(x-a)^2+(y-b)^2=r^2\] lie on a circle with centre \((a,b)\) and radius \(r\); in this case, we had \(a=-g\), \(b=-f\) and \(r=\sqrt{g^2+f^2 - c}\).

In the next part of the question we can use this to quickly identify the centres and radii of the circles.

Prove that the circles \[x^2+y^2-20x-16y+128=0\] and \[4x^2+4y^2+16x-24y-29=0\] lie entirely outside each other, and find the length of the shortest distance from a point on one circle to a point on the other.

Call the first circle \(A\) and the second circle \(B\).

Circle \(A\): Using the form of the first part, \(g=-10\), \(f=-8\), \(c=128\). So \(A\) is a circle with centre \((10,8)\) and radius \(\sqrt{(-10)^2+(-8)^2-128}=\sqrt{36}=6\).

Circle \(B\): Divide the equation by \(4\) to give \[x^2+y^2+4x-6y-\frac{29}{4}=0\] which is of the same form as the first part. Then \(g=2\), \(f=-3\), \(c=-\dfrac{29}{4}\), so this is a circle with centre \((-2,3)\) and radius \(\sqrt{2^2+(-3)^2+\dfrac{29}{4}}=\sqrt{\dfrac{81}{4}}=\dfrac{9}{2}\).

The distance between the circles’ centres is, by Pythagoras’ theorem, \[\sqrt{\left(10 - (-2)\right)^2 + (8 - 3)^2} = \sqrt{169} = 13,\] but for there to be a point inside both circles, it would have to be a distance of less than \(6\) away from one centre and a distance of less than \(\dfrac{9}{2}\) from the other.

The sum of these distances, however, is only \(10.5\), less than the distance between the two centres themselves, so this cannot be.

So the circles lie entirely outside each other.

The points with the shortest distance between them are the points lying on the line joining the two centres.

To find the length of the shortest distance between the two circles consider the diagram below.

The two circles A and B. The horizontal distance between the centres is 12 and the vertical distance is 5, and a line between the centres is drawn. These three lengths form a right-angled triangle.

As calculated before, the length of the hypotenuse of the right-angled triangle in the diagram is \(13\).

Therefore the shortest distance between points on the two circles is \(13-\left(6+\dfrac{9}{2}\right)=\dfrac{5}{2}\).