How is the cosine rule used to find missing sides and angles in non-right-angled triangles?
Use the cosine rule to find a side given two sides and the included angle, or an angle given three sides
A focused answer to the HSC Maths Standard 2 dot point on the cosine rule. Both forms of the rule, when to use it (SAS or SSS), the side-finding and angle-finding versions, and worked navigation and engineering examples.
Have a quick question? Jump to the Q&A page
What this dot point is asking
NESA wants you to apply the cosine rule in two situations: finding the third side when you know two sides and the included angle (SAS), and finding an angle when you know all three sides (SSS). The rule is on the NESA reference sheet.
The answer
The cosine rule for sides (SAS)
For any triangle with sides , , opposite angles , , :
The variable is the side opposite the known angle . By symmetry:
The pattern: the unknown side squared equals the sum of squares of the other two sides, minus twice their product times the cosine of the included angle.
The cosine rule for angles (SSS)
Rearrange to find an angle from three sides:
The angle is opposite the side . The other two angles follow similarly.
When to use it
- SAS (two sides and the included angle): use cosine rule to find the third side.
- SSS (three sides, no angles): use cosine rule to find any one angle. Then either use cosine rule again, or use the sine rule for the remaining angles.
For AAS or SSA, use the sine rule instead.
Identifying the included angle
The included angle is the angle between the two given sides. In a worded problem, look for "the angle at between and " or "an angle of between the two roads".
Connection to Pythagoras
When , and the cosine rule reduces to , which is Pythagoras. The cosine rule is the generalisation of Pythagoras to non-right-angled triangles.
Past exam questions, worked
Real questions from past NESA papers on this dot point, with our answer explainer.
2022 HSC Q203 marksIn triangle , cm, cm and . Find side correct to one decimal place.Show worked answer →
Use .
.
.
.
.
Rounded to one decimal place: cm.
Markers reward the cosine rule stated, correct substitution, intermediate computation kept to at least four decimal places, and final answer at the requested precision.
2023 HSC Q224 marksA triangular paddock has sides m, m and m. Find the largest angle of the paddock correct to the nearest degree.Show worked answer →
The largest angle is opposite the longest side ( m). Use the cosine rule rearranged:
.
Let , , .
.
, round to .
Markers reward identifying the largest angle as opposite the longest side, the rearranged cosine rule, and the angle rounded as requested. Half a mark if you find but do not justify which side it sits opposite.
Related dot points
- Use the sine rule to find unknown sides and angles in non-right-angled triangles, including the ambiguous case
A focused answer to the HSC Maths Standard 2 dot point on the sine rule. Statement of the rule, when to use it, the ambiguous SSA case, and worked examples with Australian navigation and surveying contexts.
- Use the formula to find the area of any triangle given two sides and the included angle
A focused answer to the HSC Maths Standard 2 dot point on the area formula . When to use it, how it derives from the standard base times height formula, and worked Australian land surveying examples.
- Use compass and true bearings, and radial surveys, to solve practical navigation and surveying problems
A focused answer to the HSC Maths Standard 2 dot point on bearings and radial surveys. Compass vs true bearings, back-bearings, the structure of a radial survey, and worked Australian navigation examples using the sine and cosine rules.