To solve a triangle means to find all its unknown sides and angles given sufficient information. The Laws of Cosines and Sines allow us to solve any triangle.
We use the standard notation: sides a, b, c opposite to angles α, β, γ respectively.
Interactive Solver
Select a case, set the known values, and see the triangle solved in real time. For SSA, watch how two valid triangles can appear:
b = 3.0
c = 4.0
α (included) = 60.0°
a = 3.61β = 46.1°γ = 73.9°
Case 1: One Side and Two Angles
Given a, β, γ: find α=180°−(β+γ), then use the Law of Sines.
✎Example — Side and Two Angles
Solve triangle with a=12 cm, β=36°, γ=119°.
Solution.α=180°−(36°+119°)=25°.
By the Law of Sines:
b=sinαasinβ=sin25°12sin36°≈0.4212⋅0.59≈16.9 cmc=sinαasinγ=sin25°12sin119°=sin25°12sin61°≈0.4212⋅0.87≈24.9 cm
Answer:b≈16.9 cm, c≈24.9 cm, α=25°. ◀
Case 2: Two Sides and the Included Angle (SAS)
Given b, c, α: find a by the Law of Cosines, then find the remaining angles.
✎Example — Two Sides and Included Angle
Solve: a=14 cm, b=8 cm, γ=38°.
Solution. By Law of Cosines:
c2=a2+b2−2abcosγ=196+64−2⋅14⋅8cos38°≈260−224⋅0.79≈83c≈9.1 cm
Then cosα=2bcb2+c2−a2≈2⋅8⋅9.164+83−196≈−0.34, so α≈110°, β≈32°. ◀
Case 3: Three Sides (SSS)
Given a, b, c: find angles using the Law of Cosines.
✎Example — Three Sides Given
Solve: a=7 cm, b=2 cm, c=8 cm.
Solution.cosα=2bcb2+c2−a2=324+64−49≈0.59⟹α≈54°
By Law of Sines: sinβ=absinα≈72⋅0.81≈0.23⟹β≈13°.
Then γ=180°−(54°+13°)=113°. ◀
Case 4: Two Sides and a Non-Included Angle (SSA — Ambiguous Case)
Given a, b, α (angle opposite to a): this may yield 0, 1, or 2 solutions.
✎Example — The Ambiguous Case
Solve: a=6 cm, b=5 cm, β=50°.
Solution. By Law of Sines: sinα=basinβ=56⋅0.77≈0.92.
Possible values: α≈67° or α≈113°. Both are valid since α>β in both cases.
Case A:α≈67°, γ≈63°, c≈5.8 cm.
Case B:α≈113°, γ≈17°, c≈1.9 cm. ◀