Chapter 12 Ā· The Pythagorean theorem

Perimeter and Distance Problems on the Coordinate Plane

Find perimeters of figures on the coordinate plane by adding side lengths, and solve real-world distance problems with a map scale.

15 min read

Earlier in this topic, you found the distance between two points. Now you'll use that skill to measure whole figures and to solve problems about real places.

A polygon is a closed figure made of straight sides. Each corner, where two sides meet, is a vertex (plural: vertices). The perimeter of a polygon is the total length around it: imagine walking along every side once and ending where you started.

On the coordinate plane, the horizontal axis is the xx-axis and the vertical axis is the yy-axis. Lengths are measured in grid units: one grid unit is the distance from one integer to the next on either axis.

Key concept

Perimeter is a sum of distances

Find each side's length from its endpoints' coordinates, then add the lengths, going around the figure once. Classify each side by its coordinates, not the drawing.

  • Horizontal (same yy-coordinates) or vertical (same xx-coordinates): the length is the absolute value of the difference of the coordinates that change.
  • Slanted: join its endpoints with a horizontal leg and a vertical leg. These legs meet at a right angle, as the axes do, and the side is the hypotenuse cc, opposite that angle. So a2+b2=c2a^2 + b^2 = c^2 for legs aa and bb; take the nonnegative square root, since lengths are never negative.

The formula gives the perimeter PP of a four-sided polygon ABCDABCD, where ABAB is the length from AA to BB. Keep all sides in one unit.

P=AB+BC+CD+DAP = AB + BC + CD + DA
Coordinate grid from x 0 to 6 and y 0 to 5, with a grid step of 1, showing 4 plotted elements. Details: polygon with 3 vertices; point at (1, 1), named Point A; point at (5, 1), named Point B; point at (5, 4), named Point C.
Triangle ABCABC with vertices A(1,1)A(1, 1), B(5,1)B(5, 1) and C(5,4)C(5, 4), the values used in the example.

Worked example

Perimeter of a triangle

Find the perimeter of triangle ABCABC in the figure, which has vertices A(1,1)A(1, 1), B(5,1)B(5, 1) and C(5,4)C(5, 4).

  1. Find AB. Points A and B have the same y-coordinate, 1, so AB is horizontal. Only the x-coordinate changes, so the length is the absolute value of the difference of the x-coordinates.

    AB=∣5āˆ’1∣=4AB = |5 - 1| = 4
  2. Find BC. Points B and C have the same x-coordinate, 5, so BC is vertical. Only the y-coordinate changes, so use the y-coordinates the same way.

    BC=∣4āˆ’1∣=3BC = |4 - 1| = 3
  3. Find CA. AB is horizontal and BC is vertical, so they meet at a right angle at B. CA is opposite that angle, so it is the hypotenuse, and the Pythagorean theorem applies with legs 4 and 3. CA squared is 25, and both 5 and -5 square to 25, but CA is a length, so take the nonnegative square root.

    CA2=42+32=16+9=25,CA=25=5CA^2 = 4^2 + 3^2 = 16 + 9 = 25, \qquad CA = \sqrt{25} = 5
  4. Add the three side lengths to get the perimeter P. Going once around the triangle counts every side exactly once.

    P=AB+BC+CA=4+3+5=12P = AB + BC + CA = 4 + 3 + 5 = 12

Answer

The perimeter of triangle ABCABC is 1212 units.

Coordinate grid from x -3 to 8 and y -2 to 4, with a grid step of 1, showing 9 plotted elements. Details: polygon with 4 vertices; polygon with 3 vertices; polygon with 3 vertices; point at (-2, -1), named Point A; point at (1, 3), named Point B; point at (7, 3), named Point C; point at (2, -1), named Point D; point at (-2, 3), named (-2, 3); point at (7, -1), named (7, -1).
Quadrilateral ABCDABCD with A(āˆ’2,āˆ’1)A(-2, -1), B(1,3)B(1, 3), C(7,3)C(7, 3) and D(2,āˆ’1)D(2, -1). The helper right triangles for ABAB and CDCD have their right angles at (āˆ’2,3)(-2, 3) and (7,āˆ’1)(7, -1).

Worked example

Perimeter with an exact and a rounded answer

Find the perimeter of quadrilateral ABCDABCD (a four-sided polygon) in the figure, with vertices A(āˆ’2,āˆ’1)A(-2, -1), B(1,3)B(1, 3), C(7,3)C(7, 3) and D(2,āˆ’1)D(2, -1). Give the exact perimeter, then round it to the nearest tenth of a unit.

  1. Find the horizontal sides. B and C share the y-coordinate 3, and D and A share the y-coordinate -1, so BC and DA are horizontal. Take the absolute value of the difference of the x-coordinates, which keeps each length nonnegative.

    BC=∣7āˆ’1∣=6,DA=āˆ£āˆ’2āˆ’2∣=āˆ£āˆ’4∣=4BC = |7 - 1| = 6, \qquad DA = |-2 - 2| = |-4| = 4
  2. Find AB with a helper right triangle that has its corner at (-2, 3). The leg from A to (-2, 3) is vertical, with length |3 - (-1)| = 4, and the leg from (-2, 3) to B is horizontal, with length |1 - (-2)| = 3, so the legs meet at a right angle. AB is opposite that angle, so it is the hypotenuse.

    AB2=42+32=16+9=25,AB=25=5AB^2 = 4^2 + 3^2 = 16 + 9 = 25, \qquad AB = \sqrt{25} = 5
  3. Find CD the same way, with the corner at (7, -1). The vertical leg from C to (7, -1) has length |-1 - 3| = 4, and the horizontal leg from (7, -1) to D has length |2 - 7| = 5. CD is opposite the right angle, so it is the hypotenuse. Since 41 is between the perfect squares 36 and 49, its square root is not a whole number, so keep it exact.

    CD2=42+52=16+25=41,CD=41CD^2 = 4^2 + 5^2 = 16 + 25 = 41, \qquad CD = \sqrt{41}
  4. Add the four sides in order around the figure. DA closes the path back to A, so each side is counted exactly once. This sum is the exact perimeter.

    P=AB+BC+CD+DA=5+6+41+4=15+41P = AB + BC + CD + DA = 5 + 6 + \sqrt{41} + 4 = 15 + \sqrt{41}
  5. Now locate the square root of 41. For positive numbers, a larger number has a larger square, so you can compare squares. 41 is between the squares of 6.4 and 6.5, so the root is between 6.4 and 6.5. To round, compare 41 with the square of the midpoint, 6.45, which is halfway between them. 41 is smaller, so the root is less than 6.45.

    6.42=40.96<41<41.6025=6.452<42.25=6.526.4^2 = 40.96 < 41 < 41.6025 = 6.45^2 < 42.25 = 6.5^2
  6. So the root is between 6.4 and 6.45. Adding 15 to every part keeps the order, so the perimeter is between 21.4 and 21.45, which rounds to 21.4. The symbol ā‰ˆ means 'is approximately equal to'.

    6.4<41<6.45ā€…ā€Šā‡’ā€…ā€Š21.4<15+41<21.45,Pā‰ˆ21.46.4 < \sqrt{41} < 6.45 \;\Rightarrow\; 21.4 < 15 + \sqrt{41} < 21.45, \qquad P \approx 21.4

Answer

The exact perimeter of ABCDABCD is 15+4115 + \sqrt{41} units, which is about 21.421.4 units to the nearest tenth.

In many word problems, the coordinate plane is a map. Before you calculate, decide three things:

  1. Directions: what each axis means. On the map below, the positive xx-direction is east and the positive yy-direction is north.
  2. Scale: the real distance that one grid unit stands for.
  3. Which length: a straight-line distance is the length of the segment joining two points. A trip along streets that run only east-west or north-south follows horizontal and vertical segments, so its length is the sum of those segments' lengths.

Find lengths in grid units first, then multiply by the scale. This works when one grid unit stands for the same real distance in both directions, because then every length on the map is multiplied by the same number. Add or compare lengths only when they are in the same unit.

Coordinate grid from x -5 to 3 and y -4 to 6, with a grid step of 1, showing 4 plotted elements. Details: polygon with 3 vertices; point at (-4, -3), named Point A; point at (2, 5), named Point B; point at (2, -3), named (2, -3).
The store is Point A at (āˆ’4,āˆ’3)(-4, -3) and the home is Point B at (2,5)(2, 5). The truck's route is the horizontal and vertical sides through (2,āˆ’3)(2, -3); the drone's path is the slanted side.

Worked example

Word problem: truck route or drone flight

On the town map in the figure, the positive xx-direction is east, the positive yy-direction is north, and one grid unit stands for 100100 meters in both directions. A store is at Point A (āˆ’4,āˆ’3)(-4, -3) and a home is at Point B (2,5)(2, 5). A delivery truck drives east along a street to the corner at (2,āˆ’3)(2, -3), then north along another street to the home. A drone flies straight from the store to the home. How far does each travel, and how much shorter is the drone's trip?

  1. Find the truck's route in grid units. The drive east keeps y = -3, so it is horizontal; the drive north keeps x = 2, so it is vertical. The truck travels both parts, so add their lengths.

    ∣2āˆ’(āˆ’4)∣+∣5āˆ’(āˆ’3)∣=6+8=14Ā units|2 - (-4)| + |5 - (-3)| = 6 + 8 = 14 \text{ units}
  2. Let d be the drone's distance in grid units. The two parts of the truck's route are a horizontal leg and a vertical leg that meet at a right angle at (2, -3). The drone's straight path is opposite that angle, so it is the hypotenuse; take the nonnegative square root.

    d=62+82=36+64=100=10Ā unitsd = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10 \text{ units}
  3. Convert to meters. One grid unit stands for 100 meters in both directions, so multiply each length by 100.

    14Ɨ100=1,400Ā m,10Ɨ100=1,000Ā m14 \times 100 = 1{,}400 \text{ m}, \qquad 10 \times 100 = 1{,}000 \text{ m}
  4. Both lengths are now in meters, so subtract to compare them.

    1,400āˆ’1,000=400Ā m1{,}400 - 1{,}000 = 400 \text{ m}

Answer

The truck travels 1,400 meters and the drone flies 1,000 meters, so the drone's trip is 400 meters shorter.

Takeaway: A perimeter on the coordinate plane is a sum of distances. Find each side from its endpoints' coordinates. For a horizontal or vertical side, take the absolute value of the difference of the coordinates that change. For a slanted side, use a2+b2=c2a^2 + b^2 = c^2 on a right triangle with a horizontal leg and a vertical leg, where the side is the hypotenuse, opposite the right angle; take the nonnegative square root. Add every side once, and keep exact values until you round. In a word problem, decide which length is asked for, work in grid units, then convert with the scale.

Next, you'll verify whether a triangle on the coordinate plane is a right triangle.