← All articles

Trigonometry · Algebra 2 / Precalc

Law of Sines & Law of Cosines

Solve triangles that don't have a right angle.

For any triangle with sides a,b,ca,b,c opposite angles A,B,CA,B,C:

asin⁡A=bsin⁡B=csin⁡Cc2=a2+b2−2abcos⁡C\frac{a}{\sin A}=\frac{b}{\sin B}=\frac{c}{\sin C}\qquad c^2=a^2+b^2-2ab\cos C

Use the Law of Sines when you know an angle and its opposite side. Use the Law of Cosines when you know two sides and the angle between them (SAS) or all three sides (SSS).

Worked example

Law of Sines

A=40∘A=40^\circ, B=75∘B=75^\circ, a=8a=8. Find bb.

  1. 1
    Set up the proportion:
    8sin⁡40∘=bsin⁡75∘\frac{8}{\sin 40^\circ}=\frac{b}{\sin 75^\circ}

Worked example

Law of Cosines (SAS)

a=5a=5, b=7b=7, C=60∘C=60^\circ. Find cc.

  1. 1
    Plug in:
    c2=52+72−2(5)(7)cos⁡60∘c^2=5^2+7^2-2(5)(7)\cos 60^\circ

Try it yourself

a=6a=6, b=9b=9, C=50∘C=50^\circ. Find cc (2 decimals).