Brahmagupta's formula
From Wikipedia, the free encyclopedia
In geometry, Brahmagupta's formula finds the area of any quadrilateral given the lengths of the sides and some of their angles. In its most common form, it yields the area of quadrilaterals that can be inscribed in a circle.
Contents |
[edit] Basic form
In its basic and easiest-to-remember form, Brahmagupta's formula gives the area of a cyclic quadrilateral whose sides have lengths a, b, c, d as
- <math>\sqrt{(s-a)(s-b)(s-c)(s-d)}</math>
where s, the semiperimeter, is determined by
- <math>s=\frac{a+b+c+d}{2}.</math>
[edit] Proof of Brahmagupta's formula
Area of the cyclic quadrilateral = Area of <math>\triangle ADB</math> + Area of <math>\triangle BDC</math>
- <math>= \frac{1}{2}pq\sin A + \frac{1}{2}rs\sin C.</math>
But since <math>ABCD</math> is a cyclic quadrilateral, <math>\angle DAB = 180^\circ - \angle DCB.</math> Hence <math>\sin A = \sin C.</math> Therefore
- <math>\mbox{Area} = \frac{1}{2}pq\sin A + \frac{1}{2}rs\sin A</math>
- <math>(\mbox{Area})^2 = \frac{1}{4}\sin^2 A (pq + rs)^2</math>
- <math>4(\mbox{Area})^2 = (1 - \cos^2 A)(pq + rs)^2 \,</math>
- <math>4(\mbox{Area})^2 = (pq + rs)^2 - cos^2 A (pq + rs)^2. \,</math>
Applying law of cosines for <math>\triangle ADB</math> and <math>\triangle BDC</math> and equating the expressions for side <math>DB,</math> we have
- <math>p^2 + q^2 - 2pq\cos A = r^2 + s^2 - 2rs\cos C. \,</math>
Substituting <math>\cos C = -\cos A</math> (since angles <math>A</math> and <math>C</math> are supplementary) and rearranging, we have
- <math>2\cos A (pq + rs) = p^2 + q^2 - r^2 - s^2. \,</math>
Substituting this in the equation for area,
- <math>4(\mbox{Area})^2 = (pq + rs)^2 - \frac{1}{4}(p^2 + q^2 - r^2 - s^2)^2</math>
- <math>16(\mbox{Area})^2 = 4(pq + rs)^2 - (p^2 + q^2 - r^2 - s^2)^2, \,</math>
which is of the form <math>a^2-b^2</math> and hence can be written in the form <math>(a+b)(a-b)</math> as
- <math>(2(pq + rs) + p^2 + q^2 -r^2 - s^2)(2(pq + rs) - p^2 - q^2 + r^2 +s^2) \,</math>
- <math>= ( (p+q)^2 - (r-s)^2 )( (r+s)^2 - (p-q)^2 ) \,</math>
- <math>= (p+q+r-s)(p+q+s-r)(p+r+s-q)(q+r+s-p). \,</math>
Introducing <math>T = \frac{p+q+r+s}{2},</math>
- <math>16(\mbox{Area})^2 = 16(T-p)(T-q)(T-r)(T-s). \,</math>
Taking square root, we get
- <math>\mbox{Area} = \sqrt{(T-p)(T-q)(T-r)(T-s)}.</math>
[edit] Extension to non-cyclic quadrilaterals
In the case of non-cyclic quadrilaterals, Brahmagupta's formula can be extended by considering the measures of two opposite angles of the quadrilateral:
- <math>\sqrt{(s-a)(s-b)(s-c)(s-d)-abcd\cos^2\theta}</math>
where θ is half the sum of two opposite angles. (The pair is irrelevant: if the other two angles are taken, half their sum is the supplement of θ. Since cos(180° − θ) = −cosθ, we have cos2(180° − θ) = cos2θ.)
This more general formula is sometimes known as Bretschneider's formula, but according to MathWorld is apparently due to Coolidge in this form, Bretschneider's expression having been
- <math>\sqrt{(s-a)(s-b)(s-c)(s-d)-\textstyle{1\over4}(ac+bd+pq)(ac+bd-pq)}\,</math>
where p and q are the lengths of the diagonals of the quadrilateral.
It is a property of cyclic quadrilaterals (and ultimately of inscribed angles) that opposite angles of a quadrilateral sum to 180°. Consequently, in the case of an inscribed quadrilateral, θ = 90°, whence the term
- <math>abcd\cos^2\theta=abcd\cos^2 90=abcd\cdot0=0, \,</math>
giving the basic form of Brahmagupta's formula.
[edit] Related theorems
Heron's formula for the area of a triangle is the special case obtained by taking d = 0.
The relationship between the general and extended form of Brahmagupta's formula is similar to how the law of cosines extends the Pythagorean theorem.
[edit] External link
This article incorporates material from proof of Brahmagupta's formula on PlanetMath, which is licensed under the GFDL.ar:معادلة براهماغوبتا fr:Formule Brahmagupta ko:브라마굽타의 공식 it:Formula di Brahmagupta ja:ブラーマグプタの公式 fi:Brahmaguptan kaava zh:婆羅摩笈多公式

