Heronian Triangle

DOWNLOAD Mathematica Notebook

A Heronian triangle is a triangle having rational side lengths and rational area. The triangles are so named because such triangles are related to Heron's formula

 Delta=sqrt(s(s-a)(s-b)(s-c))
(1)

giving a triangle area Delta in terms of its side lengths a, b, c and semiperimeter s=(a+b+c)/2. Finding a Heronian triangle is therefore equivalent to solving the Diophantine equation

 Delta^2=s(s-a)(s-b)(s-c).
(2)

The complete set of solutions for integer Heronian triangles (the three side lengths and area can be multiplied by their least common multiple to make them all integers) were found by Euler (Buchholz 1992; Dickson 2005, p. 193), and parametric versions were given by Brahmagupta and Carmichael (1952) as

a=n(m^2+k^2)
(3)
b=m(n^2+k^2)
(4)
c=(m+n)(mn-k^2)
(5)
s=mn(m+n)
(6)
Delta=kmn(m+n)(mn-k^2).
(7)

This produces one member of each similarity class of Heronian triangles for any integers m, n, and k such that GCD(m,n,k)=1, mn>k^2>=m^2n/(2m+n), and m>=n>=1 (Buchholz 1992).

HeronianTriangles

The first few integer Heronian triangles sorted by increasing maximal side lengths, are ((3, 4, 5), (5, 5, 6), (5, 5, 8), (6, 8, 10), (10, 10, 12), (5, 12, 13), (10, 13, 13), (9, 12, 15), (4, 13, 15), (13, 14, 15), (10, 10, 16), ... (OEIS A055594, A055593, and A055592), having areas 6, 12, 12, 24, 48, 30, 60, 54, ... (OEIS A055595). The first few integer Heronian scalene triangles, sorted by increasing maximal side lengths, are (3, 4, 5), (6, 8, 10), (5, 12, 13), (9, 12, 15), (4, 13, 15), (13, 14, 15), (9, 10, 17), ... (OEIS A046128, A046129, and A046130), having areas 6, 24, 30, 54, 24, 84, 36, ... (OEIS A046131). R. Rathbun has cataloged all integer Heronian triangles with perimeters smaller than 2^(17) (Peterson 2003).

Schubert (1905) claimed that Heronian triangles with two rational triangle medians do not exist (Dickson 2005). This was shown to be incorrect by Buchholz and Rathbun (1997), who discovered the triangles given in the following table, where m_i are triangle median lengths and A is the area.

abcm_1m_2A
735126(35)/2(97)/2420
626875291572(433)/255440
4368124136731657(7975)/22042040
147911438411257(21177)/21100175698280
287791381615155(3589)/22193723931600
18236751856291930456(2048523)/2(3751059)/2142334216640
HeronianRightIsosceles

D. Borris (pers. comm., Oct. 22, 2003) considered primitive pairs of Heronian triangles, one a right triangle with sides (a,b,c) and the other an isosceles triangle with sides (x,y,y), such that the two triangle share a common area and a common perimeter. Borris found the pair (a,b,c)=(135,352,377) and (x,y,y)=(132,366,366) (corresponding to area 23760 and perimeter 864), with no other such pairs with right triangle smallest side length less than 400000.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.