Open the lab · Back to the index
Notation
Let A, B, C be the angles and a, b, c their opposite sides: a is opposite A, and so on.
Law of cosines: two sides and the included angle
Draw sides b and c from vertex A. Put c along the horizontal axis: the endpoints are (c, 0) and (b cos A, b sin A). Side a is the distance between them. Squaring and using cos² A + sin² A = 1 gives the term −2bc cos A. If A = 90°, that term vanishes and we recover Pythagoras.
a² = (c − b cos A)² + (b sin A)² = c² − 2bc cos A + b²(cos² A + sin² A) = b² + c² − 2bc cos A
Law of sines: compare opposite sides and angles
The area Δ can be computed from two sides and the sine of their included angle. Equating the three expressions and dividing by abc gives sin A/a = sin B/b = sin C/c. Invert these ratios for the form below. With two sides and a non-included angle, also check the supplementary angle: the same sine can yield two triangles, one, or none.
2Δ = bc sin A = ca sin B = ab sin C a/sin A = b/sin B = c/sin C
Triangulation across a river
Points P and Q on the same bank are 100 m apart. The interior angle at P is 50°, and at Q it is 60°. The angle at R on the other bank is 70°. PR is opposite 60° and PQ is opposite 70°, so PR = 100 sin 60°/sin 70° ≈ 92.16 m. This is the straight-line distance from P to R, not the river’s width.
Try it: b = 5 cm, c = 7 cm and A = 60°. Find a.
Show solution
a² = 25 + 49 − 2·5·7·(1/2) = 39, so a = √39 cm ≈ 6.24 cm.