chalk

The cosine rule

A surveyor can pace out two sides of a field and measure the angle where they meet, but the third side runs across a pond. After this lesson you can find that side, or any angle once all three sides are known.

Core idea

Sides and meet at the angle . Side is across from it.

The cosine rule for a side

The sine rule needs a side and the angle across from it. Here you know two sides, and , and the angle where they meet, and you want side across from it.

Start as if the angle were square, with Pythagoras. Then take off a correction for the angle:

Take sides of 9 cm and 6 cm meeting at . Then , which is about 47.6.

That number is , so take the square root at the end. Side is about 6.9 cm.

Put a right angle in, . Its cosine is zero, and you are left with Pythagoras, .

Obtuse angles

Open the angle at to , past a right angle. The calculator gives , a negative number.

Taking away a negative number adds. So for an obtuse angle the correction makes longer than Pythagoras would. The side across from an obtuse angle is always the longest.

The cosine rule for an angle

Now say you know all three sides and no angle. Rearrange the rule for the cosine:

Then undo the cosine with the button marked or .

If the top of the fraction is negative, the cosine is negative and is obtuse. Keep the sign, and gives an angle above .

The largest angle

The longest side always faces the largest angle. So to find the largest angle, find the longest side first.

The square that you take away on top of the fraction is always the side across from the angle you want.

The area from three sides

The area formula from the sine rule lesson needs two sides and the angle between them. With three sides and no angle, find that angle with the cosine rule first.

Then half the two sides times the sine of that angle gives the area.

Rounding and checking

Put the calculator in degrees: the display says DEG, not RAD. Keep the full value of an angle in the calculator, and round once at the end, to one decimal place.

The figures are drawn to scale, so you can check roughly. An angle that looks obtuse must come out above .

Most people drop the minus sign when the cosine is negative. That sign is what makes the angle obtuse, so without it they get the acute angle instead.

Worked example

In the figure, triangle has cm and cm. The angle at is .

Find to one decimal place.

You know two sides and the angle where they meet. The side you want is across from that angle, so the cosine rule applies.

cosine rule, where A is the angle between AB and AC
put in the lengths
take the square root of the whole right-hand side
calculator in degrees, rounded at the end

So cm. In the figure, is shorter than , which fits an angle well under a right angle.

Problems

1Easy

In the figure, triangle has cm and cm.

The angle at is . Find to one decimal place.

Hint

Write the cosine rule for and keep the sign of the cosine.

Sign in to see the solution
2Medium

In the figure, triangle has cm, cm and cm.

Find the angle to one decimal place.

Hint

Rearrange the cosine rule for the cosine of and keep the sign of the result.

Sign in to see the solution
3Medium

Triangle in the figure has cm, cm and cm.

Find its largest angle to one decimal place.

Hint

Find the longest side first, because the largest angle sits across from it.

Sign in to see the solution
4Hard

Triangle in the figure has cm, cm and cm.

Find its area to one decimal place.

Hint

Find the angle at , between and , with the cosine rule first.

Sign in to see the solution

What's next