- Foundation
- About 17 min
- 5 practice questions
Using the distance formula: collinear points, triangles and quadrilaterals
Use distances to test whether points are collinear, to classify triangles and quadrilaterals, to find a point equidistant from two points and to find an unknown coordinate.
If something looks wrong, please tell us.
By the end of this lesson you can
- Test whether three points are collinear using distances.
- Decide whether points form an isosceles, equilateral or right triangle, or a square, rhombus, rectangle or parallelogram.
- Find an unknown coordinate from a given distance or from an equal-distance condition.
Once you can find any distance, many geometry questions become arithmetic. Is this triangle right-angled? Are these four points the corners of a square? Where should a well be dug so that it is equally far from two houses? Each question reduces to computing and comparing a few distances.
Collinear points
Three points A, B, C are collinear (on one straight line) when the longest of AB, BC, AC equals the sum of the other two. If the sum of the two shorter distances is greater than the longest, the points form a triangle.
Worked example 1: testing collinearity
Are A(1, 2), B(4, 6) and C(7, 10) collinear? Working: AB = √(3² + 4²) = √25 = 5. BC = √(3² + 4²) = 5. AC = √(6² + 8²) = √100 = 10. Since AB + BC = 5 + 5 = 10 = AC, the points are collinear, and B lies between A and C (in fact B is the mid-point).
Classifying triangles
Compute the three sides. Two equal sides: isosceles. Three equal sides: equilateral. If the square of the longest side equals the sum of the squares of the other two, the triangle is right-angled (converse of Pythagoras' theorem), with the right angle opposite the longest side.
Worked example 2: a right isosceles triangle
A(2, 1), B(5, 5) and C(9, 2). Working: AB = √(3² + 4²) = √25 = 5. BC = √(4² + (−3)²) = √25 = 5. AC = √(7² + 1²) = √50. So AB = BC (isosceles), and AB² + BC² = 25 + 25 = 50 = AC², so the triangle is also right-angled, at B.
Classifying quadrilaterals
| Shape | Sides | Diagonals |
|---|---|---|
| Square | All four equal | Equal |
| Rhombus (not a square) | All four equal | Unequal |
| Rectangle (not a square) | Opposite sides equal | Equal |
| Parallelogram (not a rectangle) | Opposite sides equal | Unequal |
What distances can tell you
-
Three points
- Longest = sum of others: collinear
- Otherwise a triangle
-
Triangle
- Two sides equal: isosceles
- All equal: equilateral
- Longest² = sum of other squares: right-angled
-
Four points in order
- Four equal sides: rhombus or square
- Opposite sides equal: parallelogram or rectangle
- Equal diagonals: rectangle or square
Worked example 3: a square
Show that A(−1, 2), B(2, 6), C(6, 3) and D(3, −1), taken in order, form a square. Working: AB = √(3² + 4²) = 5, BC = √(4² + (−3)²) = 5, CD = √((−3)² + (−4)²) = 5 and DA = √((−4)² + 3²) = 5. All four sides are equal. Diagonals: AC = √(7² + 1²) = √50 and BD = √(1² + (−7)²) = √50. Equal sides with equal diagonals give a square.
Equal distances and unknown coordinates
A point P is equidistant from A and B when PA = PB. Work with PA² = PB² to avoid square roots; the x² and y² terms cancel and a simple equation remains.
Worked example 4: a point on the x-axis
Find the point on the x-axis that is equidistant from A(2, 5) and B(−4, 3). Working: let P = (x, 0). PA² = (x − 2)² + 5² = x² − 4x + 4 + 25 = x² − 4x + 29. PB² = (x + 4)² + 3² = x² + 8x + 16 + 9 = x² + 8x + 25. Setting PA² = PB²: −4x + 29 = 8x + 25, so 12x = 4 and x = 1/3. P = (1/3, 0). Check: PA² = (−5/3)² + 25 = 25/9 + 225/9 = 250/9 and PB² = (13/3)² + 9 = 169/9 + 81/9 = 250/9.
Worked example 5: an unknown coordinate
The distance between (3, y) and (−1, 2) is 5 units. Find y. Working: (3 − (−1))² + (y − 2)² = 25, so 16 + (y − 2)² = 25 and (y − 2)² = 9. Then y − 2 = 3 or y − 2 = −3, giving y = 5 or y = −1. Both answers are valid: there are two such points.
Key takeaways: three points are collinear when the longest distance equals the sum of the other two. Compare sides (and use the converse of Pythagoras' theorem) to classify a triangle; compare sides and diagonals to classify a quadrilateral. For equidistant points, set the squared distances equal. A distance condition usually gives a quadratic, so expect two possible answers and keep both if both make sense.
Check your understanding
-
1. Are the points (0, 0), (3, 4) and (6, 8) collinear?
- No, because no two distances are equal
- Yes, because all three distances are equal
- Yes, because 5 + 5 = 10
- No, because 5² + 5² ≠ 10²
Show answer
Answer: C. Distances: (0, 0) to (3, 4) is 5, (3, 4) to (6, 8) is √(9 + 16) = 5, and (0, 0) to (6, 8) is √(36 + 64) = 10. The two shorter distances add up to the longest (5 + 5 = 10), so the points are collinear.
-
2. Which point on the y-axis is equidistant from (5, 2) and (−3, 6)?
- (2, 0)
- (0, −2)
- (0, 4)
- (0, 2)
Show answer
Answer: D. Let P = (0, y). 25 + (y − 2)² = 9 + (y − 6)² gives 25 + y² − 4y + 4 = 9 + y² − 12y + 36, so 29 − 4y = 45 − 12y, 8y = 16 and y = 2. P = (0, 2). Check: distance to (5, 2) is 5 and to (−3, 6) is √(9 + 16) = 5.
-
3. The distance between (x, 4) and (1, 1) is 5 units. What can x be?
- 5 or −3
- 4 or −4
- −5 or 3
- 6 or −2
Show answer
Answer: A. (x − 1)² + (4 − 1)² = 25, so (x − 1)² + 9 = 25 and (x − 1)² = 16. Then x − 1 = 4 or −4, giving x = 5 or x = −3.
-
4. What kind of triangle has vertices (0, 0), (6, 0) and (3, 3√3)?
- Scalene
- Equilateral
- Right-angled but not isosceles
- Isosceles but not equilateral
Show answer
Answer: B. The side from (0, 0) to (6, 0) is 6. From (0, 0) to (3, 3√3): √(9 + 27) = √36 = 6. From (6, 0) to (3, 3√3): √(9 + 27) = 6. All three sides are 6, so it is equilateral.
-
5. Assertion (A): The points A(−1, 2), B(2, 6), C(6, 3) and D(3, −1), taken in order, form a square. Reason (R): Each of AB, BC, CD and DA is 5 units, and both diagonals AC and BD are √50 units.
- Both Assertion (A) and Reason (R) are true, and R is the correct explanation of A
- Both A and R are true, but R is not the correct explanation of A
- A is true, but R is false
- A is false, but R is true
Show answer
Answer: A. R is true: AB = √(9 + 16) = 5, BC = √(16 + 9) = 5, CD = √(9 + 16) = 5, DA = √(16 + 9) = 5, AC = √(49 + 1) = √50 and BD = √(1 + 49) = √50. Four equal sides with equal diagonals is exactly the test for a square, so R explains A.
Sign in to keep track of the lessons you finish.