How this calculation works
Two ellipses can intersect at up to four isolated points, touch with higher multiplicity, remain disjoint or coincide. A drawing sampled along their curves can miss tangencies and closely spaced crossings. This page supports axis-aligned rational ellipses and uses a rational parameterization of the first curve. Substituting into the second equation gives a polynomial whose real roots are counted and isolated exactly. Repeated polynomial gcd layers give intersection multiplicities, while the parameter point omitted at infinity is checked separately. Coordinates are reported numerically with substitution residuals.
Parameterize ellipse A by x=h+a(1−t²)/(1+t²), y=k+2bt/(1+t²); substitution into B gives a rational quartic.A worked example
Take x²/4+y²=1 and x²+y²/4=1. Subtracting their equations gives x²=y². Substitution then gives x²=y²=4/5, so the four intersections are (±2/sqrt(5),±2/sqrt(5)), with both sign choices independent. Every point is a simple crossing. Two unit circles centered at (0,0) and (−2,0) instead touch only at (−1,0), with multiplicity two. That point is the first ellipse’s omitted left endpoint in the chosen rational chart, so the separate infinity-parameter check is essential.
Good to know
Two axis-aligned rational ellipses with positive semiaxes; circles are included. Rotated ellipses and arbitrary implicit conics are unsupported. Exact fraction growth, quartic real-root isolation and conditioning limits raise errors. Finite coordinates are numerical approximations with second-equation residual at most 10^−7; exact root counts and multiplicities belong to the rational parameter polynomial. Coincident curves have infinitely many points, not an isolated list. No area of overlap or pixel-curve approximation is supplied.
Reference: SymPy — exact real polynomial root isolation (opens in a new tab) ↗
A complete parameter chart needs its omitted endpoint
The rational ellipse parameterization covers every finite point except (h−a,k), approached as the parameter tends to infinity. A finite polynomial root search alone cannot recover that point. This solver substitutes it directly into the second ellipse and uses the homogeneous quartic degree loss to determine its multiplicity when present. The geometric point itself is finite; only its chosen parameter coordinate is infinite.
For the finite parameter roots, exact Sturm isolation gives disjoint rational intervals with certified real-root counts. Square-free reduction finds distinct roots, and repeated gcd layers recover algebraic multiplicity. Numerical midpoint approximations then produce Cartesian coordinates. The page checks the second ellipse equation before returning a point; it does not infer completeness merely because the displayed approximations look plausible on a plot.
Multiplicity distinguishes contact from a simple crossing
A simple parameter root gives a transverse crossing. A double root describes ordinary tangency, while higher multiplicity can describe osculating crossing or fourth-order contact. Returning only distinct coordinates would lose this information, and counting multiplicity as repeated table rows would confuse the number of geometric points. The output therefore gives one row per point with a separate multiplicity and classification.
Identical center and semiaxes define the same supported ellipse, so an isolated root list does not apply. Disjoint curves have no real parameter roots and no matching omitted endpoint. The Conic section identifier and implicit grapher classifies or samples a single conic; it does not certify all intersections of two curves. This page’s explicit axis-aligned scope supports a finite exact algebraic reduction without claiming a general rotated-conic intersection engine.
A few questions, answered
Why can a tangency be missed by plotting?
A sampled plot can pass near the contact without landing on it. The repeated-root calculation identifies contact algebraically instead of relying on sampled sign changes.
Does parameter infinity mean the intersection lies infinitely far away?
No. It is the omitted finite left endpoint of the first ellipse’s chosen rational chart. The calculator checks that Cartesian point separately.