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. /Navigation with the sine and cosine rules

Course 35.2·Lesson 3 of 3

Navigation with the sine and cosine rules

Two craft that leave one point on different bearings travel along two sides of a triangle. The angle between the sides is the difference of the bearings, so the cosine rule gives how far apart they are. The sine rule gives an angle inside the triangle, and adding or subtracting it from a known bearing gives the bearing of one craft from the other. Check every bearing with east and north parts.

about 25 min1 simulation1 practice question
Lesson 3 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 the angle between two courses from their bearings;
  • find the distance between two ships or aircraft with the cosine rule;
  • find a bearing inside a triangle with the sine rule, and check it with parts.

From bearings to an angle

Two aircraft PPP and QQQ take off from an airport OOO at the same time. PPP flies 300 km300\ \text{km}300 km on a bearing of 040∘040^\circ040∘. QQQ flies 400 km400\ \text{km}400 km on a bearing of 110∘110^\circ110∘. How far apart are they?

Both bearings are measured from the same north line at OOO. So the angle between the tracks is the difference:

∠POQ=110∘−40∘\displaystyle \angle POQ = 110^\circ - 40^\circ∠POQ=110∘−40∘
=70∘.\displaystyle = 70^\circ.=70∘.
A plan view with north up. From the airport O, aircraft P has flown 300 km on a bearing of 040 degrees and aircraft Q has flown 400 km on a bearing of 110 degrees. The angle of 70 degrees between the two tracks is marked at O. A dashed line joins P and Q.

The distance apart

The cosine rule in triangle OPQOPQOPQ gives

PQ2=3002+4002\displaystyle PQ^2 = 300^2 + 400^2PQ2=3002+4002
−240 000cos⁡70∘.\displaystyle \qquad - 240\,000\cos 70^\circ.−240000cos70∘.

So PQ2≈167 916 km2PQ^2 \approx 167\,916\ \text{km}^2PQ2≈167916 km2 and PQ≈409.8 kmPQ \approx 409.8\ \text{km}PQ≈409.8 km.

The bearing of one from the other

The pilot of PPP wants the bearing of QQQ.

  1. The angle at PPP. The sine rule gives sin⁡∠OPQ=400sin⁡70∘409.8≈0.917\sin\angle OPQ = \dfrac{400\sin 70^\circ}{409.8} \approx 0.917sin∠OPQ=409.8400sin70∘​≈0.917. Two angles have this sine, about 66.5∘66.5^\circ66.5∘ and 113.5∘113.5^\circ113.5∘. Which one is it?
  2. Decide with the cosine rule. cos⁡∠OPQ=3002+409.82−40022×300×409.8≈0.40\cos\angle OPQ = \dfrac{300^2 + 409.8^2 - 400^2}{2 \times 300 \times 409.8} \approx 0.40cos∠OPQ=2×300×409.83002+409.82−4002​≈0.40. It is positive, so the angle is acute: ∠OPQ≈66.5∘\angle OPQ \approx 66.5^\circ∠OPQ≈66.5∘.
  3. Turn it into a bearing. At PPP the line back to OOO has the bearing 040∘+180∘=220∘040^\circ + 180^\circ = 220^\circ040∘+180∘=220∘. Seen from OOO, the aircraft QQQ is clockwise of PPP. So from PPP the line to QQQ is 66.5∘66.5^\circ66.5∘ anticlockwise of the line POPOPO. The bearing of QQQ from PPP is 220∘−66.5∘=153.5∘220^\circ - 66.5^\circ = 153.5^\circ220∘−66.5∘=153.5∘.
  4. Check with parts. PPP is at east 192.8192.8192.8, north 229.8229.8229.8, and QQQ is at east 375.9375.9375.9, north −136.8-136.8−136.8 (in km). From PPP to QQQ the parts are east 183.0183.0183.0 and north −366.6-366.6−366.6. The bearing is 180∘−tan⁡−1183.0366.6≈153.5∘180^\circ - \tan^{-1}\dfrac{183.0}{366.6} \approx 153.5^\circ180∘−tan−1366.6183.0​≈153.5∘. It agrees.

The sine rule alone could not choose between 66.5∘66.5^\circ66.5∘ and 113.5∘113.5^\circ113.5∘. The cosine rule, or the east and north parts, always can. Use one of them to check every bearing you find by the sine rule.

A route with a turn

A boat sails aaa km on one bearing, then bbb km on another. The angle inside the triangle at the turning point is 180∘180^\circ180∘ minus the change of bearing. Then the cosine rule gives the distance from the start. You will meet this in the problems.

Three steps for any navigation question

  1. Draw a north line at every point where a bearing is measured.
  2. Find the angles of the triangle from the bearings: a difference at a common point, 180∘180^\circ180∘ minus the turn at a corner.
  3. Solve with the cosine rule for a side and the sine rule for an angle, then check the bearing with east and north parts.

Practise with new numbers

Try it in Python

The program finds the distance between the two aircraft with the cosine rule and again from their east and north parts. Then it prints the bearing of QQQ from PPP.

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

1. Change the bearing of Q to 220. What is the angle between the tracks now? Is the cosine rule still right?

2. Make both aircraft fly on the same bearing at different speeds. What does the distance become?

Common mistakes

  • Adding bearings. The angle between two tracks from one point is the difference of their bearings.
  • The angle at a turn. If the course turns through 70∘70^\circ70∘, the inside angle of the triangle is 180∘−70∘=110∘180^\circ - 70^\circ = 110^\circ180∘−70∘=110∘.
  • Trusting the sine rule for an angle. It cannot tell an acute angle from an obtuse one. Check with the cosine rule or with parts.
  • The wrong reference line. An angle inside a triangle becomes a bearing only after you say which line it starts from.

Remember these

  • The angle between two tracks from one point is the difference of their bearings.
  • Distance apart: the cosine rule.
  • An angle in the triangle: the sine rule, checked with the cosine rule.
  • Every bearing: check with east and north parts.

Check yourself

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

  1. Two ships leave a port on bearings 030∘030^\circ030∘ and 150∘150^\circ150∘. What is the angle between their tracks?
  1. A walker goes on a bearing of 050∘050^\circ050∘ and then turns to 120∘120^\circ120∘. What is the angle inside the triangle at the turning point?
  1. Two boats are 5 km5\ \text{km}5 km and 5 km5\ \text{km}5 km from a jetty on bearings 000∘000^\circ000∘ and 060∘060^\circ060∘. How far apart are they?
  1. Why must you check a bearing found by the sine rule?
  1. Two aircraft fly on bearings 090∘090^\circ090∘ and 270∘270^\circ270∘, 200 km200\ \text{km}200 km each. How far apart are they?

References

  • OpenStax, Precalculus 2e, Chapter 8, sections 8.1 and 8.2, with bearings in the applications.
  • Cambridge IGCSE Mathematics 0580 syllabus, topics E6.2 and E6.5.

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 (4)

Two aircraft take off from an airport at the same moment…Hard · High School (11–12) · by StemPy Lab
A buoy B lies 12 km from a harbour H on a bearing of 070°…Advanced · High School (11–12) · by StemPy Lab
From a survey point O, a hilltop marker A lies 2.5 km away on a bearing of 030°…Advanced · High School (11–12) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Sine and Cosine Rules in Heights and Distances
← Two stations and the triangle at the topNext →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

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

A ship sails due east at a steady speed…Hard · High School (11–12) · by StemPy Lab

Python Labs (1)

Separation of two aircraftPython Lab · by StemPy Lab

Question Sets (1)

Sine and Cosine Rules in Heights and Distances: Concept Check10 questions · by StemPy Lab

Notes (1)

Sine and Cosine Rules in Heights and Distances: Quick RevisionNote · by StemPy Lab