General Triangle Trigonometry
General triangle trigonometry solves any triangle (not just right-angled ones) using the Law of Sines and Law of Cosines. Given enough sides and angles (any three, including at least one side), you can find all remaining sides, angles, and the area. It applies wherever distances and directions must be computed indirectly — surveying, navigation, astronomy, and physics. Developed from Greek and Islamic astronomy (Hipparchus, al-Battani, Regiomontanus) into modern form.
Every triangle is rigidly determined by three independent pieces of information — provided at least one is a side length. The Law of Sines pairs each side with the angle facing it; the Law of Cosines generalizes the Pythagorean theorem by adding a correction term that vanishes exactly when the included angle is 90°. Together they convert partial knowledge of a triangle into complete knowledge.
Formal Statement
We label a triangle so that vertices , , have opposite sides , , respectively (side is across from angle , etc.). Angles are measured in degrees or radians and satisfy .
- — the lengths of the three sides.
- — the interior angles at the vertices of the same name.
- Each side is opposite its same-letter angle.
- — radius of the circumscribed circle (passing through all three vertices).
- — radius of the inscribed circle (tangent to all three sides).
- — the semiperimeter.
In any triangle,
Derivation hint: Drop an altitude from one vertex; it equals , giving the first equality. The value comes from the Inscribed Angle Theorem applied to a chord.
In any triangle,
with symmetric versions for the other sides:
Derivation hint: Place at the origin, express vertex coordinates via cosine/sine of , and compute the squared distance between the two far vertices.
The area may be written several equivalent ways:
and, knowing only the three sides, by Heron's formula:
Derivation hint: For [4], area = ½·base·height with height = (adjacent side)·sin(included angle). For [5], substitute the Law of Cosines into [4] and simplify using difference-of-squares.
Why It Holds / Derivation
1. In triangle , drop the perpendicular from vertex to side (side ). 2. In the right triangle on the left, , so . 3. In the right triangle on the right, , so . 4. Equate: , hence . 5. Repeating with an altitude from a different vertex gives the third ratio, so all three are equal. 6. To show the common value is : draw diameter of the circumscribed circle through . Angle (angle in a semicircle), and angle (same arc as angle , Inscribed Angle Theorem). Then , giving .
∎1. Place vertex at the origin and side (length ) along the positive -axis, so . 2. Vertex lies at distance from at angle : . 3. Side is the distance :
Derivation hint: Apply the distance formula between and . 4. Expand: . 5. Use : .
∎Notice that when , and equation [2] collapses to — the Pythagorean theorem. So the Law of Cosines is Pythagoras plus a correction term that measures how far the angle is from a right angle. If is acute, and the correction shortens ; if is obtuse, and the term lengthens . This single formula smoothly interpolates across all triangle shapes.
The German mathematician-astronomer Regiomontanus wrote De triangulis omnimodis ("On Triangles of Every Kind", c. 1464, printed 1533), the first comprehensive European treatise that treated trigonometry as a subject independent of astronomy. He stated the Law of Sines in essentially its modern form and systematized the solution of plane and spherical triangles, transmitting the work of Islamic mathematicians like al-Battani and Abu al-Wafa to Renaissance Europe. His tables and methods directly armed later astronomers, including Copernicus.
Worked Examples
Given: Angle , angle , and side cm.
Find: All remaining parts.
Steps: 1. Third angle: . 2. Common ratio: cm. 3. Side : cm. 4. Side : cm. 5. Area: cm².
Answer:
Given: Sides m, m, and included angle .
Find: Side , then angles and .
Steps: 1. Law of Cosines for : . 2. So m. 3. Find with the Law of Cosines (numerically safest for the larger unknown angle): , so . 4. Third angle: . 5. Area: m².
Answer:
Common Misconceptions
When you are given two sides and a non-included angle (SSA), the triangle may have two solutions, one, or none. Because , solving for an angle via the Law of Sines can yield two valid angle values. Always check whether the supplementary angle also produces a triangle whose angles sum to less than 180°. Never assume the calculator's single output is the only answer.
Given: , , . By the Law of Sines: . This gives or .
- Case 1: — valid (sums to 180°).
- Case 2: — also valid (sums to 180°).
Both are genuine triangles. Discarding the obtuse solution would lose a correct answer. (Had exceeded 1, no triangle would exist.)
Avoid rounding intermediate results to two decimals and then reusing them. Errors accumulate, especially when a near-180° angle's sine is computed. Keep full precision until the final boxed answer, and when possible solve for an unknown angle with the Law of Cosines (whose is unambiguous over –) rather than the Law of Sines.
Connections
General triangle trigonometry sits between Right Triangle Trigonometry (its special case when one angle is 90°) and Spherical Trigonometry (triangles on a sphere, where the angle sum exceeds 180°). The Law of Cosines is a direct generalization of the Pythagorean Theorem, and equals the Dot Product expansion written for the side connecting two vectors. The relation ties the subject to Circle Geometry and the Inscribed Angle Theorem. Vector addition of forces and velocities is solved by the same triangle laws, linking it to Vector Addition.
Real-World Applications
Historical Development
Subtleties & Limits
The plane triangle laws assume Euclidean (flat) geometry. On a curved surface they fail: in spherical trigonometry the angle sum exceeds 180° and the Law of Cosines becomes (with sides measured as angles). In hyperbolic geometry the angle sum is less than 180° and hyperbolic-function analogues appear. Determining which geometry actually describes physical space at large scales is a question of cosmology — Gauss reportedly tested for curvature by surveying a giant mountain triangle, and modern measurements of the cosmic microwave background indicate space is very nearly (but not provably exactly) flat. Thus the "ordinary" triangle laws are an excellent local approximation whose exact validity is an empirical, open question at cosmological scales.
See Also
Right Triangle Trigonometry · Pythagorean Theorem · Spherical Trigonometry · Inscribed Angle Theorem · Vector Addition · Heron's Formula · Dot Product · Coordinate Geometry