Day 19 of 30
Distance between two points on a grid
Lessons are AI-drafted and being reviewed and improved over time.
Learning Objective
Find the distance between two points on a grid by drawing a right triangle and using the Pythagorean theorem.
Points on a grid are easy to compare when they line up. If two points sit on the same row, you count the squares between them. If they sit on the same column, you count up or down. But what if the points are on a slant? Then you cannot simply count. This is where the Pythagorean theorem helps.
Picture two points on grid paper, A at (1, 2) and B at (4, 6). Draw the straight segment from A to B. Now draw a horizontal line from A and a vertical line from B until they meet at a corner, C at (4, 2). The three points form a right triangle. The right angle is at C, because grid lines meet at right angles.
Now the legs are easy to count. The horizontal leg goes from x = 1 to x = 4, so it is 3 units long. The vertical leg goes from y = 2 to y = 6, so it is 4 units long. The distance from A to B is the hypotenuse. So 3² + 4² = 9 + 16 = 25, and the distance is √25 = 5 units.
The method has three steps. First, draw the right triangle with one horizontal leg and one vertical leg. Second, count or subtract to find the length of each leg. Third, use the theorem to find the hypotenuse, which is the distance.
Not every distance is a whole number. Take the points (0, 0) and (3, 3). Both legs are 3 units. Then 9 + 9 = 18, and the distance is √18, about 4.24 units. Notice that the slanted distance is shorter than walking 3 across and 3 up, which is 6 units. A straight path is always the shortest path between two points.
This idea matters on city maps. Many cities have streets laid out in a grid. If Ben walks from one corner to another, he must follow the streets. If his friend could fly like a bird, she would take the straight line. For points 3 blocks east and 4 blocks north, Ben walks 7 blocks, but the straight distance is only 5 blocks.
To find the leg lengths without counting, subtract coordinates. The horizontal leg is the difference between the x-values. The vertical leg is the difference between the y-values. Always subtract the smaller value from the larger so each leg is positive. Tomorrow you will extend this to the whole coordinate plane, including negative numbers.
A good habit is to sketch the triangle every time, even for easy points. The picture keeps you from mixing up x-values and y-values.
The length of the straight segment joining two points.
The side of a grid right triangle that runs left and right; its length is the difference in x-values.
The side of a grid right triangle that runs up and down; its length is the difference in y-values.
A pair of numbers (x, y) that gives the location of a point on a grid.
The total distance traveled when moving only along grid lines, found by adding the two legs.
Instructions
Materials Needed
- Grid map worksheet
- Ruler
- Colored pencils
- Calculator
Find the distance between the points (1, 2) and (4, 6) on a grid.
Find the distance between the points (2, 1) and (7, 13) on a grid.
Find the distance between the points (0, 0) and (3, 3). Round to the nearest hundredth.
Find the distance between two points at (1, 1) and (3, 6) on a grid. Give an exact and a rounded answer.
Ben walks along a street grid from (2, 5) to (8, 13), where each unit is one block. How far does he walk, and what is the straight-line distance between the two points?
Why is the slanted distance between two points on a grid always shorter than the grid path length, unless the points share a row or column?
Teaching Tip
Require a sketch of the right triangle for every problem. Have students label the corner point C with coordinates so they see where the leg lengths come from. Keep all points in the first quadrant today and save negatives for tomorrow.
Go Deeper
Find all grid points that are exactly 5 units from (0, 0) and plot them. Describe the shape they seem to form.
Coming later.