Knaph

The Pythagorean Theorem77 of 972 min read

Distance on the Coordinate Plane

Two points are on a map grid, 3 blocks across and 4 blocks up. How far apart are they in a straight line? A hidden right triangle tells you.

Make a right triangle

Mark the two points. Go across from one and up from the other until the paths meet. This makes a right triangle whose legs run along the grid, and the distance is its hypotenuse.

From (1, 1) to (4, 5), the legs are 3 across and 4 up, so the distance is 5.

A coordinate plane with points (1, 1) and (4, 5), a horizontal leg of 3 and a vertical leg of 4 drawn between them, and the hypotenuse joining the two points.

The distance rule

The legs are the differences of the coordinates: across = |x₂ − x₁| and up = |y₂ − y₁|. Then

d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.

For (−2, 3) and (4, −1): across 6, up 4, so d=36+16=52≈7.2d = \sqrt{36 + 16} = \sqrt{52} \approx 7.2.

Squaring removes any minus sign, so it does not matter which point you call first.

Use the distance

To test if a triangle on the grid has a right angle, find its three side lengths and try the converse.

To find the perimeter of a shape on a grid, find each side length with the rule and add.

Careful

Square each difference, add, and then take the square root. Do not add the differences first.

Try it at home

  1. Draw a coordinate grid and pick two points.
  2. Draw the right triangle and count the legs.
  3. Use the rule, then measure the distance with a ruler and the grid's scale.

Words in this lesson

  • coordinates - the pair of numbers (x, y) that give a point's place on the grid.

Big idea

The distance between two points is the hypotenuse of a right triangle whose legs are the differences of the coordinates.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.