Chapter 12 ยท The Pythagorean theorem
Finding Distance Between Points and Fixing Errors
Use the Pythagorean theorem to find the distance between two points on the coordinate plane, then find and fix mistakes in distance work.
The distance between two points is the length of the straight segment that joins them, so a distance is always nonnegative: positive or zero. On every grid in this lesson, the horizontal axis is the -axis, the vertical axis is the -axis, and each grid square is unit on a side, so distances are measured in units.
When two points share one coordinate, the segment between them is horizontal or vertical, and its length is the difference of the other two coordinates, larger minus smaller. When the points differ in both coordinates, the segment is slanted and cuts across grid squares, so you cannot count units along it. Instead, draw a horizontal line through one point and a vertical line through the other, as in the next figure. Because one line is horizontal and the other is vertical, they meet at a right angle, so the two points and the corner where the lines meet form a right triangle. The slanted segment is its hypotenuse, the side opposite the right angle. Recall the Pythagorean theorem: in a right triangle with legs and , the two sides that form the right angle, and hypotenuse , .
Worked example
Example 1: Build the right triangle
Find the distance between Point A at and Point B at in the figure.
Point C at (1, โ1) shares Point A's y-coordinate and Point B's x-coordinate, so it lies on the horizontal line y = โ1 and on the vertical line x = 1. A horizontal line and a vertical line meet at a right angle, so the angle at Point C is a right angle. The equations tell you this; you do not judge it from the picture.
The horizontal leg runs from Point A to Point C, so its length is the difference of their x-coordinates, larger minus smaller. Subtracting โ2 is the same as adding 2.
The vertical leg runs from Point C up to Point B, so its length is the difference of their y-coordinates, larger minus smaller. Subtracting โ1 is the same as adding 1.
The segment from Point A to Point B, the part of the slanted line between them, is opposite the right angle at Point C, so it is the hypotenuse. Call its length d and apply the Pythagorean theorem with legs 3 and 4.
Both 5 and โ5 have a square of 25, but a distance cannot be negative, so d is the nonnegative square root of 25.
Answer
The distance between Point A and Point B is units.
Key concept
Distance from coordinates
Call the points and ; the small and only tell the points apart. When the points differ in both coordinates, they are two corners of a right triangle with a horizontal leg units long and a vertical leg units long. The absolute value is the distance between and on a number line. By the Pythagorean theorem, the distance between the points, in units, is the nonnegative square root of the sum of the squares of the legs. A number and its opposite have the same square, so the formula needs no absolute value bars, and you can subtract in either order. If the points share one coordinate, one difference is and the formula gives the horizontal or vertical distance.
Worked example
Example 2: An exact root and a rounded value
Find the exact distance between and . Then round it to the nearest tenth of a unit.
Use P as the first point and Q as the second, and subtract the coordinates of P from those of Q. Subtracting โ3 means adding 3. The y-difference is negative, which is fine because the next step squares it.
Square each difference and add. The square of โ3 is 9, the same as the square of 3, which is the length of the vertical leg.
Take the nonnegative square root, because a distance cannot be negative. 34 is not a perfect square (the square of a whole number), so its root is not a whole number. Keep the square root of 34 as the exact distance; any decimal for it will be an approximation.
To approximate, bound the root between nonnegative numbers; for nonnegative numbers, a larger square means a larger number. 34 is between 5ยฒ = 25 and 6ยฒ = 36, so the root is between 5 and 6. Squaring tenths narrows it to between 5.8 and 5.9.
Square the midpoint of the bounds, 5.85, the number halfway between 5.8 and 5.9. Since 34 is less than 34.2225, the root is less than 5.85, so it is closer to 5.8 and rounds to 5.8.
Answer
The exact distance between and is units, which is about units to the nearest tenth.
To find an error in distance work, check it one line at a time.
- Differences: each one subtracts an -coordinate from an -coordinate or a -coordinate from a -coordinate, and subtracting a negative number is the same as adding its opposite.
- Squares: a square is never negative, so , not .
- Root: the nonnegative square root is taken of the whole sum, as the last step.
Then check the size of the answer. When both legs are positive, the distance must be longer than the longer leg, because the hypotenuse is the longest side of a right triangle. It must also be shorter than the two legs added together, because the straight segment is shorter than the bent path along the legs. The next figure shows a classmate's problem on the same kind of grid: the -axis is horizontal, the -axis is vertical, and each grid square is unit on a side.
Worked example
Example 3: Find and correct an error
Sam found the distance between Point D at and Point E at in the figure. Sam wrote and , then , so units. Find Sam's error and correct it.
Check the x-difference. Subtracting โ4 is the same as adding 4, so the difference is 6, not โ2. This is Sam's error. The figure agrees: the horizontal leg runs from Point D at x = โ4 to Point F at x = 2, which is 4 units to the y-axis plus 2 units past it.
Check the y-difference. Subtracting 3 from โ5 gives โ8, so this line is correct, and the vertical leg from Point F down to Point E is 8 units long.
Redo the sum of squares with the corrected x-difference. Neither square is negative, as expected.
Take the nonnegative square root, since a distance cannot be negative.
Check the size. Both legs are positive, so the distance must be longer than the longer leg, 8, and shorter than the legs added together, 6 + 8 = 14. The answer 10 passes. Sam's 8.2 also falls between 8 and 14, so the size check alone could not catch this error; checking each line did.
Answer
Sam computed as instead of . The correct distance between Point D and Point E is units.
Takeaway: When two points differ in both coordinates, the segment joining them is the hypotenuse of a right triangle with a horizontal leg and a vertical leg. To find its length, square the coordinate differences, add them, and take the nonnegative square root. Keep that root as the exact distance, or round it by comparing the number under the root with the square of the midpoint of its nonnegative bounds. To correct distance work, check each difference, square and root one line at a time, then check the size of the answer. Next, you will use distances like these to find the perimeter of a figure on the coordinate plane and to solve distance word problems.