All courses › Foundations of Mathematics › The law of sines and cosines

The law of sines and cosines

In an arbitrary triangle, without a right angle, the law of sines is used when we know a side and the angle opposite it, and the law of cosines when we know two sides and the angle between them.

asin⁡A=bsin⁡B=csin⁡C\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}the law of sines
c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos Cthe law of cosines

Symbols

a, b, ca,\ b,\ csides of the triangle
A, B, CA,\ B,\ Cangles opposite the sides a,b,ca,b,c°

Example

Two rods, 3.0 m and 5.0 m, are joined with 60∘60^\circ between them: c=32+52−2⋅3⋅5cos⁡60∘=19≈4.36c=\sqrt{3^2+5^2-2\cdot3\cdot5\cos60^\circ}=\sqrt{19}\approx 4.36 m.

The law of sines can give two possible angles (vv and 180∘−v180^\circ-v) - check which one fits the figure.
Practise trigonometry and geometry for free →

← The unit circle and radians · Vector components →

Part of Foundations of Mathematics: Trigonometry and geometry.