Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Pythagoras Theorem and Trigonometry

Pythagoras Theorem in 3D

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Pythagoras Theorem in 3D - Video - Pythagoras Theorem in 3D Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

To use Pythagoras' theorem in 3D, find a right-angled triangle inside the solid, often in two steps. This Year 9 maths page (the harder end of spatial problems) shows how to find the space diagonal of a box, the longest rod in a cylinder, and the height, slant height and sloping edge of cones and square pyramids, with answers as decimals or surds.

Pythagoras' theorem says that in a right-angled triangle \(c^{2} = a^{2} + b^{2}\), where \(c\) is the hypotenuse, the side opposite the right angle. In a 3D problem the triangle is hidden inside a solid. Your job is to find it and draw it flat.

The base diagonal of a rectangular prism runs across the base from corner to opposite corner. The space diagonal runs through the inside of the solid from a bottom corner to the opposite top corner. It is the longest straight line that fits inside.

The perpendicular height of a cone or pyramid goes straight down from the apex to the centre of the base. The slant height runs down the sloping surface: for a cone, from the apex to the edge of the base; for a pyramid, from the apex to the midpoint of a base edge. The sloping edge of a pyramid runs from the apex to a corner.

Every one still comes down to a right-angled triangle, drawn flat.

Base diagonal and space diagonal of a rectangular prismA rectangular prism with length l, width w and height h. The base diagonal d runs across the floor from a front corner to the opposite back corner. The space diagonal D runs from that front bottom corner to the opposite top corner, making a right angle with the vertical edge h. l w h d D
Two steps: the base diagonal \(d\) from \(l\) and \(w\), then the space diagonal \(D\) from \(d\) and \(h\).
Right-angled triangle inside a square pyramidA square pyramid with apex T above the centre O of the base. M is the midpoint of a base edge. Triangle TOM has a right angle at O: the height h, half the side OM, and the slant height TM as the hypotenuse. h Β½ side s T O M
In a square pyramid the height \(h\), half the side \(OM\) and the slant height \(s\) make a right-angled triangle. The slant height is the hypotenuse.
\[c^{2} = a^{2} + b^{2} \qquad a^{2} = c^{2} - b^{2}\]
c2=a2+b2

For a rectangular prism with length \(l\), width \(w\) and height \(h\):

\[d^{2} = l^{2} + w^{2} \qquad D^{2} = d^{2} + h^{2} = l^{2} + w^{2} + h^{2}\]
D2=l2+w2+h2

For a cone with radius \(r\), height \(h\) and slant height \(s\):

\[s^{2} = r^{2} + h^{2}\]
s2=r2+h2
SolidRight-angled triangleHypotenuse
Rectangular prism (base)length, width, base diagonalbase diagonal
Rectangular prism (space)base diagonal, height, space diagonalspace diagonal
Cylinderdiameter, height, longest diagonaldiagonal
Coneradius, height, slant heightslant height
Square pyramid (face)half the side, height, slant heightslant height
Square pyramid (edge)half the base diagonal, height, sloping edgesloping edge
Find a length from other information first. A cube's side from its volume (\(s = \sqrt[3]{V}\)), a radius from a circumference (\(r = \dfrac{C}{2\pi}\)), a cylinder's height from its volume (\(h = \dfrac{V}{\pi r^{2}}\)), a side from a square's area, or a pyramid's slant height from the area of a triangular face (\(\dfrac{1}{2} \times \text{side} \times s = \text{area}\)).

How to solve a 3D Pythagoras problem

  1. Sketch the solid and mark the length you want.
  2. Find a right-angled triangle that contains it. If that triangle has only one known side, find a second triangle first (usually across the base).
  3. Draw the triangle flat and label the hypotenuse, the side opposite the right angle.
  4. Apply Pythagoras: add the squares for the hypotenuse, subtract for a shorter side.
  5. Keep exact values (such as \(d^{2} = 41\) or a surd) between steps and round only at the end.

Useful facts

  1. Square pyramid: the centre of the base is half the side from each edge, and half the base diagonal from each corner.
  2. Cylinder or cone: use the radius from the centre and the diameter across the whole base.
  3. Will it fit? Compare the object's length with the space diagonal or the cylinder's diagonal.
  4. Square base of side \(x\): the space diagonal gives \(D^{2} = x^{2} + x^{2} + h^{2} = 2x^{2} + h^{2}\). Substitute and solve for \(x^{2}\).
  5. Wedge or ramp: the sloping face is a rectangle. Find its sloping length first (from the base length and the height), then use it with the width to get the diagonal of that face.
  6. Exact answers: if the total under the root is not a perfect square, leave the root sign in, such as \(\sqrt{41}\).
Example 1 β€” Space diagonal of a box
A box is \(10\) cm long, \(6\) cm wide and \(5\) cm high. Find the length \(D\) of its space diagonal, correct to one decimal place.
Solution

Find the base diagonal \(d\) first, then use it with the height. Keep \(d^{2}\) as it is; there is no need to find \(d\).

Box 10 cm by 6 cm by 5 cm with its space diagonalA box 10 cm long, 6 cm wide and 5 cm high. The base diagonal d is dashed and the space diagonal D runs from a bottom corner to the opposite top corner. 10 cm 6 cm 5 cm d D
\(d^{2}\)\(=\)\(10^{2} + 6^{2}\)
\(\)\(=\)\(136\)
\(D^{2}\)\(=\)\(d^{2} + 5^{2}\)
\(\)\(=\)\(136 + 25 = 161\)
\(D\)\(=\)\(\sqrt{161}\)
\(\)\(=\)\(12.6885\ldots\)
\(\)\(\approx\)\(\mathbf{12.7}\text{ cm}\)
D=102+62+52≈12.7

Shortcut: \(D^{2} = l^{2} + w^{2} + h^{2}\).

Example 2 β€” Slant height of a cone
A cone has a base diameter of \(8\) cm and a perpendicular height of \(6\) cm. Find its slant height \(s\)
(i) exactly, as a surd
(ii) correct to one decimal place.
Solution

The radius is half the diameter: \(r = 4\) cm. The height, the radius and the slant height form a right-angled triangle, with the slant height as the hypotenuse.

Cone with radius 4 cm and height 6 cmA cone with perpendicular height 6 cm dashed down the middle and radius 4 cm dashed along the base. The slant height s is the sloping edge from the apex to the edge of the base. 6 cm 4 cm s
\(s^{2}\)\(=\)\(4^{2} + 6^{2}\)
\(\)\(=\)\(16 + 36 = 52\)
\(\text{(i) } s\)\(=\)\(\mathbf{\sqrt{52}}\text{ cm}\)
\(\)\(=\)\(7.2111\ldots\)
\(\text{(ii) } s\)\(\approx\)\(\mathbf{7.2}\text{ cm}\)
s=52≈7.2

\(52\) is not a perfect square, so the exact answer keeps the root sign. \(7.2\) cm is longer than the height, as a slant height must be.

Example 3 β€” Inside a pyramid
A square pyramid has a base of side \(8\) m and a perpendicular height \(TO\) of \(3\) m. \(M\) is the midpoint of a base edge and \(C\) is a corner. Find
(i) the slant height \(TM\)
(ii) the length of the sloping edge \(TC\), correct to one decimal place.
Solution
Square pyramid with base 8 m and height 3 mA square pyramid with base side 8 m and perpendicular height TO of 3 m. M is the midpoint of the front base edge and C is the front right corner. TM and TC are drawn in red. 3 m 8 m TM TC T M C O

(i) \(OM\) is half the side, \(4\) m. Triangle \(TOM\) has its right angle at \(O\).

\(TM^{2}\)\(=\)\(3^{2} + 4^{2} = 25\)
\(TM\)\(=\)\(\mathbf{5}\text{ m}\)

(ii) Triangle \(TMC\) has its right angle at \(M\), and \(MC\) is half the side, \(4\) m.

\(TC^{2}\)\(=\)\(5^{2} + 4^{2} = 41\)
\(TC\)\(=\)\(\sqrt{41}\)
\(\)\(=\)\(6.4031\ldots\)
\(\)\(\approx\)\(\mathbf{6.4}\text{ m}\)
TC=52+42≈6.4

Check another way: half the base diagonal gives \(OC^{2} = 4^{2} + 4^{2} = 32\), and \(TC^{2} = 3^{2} + 32\) \(= 41\).

Example 4 β€” Working backwards
A \(30\) cm rod just fits inside a cylindrical container \(24\) cm tall, from the bottom edge on one side to the top edge on the other. Find the diameter \(d\) of the container.
Solution

The rod is the hypotenuse. The height and the diameter are the two shorter sides, so subtract.

Rod of 30 cm across a cylinder 24 cm tallA cylinder 24 cm tall. A 30 cm rod runs from the bottom edge on one side to the top edge on the other side. The diameter d of the base is the unknown. 24 cm 30 cm diameter d
\(d^{2} + 24^{2}\)\(=\)\(30^{2}\)
\(d^{2}\)\(=\)\(900 - 576\)
\(\)\(=\)\(324\)
\(d\)\(=\)\(\sqrt{324} = \mathbf{18}\text{ cm}\)
d=302−242=18

The radius would be \(9\) cm. Any container narrower than \(18\) cm across is too small for the rod.

Common pitfalls

The base diagonal is not the space diagonal. The base diagonal lies flat on the floor. The longest object in a box lies along the space diagonal, which also uses the height.
Diameter or radius? The diagonal of a cylinder uses the full diameter. The slant height of a cone uses the radius. Read which one the question gives.
Slant height or perpendicular height? The slant height is always the hypotenuse, so it is longer than the height. If your height comes out longer than the slant height, you added instead of subtracting.
Do not round the middle step. Rounding the base diagonal before the second step can change the final answer. Keep \(d^{2}\) or the full calculator value.

Frequently asked questions

How do you use Pythagoras' theorem in 3D?

Find a right-angled triangle inside the solid that contains the length you want. If it only has one known side, first find another side in a second triangle, usually across the base. Then apply \(c^{2} = a^{2} + b^{2}\).

How do you find the space diagonal of a rectangular prism?

Square the length, width and height, add them, and take the square root: \(D = \sqrt{l^{2} + w^{2} + h^{2}}\). This is the same as finding the base diagonal first and then using it with the height.

What is the difference between slant height and perpendicular height?

The perpendicular height goes straight down from the apex to the centre of the base. The slant height runs down the sloping surface. The slant height is the hypotenuse of the triangle, so it is always longer.

How do you find the slant height of a cone?

Use the radius and the perpendicular height as the two shorter sides: \(s^{2} = r^{2} + h^{2}\).

What is the longest object that fits in a box?

The longest straight object lies along the space diagonal, from a bottom corner to the opposite top corner: \(\sqrt{l^{2} + w^{2} + h^{2}}\).