SHAILESH A SHIRALI
Heron’s formula for the area of a triangle in terms of its sides is well known to school
students: if the sides of the triangle are a, b, c, and its semi-perimeter is s = 21 (a + b + c),
then its area ∆ is
∆ = s(s − a)(s − b)(s − c).
p
(1)
But few students know of another very similar formula found by the seventh century Indian
mathematician Brahmagupta. It has the beautiful feature that it yields Heron’s formula as a
corollary. It states that if a quadrilateral ABCD is cyclic, and its sides are AB = a, BC = b,
CD = c, DA = d, and its semi-perimeter is s = 21 (a + b + c + d), then its area ∆ is
∆ = (s − a)(s − b)(s − c)(s − d).
p
(2)
A
b
a
d
B
b
b
D
c
Figure 1
Before proving it, note that if we put d = 0, then the quadrilateral reduces to a triangle (since
two of its vertices are now coincident), and the above formula reduces to the one given by
Heron’s formula. (Note that a triangle is always cyclic.)
2 SHAILESH A SHIRALI
Proof. Our proof is trigonometric — much like the trigonometric proof we gave for Heron’s
formula. Let u denote the length of the diagonal BD (see Figure 2). Our strategy will be to
equate two different expressions for u with each other, obtained using the cosine rule, and
thereby get an expression for the cosine and sine ∠A.
A
b
a
d
b
u
B
b
b
D
c
Figure 2
We have:
giving:
a2 − b2 − c2 + d 2
(6) cos A = .
2(ad + bc)
BRAHMAGUPTA’S FORMULA FOR AREA OF A CYCLIC QUADRILATERAL 3
Using this relation we get expressions for cos 12 A as well as sin 12 A, and from these, and an
expression for sin A:
A
2 cos2 = 1 + cos A
2
a2 − b2 − c2 + d 2
= 1+
2(ad + bc)
(a2 + 2ad + d 2 ) − (b2 − 2bc + c2 )
=
2(ad + bc)
(a + d)2 − (b − c)2
=
2(ad + bc)
(a + d + b − c)(a + d − b + c)
=
2(ad + bc)
(2s − 2c)(2s − 2b)
=
2(ad + bc)
(s − c)(s − b)
(7) = 2× .
ad + bc
Next:
A
2 sin2 = 1 − cos A
2
a2 − b2 − c2 + d 2
= 1−
2(ad + bc)
(b2 + 2bc + c2 ) − (a2 − 2ad + d 2 )
=
2(ad + bc)
(b + c)2 − (a − d)2
=
2(ad + bc)
(b + c + a − d)(b + c − a + d)
=
2(ad + bc)
(2s − 2d)(2s − 2a)
= ,
2(ad + bc)
A (s − d)(s − a)
(8) ∴ 2 sin2 = 2× .
2 ad + bc
Hence we get, by multiplication:
A A
sin A = 2 cos sin
2 2
p
(s − a)(s − b)(s − c)(s − d)
(9) = 2× .
ad + bc
4 SHAILESH A SHIRALI
Using the above approach we shall get a formula for the area of a general quadrilateral —
i.e., one that is not necessarily cyclic.
Using the same notation as earlier, except that we no longer assume that ABCD is cyclic,
we have:
If we square both sides of both these relations and add the corresponding sides, a convenient
simplification occurs. On the left side we get:
Hence:
2
16∆2 = 4 a2 d 2 + b2 c2 − a2 − b2 − c2 + d 2 − 8abcd cos(A +C)
= − a4 + b4 + c4 + d 4 + 2 a2 b2 + a2 c2 + a2 d 2 + b2 c2 + b2 d 2 + c2 d 2
If the quadrilateral happens to be cyclic, then we have A +C = 180◦ , so the above formula
reduces to
16∆2
We have recovered Brahmagupta’s formula. This means that we have a two fold general-
ization of Heron’s formula for area of a triangle.
16∆2 = − a4 + b4 + c4 + d 4 + 2 a2 b2 + a2 c2 + a2 d 2 + b2 c2 + b2 d 2 + c2 d 2
Since cos(A+C) lies between −1 and 1, the quantity −8abcd cos(A+C) takes its maximum
value when A + C = 180◦ , the maximum value being 8abcd. But this corresponds to the
quadrilateral being cyclic. Hence, with the given side lengths, the quadrilateral with the
largest area is the one which is cyclic.
6 SHAILESH A SHIRALI
Brahmagupta (598–670 AD) was one of the great mathematicians of ancient India. He lived
in the century after Aryabhata and was the head of the astronomical observatory in Ujjain
in central India, a great center of mathematical activity during his time. He wrote several
texts, among which Brahma Sphuta Siddhanta is of particular significance in terms of its
impact, as it was translated into Arabic during the 8th century and served as a starting point
for Al Khwarizmi’s highly influential book on Algebra. It was through this book that the
Arabic civilization learned of the Indian numeration system and the use of the symbol for
zero.
• Wikipedia
• Univ of St. Andrews
♣ ♣ ♣ ♣ ♣ ♣ ♣ ♣ ♣ ♣
C OMMUNITY M ATH C ENTER , R ISHI VALLEY S CHOOL , R ISHI VALLEY 517 352, A NDHRA P RADESH ,
I NDIA