IB Applications and Interpretation SL · Trigonometry · Section 3 of 4

Solving any triangle: sine and cosine rules

3 worked examples · By Álvaro López

Key idea

Right-angled trigonometric ratios are not enough when the triangle has no right angle. The sine and cosine rules let you find any unknown side or angle of any triangle from three pieces of information. In the IB exam they appear in maps, distances between points, cables and land, almost always with a diagram and with the GDC.

Standard notation for a triangle

In a triangle , is the side opposite vertex , is opposite and is opposite . Capital letters name the vertices (and their angles), and lower-case letters name the lengths. "Opposite" means that the side does not touch that vertex.

Triangle ABC with sides a, b and c opposite vertices A, B and C

The two rules relate these six measurements. Solving a triangle means finding all the ones that are missing. Remember also that the three angles add up to and that the longest side is always opposite the largest angle.

The sine rule

The idea is that, in the same triangle, a larger angle corresponds to a larger side, and the ratio between each side and the sine of its opposite angle is constant. It is proved by drawing the height from : it equals and also , from which .

To use it you need two "side and opposite angle" pairs, one complete and one with only one unknown. That is why it works in two situations:

  • Two angles and a side (any side). The third angle comes from the sum of , and you then have the necessary pairs.
  • Two sides and an angle opposite one of them. Here you must be careful, because there may be two triangles.

The ambiguous case

Suppose you know angle and sides (the one touching ) and (the one opposite ). Imagine side fixed along a ray from , with its end at . Side is a segment of fixed length that starts at and must reach the other ray starting at . Depending on its length, it can touch that ray at none, one or two points.

Two positions B1 and B2 of vertex B for the same values of A, a and b

The height from is and marks the boundary:

In the case of two triangles, the sine rule gives , and this equation has two solutions between and : Both are valid because . The calculator only gives you (acute): you must work out the obtuse yourself. Then discard any solution for which is or more. When , this always happens with , which is why only one solution remains.

The cosine rule

The sine rule needs a complete "side and opposite angle" pair. When you do not have one, you need another tool.

Notice that the angle on the right-hand side is always the opposite of the side on the left-hand side, and that the other two sides are the ones that form it. If , the cosine term is 0 and remains: Pythagoras' theorem is a special case. The cosine term acts as a "correction" to Pythagoras: if is acute, something is subtracted and is less than ; if is obtuse, the cosine is negative and is greater.

It is used in these two situations:

  • Two sides and the angle between them (the one they form). This gives the third side.
  • All three sides. Any angle is obtained by rearranging for the cosine.

Choosing between the two rules

Look at the data you have and what you are looking for:

Given Rule What you obtain
Two angles and a side Sine The other sides
Two sides and an angle opposite one of them Sine (careful: ambiguous case) The angle opposite the other side
Two sides and the angle they form Cosine The third side
All three sides Cosine An angle

In many problems the steps are chained: the cosine rule gives the first missing quantity and then the sine rule completes the rest. When you need to find an angle and are unsure, use the cosine: its inverse function returns angles between and , so it identifies obtuse angles without ambiguity. With the sine, an acute result can hide an obtuse one.

Worked examples

Example 1 Basic

Two angles and a side

In a triangle it is known that , and the side opposite measures cm.

a) Calculate the angle .

b) Calculate the side .

c) Calculate the side .

Give the sides to 3 significant figures.

Solution

a) The angles add up to , so .

b) The pair and is known, so the sine rule can be used:

c) In the same way,

Check: the longest side is , which is opposite the largest angle .

Example 2 Medium

Two boats from a harbour

Two boats leave a harbour . Boat sails 7.5 km and boat sails 11 km. The two routes form an angle of between them. Let be the distance between them at the end.

a) Calculate the distance .

b) Calculate the angle at in triangle .

c) Calculate the angle at .

Give the distances to 3 significant figures and the angles to 3 significant figures.

Solution

Two sides and the angle between them are known, so start with the cosine rule.

a) With , , and :

b) Now all three sides are known, and angle is found from the cosine (using the unrounded value of ):

c) .

Check using the sine rule: gives , and the longest side is opposite the largest angle .

Example 3 Hard

A cable that gives two possible triangles

A 14 m cable joins point on a tower to point on the ground. An observer stands at point on the ground, 18 m from in a straight line, and the angle at between the ground and the line of sight to is . Point is on the ground, on the ray from , with no indication of which side of the height of it falls.

a) Find the two possible values of angle .

b) Find the two possible distances .

c) If the cable were 10 m long instead of 14 m, how many triangles would be possible? Give the number.

Give the angles and lengths to 3 significant figures.

Solution

Known are , and : two sides and an angle opposite one of them. This is the ambiguous case.

a) Check that there are two triangles: the height from is and holds. By the sine rule, The other angle is . Both are valid: .

b) In each triangle, .

With : and m.

With : and m.

c) With we have : the cable does not reach the ground. This is also seen because , which is impossible. There are 0 triangles.

In the exam: when the question gives two sides and a non-included angle, write that there are two solutions and calculate both; if the context (or the diagram) rules one out, say why. Giving only the acute angle leaves the part incomplete.

Common mistakes

Summary

  • Notation: side is opposite angle , is opposite and is opposite ; the three angles add up to .
  • Sine rule: . Used with two angles and a side, or with two sides and the angle opposite one of them.
  • Ambiguous case (two sides and an opposite angle): depending on compared with and with , there are 0, 1 or 2 triangles; the second angle is .
  • Cosine rule: . Used with two sides and the angle between them, or with all three sides; in the latter case .
  • To find an angle, the cosine distinguishes acute from obtuse angles; the sine does not.
  • On the GDC: degree mode, no rounding at intermediate steps, and write down the equation you have set up.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp