±«Óătv

The cosine rule

Watch this video to learn about the cosine rule.

Finding a side

The cosine rule is:

\({a^2} = {b^2} + {c^2} - 2bcCosA\)

Use this formula when given the sizes of two sides and its included angle.

Example

Find the length of BC.

Diagram of triangle with 35° angle and values 3cm and 7cm

Answer

We have two sides and the included angle.

\({a^2} = {b^2} + {c^2} - 2bcCosA\)

\({a^2} = {7^2} + {3^2} - (2 \times 7 \times 3 \times \cos (35^\circ ))\)

\(a^{2}=49+9-34.40\)

\(a^{2}=23.60\)

\(a=\sqrt{23.60}\)

\(a = 4.9cm\,(to\,1\,d.p.)\)

Now try the example question below.

Question

Find the length of AB.

Triangle with 27 degree angle, sides of 4 and 9cm and lables of A, B and C

Finding an angle

An angle in a triangle can be found if you know the size of all the sides.

When this is the case a different version of the cosine rule is used in which the subject has been changed. The forumla is:

\(cosB = \frac{{{{a^2} + {c^2} - {b^2}}}}{2ac}\)

Example

Find the size of the angle AB.

Triangle with sides 5, 4 and 7cm as well as points A, B and C

(Notice the pattern in the letters of the formula. Adapt these to suit the question.)

\(cosB = \frac{{{{a^2} + {c^2} - {b^2}}}}{2ac}\)

\(cosB = \frac{{{{4^2} + {5^2} - {7^2}}}}{2 \times 4 \times 5}\)

\(cosB = \frac{{{{16} + {25} - {49}}}}{40}\)

\(cosB = \frac{-8}{40}\)

\(cosB = -0.2\)

\(AngleB = cos{^-}{^1}(-0.2)\)

\(AngleB = 101.5^\circ\)

Question

Find the size of angle R.

Diagram of triangle with values 4cm, 4.2cm and 6.9cm