Steply

Triangle a = 5, b = 8, C = 25°, find c

Step by step, with the reason for every step · The law of cosines · Trigonometry

Step by step

The question

Question: find side c of the triangle with a = 5, b = 8 and C = 25°.

1 Write the law of cosines

We know two sides, a and b, and the angle C between them.

The law of cosines: c² = a² + b² − 2ab cos C.

Side c is across from angle C.

c2 = a2 + b2 − 2ab cos C

It is Pythagoras with a correction.

When C is 90°, cos 90° is 0, and it is just Pythagoras.

C = 90°: cos 90° = 0 → c² = a² + b²

2 Put the numbers in

Now put the numbers in: a = 5, b = 8 and C = 25°.

c2 = 52 + 82 − 2 × 5 × 8 × cos 25°

3 Work it out

Squares first: 5² is 25, 8² is 64.

And 2 × 5 × 8 is 80.

c2 = 25 + 64 − 80 × cos 25°

Careful!

Times comes before take away.

Work out 80 × cos 25° first, then take it away.

Careful: not (89 − 80) × cos 25° ✗

The calculator gives cos 25°: about 0.9063.

80 times that is about 72.5.

cos 25° ≈ 0.9063
80 × 0.9063 ≈ 72.5

25 + 64 is 89.

c2 ≈ 89 − 72.5

So c² ≈ 16.5.

c2 ≈ 16.5

4 Take the square root

c squared is 16.5.

So c is the square root of 16.5.

A side is never negative, so only the plus root.

c ≈ √16.5

The calculator gives about 4.062.

To the nearest tenth, c ≈ 4.1.

c ≈ 4.1

5 Check

Let's check: the law turned around gives cos C back.

89 take away 16.5, over 80: 0.9063.

cos C = a² + b² − c²2ab = 89 − 16.580 ≈ 0.9063

And cos 25° is about 0.9063.

The same!

So c is right.

cos 25° ≈ 0.9063

Let's look back.

First: write the law of cosines.

Then: put the numbers in.

Then: work it out.

Then: take the square root.

Last: check.

Answer
c ≈ 4.1

Your turn

Try this one yourself, then check:

a = 10, b = 6, C = 80°: find c
Show the answer
c ≈ 10.7

More from The law of cosines

The whole lesson: The law of cosines →