Vertex Learn

Pythagoras' theorem in 2D and 3D explained

What this lesson covers

  • In a right-angled triangle, the square on the hypotenuse equals the sum of the squares on the other two sides.
  • A 3D length is found by using Pythagoras' theorem twice, in two right-angled triangles that share a side.
Key idea

Year 10 drew the triangle for you

  • Now you find the triangle yourself.
  • Some lengths need two triangles, in 3D.
  • Give exact answers, then rounded ones.
LevelWhat you do
Year 10find a side of a triangle already drawn
Level 1find the triangle inside a context
Level 1a 3D length, from two triangles
Level 1exact surd, then rounded, with reasons
Key idea

Which side is the hypotenuse

  • Only in a right-angled triangle.
  • The hypotenuse is opposite the right angle.
  • It is always the longest side. 3² + 4² = 9 + 16 = 25 = 5²
Which side is the hypotenuse
Worked example

Finding the hypotenuse

  • c is opposite the right angle.
  • c² = 81 + 36 = 117
  • c = √117 = 3√13 ≈ 10.8 cm
Finding the hypotenuse
Key idea

Try it: change the triangle

Key idea

Try it: squares on the sides

Worked example

Finding a shorter side

  • The 11 cm side is the hypotenuse.
  • a² = 121 − 36 = 85
  • a = √85 ≈ 9.2 cm, shorter than 11
Finding a shorter side
Key idea

Triangle solver

Worked example

A ladder against a wall

  • The wall meets the ground at a right angle.
  • h² = 36 − 4 = 32
  • h = √32 = 4√2 ≈ 5.66 m
A ladder against a wall
Worked example

Across a rectangular field

  • The diagonal cuts the field into two right-angled triangles.
  • d² = 8100 + 1600 = 9700
  • d = √9700 = 10√97 ≈ 98.5 m
Across a rectangular field
Key idea

Try it: the distance across

Worked example

An isosceles triangle, split in two

  • The height cuts the base in half, at 90°.
  • Each half: legs 6 cm and h, hypotenuse 10 cm.
  • h² = 100 − 36 = 64, so h = 8 cm
An isosceles triangle, split in two
Key idea

Is it right-angled? The converse

  • Square the two shorter sides and add.
  • Square the longest side.
  • Equal means a right angle. Not equal means none.
Sidesa² + b²c²So
7, 24, 2549 + 576 = 625625right angle
6, 7, 936 + 49 = 8581no right angle
Testtwo shorter sideslongest sideequal or not
Key idea

The space diagonal of a cuboid

  • From one corner to the opposite corner, through the inside.
  • It is not on any face, so no single triangle holds it.
  • Use two triangles that share a side.
The space diagonal of a cuboid
Worked example

Triangle 1: across the floor

  • Length and width meet at a right angle.
  • f² = 36 + 9 = 45
  • Keep f = √45. Do not round yet.
Triangle 1: across the floor
Worked example

Triangle 2: up to the far corner

  • The height stands at 90° to the floor diagonal.
  • d² = 45 + 4 = 49
  • d = 7 cm exactly
Triangle 2: up to the far corner
Worked example

The slant height of a cone

  • Cut the cone down the middle.
  • Radius, height and slant make a right-angled triangle.
  • l² = 25 + 64 = 89, so l = √89 ≈ 9.4 cm
The slant height of a cone
Key idea

Try it: hunt the hypotenuse

Worked example

Setting it up with an unknown

  • Let the width be w cm. The length is 2w.
  • w² + 4w² = 100, so 5w² = 100 and w² = 20
  • w = √20 = 2√5 ≈ 4.47 cm, length ≈ 8.94 cm
Setting it up with an unknown
Summary

What to take away

  • Find the right angle, name the hypotenuse, then say why.
a² + b² = c²c is the hypotenuse, opposite the right angle
Finding cadd the squares, then square root
A shorter sidesubtract: the hypotenuse squared minus the other
In a contextfind the right angle, draw the triangle
The converseif a² + b² = c², there is a right angle
In 3Dtwo triangles that share a side
Answersexact first, then rounded, with units

Common mistakes

  • Hypotenuse 11 cm, one side 6 cm: a² = 121 + 36 = 157
    11 cm is the longest side, so subtract: a² = 121 − 36 = 85 and a = √85 ≈ 9.2 cm, which is shorter than 11.
  • c = √(81 + 36) = 9 + 6 = 15 cm
    The square root of a sum is not the sum of the roots: c = √117 = 3√13 ≈ 10.8 cm.
  • Floor diagonal √45 ≈ 6.7, then 6.7² + 2² = 48.89, so d ≈ 6.99 cm
    Keep f² = 45 exact: d² = 45 + 4 = 49, so d = 7 cm exactly; rounding the first triangle spoils the second.
  • 6, 7, 9: 36 + 49 = 85 and 9² = 81, close enough, so it is right-angled.
    85 ≠ 81, so it has no right angle; the converse needs the two sides of the test to be exactly equal.
Your turn

Your turn: four questions

  • Write all four out, with reasons.
  • Give exact answers, then round sensibly.
  • Question 3 needs two triangles.
1

Hypotenuse 12 cm, one side 7 cm. Find the third side.

2

A gate is 3 m wide and 1.2 m high. How long is its diagonal?

3

A box is 8 cm by 4 cm by 1 cm. Find its space diagonal.

4

Sides 9 cm, 12 cm and 16 cm. Is it right-angled? Why?

Show answer

1. √95 ≈ 9.7 cm. The 12 cm side is the hypotenuse, so subtract: 144 − 49 = 95. 2. √10.44 ≈ 3.23 m. The width, height and diagonal make a right-angled triangle with the diagonal as hypotenuse: 9 + 1.44 = 10.44. 3. 9 cm exactly. Floor diagonal squared is 64 + 16 = 80 (keep √80), then space diagonal squared is 80 + 1 = 81. 4. No. 9² + 12² = 81 + 144 = 225, but 16² = 256. The squares do not match, so by the converse there is no right angle.

Worked example

The answers

  • √95 ≈ 9.7 cm. Subtract: 144 − 49 = 95.
  • √10.44 ≈ 3.23 m. Add: 9 + 1.44 = 10.44.
  • 9 cm exactly: √80 across the floor, then 80 + 1 = 81.
  • No: 81 + 144 = 225, but 16² = 256.
Your turn

Sample question: Achieved

A 4.5 m ladder leans against a wall. Its foot is 1.2 m from the bottom of the wall, on flat ground. How high up the wall does the ladder reach? Give your answer to 2 decimal places.

Hint

The wall and the ground meet at a right angle, and the ladder is the hypotenuse. You are finding a shorter side, so subtract.

Answer

4.34 m

Step by step
  1. Draw it. The wall is upright and the ground is flat, so they meet at a right angle. Ladder, wall and ground make a right-angled triangle.
  2. The hypotenuse is the side opposite the right angle. That is the ladder, 4.5 m.
  3. Pythagoras: a² + b² = c², where c is the hypotenuse. Here h² + 1.2² = 4.5².
  4. We want a shorter side, so subtract: h² = 4.5² − 1.2² = 20.25 − 1.44 = 18.81. Adding here is the classic mistake.
  5. Take the square root: h = √18.81 = 4.337… m.
  6. Round to 2 decimal places: h ≈ 4.34 m.
  7. Check it makes sense: 4.34 m is shorter than the 4.5 m ladder, as a shorter side must be.
Full working
  1. h² + 1.2² = 4.5²the ladder is the hypotenuse
  2. h² = 20.25 − 1.44 = 18.81shorter side: subtract
  3. h = √18.81 = 4.337…
  4. h ≈ 4.34 m
Your turn

Sample questions: Merit

1

A TV screen is a rectangle with width and height in the ratio 16 : 9. Its diagonal is 55 inches. Find the width and the height, each to 1 decimal place.

Hint

Let the width be 16k and the height 9k, then use Pythagoras with the diagonal as the hypotenuse.

Answer

Width ≈ 47.9 inches and height ≈ 27.0 inches

Step by step
  1. The diagonal cuts the screen into two right-angled triangles. The diagonal is the hypotenuse.
  2. Use one letter for both sides so the ratio stays 16 : 9. Let the width be 16k and the height 9k.
  3. Pythagoras: (16k)² + (9k)² = 55².
  4. Square each part carefully: (16k)² = 256k², not 16k². So 256k² + 81k² = 3025.
  5. Collect: 337k² = 3025. Divide: k² = 3025 ÷ 337 = 8.976…
  6. Square root: k = 2.996… Keep all the digits for now.
  7. Width = 16 × 2.996… = 47.9 inches. Height = 9 × 2.996… = 27.0 inches, both to 1 decimal place.
  8. Rounding k to 3 first would make the answers 48 and 27, which is close but not accurate. Round only at the end.
  9. Check: 47.94² + 26.96² ≈ 2298 + 727 = 3025 = 55². And 47.94 ÷ 26.96 ≈ 1.78 ≈ 16 ÷ 9.
Full working
  1. width 16k, height 9kkeep the 16 : 9 ratio
  2. (16k)² + (9k)² = 55²the diagonal is the hypotenuse
  3. 337k² = 3025, so k = 2.996…256 + 81 = 337
  4. width = 16k ≈ 47.9, height = 9k ≈ 27.0
  5. 47.9 inches by 27.0 inches
2

A box is 30 cm long, 20 cm wide and 12 cm high. Will a 40 cm rod fit inside the closed box? What is the longest straight rod that fits?

Hint

The longest rod goes from one bottom corner to the opposite top corner. Use Pythagoras twice: across the floor, then up.

Answer

No; the longest rod that fits is 38 cm

Step by step
  1. The longest straight line inside a box is the space diagonal, from a bottom corner to the opposite top corner.
  2. It does not lie on any face, so no single triangle holds it. Use two right-angled triangles that share a side.
  3. Triangle 1 is on the floor. Length and width meet at a right angle, so the floor diagonal f has f² = 30² + 20² = 900 + 400 = 1300.
  4. Keep f² = 1300. Do not round f yet.
  5. Triangle 2 stands up. The height is at a right angle to the floor diagonal. So d² = f² + 12² = 1300 + 144 = 1444.
  6. d = √1444 = 38 cm exactly.
  7. The longest rod that fits is 38 cm. 40 cm is longer, so it will not fit.
  8. Check: you can do it in one go as d² = 30² + 20² + 12² = 900 + 400 + 144 = 1444. Same answer.
Full working
  1. f² = 30² + 20² = 1300floor diagonal
  2. d² = 1300 + 12² = 1444height is at 90° to the floor
  3. d = √1444 = 38 cm
  4. 40 > 38so the rod does not fit
  5. No; longest rod 38 cm
Your turn

Sample questions: Excellence

1

A square-based pyramid has a base of side 10 m. Each sloping edge, from a corner of the base to the top, is 13 m. Find the exact vertical height, then give it to 2 decimal places. Explain why it is not 12 m.

Hint

The top is directly above the centre of the base. Find the distance from a corner to the centre first, using the base diagonal.

Answer

√119 ≈ 10.91 m; 12 m is the slant height up the middle of a face, not the vertical height

Step by step
  1. The top of the pyramid is straight above the centre of the square base. The vertical height meets the base at a right angle there.
  2. The right-angled triangle we need has the sloping edge (13 m) as its hypotenuse, the vertical height h, and the distance from a corner to the centre.
  3. That corner-to-centre distance is half the base diagonal. Find the diagonal with Pythagoras on the base: diagonal² = 10² + 10² = 200.
  4. Half the diagonal, squared: (half)² = 200 ÷ 4 = 50. So the distance is √50 ≈ 7.07 m. Keep it as √50.
  5. Now the upright triangle: h² + 50 = 13² = 169. Subtract: h² = 119.
  6. h = √119 m exactly, which is 10.91 m to 2 decimal places.
  7. Why not 12? The triangle with 13 m and half the base side, 5 m, gives √(169 − 25) = 12. That triangle runs up the middle of a face, so 12 m is the slant height of a face.
  8. The middle of a face is closer to the centre (5 m) than a corner is (7.07 m). So the vertical height is less than 12 m.
  9. The classic mistake is to use half the base side, 5 m, with the 13 m edge. That edge goes to a corner, so it needs the corner distance.
  10. Check: 10.91² + 7.07² ≈ 119 + 50 = 169 = 13².
Full working
  1. diagonal² = 10² + 10² = 200base is a square
  2. (half diagonal)² = 200 ÷ 4 = 50corner to centre
  3. h² = 13² − 50 = 119the sloping edge is the hypotenuse
  4. h = √119 ≈ 10.91 m
  5. √(13² − 5²) = 12 is the slant height of a facenot vertical
  6. h = √119 ≈ 10.91 m
2

Prove that a triangle with sides 2n, n² − 1 and n² + 1 is right-angled for every whole number n ≥ 2. Explain why n² + 1 is the longest side. Hence find a right-angled triangle with whole-number sides and one side of 20.

Hint

Use the converse of Pythagoras: show (2n)² + (n² − 1)² equals (n² + 1)². For the longest side, compare n² + 1 with 2n by looking at their difference.

Answer

(2n)² + (n² − 1)² = n⁴ + 2n² + 1 = (n² + 1)²; n = 10 gives 20, 99, 101

Step by step
  1. The converse of Pythagoras: if the two shorter sides squared add to the longest side squared, the triangle is right-angled.
  2. First, the longest side. n² + 1 is 2 more than n² − 1, so it beats that side.
  3. Compare n² + 1 with 2n: their difference is n² − 2n + 1 = (n − 1)². For n ≥ 2 that is positive, so n² + 1 is bigger. It is the longest side.
  4. Now square the two shorter sides. (2n)² = 4n².
  5. (n² − 1)² = (n² − 1)(n² − 1) = n⁴ − 2n² + 1.
  6. Add them: 4n² + n⁴ − 2n² + 1 = n⁴ + 2n² + 1.
  7. Square the longest side: (n² + 1)² = n⁴ + 2n² + 1. It is the same.
  8. So the triangle is right-angled for every n ≥ 2. Check n = 2: sides 4, 3, 5, and 9 + 16 = 25.
  9. Hence: we want one side to be 20. 2n = 20 gives n = 10. (n² − 1 = 20 or n² + 1 = 20 would need n² = 21 or 19, which are not square numbers.)
  10. n = 10 gives 2n = 20, n² − 1 = 99 and n² + 1 = 101.
  11. Check: 20² + 99² = 400 + 9801 = 10 201 = 101².
Full working
  1. (n² + 1) − 2n = (n − 1)² > 0so n² + 1 is longest
  2. (2n)² + (n² − 1)² = 4n² + n⁴ − 2n² + 1expand
  3. = n⁴ + 2n² + 1 = (n² + 1)²converse of Pythagoras
  4. 2n = 20, so n = 10hence
  5. sides 20, 99, 101: 400 + 9801 = 10 201 = 101²
  6. Right-angled for every n ≥ 2; 20, 99, 101
Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91947

Is your child on track?

Take the free placement test