The law of sines is a theorem of trigonometry stating that the lengths of the sides of a triangle are proportional to the sines of their opposite angles. For a nondegenerate triangle in Euclidean geometry, with side lengths opposite interior angles , respectively,
where is the radius of the triangle’s circumcircle. The theorem is used to determine unknown sides and angles, especially when a side and its opposite angle are known. Related laws hold for triangles on spherical and hyperbolic surfaces.
Statement and geometric meaning
Let the vertices of a triangle be , with the same letters also denoting its interior angles, and let
The triangle must be nondegenerate: its vertices are not collinear, its side lengths are positive, and its angles satisfy
when angles are measured in radians.
The law can also be written as
The equality with is often called the extended law of sines. It identifies the common side-to-sine ratio as the diameter of the circumcircle, the unique circle passing through all three vertices.
The theorem applies to acute, right, and obtuse triangles. For a right triangle with , it reduces to
because . In this case, the hypotenuse is a diameter of the circumcircle.
Proofs
Proof using area
Let be the area of the triangle. Expressing its area using two sides and their included angle gives
Dividing by yields
Taking reciprocals proves the proportional form of the law:
This proof works for obtuse as well as acute triangles because the area formula uses the sine of the included angle, which is positive for every interior angle of a nondegenerate triangle.
Proof using the circumcircle
A chord of a circle of radius , subtending a smaller central angle , has length
For the chord , the inscribed angle is either or its supplement. Since supplementary angles have equal sines,
Applying the same reasoning to the other two chords gives
which proves the extended law.
Solving triangles
The law of sines is particularly useful when the known measurements include a side and its opposite angle.
Two angles and one side
Two angles determine the third through the angle-sum identity. If , , and are known, then
and
For example, if
then
and
When the given angles are positive and sum to less than , one side fixes the triangle’s scale, so the solution is unique up to rigid motion and reflection.
Two sides and a non-included angle
If are known, the theorem gives
This configuration is called side–side–angle, or SSA. Unlike two angles and a side, SSA measurements may determine no triangle, one triangle, or two distinct triangles.
The ambiguous case
The ambiguity arises because the sine function takes the same value at supplementary angles:
Thus, finding one angle with an inverse sine does not necessarily identify the only possible angle.
Set
If , no triangle exists.
If , the only candidate is , which is valid only if .
If , the candidates are
Each candidate must separately satisfy .
The inverse sine here returns its principal value between and . For positive , this gives the acute candidate; a supplementary obtuse candidate may also be valid.
For example, suppose
Then
so either
or
Both satisfy all the given measurements.
Classification using an altitude
For acute , define
Geometrically, is the perpendicular distance from to the line through and . The possibilities are:
| Condition | Number of triangles |
|---|---|
| 0 | |
| 1 | |
| 2 | |
| 1 |
For , exactly one triangle exists if , and none exists if . This agrees with the requirement that the side opposite a right or obtuse angle must be longer than either of the other sides.
Related formulas and applications
Circumradius and area
Combining the extended law with the area formula gives
and
Consequently, the circumradius can be calculated from the three side lengths and the area:
Relationship to the law of cosines
The law of cosines,
complements the law of sines. It is generally the more direct starting point when all three sides are known, or when two sides and their included angle are known.
The distinction matters because solving a triangle with an inverse sine alone can overlook an obtuse angle. Once sufficient measurements are available, the cosine law or the ordering of sides and angles can resolve that ambiguity.
Surveying and triangulation
In triangulation, a measured baseline and angles observed from its endpoints determine distances to a third point. If the baseline has length , and the observed angles are and , then
and
This allows distances to inaccessible points to be inferred without directly measuring the connecting segments. The same geometric principle appears in navigation and position determination.
Numerical considerations
The law is exact, but calculations based on measured angles can be sensitive to uncertainty. When the denominator in
is small, small errors in may produce large errors in the inferred side length.
With angles measured in radians, a first-order approximation is
The cotangent factors show how angular errors can be amplified near or .
In the SSA case, the derivative
also becomes large as approaches . Recovering an angle near from its sine can therefore be sensitive to small measurement or rounding errors. These are issues of problem conditioning, not exceptions to the theorem.
Non-Euclidean versions
Analogues of the law of sines hold in non-Euclidean geometry, but the Euclidean side lengths must be replaced by curvature-dependent expressions.
For a triangle on a sphere of radius , whose sides are shorter geodesic arcs with lengths , the spherical law of sines is
For a triangle in the hyperbolic plane of constant curvature , the corresponding law is
When the side lengths are small compared with , the approximations and recover the Euclidean proportionality. The Euclidean angle sum and the identification of the common ratio with , however, do not transfer unchanged to curved geometry.