The Cosine Rule
Use the cosine rule to find a side from two sides and the angle between them, find an angle from three sides, and set up an equation when the sides are in algebra.
In the exam for Cambridge IGCSE Maths 0580, Cambridge O Level Maths 4024, Edexcel Further Pure Maths 4PM1, Edexcel IGCSE Maths 4MA1, IGCSE Additional Maths 0606 · 66 real past-paper questions below
اقرأ هذا الدرس مشروحاً بالعربي ←
The Cosine Rule
Use it when a triangle has no right angle and no side with its facing angle known: two sides and the angle between them, or all three sides.
Formula
is the angle between sides and . Side is the one facing it, across the triangle.
Key idea
If , then and the rule becomes Pythagoras. The last part corrects for the angle not being 90°.
Key idea
In France, the cosine rule is called théorème d'Al-Kashi. It is named after Jamshid al-Kashi, a Persian mathematician in Samarkand who wrote it out as a clear rule in 1427.
Finding a Side
The 3-mark question: two sides and the angle between them. Find the third side.
Worked example
- 1
— Label the triangle. The 38° is between the 7 and the 10, so those are b and c. The side we want, a, is across from the angle.
- 2
— Write the rule first.
- 3
— Put the numbers in.
- 4
— Square each side and add them.
- 5
— Multiply the whole last part together. Do this before any subtracting.
- 6
— Now subtract. This is a², not a yet.
- 7
— Take the square root to get a, and keep the positive one because a length cannot be negative.
Key idea
For a “show that” question the answer is given, such as a = 6.22. Write a² with more decimal places, such as 38.68…, then the rounded answer. Keep full calculator values until the end.
Common mistake
Working out first and then multiplying by cos. Work out first, then subtract.
When the Angle Is Obtuse
If the angle between the two sides is more than 90°, its cosine is negative. Then the minus in the rule meets another minus. This is where marks are lost.
Worked example
- 1
— The 125° is between the 9 and the 12, so a is the side across from it.
- 2
— Write the rule with the numbers in.
- 3
— An angle over 90° has a negative cosine. The calculator shows the minus.
- 4
— 81 + 144 = 225 and 2 × 9 × 12 = 216. Put the negative number in brackets so its sign is not lost.
- 5
— A minus times a minus is a plus, so the 123.9 is added, not subtracted.
- 6
— Take the square root and give 3 significant figures.
- 7
— Check it. The side across from the biggest angle must be the longest, and it is.
Common mistake
Subtracting the 123.9. That gives 10.1 cm, which is shorter than the 12 cm side. A side across from an obtuse angle is always the longest, so the answer must be bigger.
Finding an Angle From Three Sides
The 3-mark question gives all three sides. Rearrange the rule so the cosine is on its own.
Formula
Sides of 6 cm, 9 cm and 13 cm. Find the largest angle. It faces the longest side, so .
Worked example
- 1
— The largest angle faces the longest side, so the 13 is a. The other two sides are b and c.
- 2
— Put the sides into the rearranged rule. The squared side a goes last, with the minus.
- 3
— Square each side, and 2 × 6 × 9 = 108.
- 4
— 36 + 81 = 117, and 117 − 169 = −52. A negative top is fine.
- 5
— Divide.
- 6
— Press inverse cosine. A negative cosine gives an angle over 90°, which is right for the largest angle.
Key idea
Found the largest angle? Find the next one with the sine rule, then the third by taking both away from 180°. Only the largest angle can be obtuse, so the sine rule gives just one answer.
Key idea
A negative cosine means the angle is obtuse, over 90°. The calculator handles it for you.
When the Sides Are in Algebra
The 5-mark question: the sides are expressions and the angle is 60°. Use to make an equation.
Sides and have 60° between them. The side facing it is 13 cm. Find the perimeter.
Worked example
- 1
— The 60° is between x and x + 7, and 13 is across from it, so 13 plays the part of a.
- 2
— cos 60° is exactly ½, so there are no decimals.
- 3
— 13² = 169, and 2 × ½ = 1.
- 4
— Expand each bracket. The minus in front of the last one changes both of its signs.
- 5
— Collect like terms: x² + x² − x² = x², and 14x − 7x = 7x.
- 6
— Take 169 from both sides, so 49 − 169 = −120.
- 7
— Factorise: the numbers multiply to −120 and add to 7, so −8 and 15.
- 8
— Each bracket can be zero.
- 9
— Reject −15. A length cannot be negative.
- 10
— The perimeter is all three sides: x = 8, x + 7 = 15 and the 13.
Common mistake
Stopping at . The question asks for the perimeter, so add all three sides.
Which Method? Read the Question
Look for a side and the angle facing it.
| You see | You do |
| Two sides and the angle between | cosine rule for the third side |
| Three sides, find an angle | cosine rule rearranged |
| Largest angle | it faces the longest side |
| A side and the angle facing it | The Sine Rule |
| More than one step | Choosing Between Sine and Cosine Rules |
Key idea
Label the angle you use and the side across from it first. Then the rule cannot go wrong.
Practise the cosine rule now
Interactive visual aids, then real past-paper questions marked on your working like the exam. Free to start.
Practise free on LemmaraReal past-paper questions on the cosine rule
Each with a full worked solution.
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.