The Cosine Rule: Finding a Side
When two sides and the angle between them are known, the sine rule cannot start. The cosine rule finds the third side of any triangle.
Before you start
- The sine rule needs a complete pair: a side and the angle opposite it, both known (lesson 6.3). With two sides and the angle between them there is none, and the sine rule cannot start.
- Pythagoras' theorem (Secondary 2): in a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides, . With cm and cm, and cm.
- The cosine of an obtuse angle is negative: (lesson 6.1).
Two Sides and the Angle Between Them
In , let cm, cm and . The angle is the included angle of and : the angle between the two sides. The side faces and faces , and neither angle is known; faces , but is the side wanted. No pair is complete.
The cosine rule finds straight from , and the angle between them.
The cosine rule
In any triangle ,
and in the same way, for the other two sides,
The side on the left faces the angle on the right. The two sides on the right are the two that make that angle.
Why the Cosine Rule Is True
Draw the height from , at right angles to , and let . Then .
In the right-angled triangle , the hypotenuse is : , and by Pythagoras' theorem .
In the right-angled triangle , the hypotenuse is :
Put and into the last line:
that is,
If is obtuse, falls outside the triangle, beyond . Then and , and the same steps give the same rule: it holds in every triangle.
Finding a Side
Finding a side by the cosine rule
1. Check the facts: two sides and the angle between them. The side wanted faces that angle.
2. Write the form with the side wanted on the left, such as
3. Work out as one product first, then subtract it from .
4. Take the square root. Key it in one go and round only the answer.
Example 1: The third side
In , cm, cm and . Find .
Solution
Two sides, cm and cm, and the angle between them; faces .
cm (3 s.f.).
Example 2: Other letters
In , cm, cm and . Find .
Solution
The angle given is at , between and . The side wanted, , does not touch , so it faces . Write the rule with on the left and the angle on the right:
cm (3 s.f.).
An Obtuse Included Angle
When the angle between the two sides is obtuse, its cosine is negative (lesson 6.1). Then is negative, and subtracting it adds: the third side comes out longer than it would with a right angle.
Example 3: An obtuse angle between the sides
In , cm, cm and . Find .
Solution
so
Check: with a right angle at the side would be cm; the obtuse angle opens the triangle wider, so is longer. It is the longest side, facing the largest angle.
cm (3 s.f.).
At 90°: Pythagoras' Theorem
When , , so the last term is and the cosine rule becomes : Pythagoras' theorem, with the hypotenuse. The cosine rule is Pythagoras' theorem with a correction, , for an angle that is not a right angle.
Here so cm, as Pythagoras' theorem gives. The sign of tells how compares with :
| The angle | ||
|---|---|---|
| acute | positive | less than |
| equal to | ||
| obtuse | negative | more than |
Then an Angle
Once the third side is known, the triangle has a complete pair (the side found and the angle opposite it), and the sine rule of lesson 6.4 can find another angle. Choose an angle that faces a side shorter than the longest: it cannot be obtuse, so the acute answer is the only one. Lesson 6.7 says more about choosing.
Example 4: Paths round an HDB block
From the foot of an HDB block, a straight path runs m to a playground , and another runs m to a bus stop . The angle between the paths is . Find (a) the distance , (b) the angle .
Solution
(a) Two sides and the angle between them; faces :
m
(b) Now and make a complete pair. faces m, the shortest side, so it is acute.
so and , using the unrounded .
(a) m (3 s.f.) (b) (1 d.p.).
Common Mistakes
- Working The cosine belongs to only: work as one product, then subtract it from .
- Losing the sign with an obtuse angle. is negative, so adds to . Key the whole line in one go, or put the cosine in brackets.
- Using the rule with an angle that is not between the two sides. The angle on the right must be the one the two sides make; the side on the left faces it.
- Stopping at . The rule gives the square of the side: take the square root.
- Rounding or before the end. Keep the values in the calculator and round only the answer.
Practice Questions
Give lengths correct to 3 significant figures and angles to 1 decimal place. Check first that the angle given is between the two sides. Try each question before opening its solution.
Question 1
In , cm, cm and . Find .
ShowHide solution
cm
Question 2
Find .
ShowHide solution
faces , the angle between and .
cm
Question 3
In , cm, cm and . Find .
ShowHide solution
Check: the angle is obtuse, so is longer than cm, the side for a right angle.
cm
Question 4
In , cm, cm and . Write the form of the cosine rule you need, and find .
ShowHide solution
The angle given is , between and , and faces it:
cm
Question 5
In , cm, cm and (the triangle of lesson 6.3, Question 7). Ravi works out and gives cm. Find his mistake and the correct .
ShowHide solution
He multiplied the whole of by . Only is multiplied by the cosine.
so
A side of cm could not join the ends of sides of cm and cm: the answer should have looked wrong.
cm
Question 6
In , cm, cm and . Siti gets cm. Without finding her mistake, explain why her answer must be wrong. Then find .
ShowHide solution
The angle is the largest angle, so faces it and must be the longest side, longer than cm. ( cm comes from , the sign of lost.)
must be more than cm; cm
Question 7
In , cm, cm and . Find by the cosine rule, and check it by Pythagoras' theorem.
ShowHide solution
so .
Pythagoras' theorem: , the same.
cm
Question 8
A tunnel is to be dug straight through a hill from to . From a point , a surveyor measures m, m and . Find the length of the tunnel.
ShowHide solution
m
The tunnel is m long.
Question 9
A parallelogram has cm, cm and . Find the lengths of its diagonals and .
ShowHide solution
: in , faces the angle between and . so
: in , cm, and (co-interior angles, parallel to ).
so
cm, cm (3 s.f.)
Question 10
A triangular garden plot has two sides of m and m, with an angle of between them. Find the length of fencing needed to go all the way round it.
ShowHide solution
The third side: so it is m.
Perimeter m.
m
Question 11
In , cm, cm and . Find (a) , (b) .
ShowHide solution
(a) so
(b) faces cm, the shortest side, so it is acute. so , using the unrounded .
(a) cm (b)
Question 12
In , cm, cm and . Without working out , say whether it is more or less than cm, and why. Then find .
ShowHide solution
The angle is obtuse, so is negative and is more than : is more than cm.
so
More than cm; cm
Key Points
- With two sides and the angle between them (the included angle), the sine rule cannot start; the cosine rule finds the third side.
- The cosine rule: The side on the left faces the angle on the right, and the other two sides make that angle.
- Work as one product, subtract it, then take the square root.
- An obtuse included angle has a negative cosine, so the third side is longer than with a right angle.
- At the cosine rule is Pythagoras' theorem, .