Back to National 5 Mathematics

SQA National 5 Mathematics

3D Pythagoras

Using right-angled triangles inside 3D shapes.

Before you start

  • Look for two right-angled triangles inside the solid.
  • Find a base diagonal first if the space diagonal is needed.
  • Keep units consistent.
National 5 Mathematics lesson

Explanation

3D Pythagoras usually needs two steps. First find a diagonal on a rectangular face, then use that diagonal in a second right-angled triangle.

In a cuboid with length l, width w and height h, the space diagonal d satisfies d² = l² + w² + h².

A clear sketch is important because the right angle may be hidden inside the 3D shape.

Visual support

Two Pythagoras steps inside a cuboid

lengthwidthheightface diagonalspace diagonal

Key formulae and rules

  • face diagonal² = l² + w²
  • space diagonal² = l² + w² + h²

Watch out

Using only one face when the question asks for the internal diagonal.

Check

Compare your answer with the size you expected from the question.

Exam tip

If a 3D question feels difficult, draw the base diagonal first and label it before doing the second triangle.

Calculator tip

Use brackets for fractions, powers and square roots, then round only at the final line.

Worked examples

Worked example 1

Find a space diagonal

A cuboid is 6 cm by 8 cm by 10 cm. Find the space diagonal.

  1. Base diagonal² = 6² + 8² = 100, so base diagonal = 10
  2. Space diagonal² = 10² + 10² = 200
  3. Space diagonal = √200 = 10√2

Answer: The space diagonal is 10√2 cm, about 14.1 cm.

Worked example 2

Use the direct formula

A box measures 3 m by 4 m by 12 m. Find the longest internal diagonal.

  1. d² = 3² + 4² + 12²
  2. d² = 9 + 16 + 144 = 169
  3. d = 13

So: The longest internal diagonal is 13 m.

Worked example 3

Find a missing height

A cuboid has length 9 cm, width 12 cm and space diagonal 17 cm. Find its height.

  1. 17² = 9² + 12² + h²
  2. 289 = 81 + 144 + h²
  3. h² = 64
  4. h = 8

Answer: The height is 8 cm.

Watch out

  • Using only one face when the question asks for the internal diagonal.
  • Rounding the face diagonal before using it again.
  • Assuming every drawn diagonal is the longest diagonal.