General Triangle Trigonometry

⚡ Key Takeaways

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.

💡 The Core Insight

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 AA, BB, CC have opposite sides aa, bb, cc respectively (side aa is across from angle AA, etc.). Angles are measured in degrees or radians and satisfy A+B+C=180°A + B + C = 180°.

DefinitionStandard Triangle Notation
  • a,b,ca, b, c — the lengths of the three sides.
  • A,B,CA, B, C — the interior angles at the vertices of the same name.
  • Each side is opposite its same-letter angle.
  • RR — radius of the circumscribed circle (passing through all three vertices).
  • rr — radius of the inscribed circle (tangent to all three sides).
  • s=12(a+b+c)s = \tfrac{1}{2}(a+b+c) — the semiperimeter.
TheoremLaw of Sines

In any triangle,

1
asin⁡A=bsin⁡B=csin⁡C=2R.\quad \frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C} = 2R.

Derivation hint: Drop an altitude from one vertex; it equals bsin⁡A=asin⁡Bb\sin A = a\sin B, giving the first equality. The 2R2R value comes from the Inscribed Angle Theorem applied to a chord.

TheoremLaw of Cosines

In any triangle,

2
c2=a2+b2−2abcos⁡C,\quad c^2 = a^2 + b^2 - 2ab\cos C,

with symmetric versions for the other sides:

3
a2=b2+c2−2bccos⁡A,b2=a2+c2−2accos⁡B.\quad a^2 = b^2 + c^2 - 2bc\cos A, \qquad b^2 = a^2 + c^2 - 2ac\cos B.

Derivation hint: Place CC at the origin, express vertex coordinates via cosine/sine of CC, and compute the squared distance between the two far vertices.

TheoremTriangle Area Formulas

The area KK may be written several equivalent ways:

4
K=12absin⁡C=12bcsin⁡A=12acsin⁡B,\quad K = \tfrac{1}{2}ab\sin C = \tfrac{1}{2}bc\sin A = \tfrac{1}{2}ac\sin B,

and, knowing only the three sides, by Heron's formula:

5
K=s(s−a)(s−b)(s−c).\quad K = \sqrt{s(s-a)(s-b)(s-c)}.

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

ProofLaw of Sines via an Altitude

1. In triangle ABCABC, drop the perpendicular hh from vertex CC to side ABAB (side cc). 2. In the right triangle on the left, sin⁡A=h/b\sin A = h/b, so h=bsin⁡Ah = b\sin A. 3. In the right triangle on the right, sin⁡B=h/a\sin B = h/a, so h=asin⁡Bh = a\sin B. 4. Equate: bsin⁡A=asin⁡Bb\sin A = a\sin B, hence asin⁡A=bsin⁡B\dfrac{a}{\sin A} = \dfrac{b}{\sin B}. 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 2R2R: draw diameter BDBD of the circumscribed circle through BB. Angle BCD=90°BCD = 90° (angle in a semicircle), and angle BDC=ABDC = A (same arc as angle AA, Inscribed Angle Theorem). Then sin⁡A=a/(2R)\sin A = a/(2R), giving a/sin⁡A=2Ra/\sin A = 2R. ■\blacksquare

∎
ProofLaw of Cosines via Coordinates

1. Place vertex CC at the origin and side CBCB (length aa) along the positive xx-axis, so B=(a,0)B = (a, 0). 2. Vertex AA lies at distance bb from CC at angle CC: A=(bcos⁡C,  bsin⁡C)A = (b\cos C,\; b\sin C). 3. Side cc is the distance ABAB:

6
c2=(a−bcos⁡C)2+(0−bsin⁡C)2.\quad c^2 = (a - b\cos C)^2 + (0 - b\sin C)^2.

Derivation hint: Apply the distance formula between AA and BB. 4. Expand: c2=a2−2abcos⁡C+b2cos⁡2C+b2sin⁡2Cc^2 = a^2 - 2ab\cos C + b^2\cos^2 C + b^2\sin^2 C. 5. Use cos⁡2C+sin⁡2C=1\cos^2 C + \sin^2 C = 1: c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C. ■\blacksquare

∎
🧠 Intuition

Notice that when C=90°C = 90°, cos⁡C=0\cos C = 0 and equation [2] collapses to c2=a2+b2c^2 = a^2 + b^2 — the Pythagorean theorem. So the Law of Cosines is Pythagoras plus a correction term −2abcos⁡C-2ab\cos C that measures how far the angle is from a right angle. If CC is acute, cos⁡C>0\cos C > 0 and the correction shortens cc; if CC is obtuse, cos⁡C<0\cos C < 0 and the term lengthens cc. This single formula smoothly interpolates across all triangle shapes.

mathematician · Regiomontanus (Johannes Müller) | 1436–1476

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.

Figure
An oblique triangle ABC with standard side–angle labeling and its circumscribed circle of radius R
R A B C a b c a/sin A = b/sin B = c/sin C = 2R

Worked Examples

ExampleSolving with the Law of Sines (AAS)

Given: Angle A=40°A = 40°, angle B=75°B = 75°, and side a=12a = 12 cm.

Find: All remaining parts.

Steps: 1. Third angle: C=180°−40°−75°=65°C = 180° - 40° - 75° = 65°. 2. Common ratio: asin⁡A=12sin⁡40°=120.6428=18.67\dfrac{a}{\sin A} = \dfrac{12}{\sin 40°} = \dfrac{12}{0.6428} = 18.67 cm. 3. Side bb: b=18.67⋅sin⁡75°=18.67⋅0.9659=18.03b = 18.67 \cdot \sin 75° = 18.67 \cdot 0.9659 = 18.03 cm. 4. Side cc: c=18.67⋅sin⁡65°=18.67⋅0.9063=16.92c = 18.67 \cdot \sin 65° = 18.67 \cdot 0.9063 = 16.92 cm. 5. Area: K=12absin⁡C=12(12)(18.03)sin⁡65°=98.06K = \tfrac{1}{2}ab\sin C = \tfrac12(12)(18.03)\sin 65° = 98.06 cm².

Answer:

C=65°,b≈18.03 cm,c≈16.92 cm,K≈98.1 cm2\boxed{C = 65°,\quad b \approx 18.03\text{ cm},\quad c \approx 16.92\text{ cm},\quad K \approx 98.1\text{ cm}^2}
ExampleSolving with the Law of Cosines (SAS), then SSS check

Given: Sides b=8b = 8 m, c=5c = 5 m, and included angle A=60°A = 60°.

Find: Side aa, then angles BB and CC.

Steps: 1. Law of Cosines for aa: a2=b2+c2−2bccos⁡A=64+25−2(8)(5)(0.5)=89−40=49a^2 = b^2 + c^2 - 2bc\cos A = 64 + 25 - 2(8)(5)(0.5) = 89 - 40 = 49. 2. So a=7a = 7 m. 3. Find BB with the Law of Cosines (numerically safest for the larger unknown angle): cos⁡B=a2+c2−b22ac=49+25−642(7)(5)=1070=0.1429\cos B = \dfrac{a^2 + c^2 - b^2}{2ac} = \dfrac{49 + 25 - 64}{2(7)(5)} = \dfrac{10}{70} = 0.1429, so B=81.79°B = 81.79°. 4. Third angle: C=180°−60°−81.79°=38.21°C = 180° - 60° - 81.79° = 38.21°. 5. Area: K=12bcsin⁡A=12(8)(5)(0.8660)=17.32K = \tfrac12 bc\sin A = \tfrac12(8)(5)(0.8660) = 17.32 m².

Answer:

a=7 m,B≈81.79°,C≈38.21°,K≈17.3 m2\boxed{a = 7\text{ m},\quad B \approx 81.79°,\quad C \approx 38.21°,\quad K \approx 17.3\text{ m}^2}

Common Misconceptions

⚠️ The Ambiguous Case (SSA)

When you are given two sides and a non-included angle (SSA), the triangle may have two solutions, one, or none. Because sin⁡θ=sin⁡(180°−θ)\sin\theta = \sin(180° - \theta), 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 sin⁡−1\sin^{-1} output is the only answer.

CounterexampleTwo Triangles from the Same SSA Data

Given: a=7a = 7, b=10b = 10, A=30°A = 30°. By the Law of Sines: sin⁡B=bsin⁡Aa=10⋅0.57=0.7143\sin B = \dfrac{b\sin A}{a} = \dfrac{10 \cdot 0.5}{7} = 0.7143. This gives B=45.58°B = 45.58° or B=180°−45.58°=134.42°B = 180° - 45.58° = 134.42°.

  • Case 1: B=45.58°⇒C=104.42°B = 45.58° \Rightarrow C = 104.42° — valid (sums to 180°).
  • Case 2: B=134.42°⇒C=15.58°B = 134.42° \Rightarrow C = 15.58° — also valid (sums to 180°).

Both are genuine triangles. Discarding the obtuse solution would lose a correct answer. (Had sin⁡B\sin B exceeded 1, no triangle would exist.)

⚠️ Rounding Propagation

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 cos⁡−1\cos^{-1} is unambiguous over 0°0°–180°180°) rather than the Law of Sines.

Connections

connection

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 u⃗⋅v⃗=∣u⃗∣∣v⃗∣cos⁡θ\vec{u}\cdot\vec{v} = |\vec u||\vec v|\cos\theta written for the side connecting two vectors. The relation a/sin⁡A=2Ra/\sin A = 2R 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

🔬 Where this appears

Historical Development

⏳ History
- c. 150 BCE — Hipparchus of Nicaea compiles the first known trigonometric table (a "table of chords"), the seed of triangle solving for astronomy.
- c. 150 CE — Ptolemy refines chord tables in the Almagest, effectively encoding the sine function and triangle relations for celestial computation.
- c. 500 CE — Indian astronomers (Aryabhata, later Brahmagupta) introduce the sine ("jya") and develop precise sine tables.
- c. 850–930 CE — al-Battani and other Islamic astronomers establish forms of the Law of Sines and cotangent relations for spherical and plane triangles.
- c. 990 CE — Abu al-Wafa al-Buzjani states the Law of Sines for general (plane and spherical) triangles and systematizes the six trig functions.
- c. 1464 — Regiomontanus writes De triangulis omnimodis, the first European systematic trigonometry treatise, presenting the Law of Sines explicitly.
- 1593 — François Viète publishes work advancing analytic triangle methods and the Law of Cosines in trigonometric form.
- 1748 — Leonhard Euler recasts trigonometry analytically (functions, not chords) in Introductio in analysin infinitorum, giving the modern algebraic statements.
- 19th century — Triangulation surveys (e.g., the Great Trigonometrical Survey of India, begun 1802) apply these laws on a continental scale, measuring the Himalayas.

Subtleties & Limits

open-problem

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 cos⁡c=cos⁡acos⁡b+sin⁡asin⁡bcos⁡C\cos c = \cos a\cos b + \sin a \sin b \cos C (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