Cosine Rule (SQA National 5 Maths): Revision Note
Exam code: X847 75
Using cosine rule to find a length
What is the cosine rule?
The cosine rule is used in non right-angled triangles
It allows us to find missing side lengths or angles
It states that for any triangle
or
Where
is the side opposite angle A
and
are the other two sides
and
are either side of angle A
A is the angle between them
The second form of the equation is just a rearrangement of the first one

Examiner Tips and Tricks
Both forms of the cosine rule equation are given to you on the Formulae List in the exam paper.
How do I use the cosine rule to find a missing length?
Use the cosine rule for lengths
when you have two sides and the angle between them
and you want to find the opposite side
Start by labelling your triangle with the angles and sides
Angles have upper case letters
Sides opposite the angles have the equivalent lower case letter
Substitute values into the
form of the equation
Take the square root to find
Examiner Tips and Tricks
Swapping the letters around allows the cosine rule equation to be written in these forms as well:
Just make sure the lower case letter on the left matches matches the upper case letter in the cosine on the right.
Worked Example
In triangle ABC:
Angle ABC = 109°
AB = 8.1 cm
BC = 12.3 cm

Calculate the length of AC.
Answer:
Label the sides of the triangle

You want to find the length of b
So swap the letters around in the Formulae List form of the Cosine Rule equation to get
Substitute the known values into that equation
Take the square root of both sides to find , and use your calculator to find the value
Round to a sensible degree of accuracy
Unless a question tells you otherwise, 3 significant figures is usually a good choice
AC = 16.8 cm (3 s.f.)
Using cosine rule to find an angle
How do I use the cosine rule to find a missing angle?
Use the cosine rule for angles
when you have all three sides
and you want to find an angle
Use the
form of the equation to find the unknown angle A
Remember, A is the angle between sides b and c
(you may need to relabel the triangle)
You will need to use inverse cosine on your calculator,
Unlike the sine rule, there is no ambiguous case of the cosine rule
The answer given by
is the only possible angle for the triangle in question
Examiner Tips and Tricks
Swapping the letters around allows the cosine rule equation to be written in these forms as well:
Note that the lower case version of the angle letter on the left only appears after the minus sign in the numerator on the right.
Worked Example
In triangle :
.

Calculate the size of the shaded angle at .
Answer:
Label the sides of the triangle

You want to find the size of the angle at A
So use the equation
from the Formulae List
Substitute the known values into that equation
Use cos-1 on your calculator to find the value of A
Round to a sensible degree of accuracy
Unless a question tells you otherwise, 1 decimal place is usually a good choice for angles
Unlock more, it's free!
Did this page help you?