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
Sine and Cosine Rules in Heights and Distances
  1. 1The sine rule, the cosine rule and triangle area
  2. 2Two stations and the triangle at the top
  3. 3Navigation with the sine and cosine rules
  1. Mathematics
  2. /Sine and Cosine Rules in Heights and Distances
  3. /Two stations and the triangle at the top

Course 35.2·Lesson 2 of 3

Two stations and the triangle at the top

Two stations in line with a tower and the top form a triangle whose angle at the top is β−α\beta - \alphaβ−α. The sine rule gives the slant line from the nearer station, and its vertical part is the height. When the base line does not point at the tower, solve the ground triangle first with the sine rule, then go up with tan⁡\tantan

Lesson 2 of 3Show all lessonsHide
Sine and Cosine Rules in Heights and Distances
  1. 1The sine rule, the cosine rule and triangle area
  2. 2Two stations and the triangle at the top
  3. 3Navigation with the sine and cosine rules

Try the code and the simulations beside the lesson.

What you will be able to do

  • find a height with the sine rule in the triangle formed at the top;
  • solve a survey whose base line does not point at the tower;
  • use the cosine rule on the ground when the angle at the foot is known.

The triangle at the top

In the first course, two stations AAA and BBB on one line with the foot gave h(cot⁡α−cot⁡β)=dh(\cot\alpha - \cot\beta) = dh(cotα−cotβ)=d. There is a second way. It works with any angles, and it shows the triangle that the surveyor really uses.

Look at triangle ABPABPABP, where PPP is the top.

  1. The angle at AAA is α\alphaα.
  2. The angle β\betaβ at BBB is an exterior angle of the triangle. So the angle at the top is β−α\beta - \alphaβ−α.
  3. The sine rule in triangle ABPABPABP gives the slant line from the nearer station:
BP=dsin⁡αsin⁡(β−α).\displaystyle BP = \dfrac{d\sin\alpha}{\sin(\beta - \alpha)}.BP=sin(β−α)dsinα​.
  1. The height is the vertical part of BPBPBP:
h=BPsin⁡β.\displaystyle h = BP\sin\beta.h=BPsinβ.

Example. α=32∘\alpha = 32^\circα=32∘, β=50∘\beta = 50^\circβ=50∘, d=60 md = 60\ \text{m}d=60 m. The angle at the top is 18∘18^\circ18∘. Then BP=60sin⁡32∘sin⁡18∘≈102.89 mBP = \dfrac{60\sin 32^\circ}{\sin 18^\circ} \approx 102.89\ \text{m}BP=sin18∘60sin32∘​≈102.89 m and h≈102.89 m×sin⁡50∘≈78.82 mh \approx 102.89\ \text{m} \times \sin 50^\circ \approx 78.82\ \text{m}h≈102.89 m×sin50∘≈78.82 m.

Check with the first method: 60cot⁡32∘−cot⁡50∘\dfrac{60}{\cot 32^\circ - \cot 50^\circ}cot32∘−cot50∘60​ gives the same 78.82 m78.82\ \text{m}78.82 m.

A base line that does not point at the tower

A river or a fence often stops a surveyor from walking towards a tower. She lays out a base line ABABAB of length ddd wherever she can. At AAA and at BBB she measures the horizontal angles to the foot QQQ: angle QAB=θQAB = \thetaQAB=θ and angle QBA=ϕQBA = \phiQBA=ϕ. At AAA she also measures the elevation α\alphaα of the top.

A plan view of level ground. A base line AB runs along the bottom. The foot Q of a tower lies above it, across a river drawn as a blue band. Lines join A to Q and B to Q. The angle QAB is marked theta and the angle QBA is marked phi.
  1. The ground triangle. The angle at QQQ is 180∘−θ−ϕ180^\circ - \theta - \phi180∘−θ−ϕ, and sin⁡(180∘−θ−ϕ)=sin⁡(θ+ϕ)\sin(180^\circ - \theta - \phi) = \sin(\theta + \phi)sin(180∘−θ−ϕ)=sin(θ+ϕ).
  2. The sine rule on the ground. The side AQAQAQ is opposite the angle ϕ\phiϕ:
AQ=dsin⁡ϕsin⁡(θ+ϕ).\displaystyle AQ = \dfrac{d\sin\phi}{\sin(\theta + \phi)}.AQ=sin(θ+ϕ)dsinϕ​.
  1. Go up. h=AQtan⁡αh = AQ\tan\alphah=AQtanα.

Example. d=100 md = 100\ \text{m}d=100 m, θ=50∘\theta = 50^\circθ=50∘, ϕ=70∘\phi = 70^\circϕ=70∘, α=25∘\alpha = 25^\circα=25∘. Then AQ=100sin⁡70∘sin⁡120∘≈108.51 mAQ = \dfrac{100\sin 70^\circ}{\sin 120^\circ} \approx 108.51\ \text{m}AQ=sin120∘100sin70∘​≈108.51 m and h≈108.51×tan⁡25∘≈50.60 mh \approx 108.51 \times \tan 25^\circ \approx 50.60\ \text{m}h≈108.51×tan25∘≈50.60 m.

When you know the angle at the foot

Sometimes the angles of elevation α\alphaα at AAA and β\betaβ at BBB are known, and so is the angle AQB=ϕAQB = \phiAQB=ϕ on the ground between the two directions. The ground distances are hcot⁡αh\cot\alphahcotα and hcot⁡βh\cot\betahcotβ. The cosine rule on the ground gives

d2=h2(cot⁡2α+cot⁡2β\displaystyle d^2 = h^2(\cot^2\alpha + \cot^2\betad2=h2(cot2α+cot2β
−2cot⁡αcot⁡βcos⁡ϕ).\displaystyle \qquad - 2\cot\alpha\cot\beta\cos\phi).−2cotαcotβcosϕ).

Example. α=30∘\alpha = 30^\circα=30∘, β=45∘\beta = 45^\circβ=45∘, ϕ=60∘\phi = 60^\circϕ=60∘, d=50 md = 50\ \text{m}d=50 m. The bracket is 3+1−23×12=4−33 + 1 - 2\sqrt{3} \times \tfrac{1}{2} = 4 - \sqrt{3}3+1−23​×21​=4−3​. So h=504−3 m≈33.20 mh = \dfrac{50}{\sqrt{4 - \sqrt{3}}}\ \text{m} \approx 33.20\ \text{m}h=4−3​​50​ m≈33.20 m.

With ϕ=90∘\phi = 90^\circϕ=90∘ the last term drops out, and you get the south and east case of the first course.

Practise with new numbers

Try it in Python

The program finds the height in three ways: with cotangents, with the sine rule at the top, and from a base line that does not point at the tower. The first two must agree.

Read it first. Then run it. Do the first two heights agree?

1. Change beta = 50 to beta = 33, very close to alpha. What happens to the slant line BPBPBP, and why is a small angle at the top bad for a surveyor?

2. In the third part, make phi larger. Does the foot move closer to AAA or further away?

Common mistakes

  • The angle at the top. It is β−α\beta - \alphaβ−α, not 180∘−α−β180^\circ - \alpha - \beta180∘−α−β. The angle at BBB inside the triangle is 180∘−β180^\circ - \beta180∘−β.
  • Stopping at the slant line. BPBPBP is not the height. Multiply by sin⁡β\sin\betasinβ.
  • Mixing the two planes. The angles θ\thetaθ and ϕ\phiϕ are on the ground. The elevation α\alphaα is in a vertical plane. Do not put them in one triangle.
  • Choosing the wrong side of the ground triangle. AQAQAQ is opposite the angle at BBB.

Remember these

  • In line: BP=dsin⁡αsin⁡(β−α)BP = \dfrac{d\sin\alpha}{\sin(\beta - \alpha)}BP=sin(β−α)dsinα​ and h=BPsin⁡βh = BP\sin\betah=BPsinβ.
  • Base line not in line: AQ=dsin⁡ϕsin⁡(θ+ϕ)AQ = \dfrac{d\sin\phi}{\sin(\theta + \phi)}AQ=sin(θ+ϕ)dsinϕ​ and h=AQtan⁡αh = AQ\tan\alphah=AQtanα.
  • Angle at the foot known: use the cosine rule on the ground distances hcot⁡αh\cot\alphahcotα and hcot⁡βh\cot\betahcotβ.

Check yourself

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

  1. From AAA the elevation is 20∘20^\circ20∘ and from BBB, nearer on the same line, it is 40∘40^\circ40∘. What is the angle at the top in triangle ABPABPABP, and what does it tell you about BPBPBP?
  1. Why is it better to use sin⁡β\sin\betasinβ and not sin⁡α\sin\alphasinα to go from BPBPBP to the height?
  1. On a base line AB=50 mAB = 50\ \text{m}AB=50 m, angle QAB=60∘QAB = 60^\circQAB=60∘ and angle QBA=60∘QBA = 60^\circQBA=60∘. How far is the foot QQQ from AAA?
  1. In the formula with the angle at the foot, what happens when ϕ=180∘\phi = 180^\circϕ=180∘?
  1. A surveyor finds the angle at the top is only 2∘2^\circ2∘. Why might her answer be unreliable?

References

  • OpenStax, Precalculus 2e, Chapter 8, section 8.1, where the law of sines finds heights and distances.
  • NCERT, Mathematics Textbook for Class XI (pre-2023 editions), Chapter 3, the section on the sine and cosine formulae.

Enroll free in Sine and Cosine Rules in Heights and Distances

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 surveyor stands at A and sees the top of a telecom mast at an angle of elevation of 28°…Hard · High School (11–12) · by StemPy Lab
A chimney stands on the far bank of a river…Advanced · High School (11–12) · by StemPy Lab
Two friends stand at points A and B on a level playground, 70 m apart…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 3Navigation with the sine and cosine rules
← Sine and Cosine Rules in Heights and Distances
← The sine rule, the cosine rule and triangle areaNavigation with the sine and cosine rules →

Discussion (0)

Log in to join the discussion.

Loading…

. Knowing the angle at the foot instead, use the cosine rule on the ground.
about 25 min1 simulation1 practice question1 Python program5 questions to check yourself

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