Right-angled triangles can be solved with SOH CAH TOA. But most triangles have no right angle: a field with three straight fences, or the path of a ship that changes course. The sine rule and the cosine rule solve any triangle. This lesson shows when to use each one, how to find areas, and how one tricky case can give two different triangles.
In this lesson you will learn
- The sine rule and when to use it
- The cosine rule for a side and for an angle
- How to choose the right rule from the facts you are given
- The area formula ½ab sin C and Heron’s formula
- The ambiguous case of the sine rule
You should know trigonometric ratios and trigonometric ratios of any angle.
Labelling a Triangle
We name the angles A, B and C. The side opposite each angle gets the same letter in lower case: side a is opposite angle A, and so on. Keep this pairing in mind. Both rules depend on it.
The Sine Rule
Sine rule
a / sin A = b / sin B = c / sin C
Use it when you know a side and the angle opposite it, plus one more side or angle.
A = 40°, B = 65°, a = 10 cm. Solve the triangle.
C = 180° − 40° − 65° = 75°
b = a sin B / sin A = 10 sin 65° / sin 40° = 14.10 cm
c = a sin C / sin A = 10 sin 75° / sin 40° = 15.03 cm
Check: the largest side, c, is opposite the largest angle, C. That is always true and is a quick test of your answer.
The Cosine Rule
Cosine rule
a² = b² + c² − 2bc cos A
or, to find an angle: cos A = (b² + c² − a²) / (2bc)
Use it when you know two sides and the angle between them, or all three sides. If A = 90°, then cos A = 0 and the rule becomes Pythagoras’ theorem.
1) b = 7, c = 5, A = 60°. Find a.
a² = 49 + 25 − 2(7)(5) cos 60° = 74 − 35 = 39
a = √39 = 6.24
2) Sides 7, 8 and 9. Find the angles.
cos A = (8² + 9² − 7²)/(2 × 8 × 9) = 96/144 = 0.6667 A = 48.19°
cos B = (7² + 9² − 8²)/(2 × 7 × 9) = 66/126 = 0.5238 B = 58.41°
C = 180° − 48.19° − 58.41° = 73.40°
When finding angles from three sides, find the largest angle (opposite the longest side) first with the cosine rule. A negative cosine tells you that angle is obtuse.
Which Rule Should I Use?
| You know | Use |
|---|---|
| Two angles and any side | Sine rule |
| Two sides and an angle opposite one of them | Sine rule (watch for the ambiguous case) |
| Two sides and the angle between them | Cosine rule for the third side |
| All three sides | Cosine rule for an angle |
Area of a Triangle
If you know two sides and the angle between them, the area is ½ab sin C. For the 7, 8, 9 triangle, with C = 73.40°:
Area = ½ × 7 × 8 × sin 73.40° = 26.83
Heron's formula, using only the sides:
s = (7 + 8 + 9)/2 = 12
Area = √[s(s − a)(s − b)(s − c)] = √(12 × 5 × 4 × 3) = √720 = 26.83
Both methods agree, which is a good check.
The Ambiguous Case
Given two sides and an angle that is not between them, there may be two possible triangles. The reason is that sin θ = sin(180° − θ), so an angle found from its sine could be acute or obtuse.
A = 40°, a = 6, b = 8. Find B.
sin B = 8 sin 40° / 6 = 0.8571
B = 58.99° or B = 180° − 58.99° = 121.01°
Triangle 1: B = 58.99°, C = 81.01°, c = 9.22
Triangle 2: B = 121.01°, C = 18.99°, c = 3.04
Both are valid because in each case A + B is less than 180°. If the obtuse choice made A + B reach 180° or more, only one triangle would exist. If sin B came out greater than 1, there would be no triangle at all.
Common Mistakes
- Calculator in radian mode. Check it is set to degrees when angles are in degrees.
- Using the cosine rule as (b² + c² − 2bc) cos A. Only the last term is multiplied by cos A.
- Missing the second triangle. When sine rule gives an angle from two sides and a non-included angle, test 180° − θ too.
- Rounding too early. Keep full calculator values until the final answer.
Practice Exercises
Exercise 1. Two ships leave a port. One sails 12 km on a bearing of 050°, the other 9 km on a bearing of 130°. How far apart are they?
Show answer
The angle between their paths is 130° − 50° = 80°. By the cosine rule, d² = 12² + 9² − 2(12)(9) cos 80° = 225 − 37.51 = 187.49, so d ≈ 13.69 km.
Exercise 2. Find the area of a triangle with sides 5 cm and 8 cm and an included angle of 30°.
Show answer
Area = ½ × 5 × 8 × sin 30° = ½ × 40 × 0.5 = 10 cm².
Frequently Asked Questions
Can the sine rule be written upside down?
Yes. sin A / a = sin B / b = sin C / c is the same rule. This form is easier when you are finding an angle, because the unknown is on top.
Why is there no ambiguous case with the cosine rule?
Cosine is positive for acute angles and negative for obtuse ones, so each cosine value between −1 and 1 gives only one angle between 0° and 180°.
Summary
- Sine rule: a/sin A = b/sin B = c/sin C.
- Cosine rule: a² = b² + c² − 2bc cos A.
- Area = ½ab sin C; Heron’s formula uses the three sides.
- Two sides and a non-included angle may give two triangles.
