An Analytically Derived Gauss–Legendre Quadrature for Axis-Aligned Ellipse–Ellipse Intersection
Mohamad Shatnawi () and
Péter Földesi
Additional contact information
Mohamad Shatnawi: Doctoral School of Multidisciplinary Engineering Sciences, Széchenyi István University, 9026 Győr, Hungary
Péter Földesi: Department of Logistics and Forwarding, Széchenyi István University, 9026 Győr, Hungary
Mathematics, 2025, vol. 13, issue 23, 1-21
Abstract:
Accurate and efficient evaluation of the intersection area between two axis-aligned ellipses is essential in applications where the coordinate system or underlying geometry naturally imposes alignment. However, most existing numerical integration techniques are designed for arbitrarily oriented ellipses, and their generality typically requires adaptive refinement or solving higher-degree algebraic intersection formulations, leading to greater computational cost than necessary in the axis-aligned case. This study introduces two analytically derived, fixed-cost Gauss–Legendre quadrature formulations for computing the intersection area in the axis-aligned configuration. The first is a sine-mapped Gauss–Legendre quadrature, which applies a trigonometric transformation to improve conditioning near endpoint singularities while retaining constant-time evaluation. The second is an enhanced two-panel affine-normalized formulation, which splits the intersection domain into two sub-intervals to increase local accuracy while maintaining a fixed computational cost. Both methods are benchmarked against adaptive Simpson integration, polygonal discretization, and Monte Carlo sampling over 10,000 randomly generated ellipse pairs. The two-panel formulation achieves a mean relative error of 0.003% with runtimes more than twenty times faster than the adaptive reference and remains consistently more efficient than the polygonal and Monte Carlo approaches while exhibiting comparable or superior numerical behavior across all tested regimes.
Keywords: axis-aligned ellipses; ellipse–ellipse intersection; Gauss–Legendre quadrature; sine-mapped quadrature; affine-normalization; two-panel quadrature (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7390/13/23/3814/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/23/3814/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:23:p:3814-:d:1804958
Access Statistics for this article
Mathematics is currently edited by Ms. Emma He
More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().