<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://indianpedia.org/index.php?action=history&amp;feed=atom&amp;title=Brahmagupta%27s_formula</id>
	<title>Brahmagupta&#039;s formula - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://indianpedia.org/index.php?action=history&amp;feed=atom&amp;title=Brahmagupta%27s_formula"/>
	<link rel="alternate" type="text/html" href="https://indianpedia.org/index.php?title=Brahmagupta%27s_formula&amp;action=history"/>
	<updated>2026-07-31T16:09:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.4</generator>
	<entry>
		<id>https://indianpedia.org/index.php?title=Brahmagupta%27s_formula&amp;diff=110258&amp;oldid=prev</id>
		<title>&gt;Citation bot at 15:51, 24 March 2021</title>
		<link rel="alternate" type="text/html" href="https://indianpedia.org/index.php?title=Brahmagupta%27s_formula&amp;diff=110258&amp;oldid=prev"/>
		<updated>2021-03-24T15:51:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Formula relating the area of a cyclic quadrilateral to its side lengths}}&lt;br /&gt;
In [[Euclidean geometry]], &amp;#039;&amp;#039;&amp;#039;[[Brahmagupta]]&amp;#039;s formula&amp;#039;&amp;#039;&amp;#039; is used to find the [[area]] of any [[cyclic quadrilateral]] (one that can be inscribed in a circle) given the lengths of the sides.&lt;br /&gt;
&lt;br /&gt;
== Formula ==&lt;br /&gt;
Brahmagupta&amp;#039;s formula gives the area {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;}} of a [[cyclic quadrilateral]] whose sides have lengths {{math|&amp;#039;&amp;#039;a&amp;#039;&amp;#039;}}, {{math|&amp;#039;&amp;#039;b&amp;#039;&amp;#039;}}, {{math|&amp;#039;&amp;#039;c&amp;#039;&amp;#039;}}, {{math|&amp;#039;&amp;#039;d&amp;#039;&amp;#039;}} as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;K=\sqrt{(s-a)(s-b)(s-c)(s-d)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{math|&amp;#039;&amp;#039;s&amp;#039;&amp;#039;}}, the [[semiperimeter]], is defined to be&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;s=\frac{a+b+c+d}{2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This formula generalizes [[Heron&amp;#039;s formula]] for the area of a [[triangle]]. A triangle may be regarded as a quadrilateral with one side of length zero. From this perspective, as {{math|&amp;#039;&amp;#039;d&amp;#039;&amp;#039;}} approaches zero, a cyclic quadrilateral converges into a cyclic triangle (all triangles are cyclic), and Brahmagupta&amp;#039;s formula simplifies to Heron&amp;#039;s formula.&lt;br /&gt;
&lt;br /&gt;
If the semiperimeter is not used, Brahmagupta&amp;#039;s formula is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;K=\frac{1}{4}\sqrt{(-a+b+c+d)(a-b+c+d)(a+b-c+d)(a+b+c-d)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another equivalent version is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;K=\frac{\sqrt{(a^2+b^2+c^2+d^2)^2+8abcd-2(a^4+b^4+c^4+d^4)}}{4}\cdot&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proof ==&lt;br /&gt;
[[File:Brahmagupta&amp;#039;s formula Sketch.png|400x400px|Diagram for reference|thumb]]&lt;br /&gt;
&lt;br /&gt;
===Trigonometric proof===&lt;br /&gt;
Here the notations in the figure to the right are used. The area {{math|&amp;#039;&amp;#039;K&amp;#039;&amp;#039;}} of the cyclic quadrilateral equals the sum of the areas of {{math|△&amp;#039;&amp;#039;ADB&amp;#039;&amp;#039;}} and {{math|△&amp;#039;&amp;#039;BDC&amp;#039;&amp;#039;}}:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;= \frac{1}{2}pq\sin A + \frac{1}{2}rs\sin C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But since {{math|&amp;#039;&amp;#039;ABCD&amp;#039;&amp;#039;}} is a cyclic quadrilateral, {{math|∠&amp;#039;&amp;#039;DAB&amp;#039;&amp;#039; {{=}} 180° − ∠&amp;#039;&amp;#039;DCB&amp;#039;&amp;#039;}}. Hence {{math|sin &amp;#039;&amp;#039;A&amp;#039;&amp;#039; {{=}} sin &amp;#039;&amp;#039;C&amp;#039;&amp;#039;}}. Therefore,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \frac{1}{2}pq\sin A + \frac{1}{2}rs\sin A&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K^2 = \frac{1}{4} (pq + rs)^2 \sin^2 A&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4K^2 = (pq + rs)^2 (1 - \cos^2 A) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for common side {{math|&amp;#039;&amp;#039;DB&amp;#039;&amp;#039;}}, in {{math|△&amp;#039;&amp;#039;ADB&amp;#039;&amp;#039;}} and {{math|△&amp;#039;&amp;#039;BDC&amp;#039;&amp;#039;}}, the [[law of cosines]] gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;p^2 + q^2 - 2pq\cos A = r^2 + s^2 - 2rs\cos C. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substituting {{math|cos &amp;#039;&amp;#039;C&amp;#039;&amp;#039; {{=}} −cos &amp;#039;&amp;#039;A&amp;#039;&amp;#039;}} (since angles {{math|&amp;#039;&amp;#039;A&amp;#039;&amp;#039;}} and {{math|&amp;#039;&amp;#039;C&amp;#039;&amp;#039;}} are [[Supplementary angles|supplementary]]) and rearranging, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2 (pq + rs) \cos A = p^2 + q^2 - r^2 - s^2. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substituting this in the equation for the area,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4K^2 = (pq + rs)^2 - \frac{1}{4}(p^2 + q^2 - r^2 - s^2)^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;16K^2 = 4(pq + rs)^2 - (p^2 + q^2 - r^2 - s^2)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The right-hand side is of the form {{math|&amp;#039;&amp;#039;a&amp;#039;&amp;#039;{{sup|2}} − &amp;#039;&amp;#039;b&amp;#039;&amp;#039;{{sup|2}} {{=}} (&amp;#039;&amp;#039;a&amp;#039;&amp;#039; − &amp;#039;&amp;#039;b&amp;#039;&amp;#039;)(&amp;#039;&amp;#039;a&amp;#039;&amp;#039; + &amp;#039;&amp;#039;b&amp;#039;&amp;#039;)}} and hence can be written as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[2(pq + rs) - p^2 - q^2 + r^2 +s^2][2(pq + rs) + p^2 + q^2 -r^2 - s^2] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which, upon rearranging the terms in the square brackets, yields&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;= [ (r+s)^2 - (p-q)^2 ][ (p+q)^2 - (r-s)^2 ] &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;= (q+r+s-p)(p+r+s-q)(p+q+s-r)(p+q+r-s). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Introducing the semiperimeter {{math|&amp;#039;&amp;#039;S&amp;#039;&amp;#039; {{=}} {{sfrac|&amp;#039;&amp;#039;p&amp;#039;&amp;#039; + &amp;#039;&amp;#039;q&amp;#039;&amp;#039; + &amp;#039;&amp;#039;r&amp;#039;&amp;#039; + &amp;#039;&amp;#039;s&amp;#039;&amp;#039;|2}}}},&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;16K^2 = 16(S-p)(S-q)(S-r)(S-s). &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Taking the square root, we get&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;K = \sqrt{(S-p)(S-q)(S-r)(S-s)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Non-trigonometric proof===&lt;br /&gt;
An alternative, non-trigonometric proof utilizes two applications of Heron&amp;#039;s triangle area formula on similar triangles.&amp;lt;ref&amp;gt;Hess, Albrecht, &amp;quot;A highway from Heron to Brahmagupta&amp;quot;, &amp;#039;&amp;#039;Forum Geometricorum&amp;#039;&amp;#039; 12 (2012), 191–192.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Extension to non-cyclic quadrilaterals ==&lt;br /&gt;
In the case of non-cyclic quadrilaterals, Brahmagupta&amp;#039;s formula can be extended by considering the measures of two opposite angles of the quadrilateral:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;K=\sqrt{(s-a)(s-b)(s-c)(s-d)-abcd\cos^2\theta}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{math|&amp;#039;&amp;#039;θ&amp;#039;&amp;#039;}} is half the sum of any two opposite angles. (The choice of which pair of opposite angles is irrelevant: if the other two angles are taken, half their sum is {{math|180° − &amp;#039;&amp;#039;θ&amp;#039;&amp;#039;}}. Since {{math|cos(180° − &amp;#039;&amp;#039;θ&amp;#039;&amp;#039;) {{=}} −cos &amp;#039;&amp;#039;θ&amp;#039;&amp;#039;}}, we have {{math|cos&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;(180° − &amp;#039;&amp;#039;θ&amp;#039;&amp;#039;) {{=}} cos&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; &amp;#039;&amp;#039;θ&amp;#039;&amp;#039;}}.) This more general formula is known as [[Bretschneider&amp;#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
It is a property of [[cyclic quadrilateral]]s (and ultimately of [[inscribed angle]]s) that opposite angles of a quadrilateral sum to 180°.  Consequently, in the case of an inscribed quadrilateral, {{math|&amp;#039;&amp;#039;θ&amp;#039;&amp;#039;}} is 90°, whence the term&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;abcd\cos^2\theta=abcd\cos^2 \left(90^\circ\right)=abcd\cdot0=0, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
giving the basic form of Brahmagupta&amp;#039;s formula. It follows from the latter equation that the area of a cyclic quadrilateral is the maximum possible area for any quadrilateral with the given side lengths.&lt;br /&gt;
&lt;br /&gt;
A related formula, which was proved by [[Julian Coolidge|Coolidge]], also gives the area of a general convex quadrilateral. It is&amp;lt;ref&amp;gt;J. L. Coolidge, &amp;quot;A Historically Interesting Formula for the Area of a Quadrilateral&amp;quot;, &amp;#039;&amp;#039;American Mathematical Monthly&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;46&amp;#039;&amp;#039;&amp;#039; (1939) pp. 345-347.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;K=\sqrt{(s-a)(s-b)(s-c)(s-d)-\textstyle{1\over4}(ac+bd+pq)(ac+bd-pq)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where {{math|&amp;#039;&amp;#039;p&amp;#039;&amp;#039;}} and {{math|&amp;#039;&amp;#039;q&amp;#039;&amp;#039;}} are the lengths of the diagonals of the quadrilateral. In a [[cyclic quadrilateral]], {{math|&amp;#039;&amp;#039;pq&amp;#039;&amp;#039; {{=}} &amp;#039;&amp;#039;ac&amp;#039;&amp;#039; + &amp;#039;&amp;#039;bd&amp;#039;&amp;#039;}} according to [[Ptolemy&amp;#039;s theorem]], and the formula of Coolidge reduces to Brahmagupta&amp;#039;s formula.&lt;br /&gt;
&lt;br /&gt;
== Related theorems ==&lt;br /&gt;
* [[Heron&amp;#039;s formula]] for the area of a [[triangle]] is the special case obtained by taking {{math|&amp;#039;&amp;#039;d&amp;#039;&amp;#039; {{=}} 0}}.&lt;br /&gt;
* The relationship between the general and extended form of Brahmagupta&amp;#039;s formula is similar to how the [[law of cosines]] extends the [[Pythagorean theorem]].&lt;br /&gt;
* Increasingly complicated closed-form formulas exist for the area of general polygons on circles, as described by Maley et al.&amp;lt;ref&amp;gt;{{cite journal|last1=Maley|first1=F. Miller|last2=Robbins|first2=David P.|last3=Roskies|first3=Julie|title=On the areas of cyclic and semicyclic polygons|journal=Advances in Applied Mathematics|date=2005|volume=34|issue=4|pages=669–689|doi=10.1016/j.aam.2004.09.008|arxiv=math/0407300|s2cid=119565975}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
{{ProofWiki|id=Brahmagupta&amp;#039;s Formula|title=Brahmagupta&amp;#039;s formula}}&lt;br /&gt;
*{{mathworld|urlname=BrahmaguptasFormula|title=Brahmagupta&amp;#039;s Formula}}&lt;br /&gt;
&lt;br /&gt;
{{PlanetMath attribution|id=3594|title=proof of Brahmagupta&amp;#039;s formula}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Brahmagupta&amp;#039;s Formula}}&lt;br /&gt;
[[Category:Brahmagupta]]&lt;br /&gt;
[[Category:Theorems about quadrilaterals and circles]]&lt;br /&gt;
[[Category:Area]]&lt;/div&gt;</summary>
		<author><name>&gt;Citation bot</name></author>
	</entry>
</feed>