01 / 20

Law of Sines
& Cosines

Master the two essential formulas for solving non-right triangles: find missing sides and angles when basic trigonometry isn't enough.

Math 3

Beyond Right Triangles

SOH-CAH-TOA only works when a triangle has a \(90^\circ\) angle. But most real-world triangles are not right triangles. Land surveying, navigation, architecture, and physics all involve oblique triangles: triangles with no right angle.

Right Triangle (SOH-CAH-TOA) → Oblique Triangle (Law of Sines / Cosines)

Standard Triangle Labeling

In every formula, angles are uppercase (\(A, B, C\)) and the side opposite each angle is the matching lowercase letter (\(a, b, c\)). Side \(a\) is always opposite angle \(A\).

A B C a b c A B C

What Information Do You Need?

To solve an oblique triangle you need at least three known parts (with at least one side). The combination of knowns determines which law to use:

AAS / ASA
Two angles + one side known. Use the Law of Sines.
SSA
Two sides + an angle opposite one of them. Use the Law of Sines (watch for the ambiguous case).
SAS
Two sides + the included angle. Use the Law of Cosines.
SSS
All three sides known. Use the Law of Cosines to find an angle.

The Law of Sines

In any triangle, the ratio of a side to the sine of its opposite angle is constant. This means you can set up a proportion between any two side-angle pairs to solve for an unknown.

A B C a b c A B C

The Law of Cosines

This is a generalization of the Pythagorean theorem. When \(C = 90^\circ\), \(\cos 90^\circ = 0\), and the formula reduces to \(c^2 = a^2 + b^2\). The formula works for any angle \(C\).

Sines vs. Cosines: When to Use Each

Law of Sines Law of Cosines
Known info A side-angle pair + one more piece No complete side-angle pair
Use for AAS, ASA, SSA SAS, SSS
Formula type Proportion (simpler) Quadratic-style (more algebra)
Key caution Ambiguous case (SSA) None: always gives a unique answer

Step-by-Step Strategy

1
Label the triangle. Assign \(A, B, C\) to angles and \(a, b, c\) to opposite sides. List what you know and what you need.
2
Choose the right law. Do you have a complete side-angle pair? If yes: Law of Sines. If no: Law of Cosines.
3
Set up the equation. Plug known values into the formula and solve for the unknown.
4
Find remaining parts. Use the third angle: \(A + B + C = 180^\circ\). Then apply the Law of Sines again for the last side.
5
Check your answer. Do the angles sum to \(180^\circ\)? Is the longest side opposite the largest angle?

Example 1: AAS with Law of Sines

In \(\triangle ABC\), \(A = 42^\circ\), \(B = 73^\circ\), and \(a = 10\). Find side \(b\).

A B C a = 10 b = ?
\(42^\circ\)
\(73^\circ\)

Example 2: SAS with Law of Cosines

In \(\triangle ABC\), \(a = 8\), \(b = 11\), and \(C = 37^\circ\). Find side \(c\).

A B C a = 8 b = 11 c = ?
\(37^\circ\)

Example 3: SSS Finding an Angle

In \(\triangle ABC\), \(a = 7\), \(b = 9\), \(c = 12\). Find angle \(C\).

A B C a = 7 b = 9 c = 12 C = ?

The Ambiguous Case (SSA)

When you know two sides and a non-included angle (SSA), the Law of Sines may produce 0, 1, or 2 valid triangles. This happens because \(\sin\) has two solutions in \([0^\circ, 180^\circ]\).

0 Triangles
The side opposite the known angle is too short to reach the base. \(\sin B > 1\): no solution.
1 Triangle
The side reaches the base at exactly one point, or the known angle is already obtuse.
2 Triangles
Two different angles (one acute, one obtuse) satisfy the equation. Check both!

Bonus: Area with Sine

When you know two sides and the included angle (SAS), you can find the area directly without computing the height. This is a natural byproduct of the Law of Cosines setup.

Example
\(a = 8\), \(b = 11\), \(C = 37^\circ\)
Area \(= \frac{1}{2}(8)(11)\sin 37^\circ = 44(0.6018) \approx\) 26.5
Why it works
The height \(h = b\sin A\) (or \(a\sin B\)), so \(\frac{1}{2} \times \text{base} \times h\) simplifies to the formula.

Common Mistakes

✕ Wrong Law
Using the Law of Sines when you have SAS or SSS. If no side-angle pair is complete, you must start with Cosines.
✕ Mismatched Pairs
Pairing a side with the wrong angle. Side \(a\) always pairs with angle \(A\), not angle \(B\) or \(C\).
✕ Calculator in Degrees
Forgetting to set your calculator to degree mode. Radian mode gives wildly wrong answers for degree-based problems.
✕ Forgetting to Square Root
The Law of Cosines gives \(c^2\). You must take the square root at the end to get \(c\).

Summary at a Glance

Scenario Law Formula
AAS / ASA Sines \(\frac{a}{\sin A} = \frac{b}{\sin B}\)
SSA Sines (check ambiguous) \(\frac{a}{\sin A} = \frac{b}{\sin B}\)
SAS Cosines \(c^2 = a^2 + b^2 - 2ab\cos C\)
SSS Cosines \(\cos C = \frac{a^2+b^2-c^2}{2ab}\)
Area (SAS) Sine area \(\frac{1}{2}ab\sin C\)

Question 1 of 5

In \(\triangle ABC\), you know \(A = 50^\circ\), \(B = 65^\circ\), and \(a = 12\). Which law should you use first to find side \(b\)?

Question 2 of 5

In \(\triangle ABC\), \(a = 5\), \(b = 8\), and \(C = 60^\circ\). What is \(c^2\)?

Question 3 of 5

You know all three sides of a triangle: \(a = 6\), \(b = 10\), \(c = 14\). Which formula should you use to find angle \(C\)?

Question 4 of 5

In \(\triangle ABC\), \(A = 35^\circ\), \(a = 7\), and \(b = 10\). Using the Law of Sines, what is \(\sin B\)?

Question 5 of 5

What is the area of \(\triangle ABC\) if \(a = 9\), \(b = 14\), and \(C = 48^\circ\)?