Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 20 · Pythagoras and trigonometry
GCSE Maths · Pythagoras and Trigonometry · Higher · Lesson 20.9

GCSE Maths: The cosine rule (Higher)

Part of the GCSE Maths pythagoras and trigonometry chapter (Higher). Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
20.9

The cosine rule

Edexcel 1MA1: G22
Grade 6-8

The sine rule needs a matching pair (a side and its opposite angle). What if you do not have one? For example, if you know two sides and the angle between them, or all three sides. Then you use the cosine rule.

a2 = b2 + c2 − 2bc cos A

Here a is the side opposite angle A, and b and c are the two other sides. The angle A is the angle between sides b and c. It looks like Pythagoras’ theorem with a correction term. If A = 90° then cos A = 0, the last term disappears and we get a2 = b2 + c2. If A is bigger than 90°, cos A is negative, so −2bc cos A is positive and a is longer than Pythagoras would give. That makes sense: a wider angle gives a longer opposite side.

ABCabcA
The cosine rule: the side a is opposite angle A, and A is between sides b and c.

Finding a side (two sides and the angle between them, SAS). Substitute the numbers, work out 2bc cos A first as one number, subtract it from b2 + c2, and take the square root.

Finding an angle (three sides, SSS). Rearrange the rule to make cos A the subject:

cos A = b2 + c2 − a22bc

Then use the inverse cosine. If the top is negative, the angle is obtuse, and the calculator gives it correctly (unlike the sine rule, there is no second answer).

Which rule? Look at what is given. A matching side and angle pair, plus one more value: sine rule. Two sides and the angle between them (SAS), or three sides (SSS): cosine rule. Start with the cosine rule when you cannot find a matching pair.

Key ideas

  • Cosine rule: a2 = b2 + c2 − 2bc cos A.
  • To find an angle: cos A = (b2 + c2 − a2) ÷ 2bc.
  • Use it for SAS (two sides and the angle between) and SSS (three sides).
  • Work out 2bc cos A before subtracting.
  • cos of an obtuse angle is negative.
Worked example 20.9.1
Work out the length x. Give your answer correct to 1 decimal place.
ABCx7 cm9 cm50°

Key words. In triangle ABC the side a is opposite angle A, side b is opposite angle B and side c is opposite angle C. The included angle is the angle between two given sides.

Method. The cosine rule finds the third side of a triangle when two sides and the angle between them are known: a2 = b2 + c2 − 2bc cos A.

  1. Spot the angle and the two sides around it. The cosine rule is used when we know two sides and the angle between them. The side we want is the one opposite that angle.
    Known: b = 7 cm, c = 9 cm, angle A = 50° between them.
    Wanted: a, opposite angle A.
  2. Write the cosine rule and put the numbers in. Square the wanted side on the left; square the other two sides on the right, then take away 2 × side × side × cos(angle).
    a2 = b2 + c2 − 2bc cos A
    a2 = 72 + 92 − 2 × 7 × 9 × cos 50°
  3. Work out the two squares and add. This is the first part, b2 + c2.
    72 + 92 = 49 + 81 = 130
  4. Work out the last part on its own. Multiply everything together first. Do this before subtracting (BIDMAS: multiplication comes before subtraction).
    cos 50° = 0.64278…
    2 × 7 × 9 × 0.64278… = 80.99123…
  5. Subtract. This gives a2.
    a2 = 130 − 80.99123… = 49.00876…
  6. Square root, then round to 1 d.p.. We want a, not a2.
    a = √49.00876… = 7.00062…
    a = 7.0 cm

Check. One side of a triangle is between the difference and the sum of the other two: 2 is less than 7.0, which is less than 16. Angle A is less than 90°, so a2 should be less than b2 + c2: 49.00876… is less than 130. ✓

Watch out. Do 2bc cos A first and then subtract it. A very common mistake is to work out (b2 + c2 − 2bc) first. The rule has a minus sign, even for an obtuse angle (cos of an obtuse angle is negative).

Worked example 20.9.2
Work out the length x. Give your answer correct to 1 decimal place.
ABCx6 cm8 cm120°

Key words. In triangle ABC the side a is opposite angle A, side b is opposite angle B and side c is opposite angle C. The included angle is the angle between two given sides.

Method. The cosine rule finds the third side of a triangle when two sides and the angle between them are known: a2 = b2 + c2 − 2bc cos A.

  1. Spot the angle and the two sides around it. The cosine rule is used when we know two sides and the angle between them. The side we want is the one opposite that angle.
    Known: b = 6 cm, c = 8 cm, angle A = 120° between them.
    Wanted: a, opposite angle A.
  2. Write the cosine rule and put the numbers in. Square the wanted side on the left; square the other two sides on the right, then take away 2 × side × side × cos(angle).
    a2 = b2 + c2 − 2bc cos A
    a2 = 62 + 82 − 2 × 6 × 8 × cos 120°
  3. Work out the two squares and add. This is the first part, b2 + c2.
    62 + 82 = 36 + 64 = 100
  4. Work out the last part on its own. Multiply everything together first. Do this before subtracting (BIDMAS: multiplication comes before subtraction).
    cos 120° = −0.5
    2 × 6 × 8 × −0.5 = −48
  5. Subtract. This gives a2.
    a2 = 100 − −48 = 148
  6. Square root, then round to 1 d.p.. We want a, not a2.
    a = √148 = 12.16552…
    a = 12.2 cm

Check. One side of a triangle is between the difference and the sum of the other two: 2 is less than 12.2, which is less than 14. Angle A is more than 90°, so a2 should be more than b2 + c2: 148 is more than 100. ✓

Watch out. Do 2bc cos A first and then subtract it. A very common mistake is to work out (b2 + c2 − 2bc) first. The rule has a minus sign, even for an obtuse angle (cos of an obtuse angle is negative).

Worked example 20.9.3
Work out the size of angle x. Give your answer correct to 1 decimal place.
ABC11 cm7 cm9 cmx

Key words. In triangle ABC the side a is opposite angle A, side b is opposite angle B and side c is opposite angle C. The included angle is the angle between two given sides.

Method. When all three sides are known, rearrange the cosine rule to cos A = (b2 + c2 − a2) ÷ 2bc, then use the inverse cosine.

  1. Spot the angle we want and the side opposite it. With three sides known we can find any angle. Call the side opposite the wanted angle a.
    Wanted: angle A, opposite the side a = 11 cm.
    The other two sides are b = 7 cm and c = 9 cm.
  2. Write the cosine rule and rearrange it for cos A. We want cos A on its own, so add 2bc cos A to both sides, subtract a2 from both sides, then divide by 2bc.
    a2 = b2 + c2 − 2bc cos A
    2bc cos A = b2 + c2 − a2
    cos A = b2 + c2 − a22bc
  3. Put the numbers in the top and the bottom. Work the top and the bottom out separately so you do not make a slip.
    Top: 72 + 92 − 112 = 49 + 81 − 121 = 9
    Bottom: 2 × 7 × 9 = 126
  4. Divide to find cos A. This gives the cosine of the angle as a decimal.
    cos A = 9126 = 0.07142…
  5. Use the inverse cosine. The inverse button (cos−1) turns the cosine value back into an angle. (A negative cosine gives an obtuse angle, which is correct.)
    A = cos−1(0.07142…) = 85.90395…°
  6. Round to 1 d.p. Give the angle to the accuracy asked.
    A = 85.9°

Check. Put the angle back in the cosine rule: 72 + 92 − 2 × 7 × 9 × cos 85.9° = 121.0, and 112 = 121.0. ✓

Watch out. In the top line the side a opposite the wanted angle is the one that is subtracted. Work out the top and the bottom separately, and do not divide until both are finished.

Worked example 20.9.4
Work out the size of the largest angle x in this triangle. Give your answer correct to 1 decimal place.
ABC10 cm5 cm6 cmx

Key words. In triangle ABC the side a is opposite angle A, side b is opposite angle B and side c is opposite angle C. The included angle is the angle between two given sides.

Method. When all three sides are known, rearrange the cosine rule to cos A = (b2 + c2 − a2) ÷ 2bc, then use the inverse cosine.

  1. Spot the angle we want and the side opposite it. With three sides known we can find any angle. Call the side opposite the wanted angle a.
    Wanted: angle A, opposite the side a = 10 cm.
    The other two sides are b = 5 cm and c = 6 cm.
  2. Write the cosine rule and rearrange it for cos A. We want cos A on its own, so add 2bc cos A to both sides, subtract a2 from both sides, then divide by 2bc.
    a2 = b2 + c2 − 2bc cos A
    2bc cos A = b2 + c2 − a2
    cos A = b2 + c2 − a22bc
  3. Put the numbers in the top and the bottom. Work the top and the bottom out separately so you do not make a slip.
    Top: 52 + 62 − 102 = 25 + 36 − 100 = −39
    Bottom: 2 × 5 × 6 = 60
  4. Divide to find cos A. This gives the cosine of the angle as a decimal.
    cos A = −3960 = −0.65
  5. Use the inverse cosine. The inverse button (cos−1) turns the cosine value back into an angle. (A negative cosine gives an obtuse angle, which is correct.)
    A = cos−1(−0.65) = 130.54160…°
  6. Round to 1 d.p. Give the angle to the accuracy asked.
    A = 130.5°

Check. Put the angle back in the cosine rule: 52 + 62 − 2 × 5 × 6 × cos 130.5° = 100.0, and 102 = 100.0. ✓

Watch out. In the top line the side a opposite the wanted angle is the one that is subtracted. Work out the top and the bottom separately, and do not divide until both are finished.

Watch out

Do the multiplication 2bc cos A first. Do not work out (b2 + c2 − 2bc) first and then multiply by cos A. And the angle must be the one between the two sides that are squared and added. If you find an obtuse angle, cos A is negative, so be careful with the signs.

Exercise 20K  The cosine rule

Calculator allowed
1
FWork out the length of the side marked x in each triangle. Give your answers correct to 1 decimal place. All lengths are in centimetres.
(a)
ABCx8 cm5 cm60°
(b)
ABCx9.5 cm6.2 cm35°
(c)
ABCx12 cm7 cm72°
(d)
ABCx4.3 cm6.8 cm48°
2
FEach triangle has an obtuse angle. Work out the length of the side marked x. Give your answers correct to 1 decimal place. All lengths are in centimetres.
(a)
ABCx5 cm7 cm110°
(b)
ABCx8.2 cm9.1 cm128°
3
FWork out the size of the angle marked x in each triangle. Give your answers correct to 1 decimal place. All lengths are in centimetres.
(a)
ABC7 cm8 cm9 cmx
(b)
ABC12 cm9 cm10 cmx
(c)
ABC6.5 cm7.2 cm4.1 cmx
(d)
ABC15 cm8 cm10 cmx
4
FFor each triangle, say whether you would use the sine rule or the cosine rule to find the value marked with a question mark. You do not need to calculate it.
(a)Two sides and the angle between them are known (SAS). You want the third side.
ABC?6 cm11 cm44°
(b)Two angles and a side are known. You want another side.
ABC8.5 cm?40°65°
(c)All three sides are known. You want an angle.
ABC8 cm6 cm7 cm?
(d)Two sides and an angle opposite one of them are known. You want another angle.
ABC9 cm7 cm52°?
5
PSA hiker walks 5 km from A to B on a bearing of 040°. She then walks 7 km from B to C on a bearing of 100°. Work out the distance AC, correct to 1 decimal place.
N040°N100°5 km7 kmACABC
6
PSA football goal is 7.32 m wide. A player at P is 18 m from one post and 20 m from the other post. Work out the angle that the goal makes at P (the angle between the two lines to the posts), correct to 1 decimal place.
PG1G27.32 m18 m20 mx
7
PSABCD is a parallelogram with AB = 9 cm, AD = 6 cm and angle DAB = 70°. Work out the length of the shorter diagonal BD, correct to 1 decimal place.
ABCD9 cm6 cm70°
8
RShow that the cosine rule becomes Pythagoras’ theorem when angle A = 90°.
ABCabc90°
9
RZoe uses the cosine rule to find a when b = 7 cm, c = 9 cm and A = 50°. She works out a2 = (72 + 92 − 2 × 7 × 9) × cos 50°. Explain her mistake and work out the correct value of a, correct to 1 decimal place.
ABCa7 cm9 cm50°
10
PSA triangular garden has sides of length 8 m, 11 m and 14 m. Show that the garden has an obtuse angle by working out the size of its largest angle, correct to 1 decimal place.
ABC14 m11 m8 mx
11
RChallenge. In triangle ABC, AB = 5 cm, AC = 8 cm and BC = 7 cm. Show that angle A = 60°.
ABC7 cm8 cm5 cmA

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings