Derivation of Heron's Formula for Triangle Area
Heron's Formula for Triangle Area is a medium quant interview question on Pure Math.
This question focuses on deriving a closed-form expression for the area of a triangle using only its three side lengths, a classical result known as Heron's formula. The candidate is asked to start from basic geometric definitions of area in terms of base and height, then remove any dependence on altitudes or angles so that the final expression involves the side lengths alone, organized via the semi-perimeter. The setting is pure Euclidean geometry, and the reasoning sits at the intersection of algebraic manipulation and geometric relationships between sides, angles, and area.
The derivation leans on the Law of Cosines, Pythagoras in special subcases, and systematic algebraic elimination. It tests comfort with expressing trigonometric quantities through side lengths, expanding and simplifying symmetric expressions, and handling square roots without losing track of sign or geometric constraints. Interviewers watch for a clean logical flow, correct use of triangle inequalities, and the ability to recognize and exploit symmetry through the semi-perimeter. Clear algebra, well-structured intermediate steps, and awareness of when and why the formula is valid are all important.
What it tests
The core structure underlying this problem class is that any triangle's area can be determined solely from its side lengths by algebraically eliminating the altitude using the Law of Cosines or Pythagoras, and then expressing all geometric quantities in terms of those side lengths. This is possible because the triangle's shape is uniquely determined (up to congruence) by its three sides, so any derived quantity—like area—must be a function of only those three. The semi-perimeter, $s$, acts as a symmetric, compact way to encode all three side lengths, and the expression $s(s-a)(s-b)(s-c)$ arises naturally from the algebraic manipulation of the relationships between sides and altitudes. The reason this pattern holds is that the constraints imposed by the triangle inequalities and the Pythagorean relations allow us to solve for any internal measurement (like height) in terms of the sides, and thus the area as well.
Practise this question with written feedback, or hear it in a spoken mock interview.
Get started free