Skip to content
Family Table Math
Auto

The Pythagorean Theorem

In every right triangle, the three side lengths are linked by one simple equation. If you know any two sides, you can find the third, without measuring. Builders use it to check that corners are square, and you can use it to find how high a ladder reaches, how big a TV screen really is, or how much shorter it is to cut across a field.

A right triangle has one 90∘90^\circ angle, marked with a small square.

  • The hypotenuse is the side opposite the right angle. It is always the longest side. We usually call it cc.
  • The other two sides are the legs. They form the right angle. We usually call them aa and bb.

In a right triangle with legs aa and bb and hypotenuse cc:

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

In words: the square of the hypotenuse equals the sum of the squares of the two legs.

The name comes from squares you can actually draw. Build a square on each side of the triangle. The two squares on the legs have the same total area as the square on the hypotenuse.

A right triangle with legs 3 and 4 and hypotenuse 5, with a square drawn on each side. The squares on the legs have areas 9 and 16, and the square on the hypotenuse has area 25 = 9 + 16. a² = 9 b² = 16 c² = 25 a = 3 b = 4 c = 5
For a 3–4–5 triangle: 9+16=259 + 16 = 25, so 32+42=523^2 + 4^2 = 5^2.

To find the hypotenuse, add the squares of the legs, then take the square root:

c=a2+b2c = \sqrt{a^2 + b^2}

To find a leg, subtract the square of the other leg from the square of the hypotenuse, then take the square root:

a=c2−b2a = \sqrt{c^2 - b^2}

A quick check: the hypotenuse must come out longer than both legs, and a leg must come out shorter than the hypotenuse.

Often the square root isn’t a whole number. Then you can give

  • an exact answer, left as a square root, like 74\sqrt{74} cm, or
  • a decimal approximation from your calculator, like 8.608.60 cm (rounded to two decimal places).

Use the exact answer if you’ll keep calculating with it, and round only at the very end.

The converse: testing for a right triangle

Section titled “The converse: testing for a right triangle”

The theorem also works backwards. If the side lengths of a triangle fit a2+b2=c2a^2 + b^2 = c^2 (where cc is the longest side), then the triangle is a right triangle, with the right angle opposite cc. If they don’t fit, it isn’t.

Sets of whole numbers that fit, like 3,4,53, 4, 5 and 5,12,135, 12, 13 and 8,15,178, 15, 17, are called Pythagorean triples. Any multiple of a triple also works, such as 6,8,106, 8, 10.

Builders and carpenters use the converse to check square corners: measure 33 units along one wall and 44 units along the other. If the diagonal between those marks is exactly 55 units, the corner is 90∘90^\circ.

Looking ahead: in Grade 10 you’ll use this same theorem to find the length of a line segment on a coordinate grid, and it’s the starting point for the primary trigonometric ratios.

Where this comes from. The theorem is named after the Greek thinker Pythagoras (around 500 BCE), but people knew the relationship long before him. A Babylonian clay tablet known as Plimpton 322, written about 38003800 years ago, lists numbers connected to Pythagorean triples. The Indian Sulba Sutras, rules for building fire altars, describe it, and in China it’s called the gougu theorem.

Find the hypotenuse of a right triangle with legs

  • (a) 66 cm and 88 cm
  • (b) 55 cm and 77 cm (give an exact answer and a decimal to two places).

Solution.

(a)

c2=62+82=36+64=100c=100=10\begin{aligned} c^2 &= 6^2 + 8^2 \\ &= 36 + 64 \\ &= 100 \\ c &= \sqrt{100} = 10 \end{aligned}

The hypotenuse is 1010 cm.

(b)

c2=52+72=25+49=74c=74≈8.60\begin{aligned} c^2 &= 5^2 + 7^2 \\ &= 25 + 49 \\ &= 74 \\ c &= \sqrt{74} \approx 8.60 \end{aligned}

The hypotenuse is exactly 74\sqrt{74} cm, or about 8.608.60 cm.

Check: both answers are longer than the legs. ✓

A 5.05.0 m ladder leans against a wall. Its foot is 1.41.4 m from the bottom of the wall. How high up the wall does the ladder reach?

Solution. The wall, the ground and the ladder make a right triangle. The ladder is the hypotenuse (c=5.0c = 5.0), the ground distance is one leg (b=1.4b = 1.4), and the height hh is the other leg.

h2+1.42=5.02h2+1.96=25h2=23.04h=23.04=4.8\begin{aligned} h^2 + 1.4^2 &= 5.0^2 \\ h^2 + 1.96 &= 25 \\ h^2 &= 23.04 \\ h &= \sqrt{23.04} = 4.8 \end{aligned}

The ladder reaches 4.84.8 m up the wall.

Check: 4.82+1.42=23.04+1.96=25=524.8^2 + 1.4^2 = 23.04 + 1.96 = 25 = 5^2. ✓ And 4.84.8 m is shorter than the 5.05.0 m ladder, as it must be.

Decide whether each set of side lengths makes a right triangle.

  • (a) 99 cm, 1212 cm, 1515 cm
  • (b) 77 cm, 99 cm, 1111 cm

Solution. In each case, compare the sum of the squares of the two shorter sides with the square of the longest side.

(a) 92+122=81+144=2259^2 + 12^2 = 81 + 144 = 225 and 152=22515^2 = 225. They’re equal, so this is a right triangle. (It’s the 3,4,53, 4, 5 triple multiplied by 33.)

(b) 72+92=49+81=1307^2 + 9^2 = 49 + 81 = 130 and 112=12111^2 = 121. Since 130≠121130 \ne 121, this is not a right triangle.

The figure shows an isosceles trapezoid. Its parallel sides are 1010 cm and 1616 cm, and its height is 44 cm. Find the length xx of each slanted side, and the perimeter of the trapezoid.

An isosceles trapezoid with parallel sides 10 cm and 16 cm and height 4 cm. A dashed height cuts off a right triangle with legs 3 and 4 and unknown hypotenuse x, the slanted side. 10 cm 16 cm 4 3 x
The dashed height cuts off a right triangle with legs 33 cm and 44 cm.

Solution. Look for a right triangle hiding in the shape. Draw the height from a top corner straight down. It cuts off a right triangle at each end.

The bottom is 66 cm longer than the top (16−10=616 - 10 = 6). Because the trapezoid is isosceles, that extra length is split equally between the two ends, so each triangle has a bottom leg of 6÷2=36 \div 2 = 3 cm. Its other leg is the height, 44 cm, and its hypotenuse is the slanted side xx:

x2=32+42=9+16=25x=5\begin{aligned} x^2 &= 3^2 + 4^2 \\ &= 9 + 16 = 25 \\ x &= 5 \end{aligned}

Each slanted side is 55 cm. The perimeter is

P=10+16+5+5=36 cmP = 10 + 16 + 5 + 5 = 36 \text{ cm}

Adding when you should subtract. When you’re finding a leg, subtract: a2=c2−b2a^2 = c^2 - b^2. In Example 2, adding would give 25+1.96≈5.19\sqrt{25 + 1.96} \approx 5.19 m, which is longer than the ladder itself. That’s impossible, so the check catches it.

Using the wrong side as the hypotenuse. The hypotenuse is opposite the right angle and is always the longest side. In the converse test, always put the longest side on its own: compare a2+b2a^2 + b^2 with the longest side squared.

Forgetting the square root. c2=100c^2 = 100 means c=10c = 10, not 100100. The last step is always to take the square root.

Squaring the sum instead of summing the squares. 32+42=9+16=253^2 + 4^2 = 9 + 16 = 25, but (3+4)2=49(3 + 4)^2 = 49. Square each side first, then add.

Rounding too early. If a problem has more than one step, keep the exact value (or all the calculator digits) until the end. Rounding in the middle can make the final answer wrong.

Using the theorem on a triangle that isn’t right-angled. a2+b2=c2a^2 + b^2 = c^2 is only true for right triangles. In a composite shape, draw a height or a diagonal to make a right triangle first, as in Example 4.

1. (Warm-up) The legs of a right triangle are 99 cm and 1212 cm. Find the hypotenuse.

Solutionc2=92+122=81+144=225⇒c=225=15c^2 = 9^2 + 12^2 = 81 + 144 = 225 \quad\Rightarrow\quad c = \sqrt{225} = 15

The hypotenuse is 1515 cm.

2. (Warm-up) A right triangle has hypotenuse 1313 m and one leg 55 m. Find the other leg.

Solutiona2=132−52=169−25=144⇒a=144=12a^2 = 13^2 - 5^2 = 169 - 25 = 144 \quad\Rightarrow\quad a = \sqrt{144} = 12

The other leg is 1212 m.

3. (Warm-up) Is a triangle with sides 88 cm, 1515 cm and 1717 cm a right triangle?

Solution

82+152=64+225=2898^2 + 15^2 = 64 + 225 = 289 and 172=28917^2 = 289. They are equal, so yes, it’s a right triangle, with the right angle opposite the 1717 cm side.

4. (Core) Find the missing side. Give an exact answer and a decimal rounded to two places.

  • (a) Legs 44 cm and 66 cm; find the hypotenuse.
  • (b) Hypotenuse 1010 cm and one leg 77 cm; find the other leg.
Solution

(a) c2=42+62=16+36=52c^2 = 4^2 + 6^2 = 16 + 36 = 52, so c=52≈7.21c = \sqrt{52} \approx 7.21 cm.

(b) a2=102−72=100−49=51a^2 = 10^2 - 7^2 = 100 - 49 = 51, so a=51≈7.14a = \sqrt{51} \approx 7.14 cm.

Check: 7.217.21 is longer than both legs, and 7.147.14 is shorter than the hypotenuse. ✓

5. (Core) A TV screen is 120120 cm wide and 6868 cm tall. TV sizes are given by the diagonal of the screen.

  • (a) Find the diagonal in centimetres, to one decimal place.
  • (b) TVs are sold in inches. Use 1 in=2.54 cm1 \text{ in} = 2.54 \text{ cm} to find the diagonal in inches, to the nearest inch.
Solution

(a) The width, height and diagonal form a right triangle, with the diagonal as the hypotenuse:

d2=1202+682=14 400+4624=19 024⇒d=19 024≈137.9 cmd^2 = 120^2 + 68^2 = 14\,400 + 4624 = 19\,024 \quad\Rightarrow\quad d = \sqrt{19\,024} \approx 137.9 \text{ cm}

(b) 137.93÷2.54≈54.3137.93 \div 2.54 \approx 54.3, so it’s about a 5454-inch TV.

6. (Core) A rectangular park is 8080 m long and 6060 m wide. Instead of walking along two sides to reach the opposite corner, you cut straight across the diagonal. How much shorter is your walk?

Solution

Along the two sides: 80+60=14080 + 60 = 140 m.

Across the diagonal:

d2=802+602=6400+3600=10 000⇒d=100 md^2 = 80^2 + 60^2 = 6400 + 3600 = 10\,000 \quad\Rightarrow\quad d = 100 \text{ m}

The shortcut saves 140−100=40140 - 100 = 40 m.

7. (Core) A wheelchair ramp rises 0.50.5 m over a horizontal distance of 66 m. How long is the ramp surface, to the nearest centimetre?

Solution

The rise and the horizontal distance are the legs, and the ramp surface is the hypotenuse:

L2=62+0.52=36+0.25=36.25⇒L=36.25≈6.0208L^2 = 6^2 + 0.5^2 = 36 + 0.25 = 36.25 \quad\Rightarrow\quad L = \sqrt{36.25} \approx 6.0208

The ramp is about 6.026.02 m long.

8. (Challenge) A house is 88 m wide. Its roof has two equal slanted sides that meet at a peak 33 m above the tops of the walls, right above the middle of the house. The house is 1212 m long (front to back).

  • (a) Find the length of each slanted side of the roof (from the top of the wall to the peak).
  • (b) Shingles cover both rectangular roof surfaces. Find the total roof area.
Solution

(a) The peak is above the middle, so each half of the roof spans 8÷2=48 \div 2 = 4 m horizontally and rises 33 m. These are the legs of a right triangle:

s2=42+32=16+9=25⇒s=5 ms^2 = 4^2 + 3^2 = 16 + 9 = 25 \quad\Rightarrow\quad s = 5 \text{ m}

(b) Each roof surface is a rectangle 55 m by 1212 m, and there are two of them:

A=2×5×12=120 m2A = 2 \times 5 \times 12 = 120 \text{ m}^2

9. (Challenge) A box is 33 cm wide, 44 cm deep and 1212 cm tall. How long is the longest straight stick that fits inside, going from a bottom corner to the opposite top corner?

Solution

Use the theorem twice.

Step 1: the diagonal of the bottom. The bottom is a 33 cm by 44 cm rectangle:

d2=32+42=25⇒d=5 cmd^2 = 3^2 + 4^2 = 25 \quad\Rightarrow\quad d = 5 \text{ cm}

Step 2: up to the top corner. The bottom diagonal (55 cm) and the height (1212 cm) are the legs of a second right triangle that stands up inside the box:

L2=52+122=25+144=169⇒L=13 cmL^2 = 5^2 + 12^2 = 25 + 144 = 169 \quad\Rightarrow\quad L = 13 \text{ cm}

The longest stick is 1313 cm.