HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Elevation, Depression and Bearings
  1. 1Angles of elevation and depression at two stations
  2. 2Bearings and directions on a map
  3. 3Heights and distances in three dimensions
  1. Mathematics
  2. /Elevation, Depression and Bearings
  3. /Heights and distances in three dimensions

Course 35.1·Lesson 3 of 3

Heights and distances in three dimensions

In three dimensions, look for right triangles in two planes: a vertical one through the tower and the observer, and a horizontal one on the ground. The vertical triangle turns each angle of elevation into a ground distance hcot⁡θh\cot\thetahcotθ. The ground triangle joins those distances, by Pythagoras when the directions are at right angles. The angle between a line and a plane is the angle between the line and its shadow on the plane.

about 25 min
Lesson 3 of 3Show all lessonsHide
Elevation, Depression and Bearings
  1. 1Angles of elevation and depression at two stations
  2. 2Bearings and directions on a map
  3. 3Heights and distances in three dimensions

Try the code and the simulations beside the lesson.

What you will be able to do

  • solve a tower problem when the two observers are not in one line with the foot;
  • find the angle between a line and a plane;
  • use Pythagoras twice in a box or a pyramid.

Two observers who do not line up

A tower PQPQPQ of height hhh stands with its foot QQQ on level ground. An observer at AAA is due south of QQQ. Another at BBB is due east of QQQ. They see the top PPP at elevations α\alphaα and β\betaβ. How far apart are they?

Look at the picture in two parts.

  1. Two vertical triangles. Triangle PQAPQAPQA has a right angle at QQQ, so QA=hcot⁡αQA = h\cot\alphaQA=hcotα. In the same way QB=hcot⁡βQB = h\cot\betaQB=hcotβ.
  2. One ground triangle. South and east are at right angles, so the angle AQBAQBAQB is 90∘90^\circ90∘.
  3. Pythagoras on the ground. AB2=QA2+QB2AB^2 = QA^2 + QB^2AB2=QA2+QB2.
AB2=h2(cot⁡2α+cot⁡2β).\displaystyle AB^2 = h^2(\cot^2\alpha + \cot^2\beta).AB2=h2(cot2α+cot2β).
A tower PQ standing on level ground, drawn in a three-dimensional view. Point A is due south of the foot Q and point B is due east of Q. Dashed lines run from A and B up to the top P, with the angles of elevation alpha at A and beta at B. On the ground, QA and QB meet at a right angle at Q, and the segment AB joins them.

Example. With α=30∘\alpha = 30^\circα=30∘, β=45∘\beta = 45^\circβ=45∘ and AB=100 mAB = 100\ \text{m}AB=100 m: cot⁡230∘+cot⁡245∘=3+1=4\cot^2 30^\circ + \cot^2 45^\circ = 3 + 1 = 4cot230∘+cot245∘=3+1=4. So AB=2hAB = 2hAB=2h and h=50 mh = 50\ \text{m}h=50 m.

If the angle AQBAQBAQB is not a right angle, call it ϕ\phiϕ. Then the ground triangle needs the cosine rule, which the next course teaches:

AB2=QA2+QB2\displaystyle AB^2 = QA^2 + QB^2AB2=QA2+QB2
−2 QA⋅QBcos⁡ϕ.\displaystyle \qquad - 2\,QA \cdot QB\cos\phi.−2QA⋅QBcosϕ.

The angle between a line and a plane

A ladder leans in the corner of a room. What is its angle with the floor? Drop a perpendicular from the top of the ladder to the floor. The line from the foot of the ladder to that point is the projection of the ladder on the floor. The angle between a line and a plane is the angle between the line and its projection.

Example: a box. A box is 12 cm12\ \text{cm}12 cm long, 9 cm9\ \text{cm}9 cm wide and 8 cm8\ \text{cm}8 cm high. A thin rod joins a bottom corner to the opposite top corner.

  1. The floor diagonal. 122+92 cm=15 cm\sqrt{12^2 + 9^2}\ \text{cm} = 15\ \text{cm}122+92​ cm=15 cm. This is the projection of the rod.
  2. The rod. 152+82 cm=17 cm\sqrt{15^2 + 8^2}\ \text{cm} = 17\ \text{cm}152+82​ cm=17 cm.
  3. The angle with the base. tan⁡θ=815\tan\theta = \dfrac{8}{15}tanθ=158​, so θ≈28.07∘\theta \approx 28.07^\circθ≈28.07∘.

Angles in a pyramid

In a pyramid with its top above the centre of the base, two angles are asked often:

  • a slant edge with the base uses the distance from the centre to a corner;
  • a face with the base uses the distance from the centre to the middle of a side.

The second distance is shorter, so the face is steeper than the edge.

Practise with new numbers

Try it in Python

The program places the tower and the two observers in coordinates (x,y,z)(x, y, z)(x,y,z) and measures everything directly. It checks the formula for ABABAB and the angle of the rod in the box.

Read it first. Then run it. Does the coordinate distance agree with the formula?

1. Move B so that it is north-east of the foot, at (qb / 2 ** 0.5, qb / 2 ** 0.5, 0). The angle at the foot is now 135∘135^\circ135∘. How does ABABAB change?

2. Change the box to 12, 16, 21. What is the angle of the rod now?

Common mistakes

  • Using an elevation in the ground triangle. The angles of elevation live in vertical planes. The ground triangle uses the directions, such as south and east.
  • Adding QAQAQA and QBQBQB. They are two sides of a triangle, not one straight line.
  • Taking the edge of a box as the projection. The projection of a space diagonal on the base is the base diagonal.
  • Mixing the edge and the face of a pyramid. Check which distance from the centre the question needs.

Remember these

  • Split a three-dimensional problem into vertical triangles and one ground triangle.
  • QA=hcot⁡αQA = h\cot\alphaQA=hcotα and QB=hcot⁡βQB = h\cot\betaQB=hcotβ; at a right angle, AB2=QA2+QB2AB^2 = QA^2 + QB^2AB2=QA2+QB2.
  • The angle between a line and a plane is the angle with its projection.
  • In a box, the space diagonal has length a2+b2+c2\sqrt{a^2 + b^2 + c^2}a2+b2+c2​.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. A pole 20 m20\ \text{m}20 m high is seen from AAA, due north of its foot, at 45∘45^\circ45∘, and from BBB, due west of its foot, at 45∘45^\circ45∘. Find ABABAB.
  1. A cube has edges of 6 cm6\ \text{cm}6 cm. What is the length of the diagonal from one corner to the opposite corner?
  1. What is the projection of a vertical pole on the level ground?
  1. In a square pyramid with base side 6 m6\ \text{m}6 m and height 4 m4\ \text{m}4 m, find the angle between a face and the base.
  1. Why can the formula AB2=h2(cot⁡2α+cot⁡2β)AB^2 = h^2(\cot^2\alpha + \cot^2\beta)AB2=h2(cot2α+cot2β) not be used when AAA is due south of the foot and BBB is due north of it?

References

  • Cambridge IGCSE Mathematics 0580 syllabus, topic E6.6 (Pythagoras' theorem and trigonometry in three dimensions).
  • OpenStax, Precalculus 2e, Chapter 5, section 5.4 on right triangle trigonometry.

Enroll free in Elevation, Depression and Bearings

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A vertical water tower stands on flat land…Hard · High School (11–12) · by StemPy Lab
A rectangular sports field measures 40 m by 30 m…Advanced · High School (11–12) · by StemPy Lab
A camping tent has the shape of a pyramid on a square base of side 4 m…Advanced · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Elevation, Depression and Bearings
← Bearings and directions on a mapNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 simulation
1 practice question
1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Question Sets (1)

Elevation, Depression and Bearings: Check Your Understanding10 questions · by StemPy Lab

Notes (1)

Elevation, Depression and Bearings: Quick RevisionNote · by StemPy Lab