Algebra › Section K · Conics › Topic K.1

Distance, midpoint, and circles

Coordinates give every point in the plane an address — and once points have addresses, geometric questions become arithmetic. The distance between two points is Pythagoras in disguise, the midpoint is an average, and a circle is the distance formula set equal to a constant.

Where geometry gets its address

The coordinate plane turns geometry into algebra: every point becomes an ordered pair \((x, y)\), so questions like 'how far apart are these two points?' and 'what lies exactly halfway between them?' stop being drawings and start being formulas. This topic builds the two-point toolkit — the distance formula and the midpoint formula — and then puts it to work on the first curve it can fully describe: the circle, a shape defined entirely by a fixed distance from a centre.

Distance: Pythagoras with an address

The distance between \((x_1, y_1)\) and \((x_2, y_2)\) is \(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\). It is not a new rule — it is the Pythagorean theorem applied to the horizontal and vertical gaps between the points, which form the legs of a right triangle with the connecting segment as the hypotenuse. From \((-3, -2)\) to \((5, 13)\): the horizontal gap is \(5 - (-3) = 8\), the vertical gap is \(13 - (-2) = 15\), so \(d = \sqrt{64 + 225} = \sqrt{289} = 17\). Because the gaps get squared, it never matters which point is subtracted from which.

Midpoint: the average point

The midpoint of the segment joining \((x_1, y_1)\) and \((x_2, y_2)\) is \(\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)\) — average each coordinate. For \((-3, -2)\) and \((5, 13)\): the midpoint is \(\left(\frac{2}{2}, \frac{11}{2}\right) = (1, 5.5)\). The midpoint is the balance point of the segment, equidistant from both ends, so it is exactly half the trip in each direction — one coordinate at a time. Note what the midpoint is not: it is not half the distance (that would be \(8.5\) here), and it is not found by halving the sums — the sums themselves must be halved.

Circles: the distance formula, frozen

A circle is the set of all points a fixed distance \(r\) — the radius — from a centre \((h, k)\). Applying the distance formula from the centre to a general point \((x, y)\) and squaring gives the standard form: \((x - h)^2 + (y - k)^2 = r^2\). Reading a circle from its equation is pure decoding: \((x + 4)^2 + (y - 1)^2 = 36\) has centre \((-4, 1)\) — the signs flip — and radius \(\sqrt{36} = 6\), never 36. The right-hand side is the radius squared, which is why taking its square root is the last step of every decoding.

Worked example: a circle through a point

Find the equation of the circle with centre \((2, -3)\) that passes through \((5, 1)\). The radius is the distance from the centre to that point, so use the distance formula: the gaps are \(5 - 2 = 3\) and \(1 - (-3) = 4\), giving \(r = \sqrt{9 + 16} = 5\). Now build the standard form: \((x - 2)^2 + (y + 3)^2 = 25\). Check by substituting the given point: \((5-2)^2 + (1+3)^2 = 9 + 16 = 25\) — the point really is on the circle. Distance formula in, circle equation out.

General form: complete the square twice

Circle equations often arrive expanded as \(x^2 + y^2 + Dx + Ey + F = 0\). To recover the centre and radius, complete the square in \(x\) and in \(y\) — both variables, every time. For \(x^2 + y^2 - 6x + 4y - 12 = 0\): regroup as \((x^2 - 6x) + (y^2 + 4y) = 12\), add \(9\) and \(4\) to both sides — \(\left(\tfrac{6}{2}\right)^2\) and \(\left(\tfrac{4}{2}\right)^2\) — giving \((x - 3)^2 + (y + 2)^2 = 25\). Centre \((3, -2)\), radius 5. The completing-the-square constant always comes from half the linear coefficient, squared — one per variable.

Worked example: a hike measured by coordinates

A trail runs straight from a campsite at \((3, -1)\) to a ranger station at \((8, 11)\), with units in kilometres. How long is the trail, and where would a rest stop at its halfway point sit? The distance: gaps of \(5\) and \(12\) kilometres, so \(d = \sqrt{25 + 144} = \sqrt{169} = 13\) km. The halfway point is the midpoint: \(\left(\frac{3 + 8}{2}, \frac{-1 + 11}{2}\right) = (5.5, 5)\). Two coordinate questions, two formulas, one clean application — and the rest stop lands exactly 6.5 km from each end.

Common mistakes to avoid

First, reading the centre as \((4, 1)\) from \((x + 4)^2 + (y - 1)^2\) — the standard form subtracts \(h\) and \(k\), so the signs in the brackets flip. Second, reporting the radius as the right-hand side: \(r^2\) is in the equation, so the radius of \(\ldots = 36\) is 6, and of \(\ldots = 25\) is 5. Third, completing the square in only one variable of a general-form circle. Fourth, forgetting to add the completing constants to both sides, which silently changes the circle. Fifth, swapping the midpoint coordinates — average \(x\) with \(x\) and \(y\) with \(y\), never across.

Key takeaways

The distance formula \(d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\) is the Pythagorean theorem applied to the coordinate gaps, and the subtraction order never matters because the gaps are squared. The midpoint averages the coordinates: \(\left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right)\). A circle with centre \((h, k)\) and radius \(r\) is \((x - h)^2 + (y - k)^2 = r^2\) — signs flip when reading the centre, and the right-hand side must be square-rooted for the radius. A centre-and-point problem is a distance problem in disguise, and an expanded circle equation yields to completing the square in both variables. One formula, three tools: measure segments, halve them, and sweep out circles.

Flashcards

Flashcard

Distance formula

d = √((x₂ − x₁)² + (y₂ − y₁)²)

Pythagoras on the coordinate gaps.

Test your understanding

Question 1 of 5

What is the distance between the points (−3, −2) and (5, 13)?

Question 2 of 5

What is the midpoint of the segment from (−3, −2) to (5, 13)?

Question 3 of 5

Identify the centre and radius of the circle (x + 4)² + (y − 1)² = 36.

Question 4 of 5

The circle x² + y² − 6x + 4y − 12 = 0 is rewritten in standard form. What are its centre and radius?

Question 5 of 5

Find the equation of the circle with centre (2, −3) that passes through the point (5, 1).

← Previous topicNext topic →