IB MYP Mathematics · Geometry and trigonometry
Pythagoras' theorem
1The theorem
In a right-angled triangle, the longest side is opposite the right angle and is called the hypotenuse.
Pythagoras' theorem: the square of the hypotenuse equals the sum of the squares of the other two sides.
$$a^2 + b^2 = c^2$$
where $c$ is the hypotenuse and $a$ and $b$ are the shorter sides.
The hypotenuse is opposite the right angle and is always the longest side
The theorem works only for right-angled triangles. It links the three sides, so if you know two you can find the third.
A picture of why it works: draw a square on each side of the triangle. The area of the largest square equals the areas of the two smaller squares added together. For a triangle with sides 3, 4 and 5: 9 + 16 = 25.
Check yourself
In a right-angled triangle, which side is the hypotenuse?
Show the answer
The side opposite the right angle
It is opposite the right angle and is always the longest.
2Finding the hypotenuse
To find the hypotenuse: square the two shorter sides, add, then square root.
Shorter sides 6 cm and 8 cm
- $c^2 = 6^2 + 8^2$.
- $c^2 = 36 + 64 = 100$.
- $c = \sqrt{100} = 10$ cm.
A non-whole answer. Shorter sides 5 cm and 7 cm
- $c^2 = 25 + 49 = 74$.
- $c = \sqrt{74} \approx 8.60$ cm.
- Sense check: the hypotenuse must be longer than 7 and shorter than 5 + 7 = 12.
Do not forget the final square root: 74 is the area of the square on the hypotenuse, not its length.
Check yourself
The two shorter sides of a right-angled triangle are 9 cm and 12 cm. How long is the hypotenuse?
Show the answer
15 cm
81 + 144 = 225, and √225 = 15.
3Finding a shorter side
To find a shorter side: square the hypotenuse and the known side, subtract, then square root.
Hypotenuse 13 cm, one side 5 cm
- $a^2 + 5^2 = 13^2$.
- $a^2 = 169 - 25 = 144$.
- $a = 12$ cm.
A ladder
- A 5 m ladder leans against a wall with its foot 1.5 m from the wall. How high does it reach?
- The ladder is the hypotenuse.
- $h^2 = 5^2 - 1.5^2 = 25 - 2.25 = 22.75$.
- $h = \sqrt{22.75} \approx 4.77$ m.
Decide first which side is the hypotenuse. If you are finding it, add. If you already know it, subtract. An answer for a shorter side that comes out longer than the hypotenuse means you added by mistake.
Check yourself
A right-angled triangle has hypotenuse 10 cm and one side 6 cm. How long is the other side?
Show the answer
8 cm
100 − 36 = 64, and √64 = 8.
4Pythagorean triples and testing for a right angle
A Pythagorean triple is a set of three whole numbers that satisfy the theorem.
- 3, 4, 5
- 5, 12, 13
- 8, 15, 17
- 7, 24, 25
- Any multiple of a triple is also a triple: 6, 8, 10 and 30, 40, 50.
Recognising triples saves time and avoids calculator errors.
The converse of the theorem is also true: if $a^2 + b^2 = c^2$ for the three sides of a triangle, then the triangle is right-angled.
Is a triangle with sides 7 cm, 9 cm and 11 cm right-angled?
- The longest side is 11: $11^2 = 121$.
- $7^2 + 9^2 = 49 + 81 = 130$.
- 130 ≠ 121, so the triangle is not right-angled.
Going further: if $a^2 + b^2 > c^2$, the largest angle is acute; if $a^2 + b^2 < c^2$, it is obtuse. Here 130 > 121, so all the angles are acute.
Builders use the 3-4-5 triangle to mark out a right angle with only a tape measure.
Check yourself
Which set of lengths makes a right-angled triangle?
Show the answer
5, 12, 13
25 + 144 = 169 = 13².
5Applications: distances, diagonals and three dimensions
Distance between two points. The horizontal and vertical differences are the two shorter sides of a right-angled triangle.
The distance between (1, 2) and (7, 10)
- Horizontal difference: 7 − 1 = 6.
- Vertical difference: 10 − 2 = 8.
- Distance: $\sqrt{6^2 + 8^2} = \sqrt{100} = 10$ units.
Diagonals and heights. Look for a right-angled triangle inside the shape.
The height of an isosceles triangle
- An isosceles triangle has equal sides of 10 cm and a base of 12 cm.
- The height splits the base into two 6 cm halves, making a right-angled triangle with hypotenuse 10.
- $h^2 = 100 - 36 = 64$, so $h = 8$ cm.
- Area: ½ × 12 × 8 = 48 cm².
Three dimensions. Use the theorem twice, or in its 3D form: the diagonal of a cuboid is $\sqrt{l^2 + w^2 + h^2}$.
The longest rod in a box
- A box measures 3 cm by 4 cm by 12 cm.
- Diagonal of the base: $\sqrt{3^2 + 4^2} = 5$ cm.
- Space diagonal: $\sqrt{5^2 + 12^2} = \sqrt{169} = 13$ cm.
- In one step: $\sqrt{9 + 16 + 144} = 13$ cm.
Always sketch the right-angled triangle you are using and label its sides.
Check yourself
What is the distance between the points (0, 0) and (5, 12)?
Show the answer
13
√(5² + 12²) = √169.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera