01 · Learn the idea
A slanted distance is the hypotenuse of a right triangle
Some distances on the coordinate plane are easy. From (1, 1) to (4, 1) you move straight across, so you can count the squares: 3 units. From (4, 1) to (4, 5) you move straight up: 4 units.
A slanted distance is harder, because the segment cuts across the squares. Take A (1, 1) and B (4, 5). You cannot count squares along the segment AB.
So build a right triangle. From A, go straight across until you are under B. That point is C (4, 1). Then go straight up from C to B. The horizontal segment AC and the vertical segment CB meet at a right angle at C, because grid lines cross at right angles. They are the legs of a right triangle, and AB is its hypotenuse.
Now use the Pythagorean Theorem, a² + b² = c². The legs are 3 and 4, so 3² + 4² = 9 + 16 = 25. Then c² = 25, and c = 5. The distance from A to B is 5 units.
You could also put the right angle at (1, 5), above A and level with B. That triangle has the same two leg lengths, so the distance comes out the same.
a² + b² = c²
02 · Build understanding
Worked example: points with negative coordinates
Find the distance between (−3, −2) and (3, 6).
Step 1: Place the right angle. Go straight across from (−3, −2) until you are under (3, 6). You stop at (3, −2). That point has the x-coordinate of one point and the y-coordinate of the other.
Step 2: Find the horizontal leg. It runs from x = −3 to x = 3. Count the squares, or subtract: 3 − (−3) = 6 units.
Step 3: Find the vertical leg. It runs from y = −2 to y = 6. That is 6 − (−2) = 8 units.
Step 4: Use the Pythagorean Theorem. 6² + 8² = 36 + 64 = 100, so c² = 100.
Step 5: Take the square root, because c² is the square of the distance. c = √100 = 10. The distance is 10 units.
Step 6: Check that the answer is sensible. The hypotenuse is the longest side, so it should be longer than the 8-unit leg. It should also be shorter than walking both legs, 6 + 8 = 14 units. 10 is between 8 and 14.
03 · Build understanding
Worked example: a distance that is not a whole number
Find the distance between (−1, 4) and (3, −2).
Step 1: Place the right angle at (3, 4), level with the first point and above the second.
Step 2: Find the legs. The horizontal leg runs from x = −1 to x = 3, which is 3 − (−1) = 4 units. The vertical leg runs from y = −2 to y = 4, which is 4 − (−2) = 6 units.
Step 3: Use the Pythagorean Theorem. 4² + 6² = 16 + 36 = 52, so c² = 52.
Step 4: Take the square root. 52 is not a perfect square, so the exact distance is √52 units.
Step 5: Estimate it. 7² = 49 and 8² = 64, so √52 is between 7 and 8, and much closer to 7. Since 7.2² = 51.84, the distance is about 7.2 units.
Step 6: Check. The answer is longer than the longer leg, 6, and shorter than 4 + 6 = 10.
04 · Build understanding
Worked example: across town
A town map uses a coordinate grid where each unit is 1 block. The school is at (1, 2) and the pool is at (10, 14). A bird flies in a straight line from the school to the pool. How many blocks does it fly?
Step 1: Place the right angle at (10, 2). That is the street corner straight east of the school and straight south of the pool.
Step 2: Find the legs. East: 10 − 1 = 9 blocks. North: 14 − 2 = 12 blocks.
Step 3: Use the Pythagorean Theorem. 9² + 12² = 81 + 144 = 225, so c² = 225.
Step 4: Take the square root. √225 = 15, so the bird flies 15 blocks.
Step 5: Check against the streets. Someone walking has to go 9 blocks east and 12 blocks north, which is 21 blocks. The straight flight should be shorter, and 15 is 6 blocks shorter.
05 · Build understanding
Mistakes to watch for
Adding the legs. From (1, 1) to (4, 5) the legs are 3 and 4. Adding gives 7, which is the length of the trip along the two legs. The straight distance is the hypotenuse, 5.
Losing a negative sign. From x = −3 to x = 3 is 6 units, because 3 − (−3) = 6. Writing 3 − 3 = 0 would say the two points are straight above each other, and the graph shows they are not. When in doubt, count the squares.
Stopping at c². In the first worked example 6² + 8² = 100. That 100 is the square of the distance. The distance is √100 = 10.
Using the coordinates as the legs. For A (1, 1) and B (4, 5), the legs are the differences 3 and 4. Using B's coordinates 4 and 5 gives √41, which is how far B is from the origin (0, 0).
Apply and explain
Your turn
Explain how to find the distance between (−2, 1) and (4, 3) with a right triangle. Say where the right angle goes, give the length of each leg, and give the distance both as an exact value and as an estimate between two whole numbers.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
Put the right angle at (4, 1), level with the first point and under the second. The horizontal leg runs from x = −2 to x = 4, so it is 4 − (−2) = 6 units. The vertical leg runs from y = 1 to y = 3, so it is 2 units. By the Pythagorean Theorem, 6² + 2² = 36 + 4 = 40, so the distance is √40 units. Since 6² = 36 and 7² = 49, √40 is between 6 and 7, about 6.3.
- Places the right angle at (4, 1) or at (−2, 3).
- Gives leg lengths of 6 units and 2 units.
- Gives the exact distance √40 and says it is between 6 and 7.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Distance between two points on the coordinate plane: practice →