10D - The cosine rule
Two paths have the same lengths but meet at different angles. How much can the direct distance between their endpoints change? You will use the cosine rule to find sides and angles, then choose a suitable triangle method in exact calculations and two-dimensional journeys.
Finding an unknown side
Two sides measure and . Is the third side fixed before you know the angle between them?
If the sides meet at a right angle, Pythagoras gives the third side as . Closing the angle makes the opposite side shorter; opening it makes that side longer. The cosine rule measures this change.
Cosine rule
In a non-degenerate triangle, with side opposite angle ,
Here and meet at the included angle , with and . You can relabel the letters to match the triangle.
On the formulae sheet.
Use it directly for SAS data: two sides and their included angle. Find the squared length first, then take its positive square root. Since , the formula agrees with Pythagoras for a right triangle. An acute subtracts a positive amount; an obtuse subtracts a negative amount.
Worked example 1: an acute included angle
Question. In triangle , , and . Find exactly.
Plan. The known angle lies between the known sides, so use the cosine rule for the opposite side .
Answer. .
Check. Put and . Then , so the distance squared is , independently confirming the answer.
Change only the included angle to . Its cosine changes sign, so the correction now increases the squared length.
Worked example 2: an obtuse included angle
Question. In triangle , , and . Find exactly.
Plan. Keep the same side pairing and retain the negative value of the cosine.
Answer. .
Check. This time , so . Also , as expected for an angle larger than a right angle.
The opening paths can therefore have a much larger gap between their endpoints even when their own lengths stay fixed.
Finding an unknown angle
Three side lengths determine the shape of a triangle, so they also determine its angles.
Check first that the lengths are positive and that the longest is less than the sum of the other two. Equality gives a straight, degenerate shape; a larger longest side cannot close the triangle.
Rearranging the supplied rule gives
so
The side must be opposite the angle being found. Use inverse cosine to obtain the unique interior angle between and . Unlike inverse sine, inverse cosine distinguishes acute and obtuse interior angles directly.
Worked example 3: an acute angle from three sides
Question. A triangle has , and . Find .
Plan. All sides are known, so rearrange the cosine rule for the angle opposite .
The lengths form a triangle because .
Answer. .
Check. The sides adjoining can have endpoints and from a common origin. Their separation squared is , giving the required opposite side .
Keep the adjoining sides and , but lengthen the opposite side. A negative cosine now signals an obtuse angle.
Worked example 4: an obtuse angle from three sides
Question. A triangle has , and . Find .
Plan. Keep the exact squared side length when substituting into the angle form.
Since , these lengths form a triangle.
Answer. .
Check. With adjoining endpoints and , the distance squared is . Also , consistent with an obtuse opposite angle.
The numerator gives a quick classification: means is acute, equality means right, and means obtuse. This is a check on the angle opposite , not necessarily on every angle of the triangle.
Watch out
An angle result needs a genuine triangle. For sides , finding the angle opposite side gives cosine and angle : this is degenerate, not a valid triangle. A cosine outside indicates inconsistent data or an error; do not force an angle from it.
Use the side opposite the requested angle in the subtracted term.
Choosing a triangle method
The useful rule is the one that connects the quantities you actually know.
Start with a labelled sketch. Mark the requested side or angle and identify any known opposite pair or included angle.
| Available data and target | Useful starting method |
|---|---|
| Right triangle with two sides | Pythagoras for the third side; a basic ratio for an angle |
| Right triangle with a side and an acute angle | Sine, cosine or tangent |
| Complete opposite pair, plus another side or angle | Sine rule; check both candidates for SSA |
| Two sides and their included angle, seeking the third side | Cosine rule |
| Three sides, seeking an angle | Cosine rule |
| Two sides and their included angle, seeking area | Triangle area formula |
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account