Salam Academy
Geometry and trigonometry · Subtopic 13 of 13

Trigonometry in Three Dimensions

Every 3D problem is a chain of 2D right-angled triangles. Find a triangle on the base first (often a diagonal), then stand a vertical triangle on it. The angle between a line and a plane is the angle between the line and its shadow on the plane.

Cambridge 4024 Paper 1Cambridge 4024 Paper 2Edexcel 4MA1 Papers 1H, 2HAQA 8300 Papers 1–3≈ 35 minRevision 5 · updated 2026-10-27
Section 1 of 14

Learning objectives

  • Find face diagonals and space diagonals of cuboids.
  • Find heights and edge lengths in pyramids.
  • Identify the angle between a line and a plane.
  • Draw the 2D right-angled triangle you need.
Pause and think

An ant walks from one bottom corner of a box to the opposite top corner, but a fly goes straight through the air. Whose path is a single straight line, and how could you find its length?

Section 2 of 14

Core idea

Start hereThe longest pencil in a box

What's the longest pencil that fits in a pencil case? Not along the base diagonal, but corner to opposite corner through the middle. 3D problems become 2D ones once you spot the hidden right-angled triangle.

The big idea

Find a right-angled triangle inside the solid, draw it flat, use Pythagoras or trig. Line–plane angle: use the line's projection on the plane.

1. The cuboid

Cuboid: the space diagonal and its angle with the base
θ643
Base diagonal =62+42=52=\sqrt{6^2+4^2}=\sqrt{52}. Then tan⁡θ=352\tan\theta=\dfrac{3}{\sqrt{52}}, so θ=22.6∘\theta=22.6^\circ. The space diagonal is 52+9=7.81\sqrt{52+9}=7.81.
Space diagonal
  1. dbase2=a2+b2d_{\text{base}}^2=a^2+b^2
    Pythagoras on the base.
  2. d2=dbase2+c2=a2+b2+c2d^2=d_{\text{base}}^2+c^2=a^2+b^2+c^2
    Vertical edge is perpendicular to the base diagonal.
Worked exampleCuboid 6×4×36\times4\times3

Space diagonal and its angle with the base.

Goal
Length; angle.
Strategy
Two right triangles.
  1. 36+16=52=7.21\sqrt{36+16}=\sqrt{52}=7.21
    Base diagonal (projection).
  2. 52+9=7.81\sqrt{52+9}=7.81
    Space diagonal.
  3. tan⁡θ=37.21⇒22.6∘\tan\theta=\frac3{7.21}\Rightarrow22.6^\circ
    Height over projection.
Answer7.817.81; 22.6∘22.6^\circ.
✓ Check36+16+9=61\sqrt{36+16+9}=\sqrt{61} ✓.
Worked exampleSquare-based pyramid

Base 8, apex 10 above the centre.

Goal
Slant edge; angle with the base.
Strategy
Centre to corner is half the diagonal.
  1. 12128=5.66\tfrac12\sqrt{128}=5.66
    Half diagonal.
  2. 100+32=11.5\sqrt{100+32}=11.5
    5.662=325.66^2=32.
  3. tan⁡−1105.66=60.5∘\tan^{-1}\tfrac{10}{5.66}=60.5^\circ
    Angle with the base.
Answer11.511.5; 60.5∘60.5^\circ.
✓ CheckSteep pyramid: angle above 45∘45^\circ ✓.
Common misconceptionWrong right angle Check the right angle is really there (vertical edge ⟂ anything in the base).
Pause and think

Longest rod in a 2×2×12\times2\times1 box?

Summary

  • Find and draw the right-angled triangle.
  • Line–plane angle via projection.
Key words
Projection
Shadow of a line on a plane.
HistoryMeasuring the Earth with a shadow. Around 240240 BC Eratosthenes noticed that at noon on midsummer's day the Sun was directly overhead in Syene, but cast a shadow of about 7∘7^\circ in Alexandria. Using that angle and the distance between the cities, he estimated the Earth's circumference remarkably well.
Fun factThe angle of a pyramid. The faces of the Great Pyramid of Giza rise at about 52∘52^\circ to the ground. Builders kept that slope using a ratio called the seked: how far the face moved in for each unit of height, an ancient version of the tangent ratio.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.