Is the triangle with these corners a right triangle?
Find the squared length of each side with (x2 − x1)² + (y2 − y1)². The triangle is right-angled exactly when the two smaller squared lengths add up to the largest one.
This is original written practice with invented coordinates. Squared lengths are compared, so no square roots or rounding are needed.
Find the three squared lengths, sort them, then test whether the smaller two sum to the largest
- For each pair of points, add the square of the x difference and the square of the y difference.
- Sort the three squared lengths from smallest to largest.
- If the two smaller ones add up to the largest, the triangle is right-angled, and the right angle is opposite the longest side.
- Check: recompute the longest squared length from its coordinates.
A(1, 1), B(4, 1), C(1, 5)
AB² = 3² + 0² = 9, AC² = 0² + 4² = 16 and BC² = 3² + 4² = 25. The two smaller add up to 9 + 16 = 25, which is the largest.
Check: Right-angled at A, opposite the longest side BC. The sides are 3, 4 and 5.
A(0, 0), B(5, 0), C(5, 12)
AB² = 5² + 0² = 25, BC² = 0² + 12² = 144 and AC² = 5² + 12² = 169. The two smaller add up to 25 + 144 = 169, which is the largest.
Check: Right-angled at B, opposite the longest side AC. The sides are 5, 12 and 13.
A(0, 0), B(4, 0), C(5, 3)
AB² = 4² + 0² = 16, BC² = 1² + 3² = 10 and AC² = 5² + 3² = 34. The two smaller add up to 10 + 16 = 26, but the largest is 34.
Check: 26 is not 34, so the triangle is not right-angled.
Counterexample: adding the lengths instead of the squares
For the sides 3, 4 and 5, a student checks 3 + 4 = 7 and decides the triangle is not right-angled because 7 is not 5.
The check fails. The test uses squares: 3² + 4² = 9 + 16 = 25 = 5². The triangle is right-angled, and adding plain lengths never gives the right test.
Try one yourself
Is the triangle with corners A(2, 1), B(8, 1) and C(2, 9) right-angled? Check with squared lengths.
Show the worked self-check
AB² = 6² + 0² = 36, AC² = 0² + 8² = 64 and BC² = 6² + 8² = 100. Since 36 + 64 = 100, the triangle is right-angled at A. The sides are 6, 8 and 10.
Scope and limits
- The page covers whether three points form a right triangle, using squared distances.
- It does not cover finding angles that are not right angles.
- The coordinates are invented, and each squared length is an exact whole number.
- The questions are practice, not an exam key.
Common questions
Why compare squared lengths?
The Pythagoras theorem says a triangle is right-angled when the square on the longest side equals the sum of the squares on the other two. Squared distances need no square roots.
How do I find the squared length of a side?
Subtract the x-coordinates and square, subtract the y-coordinates and square, then add. The order of subtraction does not matter, because a negative difference squares to a positive number.
Which side is opposite the right angle?
The longest side. Its squared length is the one that equals the sum of the other two, and the right angle is at the corner where the two shorter sides meet.
What if no side is horizontal or vertical?
The method is the same. Use the full difference in x and in y for every side. A tilted right triangle still has its two smaller squared lengths adding to the largest.
Sources and scope
Sources checked . They support the distance between two points and the Pythagoras theorem. The numbers, worked examples and self-check above are original EZT practice.
- NCERT Class 9 Mathematics, Chapter 1: Orienting Yourself, for the distance between two points in the 2-D plane.
- Maths Is Fun: Distance Between 2 Points, for the distance formula.