The cosine rule or the law of cosines has been a game-changer in the field of trigonometry. When the triangles are not right-angled, so the Pythagorean theorem doesn’t work, or when the sine rule just doesn’t cut it, this powerful rule steps in to save the day. By connecting the sides of the triangle to the cosine of one of its angles, you have a shortcut to finding the remaining sides and angles.
You can think of the cosine rule as a more flexible version of the Pythagorean theorem, as it works for any triangle. The cosine rule formula can help with geometry problems as well as physics vectors. It bridges the gap between theoretical knowledge and real-world applications. Let’s learn more about it:
The cosine rule is one of the wonders of trigonometry, connecting the sides of the triangle to the cosine of one of its angles. But what makes it so powerful? The formula works even when the triangle doesn’t have a right angle. Sharp angle? Wide angle? Doesn’t matter. If your triangle’s not right, use this!
Here’s the cosine rule formula for finding a missing side:
c2 = a2 + b2 - 2ab.cos(C)
Where:
To find an angle, you can rearrange it like this:
Cos(C) = (a2 + b2 - c2)/2ab
Not sure if the cosine rule is the right move? Here’s when to use cosine rule:
Step-by-Step Example: Finding a Side with the Cosine Rule
Problem:
In triangle ABC, side b = 9 cm, side c = 12 cm, and angle A = 65°. Find the length of side a.
Step 1: Write the Cosine Rule Formula
To find a side when two other sides and the included angle are known, use:
a2 = b2 + c2 - 2bc.cos(A)
Step 2: Plug in the Known Values
a2 = 92 + 122 - 2(9)(12).cos(65°)
Step 3: Simplify the Equation
a2 = 81 + 144 - 216*0.4226 (Using a calculator for cos(65°))
a2 = 225 - 91.286
a2 = 133.7184
Step 4: Take the Square Root
a = 11.56 cm
Final Answer:
The missing side a ≈ 11.56 cm
Let’s try a different scenario—this time, you know all three sides.
Problem:
In triangle XYZ, the sides are:
Find the angle ∠Y (the angle opposite side ZX).
Solution:
We’ll use the Cosine Rule Formula for Angles:
cos(A) = (b2 + c2 − a2)/2bc
Step 1: Plug in the known values
cos(Y) = (82+112−132)/2×8×11
Step 2: Simplify the equation
cos(Y) = (64+121−169)/2×8×11
cos(Y) = (185−169)/176
cos(Y) = 16/176
cos(Y) = 0.0909
Step 3: Take the inverse cosine
Use a calculator to find the angle:
Y = cos−1(0.0909)
Y ≈ 84.78
Final Answer:
The angle ∠Y ≈ 84.8°
Doing a cosine rule question?
Mastering the law of cosines prepares you for more than exams:
This formula is part of your foundation for STEM success.
Common Student Mistakes
Master Tip: Label before you calculate. Every. Single. Time.
Want to test your skills? Try solving these cosine rule examples on your own:
(Session 2025 - 26)