Steply

Triangle a = 12, c = 10, B = 35°, find b

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

Step by step

The question

Question: find side b of the triangle with a = 12, c = 10 and B = 35°.

1 Write the law of cosines

We know two sides, a and c, and the angle B between them.

The law of cosines: b² = a² + c² − 2ac cos B.

Side b is across from angle B.

b2 = a2 + c2 − 2ac cos B

It is Pythagoras with a correction.

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

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

2 Put the numbers in

Now put the numbers in: a = 12, c = 10 and B = 35°.

b2 = 122 + 102 − 2 × 12 × 10 × cos 35°

3 Work it out

Squares first: 12² is 144, 10² is 100.

And 2 × 12 × 10 is 240.

b2 = 144 + 100 − 240 × cos 35°

Careful!

Times comes before take away.

Work out 240 × cos 35° first, then take it away.

Careful: not (244 − 240) × cos 35° ✗

The calculator gives cos 35°: about 0.8192.

240 times that is about 196.61.

cos 35° ≈ 0.8192
240 × 0.8192 ≈ 196.61

144 + 100 is 244.

b2 ≈ 244 − 196.61

So b² ≈ 47.39.

b2 ≈ 47.39

4 Take the square root

b squared is 47.39.

So b is the square root of 47.39.

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

b ≈ √47.39

The calculator gives about 6.884.

To the nearest tenth, b ≈ 6.9.

b ≈ 6.9

5 Check

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

244 take away 47.39, over 240: 0.8192.

cos B = a² + c² − b²2ac = 244 − 47.39240 ≈ 0.8192

And cos 35° is about 0.8192.

The same!

So b is right.

cos 35° ≈ 0.8192

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
b ≈ 6.9

Your turn

Try this one yourself, then check:

a = 12, c = 6, B = 60°: find b
Show the answer
b ≈ 10.4

More from The law of cosines

The whole lesson: The law of cosines →