Heron's formula
From Wikipedia, the free encyclopedia
In geometry, Heron's formula (also called Hero's formula) states that the area (A) of a triangle whose sides have lengths a, b and c is
where s is the semiperimeter of the triangle:
Heron's formula can also be written as
Contents |
[edit] History
The formula is credited to Heron of Alexandria, and a proof can be found in his book, Metrica, written c. 60 AD. It has been suggested that Archimedes knew the formula, and since Metrica is a collection of the mathematical knowledge available in the ancient world, it is possible that it predates the reference given in the work. [1]
[edit] Proof
A modern proof, which uses algebra and trigonometry and is quite unlike the one provided by Heron, follows. Let a, b, c be the sides of the triangle and A, B, C the angles opposite those sides. We have
by the law of cosines. From this we get with some algebra
.
The altitude of the triangle on base a has length bsin(C), and it follows
The difference of two squares factorization was used in two different steps.
[edit] Numerical stability
Heron's formula as given above is numerically unstable for triangles with a very small angle. A stable alternative[2] involves arranging the lengths of the sides so that: a ≥ b ≥ c and computing
The brackets in the above formula are required in order to prevent numerical instability in the evaluation.
[edit] Multiplied out form of Heron's formula
[edit] Generalizations
Heron's formula is a special case of Brahmagupta's formula for the area of a cyclic quadrilateral; both of which are special cases of Bretschneider's formula for the area of a quadrilateral.
Expressing Heron's formula with a 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.
[edit] See also
[edit] References
- ^ http://mathworld.wolfram.com/HeronsFormula.html
- ^ http://http.cs.berkeley.edu/~wkahan/Triangle.pdf
- Heath, Thomas L. (1921). A History of Greek Mathematics (Vol II). Oxford University Press, 321-323.