Mathematics Topic
The Cosine Rule
- Read notes
- Flashcards
- Quiz
- Confident
Study focus - 3 things
- Use the cosine rule a² = b² + c² − 2bc cos A to find a side when two sides and the angle between them are known
- Rearrange it as cos A = (b² + c² − a²) ÷ (2bc) to find an angle from three sides, and recognise an obtuse angle from a negative cosine
- Choose between the sine rule and the cosine rule from the information given, and finish a problem with whichever rule is easier
Visual notes
b = 8 cm, c = 11 cm and A = 52° give a² = 185 − 176 × cos 52° and a = 8.8 cm.
Sides 12 cm, 7 cm and 9 cm: cos x = −14 ÷ 126, so x = 96.4°, an obtuse angle.
Section 1The rule and when it applies
In triangle ABC the sides a, b, c are opposite the angles A, B, C. The cosine rule says a² = b² + c² − 2bc cos A. The angle A in the formula is the angle between the sides b and c, the included angle, and a is the side across from it. By renaming the letters you get b² = a² + c² − 2ac cos B and c² = a² + b² − 2ab cos C. Use the rule when you know two sides and the angle between them, or all three sides. These are the cases where no side-and-opposite-angle pair is available for the sine rule. If the included angle is 90°, then cos 90° = 0 and the rule becomes Pythagoras' theorem.
Section 2Finding a side
Substitute the two known sides and the included angle. Work out 2bc cos A as one number first, then subtract it from b² + c², and finally take the square root. For b = 8, c = 11 and A = 52°: a² = 64 + 121 − 176 × cos 52° = 185 − 108.356... = 76.644..., so a = 8.8 cm to 1 decimal place. Do not subtract 2bc before multiplying by the cosine, and do not forget the square root at the end: a² = 76.6 is a squared length, not a length.
Section 3Obtuse angles and the sign of the cosine
For an acute angle the cosine is positive, for 90° it is zero and for an obtuse angle it is negative. When A is obtuse, the term −2bc cos A is a positive number, so it adds to b² + c² and the side a is longer than it would be for an acute angle. For b = 6, c = 9 and A = 125°, cos 125° = −0.5736..., so a² = 36 + 81 + 61.95... = 178.95..., and a = 13.4. Keep the minus sign on the cosine value when you substitute: the calculator gives it automatically if you type the angle.
Section 4Finding an angle from three sides
Rearrange the rule as cos A = (b² + c² − a²) ÷ (2bc), where a is the side opposite the angle you want. Then A = cos⁻¹ of that number, in degree mode. A negative answer to the bracket means the angle is obtuse, and the calculator returns the obtuse angle directly. It is wise to find the angle opposite the longest side first. If it is obtuse, the other two angles must be acute; if it is acute, all three are. For the sides 12, 7 and 9: cos A = (49 + 81 − 144) ÷ 126 = −0.1111..., so A = 96.4°.
Section 5Choosing between the sine rule and the cosine rule
Ask what is given. Two sides and the included angle, or three sides: use the cosine rule. A side with the angle opposite it, plus one more angle or side: use the sine rule. Often both are used in one problem. For example, find a side by the cosine rule, which gives you the side opposite the known angle, and then use the sine rule to find another angle. When the sine rule gives an angle, ask for the angle opposite the shorter of the two given sides: it is the smaller of the two unknown angles, and a triangle has at most one obtuse angle, so it is acute and the calculator answer is the one you need. The cosine rule never needs this care, because it gives obtuse angles correctly.
Section 6Accuracy and checking
Use degree mode. Keep the full calculator values until the last step, then round once: lengths to 1 decimal place or 3 significant figures, angles to 1 decimal place. Check each answer. The longest side must be opposite the largest angle, the three angles must add up to 180°, and each side must be shorter than the sum of the other two. If the bracket in the angle form comes out below −1 or above 1, the three lengths cannot form a triangle.
Examples
In triangle ABC, b = 8.0 cm, c = 11.0 cm and angle A = 52°. Find (a) the length a, (b) angle B and (c) angle C. Give the length to 1 decimal place and the angles to 1 decimal place.
(a) The angle 52° is between the sides b and c, so use the cosine rule: a² = b² + c² − 2bc cos A = 64 + 121 − 2 × 8 × 11 × cos 52° = 185 − 108.356... = 76.644..., so a = 8.755... = 8.8 cm. (b) Now the pair a and A is known. The side b = 8.0 is shorter than a, so B is smaller than 52° and acute, and the sine rule gives it directly: sin B = 8.0 × sin 52° ÷ 8.755... = 0.7201..., so B = 46.062...° = 46.1°. (c) C = 180° − 52° − 46.062...° = 81.938...° = 81.9°. Check: the longest side, c = 11.0, is opposite the largest angle, C = 81.9°, and the shortest side, b = 8.0, is opposite the smallest angle, B = 46.1°.
In triangle ABC, a = 12 cm, b = 7 cm and c = 9 cm. Find the three angles A, B and C, each to 1 decimal place, and check that they add up to 180°.
Start with the angle opposite the longest side, A. cos A = (b² + c² − a²) ÷ (2bc) = (49 + 81 − 144) ÷ (2 × 7 × 9) = −14 ÷ 126 = −0.1111..., which is negative, so A is obtuse: A = cos⁻¹(−0.1111...) = 96.379...° = 96.4°. Next, B is opposite b: cos B = (a² + c² − b²) ÷ (2ac) = (144 + 81 − 49) ÷ (2 × 12 × 9) = 176 ÷ 216 = 0.8148..., so B = 35.431...° = 35.4°. Then C is opposite c: cos C = (a² + b² − c²) ÷ (2ab) = (144 + 49 − 81) ÷ (2 × 12 × 7) = 112 ÷ 168 = 0.6667..., so C = 48.190...° = 48.2°. Check: 96.4° + 35.4° + 48.2° = 180.0°, and the angles are in the same order as the sides 12, 7 and 9: the largest angle is opposite the longest side.
Now let's water it
Session runs notes to flashcards to quiz back-to-back.
Where this comes from
- CSEC Mathematics Syllabus (CXC 05/G/SYLL 16, revised 2016; registry URL names an Oct 2025 amendment) · Caribbean Examinations Council (CXC) · Section 8, Specific Objective 8.16 · Syllabus scope
- Siyavula Mathematics, CAPS Grades 8 to 11 (online textbooks) · Siyavula Education · Chapter 6, Area, sine and cosine rules, checked against (https://www.siyavula.com/read/za/mathematics/grade-11/trigonometry/06-trigonometry-05) · Facts
- Precalculus, 3rd Corrected Edition (2013) · Carl Stitz and Jeff Zeager · Chapter 11, Section 11.3 The Law of Cosines, checked against (https://www.stitz-zeager.com/szprecalculus07042013.pdf) · Facts