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.
Key ideas
Section titled “Key ideas”Parts of a right triangle
Section titled “Parts of a right triangle”A right triangle has one 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 .
- The other two sides are the legs. They form the right angle. We usually call them and .
The Pythagorean theorem
Section titled “The Pythagorean theorem”In a right triangle with legs and and hypotenuse :
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.
Finding the hypotenuse or a leg
Section titled “Finding the hypotenuse or a leg”To find the hypotenuse, add the squares of the legs, then take the square root:
To find a leg, subtract the square of the other leg from the square of the hypotenuse, then take the square root:
A quick check: the hypotenuse must come out longer than both legs, and a leg must come out shorter than the hypotenuse.
Exact and decimal answers
Section titled “Exact and decimal answers”Often the square root isn’t a whole number. Then you can give
- an exact answer, left as a square root, like cm, or
- a decimal approximation from your calculator, like 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 (where is the longest side), then the triangle is a right triangle, with the right angle opposite . If they don’t fit, it isn’t.
Sets of whole numbers that fit, like and and , are called Pythagorean triples. Any multiple of a triple also works, such as .
Builders and carpenters use the converse to check square corners: measure units along one wall and units along the other. If the diagonal between those marks is exactly units, the corner is .
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 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.
Worked examples
Section titled “Worked examples”Example 1: Finding the hypotenuse
Section titled “Example 1: Finding the hypotenuse”Find the hypotenuse of a right triangle with legs
- (a) cm and cm
- (b) cm and cm (give an exact answer and a decimal to two places).
Solution.
(a)
The hypotenuse is cm.
(b)
The hypotenuse is exactly cm, or about cm.
Check: both answers are longer than the legs. ✓
Example 2: A ladder against a wall
Section titled “Example 2: A ladder against a wall”A m ladder leans against a wall. Its foot is 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 (), the ground distance is one leg (), and the height is the other leg.
The ladder reaches m up the wall.
Check: . ✓ And m is shorter than the m ladder, as it must be.
Example 3: Is it a right triangle?
Section titled “Example 3: Is it a right triangle?”Decide whether each set of side lengths makes a right triangle.
- (a) cm, cm, cm
- (b) cm, cm, cm
Solution. In each case, compare the sum of the squares of the two shorter sides with the square of the longest side.
(a) and . They’re equal, so this is a right triangle. (It’s the triple multiplied by .)
(b) and . Since , this is not a right triangle.
Example 4: A composite shape
Section titled “Example 4: A composite shape”The figure shows an isosceles trapezoid. Its parallel sides are cm and cm, and its height is cm. Find the length of each slanted side, and the perimeter of the trapezoid.
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 cm longer than the top (). Because the trapezoid is isosceles, that extra length is split equally between the two ends, so each triangle has a bottom leg of cm. Its other leg is the height, cm, and its hypotenuse is the slanted side :
Each slanted side is cm. The perimeter is
Common mistakes
Section titled “Common mistakes”Adding when you should subtract. When you’re finding a leg, subtract: . In Example 2, adding would give 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 with the longest side squared.
Forgetting the square root. means , not . The last step is always to take the square root.
Squaring the sum instead of summing the squares. , but . 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. 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.
Practice
Section titled “Practice”1. (Warm-up) The legs of a right triangle are cm and cm. Find the hypotenuse.
Solution
The hypotenuse is cm.
2. (Warm-up) A right triangle has hypotenuse m and one leg m. Find the other leg.
Solution
The other leg is m.
3. (Warm-up) Is a triangle with sides cm, cm and cm a right triangle?
Solution
and . They are equal, so yes, it’s a right triangle, with the right angle opposite the cm side.
4. (Core) Find the missing side. Give an exact answer and a decimal rounded to two places.
- (a) Legs cm and cm; find the hypotenuse.
- (b) Hypotenuse cm and one leg cm; find the other leg.
Solution
(a) , so cm.
(b) , so cm.
Check: is longer than both legs, and is shorter than the hypotenuse. ✓
5. (Core) A TV screen is cm wide and 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 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:
(b) , so it’s about a -inch TV.
6. (Core) A rectangular park is m long and 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: m.
Across the diagonal:
The shortcut saves m.
7. (Core) A wheelchair ramp rises m over a horizontal distance of 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:
The ramp is about m long.
8. (Challenge) A house is m wide. Its roof has two equal slanted sides that meet at a peak m above the tops of the walls, right above the middle of the house. The house is 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 m horizontally and rises m. These are the legs of a right triangle:
(b) Each roof surface is a rectangle m by m, and there are two of them:
9. (Challenge) A box is cm wide, cm deep and 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 cm by cm rectangle:
Step 2: up to the top corner. The bottom diagonal ( cm) and the height ( cm) are the legs of a second right triangle that stands up inside the box:
The longest stick is cm.