Fact-checked by Grok 2 weeks ago

Bretschneider's formula

Bretschneider's formula is a mathematical expression for calculating the area of a general quadrilateral—whether convex, concave, or crossed—using its four side lengths and the sum of two opposite angles. For a quadrilateral with side lengths a, b, c, d, semiperimeter s = (a + b + c + d)/2, and opposite angles \alpha and \beta, the area K is given by
K = \sqrt{(s - a)(s - b)(s - c)(s - d) - abcd \cos^2 \left( \frac{\alpha + \beta}{2} \right)}. This formula generalizes Brahmagupta's formula for cyclic quadrilaterals, where \alpha + \beta = \pi radians and the cosine term becomes zero, reducing to K = \sqrt{(s - a)(s - b)(s - c)(s - d)}.
Independently derived in 1842 by German mathematicians Carl Anton Bretschneider and Friedrich Strehlke, both publishing in Archiv der Mathematik und Physik, the formula provides a unified approach to areas without requiring division into triangles or knowledge of diagonals. , a known for contributions to including a generalization of , published his proof in the journal, while Strehlke offered a similar derivation in the same year. Their work built on earlier efforts like for triangles, extending it to four-sided polygons. Alternative forms of the formula exist, such as one using the lengths of the diagonals p and q:
K = \frac{1}{4} \sqrt{4p^2 q^2 - (b^2 + d^2 - a^2 - c^2)^2},
which can be derived via vector geometry by representing the sides as vectors summing to zero and using cross products for area. These variants highlight the formula's versatility in applications ranging from classical geometry to modern computational methods, though it is less commonly used today than specialized formulas for specific quadrilaterals like trapezoids or kites. Despite its historical significance, early proofs were noted as cumbersome, prompting later refinements, such as those by Julian Lowell Coolidge in 1939.

Background and History

Discovery and Attribution

Bretschneider's formula is named after the German mathematician , who discovered it in 1842. He presented the formula in his paper "Untersuchung der trigonometrischen Relationen des geradlinigen Viereckes", published in Archiv der Mathematik und Physik, volume 2, pp. 225-261. Independently, the German mathematician derived an equivalent result in 1842 in his paper "Zwei neue Sätze vom ebenen und sphärischen Viereck und Umkehrung des Ptolemaischen Lehrsatzes", also published in Archiv der Mathematik und Physik, volume 2, pp. 323-326. This simultaneous discovery highlights the 19th-century interest in generalizing area formulas for polygons beyond cyclic cases. In his publication, Bretschneider focused on calculating the area of a given its four side lengths and the sum of two opposite angles, providing a trigonometric expression that extends for cyclic quadrilaterals. Strehlke's derivation, while equivalent, also involved trigonometric relations for plane and spherical quadrilaterals.

19th-Century Geometric Context

The development of area formulas for quadrilaterals traces back to ancient precursors that laid the groundwork for later generalizations. In the 7th century CE, the Indian mathematician and astronomer devised a method for computing the area of cyclic quadrilaterals, extending principles from earlier geometric traditions. This built upon for the area of triangles, attributed to the Greek mathematician Heron of Alexandria in the 1st century CE, which expressed area in terms of side lengths without angles. The 19th century witnessed a surge in geometric research, driven by advancements in trigonometry and the resurgence of synthetic methods. Trigonometric techniques, refined through contributions from Leonhard Euler in the 18th century and further developed by figures like Carl Friedrich Gauss, enabled precise calculations involving angles and sides in polygons. Concurrently, synthetic geometry emphasized axiomatic proofs and invariant properties, moving beyond analytic coordinates to explore plane figures more intuitively. Key influencers included Gauss, whose work on the theory of complete quadrilaterals enriched understanding of quadrilateral configurations. , a pioneer of , extended insights into quadrilaterals through porisms and conic inscriptions, promoting holistic views of polygonal properties invariant under projection. These efforts highlighted quadrilaterals as fundamental objects in emerging geometric frameworks. Building on Heron's triangle-centric approach, 19th-century mathematicians sought analogous expressions for quadrilaterals, often triangulating them or incorporating opposite angles via trigonometric identities to handle non-cyclic cases. This progression reflected a broader quest to unify area computations across polygons, bridging ancient algebraic methods with modern synthetic and trigonometric tools.

Mathematical Formulation

Statement of the Formula

Bretschneider's formula provides the area K of a general with side lengths a, b, c, d and opposite \alpha and \gamma as K = \sqrt{(s - a)(s - b)(s - c)(s - d) - abcd \cos^2 \left( \frac{\alpha + \gamma}{2} \right)}, where s = \frac{a + b + c + d}{2} denotes the semiperimeter. An equivalent form expresses the area using the other pair of opposite \beta and \delta: K = \sqrt{(s - a)(s - b)(s - c)(s - d) - abcd \cos^2 \left( \frac{\beta + \delta}{2} \right)}. This formula applies to convex quadrilaterals as well as concave and crossed quadrilaterals when angles are interpreted as directed angles, ensuring the expression yields the correct (possibly signed) area.

Notation and Prerequisites

Bretschneider's formula applies to a general planar quadrilateral with sides of lengths a, b, c, and d labeled in sequential (cyclic) order around the perimeter, starting from any vertex and proceeding consistently either clockwise or counterclockwise. The angles \alpha and \gamma denote a pair of opposite interior angles, where \alpha is the angle at the vertex between sides d and a, and \gamma is the angle at the vertex between sides b and c. The semiperimeter s is given by s = \frac{a + b + c + d}{2}. The formula applies to quadrilaterals in the standard case, and extends to and crossed (self-intersecting) configurations using directed angles to account for and sign conventions in area calculations. Directed angles treat angles as signed quantities, positive or negative based on the turning direction, which is essential for handling non- or crossed configurations without altering the underlying trigonometric structure. Understanding the formula requires prerequisite knowledge of basic , including the , which relates side lengths and s in triangles formed by diagonals; and fundamental properties of , such as the sum of interior s equaling $360^\circ in . To visualize the notation, consider a ABCD with vertices labeled in : side AB = a, BC = b, CD = c, DA = d; \alpha at vertex A (between sides d and a); and \gamma at vertex C (between sides b and c).

Derivations and Proofs

Trigonometric Proof

To prove Bretschneider's formula trigonometrically, consider a convex quadrilateral ABCD with sequential side lengths d = AB, a = BC, b = CD, c = DA, and opposite angles \alpha = \angle DAB and \gamma = \angle BCD. Draw the diagonal BD = p, dividing the quadrilateral into triangles ABD and BCD. In triangle ABD, the sides are d, c, and p, with included angle \alpha between sides d and c. The law of cosines gives p^2 = d^2 + c^2 - 2dc \cos \alpha. In triangle BCD, the sides are a, b, and p, with included angle \gamma between sides a and b. The law of cosines gives p^2 = a^2 + b^2 - 2ab \cos \gamma. Equating the expressions for p^2 yields d^2 + c^2 - 2dc \cos \alpha = a^2 + b^2 - 2ab \cos \gamma, which rearranges to $2dc \cos \alpha - 2ab \cos \gamma = d^2 + c^2 - a^2 - b^2. This relation connects the cosines of the opposite angles in terms of the side lengths. The area K of the is the sum of the areas of the two triangles: K = \frac{1}{2} dc \sin \alpha + \frac{1}{2} ab \sin \gamma. To eliminate the diagonal p and express K solely in terms of the sides and angles, square the area expression: $4K^2 = (dc \sin \alpha + ab \sin \gamma)^2 = d^2 c^2 \sin^2 \alpha + a^2 b^2 \sin^2 \gamma + 2 dc ab \sin \alpha \sin \gamma. Substitute \sin^2 \theta = 1 - \cos^2 \theta for \theta = \alpha, \gamma: $4K^2 = d^2 c^2 (1 - \cos^2 \alpha) + a^2 b^2 (1 - \cos^2 \gamma) + 2 dc ab \sin \alpha \sin \gamma. Simplifying, $4K^2 = d^2 c^2 + a^2 b^2 - d^2 c^2 \cos^2 \alpha - a^2 b^2 \cos^2 \gamma + 2 dc ab \sin \alpha \sin \gamma. The cross term $2 dc ab \sin \alpha \sin \gamma and the cosine terms require further manipulation using the relation from the . Solve the cosine relation for expressions involving \cos \alpha and \cos \gamma, substitute into the \cos^2 terms, and use the identity \sin \alpha \sin \gamma = \frac{1}{2} [\cos(\alpha - \gamma) - \cos(\alpha + \gamma)]. To align with the formula's form, express the angular contribution using the half-sum angle: \cos^2 \left( \frac{\alpha + \gamma}{2} \right) = \frac{1 + \cos(\alpha + \gamma)}{2}. After algebraic simplification—collecting terms, factoring, and symmetrizing with the semiperimeter s = (a + b + c + d)/2—this yields $4K^2 = 16(s - a)(s - b)(s - c)(s - d) - 16 abcd \cos^2 \left( \frac{\alpha + \gamma}{2} \right), or equivalently, K = \sqrt{(s - a)(s - b)(s - c)(s - d) - abcd \cos^2 \left( \frac{\alpha + \gamma}{2} \right)}. This completes the derivation, confirming Bretschneider's formula. For verification, consider with side length a, so all sides equal a, s = 2a, opposite \alpha = \gamma = 90^\circ. Then (s - a)(s - b)(s - c)(s - d) = a^4 and \cos^2((90^\circ + 90^\circ)/2) = \cos^2 90^\circ = 0, yielding K = \sqrt{a^4 - a^4 \cdot 0} = a^2, matching the known area of the square.

Vector Geometry Derivation

In the vector geometry derivation of Bretschneider's formula, the vertices of the quadrilateral ABCD are represented by position vectors \mathbf{A}, \mathbf{B}, \mathbf{C}, and \mathbf{D} in the Euclidean plane. The area K is obtained by dividing the quadrilateral into two triangles sharing the diagonal AC, yielding the areas of \triangle ABC and \triangle ADC. The area of \triangle ABC is \frac{1}{2} \left| (\mathbf{B} - \mathbf{A}) \times (\mathbf{C} - \mathbf{A}) \right|, and the area of \triangle ADC is \frac{1}{2} \left| (\mathbf{D} - \mathbf{A}) \times (\mathbf{C} - \mathbf{A}) \right|. For a convex quadrilateral with consistent orientation, these combine to give K = \frac{1}{2} \left| \left[ (\mathbf{B} - \mathbf{A}) + (\mathbf{D} - \mathbf{A}) \right] \times (\mathbf{C} - \mathbf{A}) \right| = \frac{1}{2} \left| (\mathbf{B} + \mathbf{D} - 2\mathbf{A}) \times (\mathbf{C} - \mathbf{A}) \right|. This expression is invariant under translation, since adding the same constant to all position vectors preserves the differences and thus the . , translate the so that \mathbf{A} = \mathbf{0}, simplifying to K = \frac{1}{2} \left| (\mathbf{B} + \mathbf{D}) \times \mathbf{C} \right|. The side lengths are then d = |\mathbf{B}| (AB), a = |\mathbf{C} - \mathbf{B}| (BC), b = |\mathbf{D} - \mathbf{C}| (CD), and c = |\mathbf{D}| (DA). To incorporate the opposite angles \alpha at vertex A and \gamma at vertex C, express them using dot products of the relevant side vectors. The angle \alpha at A is between sides AB = \mathbf{B} and AD = \mathbf{D}, so \cos \alpha = \frac{\mathbf{B} \cdot \mathbf{D}}{d c}. The angle \gamma at C is between sides CB = \mathbf{B} - \mathbf{C} and CD = \mathbf{D} - \mathbf{C}, so \cos \gamma = \frac{(\mathbf{B} - \mathbf{C}) \cdot (\mathbf{D} - \mathbf{C})}{a b}. These expressions relate \cos((\alpha + \gamma)/2) to vector angles via the dot products, which capture the orientations without direct trigonometric computation of the angles. To reach Bretschneider's formula, square the area expression: $4K^2 = \left| (\mathbf{B} + \mathbf{D}) \times \mathbf{C} \right|^2 = |\mathbf{B} + \mathbf{D}|^2 |\mathbf{C}|^2 - \left[ (\mathbf{B} + \mathbf{D}) \cdot \mathbf{C} \right]^2. In 2D, the magnitude of the cross product squared is the above. Expand using vector identities: |\mathbf{u} \times \mathbf{v}|^2 = |\mathbf{u}|^2 |\mathbf{v}|^2 - (\mathbf{u} \cdot \mathbf{v})^2. Substitute the side lengths and dot products involving the cosines. Algebraic simplification—expanding squares, collecting terms with dot products like \mathbf{B} \cdot \mathbf{C}, \mathbf{D} \cdot \mathbf{C}, and using the angle expressions—yields the term involving \cos^2((\alpha + \gamma)/2). The semiperimeter s = (a + b + c + d)/2 emerges from symmetrizing the side terms, resulting in K = \sqrt{(s - a)(s - b)(s - c)(s - d) - abcd \cos^2 \left( \frac{\alpha + \gamma}{2} \right)}. This vector-based approach is computationally efficient, particularly in numerical implementations, as it leverages direct operations for and dot products rather than iterative calculations or . For instance, in coordinate software, the position vectors allow straightforward evaluation of K via linear algebra, avoiding the need for explicit diagonal lengths or measurements.

Special Cases and Relations

Cyclic Quadrilaterals and Brahmagupta's Formula

A is a four-sided that can be inscribed in a , with the key property that the sum of each pair of opposite angles is 180°.<grok:render type="render_inline_citation"> 35 </grok:render> In Bretschneider's formula for the area K of a general quadrilateral with sides a, b, c, d and opposite angles \alpha and \gamma, the term involving the cosine of half the sum of these angles vanishes when the quadrilateral is cyclic.<grok:render type="render_inline_citation"> 21 </grok:render> Specifically, since \alpha + \gamma = 180^\circ, it follows that \frac{\alpha + \gamma}{2} = 90^\circ and \cos 90^\circ = 0.<grok:render type="render_inline_citation"> 7 </grok:render> This simplification yields for the area of a : K = \sqrt{(s - a)(s - b)(s - c)(s - d)}, where s = \frac{a + b + c + d}{2} is the semiperimeter.<grok:render type="render_inline_citation"> 21 </grok:render><grok:render type="render_inline_citation"> 7 </grok:render> Thus, Bretschneider's formula serves as a generalization of Brahmagupta's, extending the area calculation to non-cyclic cases by incorporating the angular term. Brahmagupta's formula originated in the 7th century with the Indian mathematician , who presented it in his 628 AD treatise Brahmasphutasiddhanta as a method to compute the area of cyclic quadrilaterals without requiring diagonal measurements.<grok:render type="render_inline_citation"> 9 </grok:render> In contrast, Bretschneider's generalization appeared over a millennium later in 1842, developed by the German mathematician Carl Anton Bretschneider to address arbitrary quadrilaterals.<grok:render type="render_inline_citation"> 21 </grok:render> For example, consider a with side lengths a = 3, b = 4, c = 5, d = 6. The semiperimeter is s = 9, so the area is K = \sqrt{(9 - 3)(9 - 4)(9 - 5)(9 - 6)} = \sqrt{6 \times 5 \times 4 \times 3} = \sqrt{360} = 6\sqrt{10} \approx 18.97. This illustrates the formula's direct application to determine the area solely from side lengths.<grok:render type="render_inline_citation"> 21 </grok:render>

Triangulation and Connection

One approach to computing the area of a quadrilateral involves triangulating it by drawing one diagonal, thereby decomposing the figure into two triangles that share this diagonal. Consider a quadrilateral ABCD with side lengths a = AB, b = BC, c = CD, d = DA, and diagonal p = AC. The two triangles are \triangle ABC with sides a, b, p and semiperimeter s_1 = (a + b + p)/2, and \triangle ADC with sides d, c, p and semiperimeter s_2 = (c + d + p)/2. The area K of the quadrilateral is then the sum of the areas of these triangles, given by Heron's formula: K = \sqrt{s_1(s_1 - a)(s_1 - b)(s_1 - p)} + \sqrt{s_2(s_2 - c)(s_2 - d)(s_2 - p)}. This method relies on knowing or calculating the diagonal length p, which may require additional geometric information or computation. Bretschneider's formula offers a closed-form alternative that eliminates the need for the diagonal, expressing the area directly in terms of the four side lengths and the measures of two opposite angles. This formulation generalizes Heron's formula from a single triangle to the composite structure of a quadrilateral, embedding the triangular area computations within a unified expression that accounts for the quadrilateral's overall configuration. The approach underscores the conceptual linkage between for individual triangles and Bretschneider's extension for the entire as a triangulated figure.

Extensions and Applications

Non-Euclidean Generalizations

Bretschneider's formula has been generalized to , where the negative requires the use of to express the area of a . In a 2012 paper by Semmler, Baigonakova, and Mednykh (published online in 2018), the area S of a hyperbolic with side lengths a, b, c, d, interior angles A, B, C, D, and semiperimeter s = (a + b + c + d)/2 is given by \sin^2 \frac{S}{4} = \frac{\sinh \frac{s-a}{2} \sinh \frac{s-b}{2} \sinh \frac{s-c}{2} \sinh \frac{s-d}{2}}{\cosh \frac{a}{2} \cosh \frac{b}{2} \cosh \frac{c}{2} \cosh \frac{d}{2}} - \left( \tanh \frac{a}{2} \tanh \frac{b}{2} \tanh \frac{c}{2} \tanh \frac{d}{2} \right) \sin^2 \frac{K}{4}, where K = A - B + C - D accounts for the deviation from the Euclidean angle sum. This formulation replaces the Euclidean sine and cosine terms with their hyperbolic counterparts (sinh and cosh), reflecting the geometry's expansion, while the tanh term adjusts for the angle combination analogous to the cosine-squared term in the original formula. A parallel generalization exists for , derived by Baigonakova and Mednykh in 2012, which expresses the area of a using . The formula incorporates of the side lengths and angles, along with terms for the spherical excess (the amount by which the angle sum exceeds $2\pi), to account for positive . As the parameter approaches zero, this spherical analog reduces to the Bretschneider's formula. In 2025, Waddle provided additional spherical analogs in the context of spherical friezes, deriving equations that generalize Bretschneider's formula for K, recovering the case as K = 0. These non- extensions are typically derived within frameworks like the Poincaré disc model for or the standard metric on , adapting derivations through the respective laws. Abrosimov and Mednykh further elaborate on such versions in their 2019 survey, emphasizing their role in constant curvature spaces. As an example, consider a with given sides a, b, c, d and opposite angles \alpha, \gamma; substituting into the formula yields the area S, which is generally smaller than the corresponding area due to the diverging nature of , highlighting the curvature's impact on enclosed regions.

Computational and Practical Uses

In engineering disciplines such as civil and architectural , the formula is applied to determine areas of non-rectangular structures or land parcels, where direct measurement yields side lengths and angles, facilitating precise calculations without subdividing the shape. It appears in standard references for computations, underscoring its utility in geometric problem-solving across practical scenarios. Numerical implementations must account for potential instability when the cosine term approaches zero, as this leads to in the subtracted quantity under the ; in such near-cyclic cases, reformulating using cross products or verifying against sampling enhances reliability for high-precision needs. Software implementations are straightforward, often integrated into tools for . The following in computes the area given sides a, b, c, d and opposite angles \alpha, \gamma:
import math

def bretschneider_area(a, b, c, d, alpha, gamma):
    s = (a + b + c + d) / 2
    cos_term = math.cos((alpha + gamma) / 2) ** 2
    area = math.sqrt((s - a) * (s - b) * (s - c) * (s - d) - a * b * c * d * cos_term)
    return area
Similar routines can be adapted for using built-in functions like sqrt and cos. For instance, consider a distorted derived from GPS coordinates of land boundaries, where side lengths are distances between points (e.g., a=50 m, b=60 m, c=55 m, d=65 m) and opposite angles are \alpha=85^\circ, \gamma=95^\circ; applying the yields an area of approximately 3275 , useful for parcel evaluation in software.

References

  1. [1]
    Bretschneider's Formula -- from Wolfram MathWorld
    Given a general quadrilateral with sides of lengths a, b, c, and d, the area is given by K = 1/4sqrt(4p^2q^2-(b^2+d^2-a^2-c^2)^2) (1) = (2) (Coolidge 1939; ...
  2. [2]
    Area formulas for certain convex quadrilaterals - jstor
    mathematicians von Staudt and Bretschneider in 1842):. 16K2 = 4p2q2 − (a2 − b2 + c2 − d2)2 . Factorising the right-hand side and using gives p = q. 16K2 ...
  3. [3]
    optimization of certain components of quadrilaterals: a simplified ...
    Jun 29, 2018 · The optimization of components of quadrilaterals, such as area and product of diagonals, can be obtained using calculus optimization.
  4. [4]
    Brahmagupta's derivation of the area of a cyclic quadrilateral
    The formula (*) was first brought into the mainstream of mathematics by Colebrooke [1817], whose translation of Chapters XII and XVIII of BSS was widely read by ...
  5. [5]
  6. [6]
    Nineteenth Century Geometry (Stanford Encyclopedia of Philosophy)
    ### Summary of 19th-Century Geometry Advancements
  7. [7]
    Gauss-Bodenmiller Theorem -- from Wolfram MathWorld
    Gauss-Bodenmiller Theorem: The circles on the polygon diagonals of a complete quadrilateral as diameters are coaxal.<|control11|><|separator|>
  8. [8]
    Bretschneider's Quadrilateral Area Formula & Brahmagupta's Formula
    Oct 20, 2024 · The following remarkable general formula for the area of any quadrilateral ABCD (convex, concave, crossed) is attributed to Bretschneider (1842).Missing: attribution | Show results with:attribution
  9. [9]
    Quadrilateral area | Brahmagupta and Bretschneider formulas
    Jan 19, 2025 · Bretschneider's formula, that expresses the area of a general quadrilateral in terms of the lengths of its sides and the sum of two opposite angles.
  10. [10]
    Quadrilateral -- from Wolfram MathWorld
    Coolidge, J. L. "A Historically Interesting Formula for the Area of a Quadrilateral." Amer. Math. Monthly 46, 345-347, 1939. Dostor, G. "Propriétés nouvelle du ...
  11. [11]
    Bretschneider's Formula | Brilliant Math & Science Wiki
    Bretschneider's formula gives the area of a quadrilateral, Δ \Delta Δ, by the following formula: Δ 2 = ( s − a ) ( s − b ) ( s − c ) ( s − d ) − a b c d cos ...Missing: geometry | Show results with:geometry<|control11|><|separator|>
  12. [12]
    Area of Polygons - Formulas - Department of Mathematics at UTSA
    Feb 6, 2022 · The formula is also a special case of Bretschneider's formula for a general quadrilateral). From Bretschneider's formula, it follows that.
  13. [13]
    Area of General Quadrilateral: Bretschneider Formula, Heron's ...
    The area of a general quadrilateral can be determined using Heron's formula or Bretschneider's formula or splitting the quadrilateral into two triangles or by ...
  14. [14]
    (PDF) On Bretschneider's formula for a hyperbolic quadrilateral
    Feb 22, 2018 · In 1842 German mathematician Carl Bretschneider related the area of an arbitrary Euclidean quadrilateral to its side lengths and the sum of two opposite angles.Missing: attribution | Show results with:attribution<|control11|><|separator|>
  15. [15]
    On Bretschneider's formula for a spherical quadrilateral | Request PDF
    Bretschneider's formula relates the area of a convex quadrilateral and lengths of its sides and diagonals. Non-Euclidean analogs of Bretschneider's formula are ...Missing: analogue | Show results with:analogue
  16. [16]
    [PDF] arXiv:1302.4919v2 [math.MG] 27 Feb 2013
    Feb 27, 2013 · This is a natural hyperbolic analog of the cyclic quadrilateral in the Euclidean plane. We find a few versions of the Brahmagupta formula for ...
  17. [17]
    Area and volume in non-Euclidean geometry - EMS Press
    Feb 27, 2019 · We produce also hyperbolic and spherical versions of Bretschneider's formula for the area of a quadrilateral. We give hyperbolic and spherical ...<|separator|>
  18. [18]
    Polygon Coordinates and Areas - The Math Doctors
    Apr 1, 2019 · We started with triangles (Heron's formula), then quadrilaterals (Bretschneider's formula ... This has many uses, especially in computer graphics.
  19. [19]
    Finding the Area of a Field - ThatsMaths
    Oct 13, 2022 · Bretschneider's Formula. The area of a general quadrilateral is given by Bretschneider's formula. \displaystyle A = \sqrt {(s-a)(s-b)(s-c).