Law of Sines and Cosines Knowledge-Based Study
Math topic explanations on Law of Sines and Cosines.
Study notes
Solving Non-Right Triangles
In right-triangle trigonometry, basic trigonometric ratios like sine, cosine, and tangent are defined using the hypotenuse, adjacent, and opposite sides. However, many geometric problems involve oblique triangles—triangles that do not contain a right angle.
Standard notation for any triangle uses uppercase letters , , and to denote the vertices and their corresponding interior angle measures. Lowercase letters , , and denote the lengths of the sides opposite those angles, respectively:
- Side is opposite angle .
- Side is opposite angle .
- Side is opposite angle .
The Law of Sines and the Law of Cosines extend trigonometry to solve for unknown side lengths and angle measures in any arbitrary triangle, provided sufficient initial measurements are known.
Statement and Derivation
The Law of Sines establishes a direct proportionality between the lengths of the sides of a triangle and the sines of their opposite angles.
For any triangle :
Equivalently, this relation can be written in reciprocal form:
When to Apply the Law of Sines
The Law of Sines is applicable whenever a known side and its opposite angle form a complete ratio, specifically in the following cases:
- AAS (Angle-Angle-Side): Two angles and a non-included side are known.
- ASA (Angle-Side-Angle): Two angles and the included side are known (the third angle is found using ).
- SSA (Side-Side-Angle): Two sides and a non-included angle are known (often referred to as the ambiguous case).
Analyzing the SSA Configuration
When given two sides and an angle opposite one of them (for example, , , and acute angle ), the given measurements may determine no triangle, exactly one triangle, or two distinct triangles. This occurs because , meaning an acute angle and its obtuse supplement share the same sine value.
Determining the Number of Solutions (for acute angle )
Let represent the altitude from vertex to side :
- Case 1 (): Side is too short to reach the opposite side. No triangle exists.
- Case 2 (): Side forms a perpendicular segment to the base. Exactly one right triangle exists.
- Case 3 (): Side can swing to form two different triangles—one acute and one obtuse. Exactly two triangles exist.
- Case 4 (): Side can only form one valid triangle because the second possible position lies outside the boundary. Exactly one triangle exists.
If angle is obtuse (), a valid triangle exists if and only if ; otherwise, no triangle can be formed.
Statement and Forms
The Law of Cosines generalizes the Pythagorean theorem to any triangle. When the included angle is , , reducing the formula directly to .
For any triangle :
Solving for Angles
When all three sides are known, the equations can be rearranged to find the cosine of any interior angle:
When to Apply the Law of Cosines
- SAS (Side-Angle-Side): Two sides and the included angle are known. The law calculates the remaining side.
- SSS (Side-Side-Side): All three side lengths are known. The law calculates the angle measures directly.
Choosing the Optimal Strategy
To avoid ambiguity when solving general triangles, follow these established best practices:
- For SAS: Use the Law of Cosines to find the third side. Next, use the Law of Sines to find the angle opposite the shorter of the remaining sides (which must be acute), avoiding the ambiguous case. Finally, use the triangle angle sum to find the third angle.
- For SSS: Use the Law of Cosines to calculate the largest angle first (the angle opposite the longest side). Since cosine values are uniquely negative for obtuse angles and positive for acute angles on , this immediately identifies whether the triangle has an obtuse angle. The remaining two angles must be acute.
Trigonometric Area of a Triangle
Using the sine function to express the altitude of a triangle yields the sine area formula:
When only the three side lengths are available, Heron's Formula provides the area without calculating angles first:
where is the semi-perimeter of the triangle.

