impera Open Impera

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?

  • The vertical side

  • The shortest side

  • The side opposite the right angle

  • The side next to the right angle

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.

Worked example

Shorter sides 6 cm and 8 cm

  1. $c^2 = 6^2 + 8^2$.
  2. $c^2 = 36 + 64 = 100$.
  3. $c = \sqrt{100} = 10$ cm.
Worked example

A non-whole answer. Shorter sides 5 cm and 7 cm

  1. $c^2 = 25 + 49 = 74$.
  2. $c = \sqrt{74} \approx 8.60$ cm.
  3. 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?

  • 225 cm

  • 15 cm

  • 21 cm

  • 10.5 cm

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.

Worked example

Hypotenuse 13 cm, one side 5 cm

  1. $a^2 + 5^2 = 13^2$.
  2. $a^2 = 169 - 25 = 144$.
  3. $a = 12$ cm.
Worked example

A ladder

  1. A 5 m ladder leans against a wall with its foot 1.5 m from the wall. How high does it reach?
  2. The ladder is the hypotenuse.
  3. $h^2 = 5^2 - 1.5^2 = 25 - 2.25 = 22.75$.
  4. $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?

  • 11.7 cm

  • 16 cm

  • 8 cm

  • 4 cm

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.

Worked example

Is a triangle with sides 7 cm, 9 cm and 11 cm right-angled?

  1. The longest side is 11: $11^2 = 121$.
  2. $7^2 + 9^2 = 49 + 81 = 130$.
  3. 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?

  • 2, 3, 4

  • 5, 12, 13

  • 4, 5, 6

  • 6, 7, 8

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.

Worked example

The distance between (1, 2) and (7, 10)

  1. Horizontal difference: 7 − 1 = 6.
  2. Vertical difference: 10 − 2 = 8.
  3. Distance: $\sqrt{6^2 + 8^2} = \sqrt{100} = 10$ units.

Diagonals and heights. Look for a right-angled triangle inside the shape.

Worked example

The height of an isosceles triangle

  1. An isosceles triangle has equal sides of 10 cm and a base of 12 cm.
  2. The height splits the base into two 6 cm halves, making a right-angled triangle with hypotenuse 10.
  3. $h^2 = 100 - 36 = 64$, so $h = 8$ cm.
  4. 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}$.

Worked example

The longest rod in a box

  1. A box measures 3 cm by 4 cm by 12 cm.
  2. Diagonal of the base: $\sqrt{3^2 + 4^2} = 5$ cm.
  3. Space diagonal: $\sqrt{5^2 + 12^2} = \sqrt{169} = 13$ cm.
  4. 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)?

  • 17

  • 7

  • 60

  • 13

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