Solving 2D and 3D problems using Pythagoras' theorem

Part ofMathsGeometry and measure

Key points about solving 2D and 3D problems using Pythagoras' theorem

Bullet points represented by lightbulbs
  • Pythagoras' theorem states that for any right-angled triangle, the square of the is equal to the sum of the squares of the other two sides.

  • If the sides of the right-angled triangle are labelled 𝑎, 𝑏 and 𝑐 then Pythagoras' theorem can be written as the formula 𝑎² + 𝑏² = 𝑐².

  • Pythagoras' theorem can be used to find the length of line segments and applied in two and three dimensions. Using Pythagoras' theorem in 3D is for Higher tier only.

Make sure you are confident in working with Pythagoras' theorem before solving these 2D and 3D problems.

Back to top

Calculating the length of a line segment

A coordinate grid with x-axis and y-axis labelled from 0 to 6. Two points, A at (2, 3) and B at (6, 6), are connected by an orange diagonal line. Blue dashed lines form a right-angled triangle with a right angle at (6, 3), connecting A horizontally to (6, 3) and B vertically down to (6, 3).
Image caption,
The length of a line segment can be calculated using Pythagoras' theorem.

A line segment is a part of a line which has two end points. When plotted on a set of axes, the points at the ends of the line segment can be expressed using .

Find the length of the line segment using Pythagoras' theorem by adding a vertical and horizontal line to form a right-angled triangle.

When just two points, 𝐴 and 𝐵, have been provided it is useful to sketch a diagram.

A coordinate grid with x-axis and y-axis labelled from 0 to 6. Two points, A at (2, 3) and B at (6, 6), are connected by an orange diagonal line. Blue dashed lines form a right-angled triangle with a right angle at (6, 3), connecting A horizontally to (6, 3) and B vertically down to (6, 3).
Image caption,
The length of a line segment can be calculated using Pythagoras' theorem.

Follow the worked example below

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. Point 𝐶 has coordinates (1, 1). Point 𝐷 has coordinates (6, 5).

Use Pythagoras' theorem to find the length of the line segment 𝐶𝐷.

Give the answer to one decimal place.

A coordinate grid with x-axis and y-axis labelled from 0 to 6. Two points are marked: C at (1, 1) and D at (6, 5). An orange diagonal line connects points C and D.

  1. Point 𝐸 has coordinates ( – 6, 6).

Point 𝐹 has coordinates (6, 1).

Use Pythagoras' theorem to find the length of the line segment 𝐸𝐹.

A coordinate grid with x-axis labelled from −6 to 6 and y-axis labelled from 0 to 6. Two points are marked: E at (−6, 5) and F at (6, 1). An orange diagonal line connects points E and F, sloping downwards from left to right.

  1. Point 𝑃 has coordinates (1, 4).

Point 𝑄 has coordinates (6, 2).

Use Pythagoras' theorem to find the length of the line segment 𝑃𝑄.

Give the answer to one decimal place.

A coordinate grid with x-axis and y-axis labelled from 0 to 6. Two points are marked: P at (1, 4) and Q at (6, 2). An orange diagonal line connects points P and Q, sloping downwards from left to right.

Back to top

Using Pythagoras' theorem in 2D

A simple illustration showing a ladder leaning against a brick wall. The ladder is orange with white rungs and is positioned at an angle, resting on a grey floor. The word ‘ladder’ is written in orange next to it.
Image caption,
A ladder leaning against a wall forms a right-angled triangle.

Pythagoras' theorem can be used to solve 2-dimensional problems which involve calculating a length in a right-angled triangle.

Identify these questions by recognising situations where a side of a right-angled triangle needs to be calculated and two sides are known.

It may be necessary to use Pythagoras' theorem more than once in a problem.

A simple illustration showing a ladder leaning against a brick wall. The ladder is orange with white rungs and is positioned at an angle, resting on a grey floor. The word ‘ladder’ is written in orange next to it.
Image caption,
A ladder leaning against a wall forms a right-angled triangle.

Follow the worked example below

GCSE exam-style questions

  1. A ladder of length 7 metres leans against a vertical wall.

The base of the ladder is 1·5 metres from the base of the wall.

Work out how far up the wall the ladder reaches.

Give the answer to 1 decimal place.

A diagram showing a ladder leaning against a brick wall. The ladder is orange and measures 7 metres. It rests on a grey floor, 1.5 metres away from the wall. An arrow along the wall is labelled h to represent the height the ladder reaches.

  1. A piece of wire is formed into a trapezium shape.

Calculate the total amount of wire needed to make the trapezium.

A trapezium with two right angles at the bottom corners. The bottom side measures 12 millimetres, the left vertical side measures 10 millimetres, and the right vertical side measures 15 millimetres. The top side is slanted.

Back to top

Quiz – Solving 2D problems using Pythagoras' theorem

Practise what you've learned about solving 2D problems using Pythagoras' theorem with this quiz.

Back to top

Higher – Using Pythagoras' theorem in 3D

Use Pythagoras' theorem to solve 3-dimensional problems which involve calculating the length of a right-angled triangle.

For example, Pythagoras' theorem can be applied twice to find the distance between two opposite vertices in a cuboid.

When working in three-dimensions, it can be helpful to draw additional diagrams to help visualise the question.

Numbers expressed in questions or final answers may be written as surds.

Remember

A surd is an exact answer written as a square root.

To simplify a surd, identify a square number factor.

For example, √12 can be simplified because 4 is a square number factor of 12.

√12 = √4 × √3 = 2√3

Follow the worked example below

GCSE exam-style questions

  1. A cuboid measures 4 cm × 7 cm × 10 cm.

Calculate the length of 𝐸𝐾.

Give the answer to 1 decimal place.

A rectangular cuboid with dimensions 10 cm, 4 cm, and 7 cm. Vertices are labelled G, H, I, J, K, L, and E. An orange diagonal line runs from point K on the top left front edge to point E on the bottom right back edge.

  1. A cube has sides measuring 8 cm.

Calculate the length of 𝑥.

Express the answer in the form 𝑎√3 where 𝑎 is an integer.

A cube with edge length 8 cm. Vertices are labelled A, B, C, D, E, F, G, and H. An orange diagonal line runs from point G on the top left front edge to point A on the bottom right front edge. The diagonal is labelled x.

Back to top

Higher – Quiz – Using Pythagoras' theorem in 3D

Practise what you've learned about using Pythagoras' theorem in 3D with this quiz.

Now you've revised solving 2D and 3D problems with Pythagoras' theorem, why not look at calculations using the alternate segment theorem, tangents and chords?

Back to top

More on Geometry and measure

Find out more by working through a topic