Historical Context — Triangles Beyond the Right Angle
For centuries, trigonometry was limited to right triangles. Builders and astronomers could use sine and cosine ratios only when a 90° angle was present, which is a significant constraint when you are trying to survey a field, navigate across an ocean, or calculate the distance to a planet. The drive to solve oblique triangles — triangles with no right angle at all — motivated mathematicians across cultures to discover two elegant relationships that extend trigonometry far beyond its right-angle origins.
The underlying question these mathematicians pursued was deceptively simple: Given some combination of sides and angles in a triangle, how do you find the rest? The Law of Sines and the Law of Cosines are the two tools that answer this question for every possible triangle.
Core Principles and Definitions
Before we prove anything, let's set up the language. In any triangle △ABC, we use the convention that side a is opposite angle A, side b is opposite angle B, and side c is opposite angle C. This "opposite" pairing is central to both laws. You should also recall that the interior angles of any triangle sum to 180°, a fact we will lean on repeatedly.
Law of Sines
Law of Cosines
Oblique Triangles
Solving a Triangle
Visual Proof — Law of Sines
The proof of the Law of Sines relies on a beautifully simple idea: drop an altitude from one vertex to the opposite side, creating two right triangles. In each right triangle, you can express the altitude using a basic sine ratio, then set those two expressions equal to each other.
Consider triangle △ABC with altitude h dropped from vertex C to point D on side c. In right triangle △ACD, the sine of angle A gives us sin A = h / b, so h = b sin A. In right triangle △BCD, the sine of angle B gives us sin B = h / a, so h = a sin B. Since both expressions equal h, we can write b sin A = a sin B, which rearranges to:
The elegance of this proof lies in its simplicity: no advanced tools are required, just the definition of sine in a right triangle and the willingness to construct a helpful altitude. Note that this proof works whether triangle ABC is acute or obtuse — in the obtuse case the altitude foot D falls outside segment AB, but the algebra still holds because sin(180° − θ) = sin θ.
Mathematical Framework — Proving and Stating the Laws
The Law of Sines (Complete Statement)
This law tells you that the ratio of each side to the sine of its opposite angle is a constant for any given triangle. In fact, that constant equals the diameter of the triangle's circumscribed circle (the circle passing through all three vertices), a beautiful geometric connection you may encounter later. You should use the Law of Sines when you know an angle–opposite-side pair along with one additional angle or side — cases commonly labeled AAS (angle–angle–side), ASA (angle–side–angle), or the ambiguous case SSA (side–side–angle).
Proof of the Law of Cosines
The Law of Cosines requires a coordinate-based approach. Place triangle △ABC with vertex A at the origin and side c along the positive x-axis, so B sits at the point (c, 0). Vertex C is at some point we can express using angle A:
C = (b cos A, b sin A)
Now compute the distance from B to C using the distance formula. Since B = (c, 0) and C = (b cos A, b sin A):
Expanding the right side: a² = b² cos² A − 2bc cos A + c² + b² sin² A. Notice that b² cos² A + b² sin² A = b²(cos² A + sin² A) = b², thanks to the Pythagorean identity. This simplifies everything to:
Notice what happens when A = 90°: since cos 90° = 0, the equation reduces to a² = b² + c², which is exactly the Pythagorean Theorem. The term −2bc cos A is the "correction factor" that accounts for the angle not being a right angle. When A is acute, cos A is positive and the term subtracts from the sum of squares (making a shorter than it would be in the right-angle case). When A is obtuse, cos A is negative and the term adds to the sum, making a longer.
Use the Law of Cosines when you know SAS (two sides and the included angle) or SSS (all three sides). In either case, the Law of Sines alone would leave you stuck, but the Law of Cosines gives you an entry point.
−2bc cos A term adjusts the result — like adding or subtracting a correction for how "off" from 90° your angle is.When to Use Which Law — A Decision Flowchart
One of the most practical skills in this topic is recognizing which law to apply. The choice depends entirely on what information you start with. The flowchart below walks you through the decision process, and the table that follows summarizes the cases.
| Given Info | Case Name | Which Law? | Notes |
|---|---|---|---|
| Two angles + one side | AAS / ASA | Law of Sines | Find the third angle first (angles sum to 180°), then use proportions. |
| Two sides + non-included angle | SSA | Law of Sines | Ambiguous case — may yield 0, 1, or 2 solutions. Always check. |
| Two sides + included angle | SAS | Law of Cosines | Find the third side, then switch to Law of Sines for remaining angles. |
| All three sides | SSS | Law of Cosines | Solve for the largest angle first (avoids ambiguous-supplement issues). |
Worked Example — Solving a Triangle
In triangle △ABC, you are given: b = 14, c = 9, and A = 62°. Find all remaining sides and angles. Since we know two sides and the included angle (SAS), we start with the Law of Cosines.
a² = b² + c² − 2bc cos A:
a² = 14² + 9² − 2(14)(9) cos 62°
a² = 196 + 81 − 252 × 0.46947
a² = 277 − 118.31 = 158.69sin B / b = sin A / a
sin B = b × sin A / a = 14 × sin 62° / 12.60
sin B = 14 × 0.88295 / 12.60 = 0.9811
So B = sin⁻¹(0.9811)C = 180° − A − B = 180° − 62° − 78.85°a / sin A = 12.60 / sin 62° = 12.60 / 0.8830 ≈ 14.27. Also c / sin C = 9 / sin 39.15° = 9 / 0.6312 ≈ 14.26. These ratios match (the tiny difference is rounding), confirming our solution.Strengths, Limitations, and Comparisons
Each law has distinct advantages and pitfalls. Understanding these will save you time and help you avoid errors, especially the notorious ambiguous case.
| Feature | Law of Sines | Law of Cosines |
|---|---|---|
| Simplicity | Simple proportions — easy to set up and solve | More algebraic — requires squaring and square roots |
| Best for | AAS, ASA; also finding remaining angles after one is known | SAS and SSS — the cases Law of Sines can't start |
| Ambiguity risk | High in SSA — inverse sine gives two possible angles | None — inverse cosine always gives a unique angle in (0°, 180°) |
| Connection to Pythagorean Thm | No direct connection | Reduces to Pythagorean Theorem when included angle = 90° |
| Finding area | Can be combined with area = ½ab sin C | Can find angle first, then use ½ab sin C |
Connections to Advanced Theory
The Laws of Sines and Cosines are not dead ends — they are springboards to deeper mathematics. Here are several directions in which these ideas extend.
The Law of Sines reveals that a / sin A = 2R, where R is the circumradius — the radius of the circle passing through all three vertices. This connection between a triangle and its circumscribed circle is fundamental in geometry and appears again in topics like inscribed angle theorems and the study of cyclic quadrilaterals.
The Law of Cosines connects to vector mathematics. If you place two sides of a triangle as vectors u and v, the third side is their difference, and its length squared is |u − v|² = |u|² + |v|² − 2|u||v| cos θ. This is exactly the Law of Cosines restated in vector language, and it naturally leads to the concept of the dot product in linear algebra and physics.
| This Lesson | Advanced Extension |
|---|---|
| a / sin A = b / sin B = c / sin C | = 2R (circumradius relationship), extended sine rule |
| a² = b² + c² − 2bc cos A | Dot product: u · v = |u||v| cos θ (vectors in physics) |
| Plane triangle solutions | Spherical trigonometry (navigation, astronomy) |
| Area = ½ab sin C | Heron's formula: Area = √[s(s−a)(s−b)(s−c)] |
In spherical trigonometry — used for navigation on the curved surface of the Earth — analogous laws of sines and cosines exist, but with sines and cosines applied to the sides as well as the angles. If you continue into calculus-based physics, you will find the Law of Cosines hiding inside every dot product calculation and every force decomposition that involves non-perpendicular components.
Practice Problems
Lesson Summary
The Law of Sines — a/sin A = b/sin B = c/sin C — states that in any triangle, the ratio of a side to the sine of its opposite angle is constant. We proved it by dropping an altitude to create two right triangles and equating two expressions for the altitude's length. It is the tool of choice for AAS and ASA cases, and it also applies (with care) to the ambiguous SSA case, where zero, one, or two triangles may satisfy the given conditions.
The Law of Cosines — a² = b² + c² − 2bc cos A — generalizes the Pythagorean Theorem to non-right triangles. We proved it using coordinate placement and the distance formula, invoking the identity sin²θ + cos²θ = 1 to simplify. It is ideal for SAS and SSS cases and produces no ambiguity since cos⁻¹ returns exactly one angle in (0°, 180°). Together, these two laws form a complete toolkit: given any three independent measurements of a triangle (with at least one side), you can always find all remaining sides and angles.