This article is about calculating the area of a triangle.

A triangle with sides a, b, and c.


Formulation

In geometry​, Heron's formula, named after Hero of Alexandria,[1]​ gives the area​ of a triangle when the length of all three sides are known. Unlike other formulas, there is no need to calculate other distances in the triangle first.

Heron's formula states that the area​ of a triangle whose sides have lengths a, b, and c is

where s is the semiperimeter of the triangle; that is,

Heron's formula can also be written as


History

The formula is credited to Heron (or Hero) of Alexandria​, and a proof can be found in his book, Metrica, written c. CE 60. It has been suggested that Archimedes​ knew the formula over two centuries earlier,[3] and since Metrica is a collection of the mathematical knowledge available in the ancient world, it is possible that the formula predates the reference given in that work.

A formula equivalent to Heron's, namely

, where a ≥ b ≥ c,

was discovered by the Chinese independently[citation needed​] of the Greeks. It was published in Shushu Jiuzhang (“Mathematical Treatise in Nine Sections​”), written by Qin Jiushao and published in 1247.


Generalizations

Heron's formula is a special case of Brahmagupta's formula​ for the area of a cyclic quadrilateral​. Heron's formula and Brahmagupta's formula are both special cases of Bretschneider's formula​ for the area of a quadrilateral. Heron's formula can be obtained from Brahmagupta's formula or Bretschneider's formula by setting one of the sides of the quadrilateral to zero.

Heron's formula is also a special case of the formula for the area of a trapezoid or trapezium based only on its sides. Heron's formula is obtained by setting the smaller parallel side to zero.

Expressing Heron's formula with a Cayley–Menger determinant​ in terms of the squares of the distances between the three given vertices,

illustrates its similarity to Tartaglia's formula​ for the volume​ of a three-simplex.

Another generalization of Heron's formula to pentagons and hexagons inscribed in a circle was discovered by David P. Robbins.[13]


reference article:https://en.wikipedia.org/wiki/Heron%27s_formula