3D trigonometry AI SL

A three-dimensional problem looks hard until you find the right-angled triangle inside it. On this course the lengths and angles in a solid are found with Pythagoras and with sine, cosine and tangent in a right-angled triangle, and points given by coordinates use the distance and midpoint formulas with a third coordinate. Learn to pick out the triangle that holds the unknown, work in two steps if you need to, and use degree mode when you find an angle.

Which method to use

Decide first whether the problem gives coordinates or a solid with measurements, then which right-angled triangle holds the length or angle you want.

The question hasUseNotes
Two points given by coordinates (x,y,z)(x,y,z), and the length of the line between themThe 3D distance formula (x2−x1)2+(y2−y1)2+(z2−z1)2\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}Subtract the coordinates in the same order for all three; the signs vanish when you square
The midpoint of two points, or a missing end pointAverage each coordinate; for an end point, double the midpoint and subtract the known endTreat xx, yy and zz separately
A missing coordinate when the distance between two points is givenPut the distance into the formula, square both sides and solveThe equation can give two values, so check both against the question
A diagonal across a face of a cuboid, or the longest diagonal inside itPythagoras on the face, then Pythagoras again with the height: a2+b2+c2\sqrt{a^2+b^2+c^2}Two right-angled triangles, one standing on the other
The angle between a line and a plane, such as an edge or diagonal and the baseA right-angled triangle with the line as hypotenuse and its shadow on the plane as one side, then tan\tan, sin\sin or cos\cosUse degree mode, and name the three corners of the triangle you are using
A pyramid or cone with a height, slant height or edge missingPythagoras in the triangle through the apex and the centre of the baseThe vertical height meets the base at its centre, at right angles

SL3.1

Distance, midpoint and angles in solids

The distance between two points in three dimensions comes from Pythagoras' theorem with a third coordinate: for A(x1,y1,z1)A(x_1,y_1,z_1) and B(x2,y2,z2)B(x_2,y_2,z_2), AB=(x2−x1)2+(y2−y1)2+(z2−z1)2AB=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}. The midpoint is found by averaging each pair of coordinates. These tools find lengths and centre points inside solids. For a diagonal or a slant edge of a cuboid, pyramid or cone, use Pythagoras in a right-angled triangle inside the solid. For the angle between a line and a plane, use sine, cosine or tangent in the right-angled triangle made by the line, its shadow on the plane and the perpendicular between them. In SL examinations only right-angled triangles are needed in three dimensions.

The two formulas

Both formulas are in the formula booklet with a zz-coordinate included - drop that term and they're identical to the 2D versions you already know.

Distance

d=(x2−x1)2+(y2−y1)2+(z2−z1)2d = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}

Use when you need a length - the straight-line distance between two given points. Drop the zz-term for a 2D problem.

Midpoint

(x1+x22, y1+y22, z1+z22)\left(\dfrac{x_1+x_2}{2},\ \dfrac{y_1+y_2}{2},\ \dfrac{z_1+z_2}{2}\right)

Use when you need the point exactly halfway between two others - just average each coordinate. Drop the zz-term for a 2D problem.

Key terms

What are three-dimensional coordinates?

A point in three dimensions is written (x,y,z)(x,y,z), where xx and yy give the position on the horizontal plane and zz gives the height.

e.g. The point (2,3,5)(2,3,5) is 22 units along the xx-axis, 33 units along the yy-axis and 55 units up the zz-axis.

How do you find an unknown coordinate from a given distance?

Substitute the known values into the distance formula, square both sides to remove the square root, then solve for the unknown. The resulting equation can give two values.

e.g. If A(1,2,3)A(1,2,3) and B(4,2,k)B(4,2,k) are 55 apart, then 9+0+(k−3)2=259+0+(k-3)^2=25, so (k−3)2=16(k-3)^2=16 and k=7k=7 or k=−1k=-1.

What is the angle between a line and a plane?

It is the angle between the line and its shadow on the plane, found by dropping a perpendicular from the end of the line down to the plane. The line, its shadow and the perpendicular form a right-angled triangle, so sine, cosine or tangent gives the angle.

e.g. In a box 12 cm by 5 cm by 6 cm, the diagonal from a bottom corner AA to the opposite top corner has shadow 122+52=13\sqrt{12^2+5^2}=13 cm on the base, so the angle θ\theta it makes with the base has tan⁡θ=613\tan\theta=\dfrac{6}{13}, giving θ=24.8∘\theta=24.8^\circ.

How do you find an endpoint from the midpoint?

Each midpoint coordinate is the average of the two endpoint coordinates. Double the midpoint coordinate and subtract the known endpoint coordinate.

e.g. If M(3,4,5)M(3,4,5) is the midpoint of ABAB and A=(1,2,3)A=(1,2,3), then B=(2×3−1, 2×4−2, 2×5−3)=(5,6,7)B=(2\times3-1,\ 2\times4-2,\ 2\times5-3)=(5,6,7).

Worked example, step by step

The question Calculator needed [6 marks]

A cable car runs in a straight line from a lower station P to an upper station Q. Positions are given as (x,y,z)(x,y,z) in metres, where xx is the distance east, yy the distance north and zz the height above sea level. P is at (40,25,350)(40,\,25,\,350) and Q is at (160,105,410)(160,\,105,\,410).

(a) Find the length of the cable between P and Q.

(b) A support tower is to be built at the point halfway along the cable. Find its coordinates.

(c) Find the angle that the cable makes with the horizontal.

Worked solution: worked example

Answer: (a) 156156 m (b) (100,65,380)(100,\,65,\,380) (c) 22.6∘22.6^\circ

Step 1 - Find the differences in each direction.

From P to Q the changes are x: 160−40=120,y: 105−25=80,z: 410−350=60.x:\ 160-40=120,\qquad y:\ 105-25=80,\qquad z:\ 410-350=60.

Why? Every part of the problem uses these three changes. Subtracting in the same order for each coordinate keeps the signs consistent, and the zz change, 60 m, is the rise of the cable.

Step 2 - Length of the cable, part (a).

PQ=1202+802+602=24400=156.2…PQ=\sqrt{120^2+80^2+60^2}=\sqrt{24\,400}=156.2\ldots The cable is 156156 m long. M1 - Substitute into the 3D distance formula, 1202+802+602\sqrt{120^2+80^2+60^2} A1 - 156156 m

Why? This is the 3D distance formula, which is in the booklet. It is Pythagoras used twice: first across the ground, then with the rise. The answer is a length, so it is in metres.

Step 3 - Midpoint, part (b).

(40+1602, 25+1052, 350+4102)=(100, 65, 380)\left(\dfrac{40+160}{2},\ \dfrac{25+105}{2},\ \dfrac{350+410}{2}\right)=(100,\ 65,\ 380) The tower is at (100,65,380)(100,\,65,\,380). M1 - Attempt to average each pair of coordinates A1 - (100,65,380)(100,\,65,\,380)

Why? The midpoint formula in three dimensions averages each coordinate separately. The tower stands at a height of 380 m, between the heights of the two stations, which is a useful check.

Step 4 - Angle with the horizontal, part (c).

The horizontal distance from P to Q is 1202+802=144.2…\sqrt{120^2+80^2}=144.2\ldots m, and the rise is 60 m. These are the two shorter sides of a right-angled triangle with the cable as hypotenuse, so tan⁡θ=60144.2…⇒θ=22.6∘.\tan\theta=\dfrac{60}{144.2\ldots}\quad\Rightarrow\quad\theta=22.6^\circ. Put the calculator in degree mode and use tan−1\tan^{-1}. M1 - Right-angled triangle with the rise 60 and the horizontal distance 1202+802\sqrt{120^2+80^2}, for example tan⁡θ=601202+802\tan\theta=\dfrac{60}{\sqrt{120^2+80^2}} A1 - 22.6∘22.6^\circ

Why? The angle between a line and a horizontal plane comes from the right-angled triangle made by the line, its horizontal shadow and the vertical rise. The rise is opposite the angle and the horizontal distance is adjacent, so tangent is the ratio to use.

Step 5 - Check the answers.

The angle is small, which fits a rise of 60 m over about 144 m. Also sin⁡θ=60156.2=0.384\sin\theta=\dfrac{60}{156.2}=0.384, and sin⁡22.6∘≈0.384\sin22.6^\circ\approx0.384, so the angle and the cable length agree.

Why? Finding the angle a second way, with the length of the cable as the hypotenuse, checks both the distance in part (a) and the angle in part (c).

Marks (6):
M1 Substitute into the 3D distance formula, 1202+802+602\sqrt{120^2+80^2+60^2}
A1 156156 m
M1 Attempt to average each pair of coordinates
A1 (100,65,380)(100,\,65,\,380)
M1 Right-angled triangle with the rise 60 and the horizontal distance 1202+802\sqrt{120^2+80^2}, for example tan⁡θ=601202+802\tan\theta=\dfrac{60}{\sqrt{120^2+80^2}}
A1 22.6∘22.6^\circ

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Medium
Calculator
[4 marks]
A store room is 8 m by 5 m by 3 m.
diagram not to scale8 m5 m3 m
(a) Find the length of the floor diagonal.
[2]
(b) Find the length of the longest diagonal.
[2]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[6 marks]
The diagram shows a cuboid ABCDEFGHABCDEFGH where AB=8AB = 8 cm, BC=6BC = 6 cm and AE=3AE = 3 cm.
diagram not to scale8 cm6 cm3 cmABCDEFGH
(a) Find the length of ACAC.
[2]
(b) Find the angle that AGAG makes with the plane ABCDABCD, giving your answer to the nearest degree.
[4]
Fractions & powers
Trig
Other

Worked solution: practice question 2

3
Hard
Calculator
[4 marks]
A cuboid room is 6 m by 4 m by 3 m.
diagram not to scale6 m4 m3 m
(a) Find the length of the floor diagonal.
[2]
(b) Find the length of the longest diagonal.
[2]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 14 marks

Common mistakes

  • Dropping the third coordinate in 3D. Once a zz-coordinate is involved, both the distance and midpoint formulas need a (z2−z1)2(z_2-z_1)^2 or z1+z22\tfrac{z_1+z_2}{2} term added - forgetting it collapses a 3D problem into a wrong 2D one.
  • Measuring an angle from the wrong line. The angle between a line and a plane is taken against the line's shadow on the plane, not against any edge of the solid. Check that your triangle has a right angle at the foot of the perpendicular, and name its three corners before you write the ratio.
  • Square-rooting too early. Inside the distance formula, square each difference and add both squares first - taking the square root of one bracket before combining it with the other gives a meaningless answer.

Try some questions on distance, midpoint and angles in solids

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Enter a calculation on the home screen

Used in: Distance, midpoint and angles in solids

How to enter a calculation on a TI-84 Plus CE

Type a calculation and press enter

Go to the home screen: press 2nd mode (QUIT) from any menu or app. Press clear if the entry line is not empty.

Type the calculation as you would write it, then press enter. For 3(2.4)2−5×1.83(2.4)^2 - 5 \times 1.8 press 3 ( 2 . 4 ) x² − 5 × 1 . 8 enter.

The calculator understands a number next to a bracket as a multiplication, so × is not needed in 3(2.4)3(2.4). If a fraction, square root or power template is on the screen, press ▶ to move out of it before you carry on typing.

8.288.28

3(2.4)²-5*1.8
8.28
Use the last answer in the next calculation

To increase the answer by 15%, press × 1 . 1 5 enter on a blank line. The calculator puts Ans, the last answer, in front of the operator for you.

You can also type Ans yourself, anywhere in a calculation: press 2nd (−) (ANS), for example 2nd (−) (ANS) × 1 . 1 5 enter.

9.5229.522, which is 9.529.52 to 3 significant figures.

Ans*1.15
9.522

To use an earlier entry or answer, press ▲ to move up through the history, then enter to paste the highlighted one on the entry line. Press 2nd enter (ENTRY) to bring back your last entry and change it.

Ans always holds the last answer that was worked out, so if you do a different calculation in between, Ans changes. Type a number you need later, or keep it on the screen, rather than relying on Ans for many steps.

The full guide: Enter a calculation on the home screen

Switch between degrees and radians

Used in: Distance, midpoint and angles in solids

How to switch between degrees and radians on a TI-84 Plus CE

Mode screen

Press mode to open the mode screen. The angle setting is the line that shows RADIAN and DEGREE. The highlighted word is the one in use.

NORMAL SCI ENG
FLOAT 0 1 2 3 4 5 6 7 8 9
RADIAN DEGREE

Press ▼ until the cursor is on that line. Press ▶ to move to DEGREE (or ◀ to move to RADIAN), then press enter to select it.

NORMAL SCI ENG
FLOAT 0 1 2 3 4 5 6 7 8 9
RADIAN DEGREE

Press 2nd mode (QUIT) to return to the home screen. The angle mode you chose now shows in the status bar at the top of the screen.

Check the mode with a test calculation

Type sin 3 0 ) and press enter. In degree mode sin⁡30\sin 30 is 0.50.5. Any other value means the calculator is in radian mode.

In radian mode the same keys give −0.988-0.988 to 3 decimal places, because 30 is then read as 30 radians.

DEGREE: sin(30)
0.5
RADIAN: sin(30)
-.9880316241
Find an angle from a ratio (inverse sine, cosine, tangent)

Set the angle mode the question needs, as above. To find the angle whose sine is 58\frac{5}{8}, press 2nd sin (sin⁻¹). The screen shows sin⁻¹(.

Type 5 ÷ 8, close the bracket with ) and press enter.

In degree mode sin−1⁡(58)=38.7∘\sin^{-1}\left(\frac{5}{8}\right) = 38.7^\circ to 1 decimal place; in radian mode the same keys give 0.6750.675 to 3 decimal places. For cos−1\cos^{-1} or tan−1\tan^{-1} press 2nd cos or 2nd tan instead.

DEGREE: sin⁻¹(5/8)
38.68218745
RADIAN: sin⁻¹(5/8)
.6751315329

The mode stays as you leave it until you change it again, and it applies only to new calculations: press enter on an old line to recalculate it in the new mode.

The full guide: Switch between degrees and radians

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
SL3.1Distance between two points in 3D space and their midpoint. Volume and surface area of three-dimensional solids including right-pyramid, right cone, sphere, hemisphere and combinations of these solids. The size of an angle between two intersecting lines or between a line and a plane. Students should be able to identify relevant right-angled triangles within three-dimensional objects to find unknown lengths and angles. Suggested contexts: architecture and design.

Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).

Quick questions

What is the distance formula between two points?

For two points (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2), the distance between them is d=(x2−x1)2+(y2−y1)2d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}. In three dimensions a (z2−z1)2(z_2-z_1)^2 term is added under the square root.

What is the midpoint formula?

The midpoint of (x1,y1)(x_1,y_1) and (x2,y2)(x_2,y_2) is (x1+x22,y1+y22)\left(\tfrac{x_1+x_2}{2},\tfrac{y_1+y_2}{2}\right) - simply average the xx-coordinates and average the yy-coordinates. A zz-coordinate in 3D is averaged the same way.

How do I find the distance from the origin to a point?

Use the distance formula with the origin (0,0,0)(0,0,0), which gives x2+y2+z2\sqrt{x^2+y^2+z^2}. For (2,3,6)(2,3,6), the distance is 4+9+36=7\sqrt{4+9+36}=7.

Does the order of the two points change the distance?

No. Squaring each difference removes any negative sign, so the distance from AA to BB equals the distance from BB to AA.

How do I use the distance formula inside a solid?

Give each vertex coordinates, usually with one corner at the origin, then apply the formula between the two vertices. For a cuboid measuring 44 by 33 by 1212, the distance from (0,0,0)(0,0,0) to (4,3,12)(4,3,12) is 16+9+144=13\sqrt{16+9+144}=13.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.