Finding an angle from three sides (a negative cosine means an obtuse angle), and solving a triangle from two sides and the included angle or from three sides
Solve the cosine rule for the angle: cos A = (b² + c² − a²) / (2bc), and in the same way for B and C. Take a triangle with sides 7, 9 and 12. The largest angle is opposite the longest side 12, so cos A = (7² + 9² − 12²) / (2 · 7 · 9) = (49 + 81 − 144) / 126 = −14 / 126 ≈ −0.111, and A ≈ 96.4°. The cosine is negative, so the angle is obtuse. Then cos B = (7² + 12² − 9²) / (2 · 7 · 12) = 112 / 168 = 0.667, so B ≈ 48.2°, and C = 180° − 96.4° − 48.2° ≈ 35.4°. Solving from two sides and the included angle: a = 9, b = 6 and C = 40°. First the third side, c² = 81 + 36 − 108 cos 40° = 117 − 82.73 = 34.27, so c ≈ 5.85. Now an angle. The cosine rule is the safe choice for the second angle: cos A = (b² + c² − a²)/(2bc) = (36 + 34.27 − 81)/(2 · 6 · 5.85) ≈ −0.153, so A ≈ 98.8°, obtuse, and B = 180° − 98.8° − 40° = 41.2°. If we had used the sine rule, sin A = 9 sin 40° / 5.85 = 0.9883 gives 81.2°, but sin 81.2° = sin 98.8°, so the calculator cannot tell whether the angle is acute or obtuse. The sign of the cosine decides. After finding the third side, the safe order is: find the smaller of the two remaining angles by the sine rule or the cosine rule, then subtract from 180°. Always check that the angles add to 180° and that the longest side is opposite the largest angle.
| Given | Use first |
|---|---|
| two sides and the included angle | cosine rule for the third side |
| three sides | cosine rule for an angle |
| two angles and a side | sine rule |
Predict. Before calculating, say which angle of the triangle with sides 7, 9, 12 is largest and whether it is acute or obtuse, using 7² + 9² compared with 12².