3D Pythagoras and Trigonometry

On this page

Find a right-angled triangle inside a cuboid, prism or pyramid, then use Pythagoras and trigonometry to work out a length or the angle between a line and a plane.

Key facts

A vertical edge is perpendicular to every line in the base, so triangle ACG has its right angle at C

The diagonal of the base first, then up: AG^2=a^2+b^2+c^2

The angle between AP and a plane is angle PAN, where N is directly below P

The top of a pyramid is above the centre O of the base, halfway along the diagonal AC

  • Mark the angle you want on the diagram, then draw its right-angled triangle flat with the lengths you know.
  • Keep each length unrounded in your calculator and round only the final answer.

Worked example 1: The angle between a line and the base of a cuboid

ABCDEFGH is a cuboid.

AB=12 cm

BC=5 cm

CG=6 cm

Work out the size of the angle between AG and the plane ABCD.

Give your answer correct to 1 decimal place.

  1. G is directly above C, so the line in the base below AG is AC. The angle is angle GAC.
  2. Triangle ABC: AC^2=12^2+5^2=169so AC=13 cm
  3. Triangle ACG, right-angled at C: \tan\theta=\frac{6}{13}
  4. \theta=\tan^{-1}\left(\frac{6}{13}\right)=24.775\ldots=24.8^\circ
  5. Angle AGC, at the top, is the angle with the vertical edge, not with the base.
  6. On the non-calculator paper the lengths give an exact value, such as \sin\theta=\frac{1}{2}so \theta=30^\circ.

Now try this

ABCDEFGH is a cuboid.

AE=4.2 cm

EC=11.5 cm

Work out the size of the angle between EC and the plane ABCD.

Give your answer correct to 1 decimal place.

  1. E is directly above A, so the angle is angle ECA, in triangle ACE with its right angle at A.
  2. \sin\theta=\frac{4.2}{11.5}so \theta=\sin^{-1}\left(\frac{4.2}{11.5}\right)=21.420\ldots=21.4^\circ

More like this: practice questions

Worked example 2: The angle between a line and the base of a prism

The diagram shows a triangular prism.

The base ABCD is a horizontal rectangle with AB=15 cm and BC=12 cm.

E is vertically above D and F is vertically above C, with DE=CF=9 cm.

P is the point on BC such that BP:PC=1:2

Calculate the size of the angle between EP and the base ABCD.

Give your answer correct to 1 decimal place.

  1. E is directly above D, so the line in the base below EP is DP. The angle is angle EPD.
  2. PC is 2 of the 3 parts of BC: PC=\frac{2}{3}\times12=8 cm
  3. DC=AB=15 cm. Triangle DCP, right-angled at C: DP^2=15^2+8^2=289so DP=17 cm
  4. Angle EPD=\tan^{-1}\left(\frac{9}{17}\right)=27.897\ldots=27.9^\circ
  5. The angle is at P, where EP meets the base. Examiners report many students finding an angle at the wrong corner: mark it on the diagram first.

Now try this

The diagram shows a triangular prism.

The base ABCD is a horizontal rectangle with AB=20 cm and BC=6 cm.

E is vertically above D and F is vertically above C, with DE=CF=4.5 cm.

Q is the point on AB such that AQ:QB=3:2

Calculate the size of the angle between FQ and the base ABCD.

Give your answer correct to 1 decimal place.

  1. F is directly above C, so the angle is angle FQC. QB is 2 of the 5 parts of AB: QB=\frac{2}{5}\times20=8 cm
  2. Triangle CBQ, right-angled at B: CQ^2=6^2+8^2=100so CQ=10 cm
  3. Angle FQC=\tan^{-1}\left(\frac{4.5}{10}\right)=24.227\ldots=24.2^\circ

More like this: practice questions

Worked example 3: The angle between an edge of a pyramid and its base

VABCD is a pyramid with a square base ABCD.

AB=6 cm

The vertex V is vertically above the centre O of the base, and VO=10 cm.

Calculate the size of the angle between VA and the base ABCD.

Give your answer correct to 1 decimal place.

  1. V is directly above O, so the angle is angle VAO, in triangle VAO with its right angle at O.
  2. AC^2=6^2+6^2=72so AC=\sqrt{72} cmso AO=\frac{1}{2}\sqrt{72}=3\sqrt{2}=4.242\ldots cm
  3. Angle VAO=\tan^{-1}\left(\frac{10}{4.242\ldots}\right)=67.010\ldots=67.0^\circ
  4. O is halfway along the diagonal AC, not halfway along a side. If the angle is given and a length is asked for, use the same triangle the other way round.

Now try this

VABCD is a pyramid with a rectangular base ABCD.

AB=12 cm and BC=9 cm

The vertex V is vertically above the centre O of the base, and VO=11 cm.

Calculate the size of the angle between VC and the base ABCD.

Give your answer correct to 1 decimal place.

  1. AC^2=12^2+9^2=225, so AC=15 cm and OC=7.5 cm
  2. Angle VCO=\tan^{-1}\left(\frac{11}{7.5}\right)=55.713\ldots=55.7^\circ

More like this: practice questions

Worked example 4: An angle across a cuboid, using an edge perpendicular to a face

ABCDEFGH is a cuboid.

AB=10 cm

CG=6 cm

Angle BAC=32^\circ

Work out the size of angle GAB.

Give your answer correct to 1 decimal place.

  1. AB is perpendicular to the face BCGF, so triangle ABG has its right angle at B. Find BG first.
  2. Triangle ABC: BC=10\tan32^\circ=6.248\ldots cm
  3. Face BCGF: BG^2=6.248\ldots^2+6^2so BG=8.662\ldots cm
  4. Angle GAB=\tan^{-1}\left(\frac{8.662\ldots}{10}\right)=40.902\ldots=40.9^\circ
  5. Angle GAB is not the angle between AG and the base: that is angle GAC.

Now try this

ABCDEFGH is a cuboid.

AB=7 cm

BC=6 cm

Angle BFC=35^\circ

Work out the size of angle CFD.

Give your answer correct to 1 decimal place.

  1. DC is perpendicular to the face BCGF, so triangle CDF has its right angle at C, and DC=AB=7 cm.
  2. Triangle BCF, right-angled at B: CF=\frac{6}{\sin35^\circ}=10.460\ldots cm
  3. Angle CFD=\tan^{-1}\left(\frac{7}{10.460\ldots}\right)=33.789\ldots=33.8^\circ

More like this: practice questions

Interactive diagram

Practice questions