Numbers & Math

Triangle Identities

Solve triangles — SSS, SAS, ASA, SSA. Laws of sines and cosines, area formulas.

Right triangle

Pythagoreana² + b² = c² (hypotenuse c)
sin θ= opposite / hypotenuse
cos θ= adjacent / hypotenuse
tan θ= opposite / adjacent
Area= ½ · base · height

Any triangle

Law of sinesa / sin A = b / sin B = c / sin C = 2R (circumradius)
Law of cosinesc² = a² + b² − 2ab · cos C
Area (SAS)= ½ · a · b · sin C
Area (Heron)= √(s(s−a)(s−b)(s−c)), s = (a+b+c)/2
Sum of anglesA + B + C = 180°

Solving strategies

GivenStrategy
SSS (3 sides)Law of cosines to find any angle; law of sines for others
SAS (2 sides + included angle)Law of cosines for third side; law of sines for remaining angles
ASA / AASSum of angles for third angle; law of sines for sides
SSA (ambiguous case)Law of sines — may yield 0, 1, or 2 solutions

Useful points

IncenterIntersection of angle bisectors — inscribed circle
CircumcenterIntersection of perpendicular bisectors — circumscribed circle
CentroidIntersection of medians — center of mass
OrthocenterIntersection of altitudes

Worked examples

SAS. Given a = 7, b = 10 and C = 40°. Law of cosines: c² = 49 + 100 − 2 × 7 × 10 × cos 40° = 149 − 140 × 0.7660 = 41.75, so c = 6.46. For angle A use the law of sines: sin A = 7 × sin 40° / 6.46 = 7 × 0.6428 / 6.46 = 0.6963, so A = 44.1° and B = 180° − 40° − 44.1° = 95.9°. Check: 7 / sin 44.1° = 10.05 and 10 / sin 95.9° = 10.05, equal as the law requires.

Area two ways. From the two sides and the included angle: ½ × 7 × 10 × sin 40° = 35 × 0.6428 = 22.5. Using Heron with s = (7 + 10 + 6.46) / 2 = 11.73: √(11.73 × 4.73 × 1.73 × 5.27) = √506.2 = 22.5. They agree.

The ambiguous SSA case. Given A = 30°, a = 5, b = 8: sin B = 8 × sin 30° / 5 = 0.8, so B = 53.13° or B = 180° − 53.13° = 126.87°. Both are valid because 30° + 126.87° is still under 180°, giving two different triangles. If the side opposite the given angle were 4 (exactly 8 × sin 30°), there would be one right triangle; below that, none.

Common mistakes

  • Wrong angle mode. A calculator set to radians gives nonsense for degree inputs, and vice versa.
  • Taking arcsin as the only answer. Inverse sine returns angles up to 90°; an obtuse angle with the same sine is also possible, which is the source of the SSA ambiguity.
  • Using the law of sines when the law of cosines is needed. With SSS or SAS you do not have an angle and its opposite side as a pair, so start with cosines.
  • Rounding early. Carry extra digits until the final answer; small rounding in an angle becomes a visible error in a side.
  • Skipping the sum check. Angles must total 180° and the largest side must face the largest angle.
Was this article helpful?