Chapter 12 · The Pythagorean theorem

Pythagorean Theorem: Perimeter, Area and Word Problems

Find missing lengths with right triangles hidden in figures and real situations, then use them to solve perimeter, area and word problems.

15 min read

Perimeter is the total distance around a figure, and area is the number of square units that cover it. Both depend on lengths, and sometimes the length you need is missing. It might be a slanted side you can't count on a grid, or a height nobody measured.

You already know how to find a missing side of a right triangle. Now you'll use that skill as a tool. You'll spot a right triangle hiding inside a figure or a real situation and use it to get the missing length. Then you'll finish the perimeter, the area or the question being asked.

Key concept

Find the right triangle, then the length

A right triangle has one right angle. Its legs aa and bb are the two sides that form the right angle. Its hypotenuse cc is the side opposite the right angle. The Pythagorean theorem says every right triangle labeled this way has a2+b2=c2a^2 + b^2 = c^2. So if you know two of its sides, you can find the third.

When a perimeter or area needs a length you don't have, find or draw a right triangle with that length as one of its sides. Solve for the length, then use it in the perimeter or area formula. A length is positive, so when you undo a square, keep only the nonnegative (zero or positive) square root.

a2+b2=c2a^2 + b^2 = c^2

Here is the strategy in a figure. A quadrilateral is a four-sided figure. Quadrilateral ABCDABCD sits on a coordinate grid where 1 unit stands for 1 cm. Its vertices are A(1,1)A(1, 1), B(10,1)B(10, 1), C(7,5)C(7, 5) and D(1,5)D(1, 5).

The coordinates tell you which sides are horizontal or vertical. AA and BB share the y-coordinate 1, and DD and CC share the y-coordinate 5, so ABAB and DCDC are horizontal. AA and DD share the x-coordinate 1, so ADAD is vertical. BB and CC share neither coordinate, so side BCBC is slanted, and you need a right triangle to find its length. Point E(7,1)E(7, 1) takes its x-coordinate from CC and its y-coordinate from BB, so CECE is vertical and EBEB is horizontal. A vertical segment meets a horizontal one at a right angle, so triangle CEBCEB has its right angle at EE.

Coordinate grid from x 0 to 11 and y 0 to 6, with a grid step of 1, showing 7 plotted elements. Details: polygon with 4 vertices; polygon with 3 vertices; point at (1, 1), named Point A; point at (10, 1), named Point B; point at (7, 5), named Point C; point at (1, 5), named Point D; point at (7, 1), named Point E.
Quadrilateral ABCDABCD with A(1,1)A(1, 1), B(10,1)B(10, 1), C(7,5)C(7, 5) and D(1,5)D(1, 5); triangle CEBCEB has its right angle at E(7,1)E(7, 1), and BCBC is its hypotenuse.

Worked example

Perimeter with a slanted side

Find the perimeter of quadrilateral ABCDABCD with A(1,1)A(1, 1), B(10,1)B(10, 1), C(7,5)C(7, 5) and D(1,5)D(1, 5), where 1 grid unit is 1 cm.

  1. Start with the sides you can read directly. For the horizontal sides ABAB and DCDC, subtract the smaller x-coordinate from the larger. For the vertical side ADAD, subtract the y-coordinates the same way.

    AB=10−1=9,DC=7−1=6,AD=5−1=4AB = 10 - 1 = 9, \quad DC = 7 - 1 = 6, \quad AD = 5 - 1 = 4
  2. Find the legs of right triangle CEBCEB the same way. CECE is vertical and EBEB is horizontal.

    CE=5−1=4,EB=10−7=3CE = 5 - 1 = 4, \quad EB = 10 - 7 = 3
  3. The right angle of triangle CEBCEB is at EE, and BCBC is opposite it, so BCBC is the hypotenuse. Substitute the legs into a2+b2=c2a^2 + b^2 = c^2.

    BC2=42+32=16+9=25BC^2 = 4^2 + 3^2 = 16 + 9 = 25
  4. BCBC is a length, so it is the nonnegative square root of 25. As a check, 5 is longer than both legs, as the hypotenuse of a right triangle must be.

    BC=25=5BC = \sqrt{25} = 5
  5. Add all four sides to get the distance around the figure.

    AB+BC+DC+AD=9+5+6+4=24AB + BC + DC + AD = 9 + 5 + 6 + 4 = 24

Answer

The perimeter of quadrilateral ABCDABCD is 2424 cm.

Area brings a different missing length. For a triangle, Area=12×base×height\text{Area} = \frac{1}{2} \times \text{base} \times \text{height}. The base is the side you choose to measure from. The height is the length of a segment from the opposite vertex that meets the line through the base at a right angle.

That right angle is the key. The height is a leg of a right triangle, and the side of the original triangle across from that right angle is the hypotenuse. When you know enough lengths of that right triangle, you can solve for the height like any missing leg.

Worked example

Area from three side lengths

A triangle has two sides of length 1010 cm and a third side of length 1212 cm. Find its area.

  1. Use the 12 cm side as the base. Draw the height hh, in centimeters, from the opposite vertex to the base. It meets the base at a right angle, so it splits the triangle into two right triangles. In each one, a 10 cm side is opposite the right angle, so that side is the hypotenuse.

  2. Call the two parts of the base xx and yy. Each right triangle has legs hh and one part, and hypotenuse 10, so x2+h2=102x^2 + h^2 = 10^2 and y2+h2=102y^2 + h^2 = 10^2. Subtracting h2h^2 shows that x2x^2 and y2y^2 both equal 102−h210^2 - h^2. Two positive lengths with equal squares are equal, so the 12 cm base splits evenly.

    x=y=12÷2=6x = y = 12 \div 2 = 6
  3. Solve one right triangle for hh. Subtracting 626^2 from both sides keeps the equation true.

    62+h2=102  ⇒  h2=102−62=100−36=646^2 + h^2 = 10^2 \;\Rightarrow\; h^2 = 10^2 - 6^2 = 100 - 36 = 64
  4. hh is a length, so take the nonnegative square root.

    h=64=8h = \sqrt{64} = 8
  5. Put the base and height into the area formula.

    Area=12×12×8=6×8=48\text{Area} = \tfrac{1}{2} \times 12 \times 8 = 6 \times 8 = 48

Answer

The area of the triangle is 4848 square centimeters.

Coordinate grid from x 0 to 14 and y 0 to 10, with a grid step of 1, showing 6 plotted elements. Details: polygon with 3 vertices; polygon with 3 vertices; point at (1, 1), named Point A; point at (13, 1), named Point B; point at (7, 9), named Point C; point at (7, 1), named Point D.
The triangle from the example above, with 1 unit = 1 cm: base ABAB runs from (1,1)(1, 1) to (13,1)(13, 1), and height CDCD runs from (7,9)(7, 9) down to (7,1)(7, 1), so AD=DB=6AD = DB = 6 and CD=8CD = 8.

In a word problem, the right triangle sits inside a real situation, so your first job is to find it. Look for a right angle that the facts guarantee, such as two fences that meet at a right angle or a wall that stands straight up from level ground. The side opposite that angle is the hypotenuse. Then decide whether you are missing a leg or the hypotenuse, and solve.

Many answers are not whole numbers. A square root such as 117\sqrt{117} is an exact value, while a rounded decimal such as 10.810.8 is only an approximation of it. Keep the exact value while you work. Round only when the situation asks for a number you can measure or buy.

Coordinate grid from x 0 to 11 and y 0 to 8, with a grid step of 1, showing 4 plotted elements. Details: polygon with 3 vertices; point at (1, 1), named Point A; point at (10, 1), named Point B; point at (1, 7), named Point C.
The garden bed with 1 unit = 1 m: the sides along the fences run from A(1,1)A(1, 1) to B(10,1)B(10, 1) and from A(1,1)A(1, 1) to C(1,7)C(1, 7), so they are 9 m and 6 m long.

Worked example

Edging for a garden bed

A garden bed is a right triangle in the corner of a yard, where two fences meet at a right angle. Its sides along the fences are 99 m and 66 m, as shown in the figure above. Edging is sold only in whole meters. What is the least number of whole meters of edging that will go all the way around the bed?

  1. The fences meet at a right angle at point AA. Side BCBC, across the yard, is opposite that angle, so it is the hypotenuse. Let ss be its length in meters, with s>0s > 0.

  2. Use a2+b2=c2a^2 + b^2 = c^2 with the fence sides as the legs.

    s2=92+62=81+36=117s^2 = 9^2 + 6^2 = 81 + 36 = 117
  3. Because 117 is not the square of a whole number, keep the exact length 117\sqrt{117} m. A larger positive number has a larger square root, and 117 lies between 102=10010^2 = 100 and 112=12111^2 = 121.

    s=117,10<117<11s = \sqrt{117}, \qquad 10 < \sqrt{117} < 11
  4. Add the three sides. Adding 15 to every part of the inequality keeps it true, so 25 m of edging falls short and 26 m is enough.

    9+6+117=15+117,25<15+117<269 + 6 + \sqrt{117} = 15 + \sqrt{117}, \qquad 25 < 15 + \sqrt{117} < 26
  5. For a decimal estimate, compare 117 with squares of tenths. It lies between 10.8210.8^2 and 10.9210.9^2, so 117\sqrt{117} is between 10.8 and 10.9, and the perimeter is between 25.8 m and 25.9 m.

    10.82=116.64<117<118.81=10.9210.8^2 = 116.64 < 117 < 118.81 = 10.9^2

Answer

The bed needs exactly 15+11715 + \sqrt{117} m of edging, which is between 25.825.8 and 25.925.9 m, so the least number of whole meters to buy is 2626.

Takeaway: when a perimeter, an area or a real situation needs a length you don't have, find or draw a right triangle that contains it. Make sure the right angle comes from coordinates or stated facts, not from how a picture looks. Use the side opposite that angle as the hypotenuse cc in a2+b2=c2a^2 + b^2 = c^2. Keep the nonnegative square root, and keep exact values until the situation calls for rounding.

Next, you'll apply the Pythagorean theorem in three dimensions.