Skip to content
Family Table Math
Auto

Angles in 3-D Solids

How steep is the sloping edge of a pyramid? What angle does the long diagonal of a box make with the floor? Questions like these come up in architecture and design, and in IB exams. The trick is always the same: find a right triangle hidden inside the solid, flatten it out on paper, and use Pythagoras and trigonometry.

For points A(x1,y1,z1)A(x_1, y_1, z_1) and B(x2,y2,z2)B(x_2, y_2, z_2), the distance and the midpoint work just like in 2-D, with a third coordinate:

AB=(x2−x1)2+(y2−y1)2+(z2−z1)2M=(x1+x22, y1+y22, z1+z22)AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2} \qquad M = \left(\frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2},\ \frac{z_1 + z_2}{2}\right)

Both are in the formula booklet. See vectors in 3-D for more on 3-D coordinates. The distance formula is just Pythagoras used twice; in a cuboid with edges aa, bb and cc, the long space diagonal has length a2+b2+c2\sqrt{a^2 + b^2 + c^2}.

Two lines that intersect lie in one flat plane, so the angle between them is an ordinary angle in a triangle. Find a triangle that contains both lines, work out the side lengths you need, and use trigonometry. If the triangle has a right angle, SOH CAH TOA is enough.

Suppose a line meets a plane at a point AA. Pick another point PP on the line and drop a perpendicular from PP straight down to the plane, meeting it at FF (the foot of the perpendicular).

  • The line AFAF is the projection of the line onto the plane: its “shadow” when light shines straight down.
  • The angle between the line and the plane is the angle ∠PAF\angle PAF between the line and its projection.
  • Triangle PAFPAF always has a right angle at FF, so
tan⁡θ=PFAF,sin⁡θ=PFAP,cos⁡θ=AFAP\tan \theta = \frac{PF}{AF}, \qquad \sin \theta = \frac{PF}{AP}, \qquad \cos \theta = \frac{AF}{AP}

In a cuboid the foot is usually a corner (the point directly below), and in a right pyramid or cone it’s the centre of the base.

Left: cuboid ABCDEFGH with AB = 8, BC = 6 and height 5. The diagonal AG, its projection AC on the base and the vertical edge CG form a right triangle with the angle theta at A. Right: a square-based pyramid with base 10 and height 12; the edge VA, the half-diagonal OA and the height VO form a right triangle with angle alpha at A. θ A B C D E F G H 8 6 5 cuboid: angle between AG and the base α A B C D V O 10 12 pyramid: angle between VA and the base
In each solid, the line, its projection on the base, and a vertical line make a right triangle.
  1. Sketch the solid and label it. Mark the line (and plane) you care about.
  2. Identify the right triangle: the line, its projection, and the vertical (perpendicular) side.
  3. Find any missing side lengths, often with Pythagoras in a different right triangle (like the base diagonal ACAC).
  4. Redraw the right triangle flat, then use a trig ratio.

In SL exams, 3-D questions only need right-angled trigonometry. Keep full calculator values and give angles in degrees to 3 s.f. Later you’ll meet a vector method for the same angles in angles between lines and planes.

Example 1: The diagonal of a cuboid and the base

Section titled “Example 1: The diagonal of a cuboid and the base”

The cuboid ABCDEFGHABCDEFGH in the figure has AB=8AB = 8 cm, BC=6BC = 6 cm and AE=5AE = 5 cm. The base is ABCDABCD, and EE, FF, GG, HH are directly above AA, BB, CC, DD. Find the length of AGAG and the angle between AGAG and the base.

Solution. GG is directly above CC, so the projection of AGAG on the base is ACAC, and triangle ACGACG has a right angle at CC.

First find ACAC in the right triangle ABCABC on the base:

AC=82+62=10 cmAC = \sqrt{8^2 + 6^2} = 10 \text{ cm}

Then in triangle ACGACG, with CG=5CG = 5:

AG=102+52=125≈11.2 cmtan⁡θ=CGAC=510⇒θ=26.565…∘≈26.6∘AG = \sqrt{10^2 + 5^2} = \sqrt{125} \approx 11.2 \text{ cm} \qquad \tan \theta = \frac{CG}{AC} = \frac{5}{10} \quad\Rightarrow\quad \theta = 26.565\ldots^\circ \approx 26.6^\circ

Check: 82+62+52=125\sqrt{8^2 + 6^2 + 5^2} = \sqrt{125}, matching the space-diagonal formula.

In the same cuboid, find the angle between the lines AGAG and ABAB.

Solution. Both lines start at AA, so look at triangle ABGABG. The edge ABAB is perpendicular to the whole face BCGFBCGF, so it’s perpendicular to BGBG, which lies in that face. That puts the right angle at BB.

We know the side next to the angle (AB=8AB = 8) and the hypotenuse (AG=125AG = \sqrt{125}):

cos⁡(∠GAB)=ABAG=8125⇒∠GAB=44.312…∘≈44.3∘\cos(\angle GAB) = \frac{AB}{AG} = \frac{8}{\sqrt{125}} \quad\Rightarrow\quad \angle GAB = 44.312\ldots^\circ \approx 44.3^\circ

The right pyramid VABCDVABCD in the figure has a square base of side 1010 m, and VV is 1212 m directly above the centre OO of the base. Find

  • (a) the angle between the edge VAVA and the base,
  • (b) the length of VAVA,
  • (c) the angle between the base and the line VMVM, where MM is the midpoint of BCBC.

Solution. (a) The projection of VAVA on the base is OAOA, which is half of the diagonal ACAC:

AC=102+102=102OA=52AC = \sqrt{10^2 + 10^2} = 10\sqrt{2} \qquad OA = 5\sqrt{2}

Triangle VOAVOA has a right angle at OO:

tan⁡α=VOOA=1252⇒α=59.491…∘≈59.5∘\tan \alpha = \frac{VO}{OA} = \frac{12}{5\sqrt{2}} \quad\Rightarrow\quad \alpha = 59.491\ldots^\circ \approx 59.5^\circ

(b)

VA=122+(52)2=144+50=194≈13.9 mVA = \sqrt{12^2 + (5\sqrt{2})^2} = \sqrt{144 + 50} = \sqrt{194} \approx 13.9 \text{ m}

(c) The projection of VMVM is OMOM, and OM=5OM = 5 (half the side length). In the right triangle VOMVOM:

tan⁡β=125⇒β=67.380…∘≈67.4∘\tan \beta = \frac{12}{5} \quad\Rightarrow\quad \beta = 67.380\ldots^\circ \approx 67.4^\circ

Notice that VMVM is steeper than the edge VAVA: it reaches the base sooner.

The ground is the xyxy-plane, with units in metres. A cable runs in a straight line from an anchor A(2,1,0)A(2, 1, 0) on the ground to the top of a mast at T(5,5,6)T(5, 5, 6). Find the length of the cable, the coordinates of its midpoint, and the angle the cable makes with the ground.

Solution. Length and midpoint:

AT=(5−2)2+(5−1)2+(6−0)2=9+16+36=61≈7.81 mAT = \sqrt{(5 - 2)^2 + (5 - 1)^2 + (6 - 0)^2} = \sqrt{9 + 16 + 36} = \sqrt{61} \approx 7.81 \text{ m} M=(2+52, 1+52, 0+62)=(3.5, 3, 3)M = \left(\frac{2 + 5}{2},\ \frac{1 + 5}{2},\ \frac{0 + 6}{2}\right) = (3.5,\ 3,\ 3)

The point on the ground directly below TT is F(5,5,0)F(5, 5, 0), so the projection of ATAT is AFAF:

AF=32+42=5TF=6tan⁡θ=65⇒θ=50.194…∘≈50.2∘AF = \sqrt{3^2 + 4^2} = 5 \qquad TF = 6 \qquad \tan \theta = \frac{6}{5} \quad\Rightarrow\quad \theta = 50.194\ldots^\circ \approx 50.2^\circ

Using the wrong side of the base as the projection. In Example 1, the projection of AGAG is the diagonal ACAC, not the edge ABAB or ADAD. Always ask “which point is directly below the top end of my line?” and join it to the bottom end.

Putting the right angle in the wrong place. The right angle is at the foot of the perpendicular (CC in Example 1, OO in Example 3), never at the point where the line meets the plane. If your “right triangle” has the right angle at the angle you want, start again.

Using an edge length where a half-diagonal is needed. For the edge of a square-based pyramid, the horizontal distance is half the base diagonal (525\sqrt{2} in Example 3), not half the side (55). Half the side is the right distance for the slant height VMVM.

Finding the wrong angle in the triangle. Once the triangle is flat, label the angle you want and decide which sides are opposite and adjacent to that angle. In Example 1, tan⁡θ=510\tan\theta = \dfrac{5}{10}, not 105\dfrac{10}{5}.

Rounding the intermediate length. If you round ACAC or OAOA and then use it again, your final angle can be off in the third significant figure. Store exact values like 525\sqrt{2} or full calculator values.

Forgetting the third coordinate. In 3-D the distance formula has three squared differences. Leaving out the zz-difference gives the length of the shadow, not of the line.

1. (Warm-up) Find the distance between P(1,−2,3)P(1, -2, 3) and Q(5,2,−1)Q(5, 2, -1), and the midpoint of PQPQ.

SolutionPQ=42+42+(−4)2=48=43≈6.93PQ = \sqrt{4^2 + 4^2 + (-4)^2} = \sqrt{48} = 4\sqrt{3} \approx 6.93M=(1+52, −2+22, 3+(−1)2)=(3, 0, 1)M = \left(\frac{1 + 5}{2},\ \frac{-2 + 2}{2},\ \frac{3 + (-1)}{2}\right) = (3,\ 0,\ 1)

2. (Warm-up) A right cone has base radius 44 cm and height 99 cm. Find the angle between a slant edge of the cone and its base.

Solution

The height, the radius and the slant edge form a right triangle with the right angle at the centre of the base. The radius is the projection of the slant edge:

tan⁡θ=94⇒θ=66.037…∘≈66.0∘\tan \theta = \frac{9}{4} \quad\Rightarrow\quad \theta = 66.037\ldots^\circ \approx 66.0^\circ

3. (Warm-up) A cube has edges of length 44 cm. Find the angle between a space diagonal of the cube and its base.

Solution

The projection of the space diagonal is a diagonal of the base: 42+42=42\sqrt{4^2 + 4^2} = 4\sqrt{2}. The vertical side is an edge, 44:

tan⁡θ=442=12⇒θ=35.264…∘≈35.3∘\tan \theta = \frac{4}{4\sqrt{2}} = \frac{1}{\sqrt{2}} \quad\Rightarrow\quad \theta = 35.264\ldots^\circ \approx 35.3^\circ

(Every cube gives the same angle, whatever its size.)

4. (Core) The cuboid ABCDEFGHABCDEFGH has base ABCDABCD with AB=12AB = 12 cm and BC=5BC = 5 cm, and height AE=4AE = 4 cm. EE, FF, GG, HH are directly above AA, BB, CC, DD.

  • (a) Find the length of AGAG.
  • (b) Find the angle between AGAG and the base ABCDABCD.
  • (c) Find the angle between AGAG and the face ABFEABFE.
Solution

(a)

AG=122+52+42=185≈13.6 cmAG = \sqrt{12^2 + 5^2 + 4^2} = \sqrt{185} \approx 13.6 \text{ cm}

(b) The projection on the base is AC=122+52=13AC = \sqrt{12^2 + 5^2} = 13, and CG=4CG = 4:

tan⁡θ=413⇒θ=17.102…∘≈17.1∘\tan \theta = \frac{4}{13} \quad\Rightarrow\quad \theta = 17.102\ldots^\circ \approx 17.1^\circ

(c) The edge GFGF is perpendicular to the face ABFEABFE, so FF is the foot of the perpendicular from GG, and the projection of AGAG on that face is AFAF. Here GF=BC=5GF = BC = 5 and

AF=122+42=160AF = \sqrt{12^2 + 4^2} = \sqrt{160}tan⁡ϕ=5160⇒ϕ=21.568…∘≈21.6∘\tan \phi = \frac{5}{\sqrt{160}} \quad\Rightarrow\quad \phi = 21.568\ldots^\circ \approx 21.6^\circ

5. (Core) A right pyramid VABCDVABCD has a rectangular base with AB=8AB = 8 m and BC=6BC = 6 m. The apex VV is 1010 m above the centre OO of the base.

  • (a) Find the length of the edge VAVA.
  • (b) Find the angle between VAVA and the base.
  • (c) Find the angle ∠AVC\angle AVC.
Solution

(a) The base diagonal is AC=82+62=10AC = \sqrt{8^2 + 6^2} = 10, so OA=5OA = 5.

VA=102+52=125≈11.2 mVA = \sqrt{10^2 + 5^2} = \sqrt{125} \approx 11.2 \text{ m}

(b) In the right triangle VOAVOA:

tan⁡θ=105=2⇒θ=63.434…∘≈63.4∘\tan \theta = \frac{10}{5} = 2 \quad\Rightarrow\quad \theta = 63.434\ldots^\circ \approx 63.4^\circ

(c) Triangle AVCAVC is isosceles (VA=VCVA = VC), and VOVO splits it into two right triangles. In triangle VOAVOA, the angle at VV satisfies

tan⁡(∠AVO)=OAVO=510⇒∠AVO=26.565…∘\tan(\angle AVO) = \frac{OA}{VO} = \frac{5}{10} \quad\Rightarrow\quad \angle AVO = 26.565\ldots^\circ∠AVC=2×26.565…∘=53.130…∘≈53.1∘\angle AVC = 2 \times 26.565\ldots^\circ = 53.130\ldots^\circ \approx 53.1^\circ

6. (Core) A flagpole stands on flat ground, which is the xyxy-plane (units in metres). Its base is at F(6,8,0)F(6, 8, 0) and its top is at T(6,8,12)T(6, 8, 12). A rope runs straight from TT to a peg at P(1,−4,0)P(1, -4, 0).

  • (a) Find the length of the rope.
  • (b) Find the coordinates of the midpoint of the rope.
  • (c) Find the angle between the rope and the ground.
Solution

(a)

PT=(6−1)2+(8−(−4))2+122=25+144+144=313≈17.7 mPT = \sqrt{(6 - 1)^2 + (8 - (-4))^2 + 12^2} = \sqrt{25 + 144 + 144} = \sqrt{313} \approx 17.7 \text{ m}

(b)

M=(1+62, −4+82, 0+122)=(3.5, 2, 6)M = \left(\frac{1 + 6}{2},\ \frac{-4 + 8}{2},\ \frac{0 + 12}{2}\right) = (3.5,\ 2,\ 6)

(c) The projection of the rope on the ground is PFPF:

PF=52+122=13tan⁡θ=1213⇒θ=42.709…∘≈42.7∘PF = \sqrt{5^2 + 12^2} = 13 \qquad \tan \theta = \frac{12}{13} \quad\Rightarrow\quad \theta = 42.709\ldots^\circ \approx 42.7^\circ

7. (Core) In the cuboid from Example 1 (AB=8AB = 8, BC=6BC = 6, AE=5AE = 5), find the angle between the face diagonal AFAF and the base ABCDABCD.

Solution

FF is directly above BB, so the projection of AFAF on the base is AB=8AB = 8, and BF=5BF = 5. Triangle ABFABF has its right angle at BB:

tan⁡θ=58⇒θ=32.005…∘≈32.0∘\tan \theta = \frac{5}{8} \quad\Rightarrow\quad \theta = 32.005\ldots^\circ \approx 32.0^\circ

8. (Challenge) A right pyramid has a square base of side 66 m. Each sloping edge makes an angle of 60∘60^\circ with the base. Find the exact height of the pyramid and its volume.

Solution

Half the base diagonal is 622=32\dfrac{6\sqrt{2}}{2} = 3\sqrt{2}. In the right triangle formed by the height, the half-diagonal and an edge:

tan⁡60∘=h32⇒h=32×3=36≈7.35 m\tan 60^\circ = \frac{h}{3\sqrt{2}} \quad\Rightarrow\quad h = 3\sqrt{2} \times \sqrt{3} = 3\sqrt{6} \approx 7.35 \text{ m}V=13(62)(36)=366≈88.2 m3(3 s.f.)V = \frac{1}{3}(6^2)(3\sqrt{6}) = 36\sqrt{6} \approx 88.2 \text{ m}^3 \quad (\text{3 s.f.})

9. (Challenge) A right cone has slant height 1010 cm. The angle between two slant edges on opposite sides of the cone (through the apex, in a vertical cross-section) is 50∘50^\circ. Find the radius, the height and the volume of the cone.

Solution

The vertical cross-section is an isosceles triangle with two sides 1010 and apex angle 50∘50^\circ. The height splits it into two right triangles, each with an angle of 25∘25^\circ at the apex and hypotenuse 1010:

r=10sin⁡25∘=4.2261…≈4.23 cmh=10cos⁡25∘=9.0630…≈9.06 cmr = 10 \sin 25^\circ = 4.2261\ldots \approx 4.23 \text{ cm} \qquad h = 10 \cos 25^\circ = 9.0630\ldots \approx 9.06 \text{ cm}V=13πr2h=169.51…≈170 cm3(3 s.f.)V = \frac{1}{3}\pi r^2 h = 169.51\ldots \approx 170 \text{ cm}^3 \quad (\text{3 s.f.})

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

All angles are in degrees. Give lengths and angles to 3 significant figures unless a question asks for an exact value.

H1. (Foundations) Without a calculator, find the distance between A(−3,4,2)A(-3, 4, 2) and B(5,0,−6)B(5, 0, -6), and the coordinates of the midpoint of ABAB.

H2. (Foundations) The cuboid ABCDEFGHABCDEFGH has base ABCDABCD with AB=9AB = 9 cm and BC=12BC = 12 cm, and height AE=8AE = 8 cm. The vertices EE, FF, GG, HH are directly above AA, BB, CC, DD.

  • (a) Find the length of the base diagonal ACAC.
  • (b) Find the length of the space diagonal AGAG.
  • (c) Find the angle between AGAG and the base ABCDABCD.

H3. (Core) A right cone has base radius 66 cm and slant height 1515 cm.

  • (a) Find the exact height of the cone.
  • (b) Find the angle between a slant edge and the base.
  • (c) Find the volume of the cone.

H4. (Core) The right pyramid VABCDVABCD has a square base ABCDABCD of side 88 cm. Its apex VV is directly above the centre OO of the base, and each sloping edge (VAVA, VBVB, VCVC, VDVD) is 99 cm long. Let MM be the midpoint of BCBC.

  • (a) Show that the height VOVO is 77 cm.
  • (b) Find the angle between the edge VAVA and the base.
  • (c) Find the angle between the line VMVM and the base.
  • (d) Find the volume of the pyramid.

H5. (Core) A ridge tent is shaped like a triangular prism. Its floor is the rectangle ABCDABCD with AB=2.4AB = 2.4 m and AD=1.8AD = 1.8 m. The ridge pole EFEF is 2.42.4 m long and 1.41.4 m above the floor: EE is directly above the midpoint KK of ADAD, and FF is directly above the midpoint NN of BCBC. The triangles ADEADE and BCFBCF are the two ends of the tent.

  • (a) Find the length of the sloping edge AEAE and the angle it makes with the floor.
  • (b) A string of lights runs in a straight line from the corner AA to the far end of the ridge, FF. Find the length of the string and the angle it makes with the floor.

H6. (Core) (IB style) Use your GDC. In a rectangular room, the floor is the xyxy-plane and the wall along one side is the plane x=0x = 0 (units in metres). A security camera is mounted in a top corner of the room at C(0,0,2.7)C(0, 0, 2.7) and points straight at a spot P(5,3.6,0)P(5, 3.6, 0) on the floor.

  • (a) Find the distance CPCP.
  • (b) Find the coordinates of the midpoint of CPCP.
  • (c) Find the angle between the line CPCP and the floor.
  • (d) The point on the wall nearest to PP is W(0,3.6,0)W(0, 3.6, 0). Explain why CWCW is the projection of CPCP onto the wall, and find the angle between CPCP and the wall.

H7. (Challenge) A right pyramid VABCDVABCD has a square base of side 1010 m and height 66 m, with VV above the centre OO of the base. Priya finds the angle between the edge VAVA and the base like this:

tan⁡θ=65⇒θ≈50.2∘\tan \theta = \frac{6}{5} \quad\Rightarrow\quad \theta \approx 50.2^\circ

Answer these:

  • (a) Explain Priya’s mistake, and find the correct angle.
  • (b) Priya’s number is the correct angle for a different line from VV to the base. Which line? Explain.
  • (c) Without calculating, explain why the edge VAVA must make a smaller angle with the base than the line in part (b).

H8. (Challenge) A cuboid has a square base of side xx cm and height 55 cm.

  • (a) The space diagonal makes an angle of 30∘30^\circ with the base. Without a calculator, find the exact value of xx.
  • (b) For that cuboid, explain why the space diagonal makes an angle of 60∘60^\circ with each vertical edge it touches.
  • (c) Find all values of xx for which the space diagonal makes an angle greater than 45∘45^\circ with the base. Explain your reasoning.

H9. (Challenge) The diagonals of three faces that meet at a corner form a triangle inside a solid.

  • (a) In a cube ABCDEFGHABCDEFGH with edges of length 66 cm (labelled as in H2, with EE, FF, GG, HH above AA, BB, CC, DD), explain why triangle ACFACF is equilateral, and state the angle between the face diagonals ACAC and AFAF.
  • (b) Now take the cuboid ABCDEFGHABCDEFGH with AB=8AB = 8 cm, BC=6BC = 6 cm and AE=6AE = 6 cm (same labelling). Find the angle ∠CAF\angle CAF between the face diagonals ACAC and AFAF. (Hint: show the triangle is isosceles and split it in half.)

H10. (Challenge) A wheelchair ramp is a triangular prism. Its base is the rectangle ABCDABCD on level ground, with ABAB running up the slope and BCBC across it. The vertical back face is the rectangle BCFEBCFE, with EE directly above BB and FF directly above CC, and the sloping surface is the rectangle ADFEADFE. The back edge EFEF is 0.60.6 m above the ground.

  • (a) A hypothetical design rule says the ramp surface may make an angle of at most 4.5∘4.5^\circ with the ground. Find the shortest horizontal length ABAB that meets the rule, to the nearest centimetre. Be careful which way you round.
  • (b) The builder chooses AB=8AB = 8 m and BC=1.6BC = 1.6 m. Find the angle between AEAE and the ground, and the angle between the diagonal AFAF and the ground.
  • (c) Explain why every straight path on the ramp surface from the bottom edge ADAD to the top edge EFEF is at most as steep as AEAE.