Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Extension 1 (2026) Further Trigonometry

Trigonometry in Three Dimensions

20 practice questions 2 video lessons Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Trigonometry in three dimensions breaks a solid or a landscape into flat triangles. This Year 11 Mathematics Extension 1 page shows how to find the right angles at the foot of a vertical line, the angle between a line and a plane, the angle between a face and the base of a pyramid, and how to find the height of a tower from two angles of elevation using Pythagoras, the sine rule and the cosine rule.

A three-dimensional (3D) problem is solved by breaking it into flat triangles. Each step uses one triangle: Pythagoras or SOH CAH TOA in a right-angled triangle, or the sine rule or cosine rule in a non-right-angled triangle. A length found in one triangle is then used in the next.

The key fact is that a vertical line is perpendicular to every horizontal line through its foot. If a tower \(AD\) stands on level ground with foot \(D\), then \(\angle ADB=90^\circ\) for every point \(B\) on the ground. The right angle is at the foot of the tower, not at the observer.

The angle of elevation of the top \(A\) from \(B\) is \(\angle ABD\), measured up from the horizontal. The angle of depression of a boat from a cliff top equals the angle of elevation of the cliff top from the boat (alternate angles).

The angle between a line and a plane is the angle between the line and its shadow on the plane. If \(G\) is directly above \(C\), the angle between \(AG\) and the floor is \(\angle GAC\). The angle between two planes, such as a face of a pyramid and its base, is measured with two lines that are each perpendicular to the common edge: for face \(VBC\) of a square pyramid it is \(\angle VMO\), where \(M\) is the midpoint of \(BC\) and \(O\) is the centre of the base.

Points on the ground form a horizontal triangle. Compass directions give its angles: due south and due east of \(D\) make \(\angle BDC=90^\circ\); due south and a bearing of \(060^\circ\text{T}\) make \(120^\circ\). When the height is unknown, write each horizontal distance in terms of \(h\), for example \(BD=\dfrac{h}{\tan30^\circ}=h\sqrt3\), then use the horizontal triangle to form an equation in \(h\).

Tower with observers due south and due eastA vertical tower AD of height h. B is due south of D and C is due east of D on level ground. Triangles ABD and ACD are right-angled at D and the ground triangle BDC is right-angled at D. The angle of elevation of A is alpha from B and beta from C. α β A D B C h N
\(AD\) is vertical, so \(\triangle ABD\) and \(\triangle ACD\) are right-angled at \(D\). With \(B\) due south and \(C\) due east, the ground triangle \(BDC\) (red) is also right-angled at \(D\): \(BD^2+DC^2=BC^2\).
Square pyramidRight square pyramid VABCD with centre O of the base and M the midpoint of BC. Theta is the angle VAO between the slant edge VA and the base. Phi is the angle VMO between the face VBC and the base. θ φ V A B C D O M
Edge to base: \(\theta=\angle VAO\), using half the diagonal \(OA\). Face to base: \(\varphi=\angle VMO\), using \(OM\) = half a side. Both triangles are right-angled at \(O\).

In a right-angled triangle with angle \(\theta\):

\[\sin\theta=\dfrac{\text{opp}}{\text{hyp}}\qquad\cos\theta=\dfrac{\text{adj}}{\text{hyp}}\qquad\tan\theta=\dfrac{\text{opp}}{\text{adj}}\]
sin theta equals opposite over hypotenuse, cos theta equals adjacent over hypotenuse, tan theta equals opposite over adjacent

Horizontal distance from the foot of a vertical height \(h\), when the angle of elevation is \(\theta\):

\[\tan\theta=\dfrac{h}{BD}\quad\Rightarrow\quad BD=\dfrac{h}{\tan\theta}=h\cot\theta\]
tan theta equals h over BD, so BD equals h over tan theta, which is h cot theta

Floor diagonal of a rectangle \(a\times b\), and the line to the corner directly above at height \(c\):

\[AC^2=a^2+b^2\qquad AG^2=AC^2+c^2\]
AC squared equals a squared plus b squared; AG squared equals AC squared plus c squared

Sine rule and cosine rule, for a non-right-angled (often horizontal) triangle:

\[\dfrac{a}{\sin A}=\dfrac{b}{\sin B}=\dfrac{c}{\sin C}\]
a over sin A equals b over sin B equals c over sin C
\[c^2=a^2+b^2-2ab\cos C\qquad \cos C=\dfrac{a^2+b^2-c^2}{2ab}\]
c squared equals a squared plus b squared minus 2 a b cos C; cos C equals a squared plus b squared minus c squared over 2 a b
Angle of elevation \(\theta\)\(30^\circ\)\(45^\circ\)\(60^\circ\)
\(\tan\theta\)\(\dfrac{1}{\sqrt3}\)\(1\)\(\sqrt3\)
Distance \(\dfrac{h}{\tan\theta}\)\(h\sqrt3\)\(h\)\(\dfrac{h}{\sqrt3}\)
Angles in the horizontal triangle. The angle at the foot is the difference between the two directions. Due south is \(180^\circ\text{T}\) and due west is \(270^\circ\text{T}\), so a point due west and a point on a bearing of \(150^\circ\text{T}\) make an angle of \(270^\circ-150^\circ=120^\circ\) at the foot. Three points on a straight road give two angles at the middle point that add to \(180^\circ\), so their cosines are opposites: \(\cos(180^\circ-x)=-\cos x\).
Finding an angle from three sides. When all three sides of a triangle are known (for example three face diagonals of a box), use \(\cos C=\dfrac{a^2+b^2-c^2}{2ab}\), then \(\cos^{-1}\).

How to solve a 3D trigonometry problem

  1. Sketch the figure and mark every right angle: a vertical line makes \(90^\circ\) with every horizontal line through its foot, and the faces of a box or rectangle meet at \(90^\circ\).
  2. Identify the triangle that contains the unknown, then the triangle that will give you the side it is missing (often a floor diagonal or a horizontal distance).
  3. Find the shared length first. Keep it exact (\(\sqrt{58}\), \(5\sqrt2\)) or keep the full calculator value (\(238.49\ldots\)).
  4. Use the second triangle: SOH CAH TOA if it is right-angled, otherwise the sine or cosine rule.
  5. Round only at the end, and give units.

When the height \(h\) is unknown

  1. Write each horizontal distance in terms of \(h\): \(BD=\dfrac{h}{\tan\alpha}\).
  2. Find the angle at the foot from the directions (due south and due east give \(90^\circ\)).
  3. Substitute into Pythagoras or the cosine rule for the horizontal triangle, take out the common factor \(h^2\), and solve for \(h\).
Example 1 — Diagonal of a box
A rectangular box has a horizontal base \(ABCD\) with \(AB=12\text{ cm}\) and \(BC=9\text{ cm}\). The box is \(8\text{ cm}\) high, and \(G\) is the top corner directly above \(C\).
(i) Find the length of the base diagonal \(AC\).
(ii) Find the angle the diagonal \(AG\) makes with the base, to \(1\) decimal place.
(iii) Find the length of \(AG\).
Solution
Rectangular box with diagonal AGA rectangular box with floor ABCD, AB = 12 cm, BC = 9 cm, height 8 cm. G is above C. Triangle ACG is right-angled at C; the angle GAC is marked. θ A B C D G 12 cm 9 cm 8 cm

(i) \(\triangle ABC\) is right-angled at \(B\):

\(AC^2\)\(=\)\(12^2+9^2\)
\(\)\(=\)\(225\)
\(AC\)\(=\)\(\mathbf{15\text{ cm}}\)
AC squared equals 12 squared plus 9 squared equals 225, so AC equals 15 cm

(ii) \(G\) is directly above \(C\), so \(AC\) is the shadow of \(AG\) on the base and \(\triangle ACG\) is right-angled at \(C\). Let \(\theta=\angle GAC\).

\(\tan\theta\)\(=\)\(\dfrac{CG}{AC}=\dfrac{8}{15}\)
\(\theta\)\(=\)\(\tan^{-1}\left(\dfrac{8}{15}\right)\)
\(\)\(=\)\(28.07\ldots^\circ\)
\(\)\(=\)\(\mathbf{28.1^\circ}\ (1\text{ d.p.})\)
tan theta equals 8 over 15, theta equals 28.1 degrees

(iii) In \(\triangle ACG\):

\(AG^2\)\(=\)\(15^2+8^2=289\)
\(AG\)\(=\)\(\mathbf{17\text{ cm}}\)
AG squared equals 15 squared plus 8 squared equals 289, so AG equals 17 cm
Example 2 — Edge and face of a pyramid
\(VABCD\) is a right square pyramid with base side \(8\text{ m}\) and vertical height \(VO=6\text{ m}\), where \(O\) is the centre of the base. \(M\) is the midpoint of \(BC\). Find, to the nearest degree:
(i) the angle between the slant edge \(VA\) and the base
(ii) the angle between the face \(VBC\) and the base.
Solution
Pyramid with base 8 m and height 6 mRight square pyramid with base side 8 m and height VO = 6 m. Theta is angle VAO and phi is angle VMO. θ φ V A B C D O M 6 m 8 m

(i) \(OA\) is half the diagonal of the square base:

\(AC\)\(=\)\(\sqrt{8^2+8^2}=8\sqrt2\)
\(OA\)\(=\)\(\dfrac12 AC=4\sqrt2\)
AC equals 8 root 2, so OA equals 4 root 2

\(VO\) is vertical, so \(\angle VOA=90^\circ\). Let \(\theta=\angle VAO\).

\(\tan\theta\)\(=\)\(\dfrac{VO}{OA}=\dfrac{6}{4\sqrt2}\)
\(\theta\)\(=\)\(46.68\ldots^\circ\)
\(\)\(=\)\(\mathbf{47^\circ}\)
tan theta equals 6 over 4 root 2, theta equals 47 degrees

(ii) \(OM\) and \(VM\) are both perpendicular to the edge \(BC\), so the angle between the face and the base is \(\varphi=\angle VMO\). \(OM\) is half a side: \(OM=4\text{ m}\).

\(\tan\varphi\)\(=\)\(\dfrac{VO}{OM}=\dfrac{6}{4}\)
\(\varphi\)\(=\)\(\tan^{-1}(1.5)\)
\(\)\(=\)\(56.30\ldots^\circ\)
\(\)\(=\)\(\mathbf{56^\circ}\)
tan phi equals 6 over 4, phi equals 56 degrees

The face is steeper than the edge, because \(OM\) is shorter than \(OA\).

Example 3 — Height from two elevations
A vertical tower \(AD\) of height \(h\) metres stands on level ground. From \(P\), due south of \(D\), the angle of elevation of \(A\) is \(60^\circ\). From \(Q\), due west of \(D\), the angle of elevation of \(A\) is \(30^\circ\). \(P\) and \(Q\) are \(100\text{ m}\) apart.
(i) Show that \(DQ=h\sqrt3\) and find \(DP\) in terms of \(h\).
(ii) Find the exact height of the tower.
Solution
Tower with P due south and Q due westVertical tower AD of height h. P is due south of D with angle of elevation 60 degrees. Q is due west of D with angle of elevation 30 degrees. PQ = 100 m and angle PDQ is 90 degrees. 60° 30° A D P Q h 100 m N

(i) \(AD\) is vertical, so \(\triangle ADQ\) and \(\triangle ADP\) are right-angled at \(D\).

\(\dfrac{h}{DQ}\)\(=\)\(\tan30^\circ=\dfrac{1}{\sqrt3}\)
\(\therefore DQ\)\(=\)\(h\sqrt3\)
\(\dfrac{h}{DP}\)\(=\)\(\tan60^\circ=\sqrt3\)
\(\therefore DP\)\(=\)\(\dfrac{h}{\sqrt3}\)
h over DQ equals tan 30 degrees so DQ equals h root 3; h over DP equals tan 60 degrees so DP equals h over root 3

(ii) \(P\) is due south and \(Q\) is due west of \(D\), so \(\angle PDQ=90^\circ\).

\(DP^2+DQ^2\)\(=\)\(PQ^2\)
\(\left(\dfrac{h}{\sqrt3}\right)^2+(h\sqrt3)^2\)\(=\)\(100^2\)
\(\dfrac{h^2}{3}+3h^2\)\(=\)\(10\,000\)
\(\dfrac{10h^2}{3}\)\(=\)\(10\,000\)
\(h^2\)\(=\)\(3000\)
\(h\)\(=\)\(\sqrt{3000}=\mathbf{10\sqrt{30}}\)
h squared over 3 plus 3 h squared equals 10000, so h squared equals 3000 and h equals 10 root 30

\(\therefore\) the tower is \(10\sqrt{30}\text{ m}\) (about \(54.8\text{ m}\)) high.

Example 4 — Bearings and the cosine rule
\(OT\) is a vertical tower of height \(h\) metres with its base \(O\) on level ground. From \(A\), due west of \(O\), the angle of elevation of \(T\) is \(32^\circ\). From \(B\), on a bearing of \(160^\circ\text{T}\) from \(O\), the angle of elevation of \(T\) is \(41^\circ\). The distance \(AB\) is \(600\) metres. Find the height of the tower, to the nearest metre.
Solution

In the right-angled triangles \(OAT\) and \(OBT\):

\(OA\)\(=\)\(\dfrac{h}{\tan32^\circ}\)
\(OB\)\(=\)\(\dfrac{h}{\tan41^\circ}\)
OA equals h over tan 32 degrees; OB equals h over tan 41 degrees

\(A\) is due west (\(270^\circ\text{T}\)) and \(B\) is on \(160^\circ\text{T}\) from \(O\), so \(\angle AOB=270^\circ-160^\circ=110^\circ\).

Plan view of the horizontal triangle AOBBird's-eye view. O is the foot of the tower. A is due west of O. B is on a bearing of 160 degrees true from O. Angle AOB is 110 degrees and AB = 600 m. N 160° 110° O A B h/tan 32° h/tan 41° 600 m

By the cosine rule in the horizontal triangle \(AOB\):

\(AB^2\)\(=\)\(OA^2+OB^2-2\times OA\times OB\cos110^\circ\)
\(600^2\)\(=\)\(\dfrac{h^2}{\tan^2 32^\circ}+\dfrac{h^2}{\tan^2 41^\circ}\)
\(\)\(\)\(\quad-\dfrac{2h^2\cos110^\circ}{\tan32^\circ\tan41^\circ}\)
600 squared equals h squared over tan squared 32 plus h squared over tan squared 41 minus 2 h squared cos 110 over tan 32 tan 41

Take out the common factor \(h^2\):

\(600^2\)\(=\)\(h^2k,\ \text{where}\)
\(k\)\(=\)\(\dfrac{1}{\tan^2 32^\circ}+\dfrac{1}{\tan^2 41^\circ}-\dfrac{2\cos110^\circ}{\tan32^\circ\tan41^\circ}\)
\(\)\(=\)\(5.1437\ldots\)
\(h\)\(=\)\(\dfrac{600}{\sqrt{k}}\)
\(\)\(=\)\(264.55\ldots\)
600 squared equals h squared times k, k equals 5.1437, h equals 600 over root k equals 264.55

\(\therefore\) the tower is \(\mathbf{265\text{ m}}\) high (nearest metre).

Common pitfalls

The right angle is at the foot of the vertical. In \(\triangle ABD\) with \(AD\) a vertical tower, \(\angle ADB=90^\circ\). The hypotenuse is the sloping line \(AB\) from the observer to the top.
A 3D sketch does not show true angles. A right angle on the ground often looks like \(60^\circ\) or \(120^\circ\) in the drawing. Decide which angles are \(90^\circ\) from the facts (vertical, due south and due east, a rectangle), not from how the picture looks.
Edge angle or face angle? The angle between a slant edge \(VA\) and the base uses \(OA\), half the diagonal. The angle between a face \(VBC\) and the base uses \(OM\), half a side, where \(M\) is the midpoint of \(BC\).
Carry exact or full values. Keep \(AC=\sqrt{117}\) or \(AM=238.49\ldots\) in your calculator for the next triangle. Rounding a length early can change the final answer.
Check the angle between the directions. Due south and due east give \(90^\circ\) at the foot. A bearing of \(060^\circ\text{T}\) and due south give \(180^\circ-60^\circ=120^\circ\), so the horizontal triangle needs the cosine rule, not Pythagoras.

Frequently asked questions

How do you solve 3D trigonometry problems?

Break the figure into flat triangles. Mark the right angles (a vertical line is perpendicular to the ground), find a shared length such as a floor diagonal in one triangle, then use it in the triangle that contains the unknown.

How do you find the angle between a line and a plane?

Drop a perpendicular from a point on the line to the plane to get the line's shadow. The angle between the line and its shadow is the angle between the line and the plane, for example \(\angle GAC\) when \(G\) is directly above \(C\).

How do you find the angle between a face of a pyramid and its base?

Join the apex \(V\) and the centre \(O\) of the base to the midpoint \(M\) of the base edge of that face. The angle is \(\angle VMO\), found from \(\tan\angle VMO=\dfrac{VO}{OM}\).

Why is the angle at the foot of a tower 90 degrees?

A vertical tower is perpendicular to the level ground, so it makes a right angle with every horizontal line through its foot, in any direction.

How do you find the height of a tower from two angles of elevation?

Write each horizontal distance in terms of \(h\), such as \(\dfrac{h}{\tan\alpha}\). Use the directions to find the angle at the foot, then apply Pythagoras or the cosine rule to the horizontal triangle and solve for \(h\).

Is the angle of depression equal to the angle of elevation?

Yes. The angle of depression of a boat from the top of a cliff equals the angle of elevation of the cliff top from the boat, because they are alternate angles between parallel horizontal lines.