Trekkers climb Kala Patthar, on a ridge of Pumori above Gorak Shep, for the most easily reached close view of Everest. Its top is about 5,644 m above sea level; Everest’s summit is 8,848.86 m, the height Nepal and China announced together on 8 December 2020.
So here is this unit’s question: how far away is the summit in a straight line, and how high above the horizon must you look to see it? A map gives you how far east and how far north; the heights give you how far up. Three numbers fix a point in space, and this unit turns them into a distance and a direction. The answer comes at the end of 13.3.
Heights and positions: Wikipedia, “Mount Everest” and “Kala Patthar”.
13.1 Points in space
What you need
The distance formula in a plane, Grade 9: Grade 9 Optional Math, Unit 3, which is Pythagoras’ theorem with coordinates, and the cosine of any angle from 0° to 180°.
Three axes
Stand in a corner of your classroom. Two edges of the floor meet there at a right angle, and a third edge runs straight up the wall. Any point in the room, the tip of the fan, a spider on the ceiling, is fixed by three numbers: how far along the first edge, how far along the second, and how high.
That corner is the origin O, and the three edges, extended both ways, are the axes: X′OX, Y′OY and Z′OZ, each at right angles to the other two. They are drawn right-handed: curl the fingers of your right hand from OX to OY, and your thumb points along OZ. Each pair of axes fixes a coordinate plane: the XY-plane (the floor), the YZ-plane and the ZX-plane (two walls). The three planes cut space into eight octants, numbered differently in different books (one common way below; the signs are what count).
Coordinates of a point
Through a point P draw three planes parallel to the coordinate planes. They cut the axes at A, B and C and make a rectangular box with O and P at opposite corners (Figure 13.1). Then
each with a sign: positive along OX, OY, OZ, negative along OX′, OY′, OZ′. The coordinates of P are (x, y, z). Read another way, x is the distance of P from the YZ-plane (PM in Figure 13.1), y its distance from the ZX-plane, and z its height above the XY-plane, each with its sign.
So a point on the X-axis is (x, 0, 0), and a point in the XY-plane is (x, y, 0): a coordinate is 0 exactly when the point lies in the plane of the other two axes.
| Octant | I | II | III | IV | V | VI | VII | VIII |
|---|---|---|---|---|---|---|---|---|
| Signs of x, y, z | +, +, + | −, +, + | −, −, + | +, −, + | +, +, − | −, +, − | −, −, − | +, −, − |
How far is P(3, −4, 2) from the Z-axis?
Pick an answer to see why.
13.2 Distance between two points
Take P(x₁, y₁, z₁) and Q(x₂, y₂, z₂). Draw the box with edges parallel to the axes and PQ as its diagonal (Figure 13.2): S(x₂, y₁, z₁) is along the X direction from P, and R(x₂, y₂, z₁) is straight below Q, at P’s height.
- PS = |x₂ − x₁| and SR = |y₂ − y₁|, and (they are parallel to the X- and Y-axes). By Pythagoras in △PSR: .
- RQ = |z₂ − z₁|, parallel to the Z-axis, so RQ is perpendicular to the level plane through P, S, R, and to PR in it.
- By Pythagoras in △PRQ: . So
The plane’s formula with one more square. With P at the origin, the distance of Q(x, y, z) from O is .
A(1, 1, 1), B(2, 3, 3), C(3, 5, 5): AB = 3, BC = 3, AC = 6. The three points:
Pick an answer to see why.
13.3 Direction cosines and ratios of a line
In a plane, one angle, the slope’s, fixes a line’s direction. In space a line can lean in any direction, so we use its angles with all three axes.
Direction cosines
Let a line point in a direction, and let α, β, be the angles it makes with the positive X-, Y- and Z-axes (each from 0° to 180°). Their cosines
are the line’s direction cosines. Turn the line round to point the other way and each angle becomes itself, so the direction cosines become −l, −m, −n. The X-axis has direction cosines 1, 0, 0 (its angles are 0°, 90°, 90°); the Y-axis 0, 1, 0; the Z-axis 0, 0, 1.
. Draw the line through O and mark P(x, y, z) on it with OP = r.
- Let A be the foot of the perpendicular from P on the X-axis. Then OA = x, and △OAP has its right angle at A (the perpendicular).
- So x = r cos α = lr (the angle at O is α; when , x and cos α are both negative). In the same way y = mr and z = nr.
- (the distance from O). So , and
With r = 1, the direction cosines are simply the coordinates of the point 1 unit along the line.
So the three angles are never free: choose two and the third is fixed, up to a sign. The answer is “up to a sign” because and have the same square.
Direction ratios
Any three numbers a, b, c proportional to l, m, n are direction ratios of the line: a = kl, b = km, c = kn for some k ≠ 0. They are easier to find; to get back the direction cosines, divide by their length:
- , so .
- So
with the same sign all through (one sign for each way along the line).
Through two points. For the line through P(x₁, y₁, z₁) and Q(x₂, y₂, z₂), the result x = lr from the proof of , with P in place of O, gives x₂ − x₁ = l · PQ, and so on: so x₂ − x₁, y₂ − y₁, z₂ − z₁ are direction ratios of PQ, and dividing by PQ gives its direction cosines.
A line has direction cosines l, m, n. The same line pointing the other way has direction cosines:
Pick an answer to see why.
Back to Kala Patthar
Put the origin on Kala Patthar (27.9958° N, 86.8284° E, 5,644.5 m), the X-axis east, the Y-axis north and the Z-axis up. Everest’s summit is at 27.9883° N, 86.9253° E, 8,848.86 m. On a sphere of radius 6,371 km, one degree of latitude is 111.19 km and one degree of longitude here is km, so the summit is about
- Distance: 10.07 km.
- Direction cosines: , , .
- The line of sight makes with the vertical, so it rises 18.5° above the horizontal.
So the summit is about 10 km away, a little south of east, and you look up at about 18½°. This treats the ground as flat; over these 9.5 km of ground the Earth’s curve drops only about 7 m, too little to change the answer at this rounding. (Some sources give Kala Patthar as 5,545–5,550 m; with 5,550 m the summit is 10.10 km away and 19.1° up.)
For the engineering entrance
IOE’s BE entrance lists “Plane and its equation” beside coordinates in space; NEB’s Grade 11 exam does not ask it. The plane needs the angle between two lines, and entrance questions ask the section formula too, so both come first.
Exercise
Choose the correct option
The point (0, 4, −3) lies:
Pick an answer to see why.
The direction cosines of the Z-axis are:
Pick an answer to see why.
The distance of (3, −4, 12) from the origin is:
Pick an answer to see why.
The distance of P(2, −3, 6) from the XY-plane is:
Pick an answer to see why.
Which of these cannot be the direction cosines of a line?
Pick an answer to see why.
A line has direction ratios 2, −1, 2. Its direction cosines are:
Pick an answer to see why.
A line makes equal angles with the three axes. Its direction cosines are:
Pick an answer to see why.
The foot of the perpendicular from P(3, −2, 5) on the ZX-plane is:
Pick an answer to see why.
A(1, 2, 3), B(3, 6, 7) and C(4, k, 9) are collinear when k is:
Pick an answer to see why.
A line makes angles with the axes. Then is:
Pick an answer to see why.
A line makes angles θ₁, θ₂, θ₃, θ₄ with the four long diagonals of a cube. Then is:
Pick an answer to see why.
Short questions
A(2, −1, 3) and B(−4, 1, 0).
- a.Find AB. (2 marks)
- b.Find the point on the Z-axis that is equally far from A and B. (3 marks)
Answer
- a.The direction cosines of a line are proportional to 1, −3, 2. Find them. (2 marks)
- b.Find the direction cosines of the line from A(2, 3, −4) to B(8, 1, −1), and the angles it makes with the axes. (3 marks)
Answer
Show that for any real numbers a, b, c, not all equal, the points (a, b, c), (b, c, a) and (c, a, b) are the vertices of an equilateral triangle. (5 marks)
Hint
Answer
Long questions
A(3, 1, 5), B(1, 2, 3) and C(3, 4, 2).
- a.Show that △ABC is right-angled and isosceles. (2 marks)
- b.Find the direction cosines of AC and the angles it makes with the axes. (2 marks)
- c.Find the area of △ABC. (2 marks)
- d.Find D such that ABCD is a square, and check that AD and BC have the same direction ratios. (2 marks)
Hint
Answer
Project work
For the engineering entrance
Questions of the kind IOE sets on lines and planes in space.
Printable PDFs
- Study notes 2 pages
- Worksheet 4 pages Answer key
- Harder practice questions 1 page Answer key
Practice every question in the book, and keep track of the ones you miss →
Where these facts come from
- Everest’s height, 8,848.86 m, announced jointly by Nepal and China on 8 December 2020, and its summit at 27°59′18′′ N, 86°55′31′′ E (opening, 13.3): Wikipedia, “Mount Everest”, read November 2026.
- Kala Patthar on the south ridge of Pumori above Gorak Shep, “the most accessible closeup view of Everest”, at 27°59.750′ N, 86°49.705′ E, 5,644.5 m (a 2006 GPS reading gave 5,643 m; other sources give 5,545–5,550 m) (opening, 13.3): Wikipedia, “Kala Patthar”, read November 2026.
- The Earth’s mean radius, 6,371 km (IUGG’s arithmetic mean radius, 6,371.0088 km), used for the degrees-to-kilometers conversion (13.3): Wikipedia, “Earth radius”, read November 2026.
- The right-handed axes, octants and the distance formula (13.1, 13.2), direction angles and cosines (13.3) and the plane’s equations and a point’s distance from a plane (the entrance section) checked against OpenStax, Calculus Volume 3, 2.2, 2.3 and 2.5 (CC BY 4.0).
- The unit’s items: CDC, Secondary Education Curriculum 2078, Mathematics, Grades 11–12, 3.3 and learning outcome 3.5; the marks and the model question: CDC, Specification Grid 2078, Mathematics, Grade 11, question 21a; IOE, BE/BArch Entrance Syllabus 2083, Mathematics 4.4.
Found a mistake? Please tell us.
