How this calculation works
This calculator isolates distinct real solutions of a bounded family of two-variable polynomial systems. It computes an exact reduced Gröbner basis and supports systems that become a univariate elimination equation plus a single-valued polynomial coordinate relation in either variable order. Exact root-counting intervals and rational interval substitution then give boxes containing one solution each. Unsupported systems are rejected without being called empty.
Certified shape basis {f(t), s−g(t)}; isolate each real root of f by Sturm counts, then enclose s=g(t) by exact interval arithmetic.A worked example
The equations x²+y²−1=0 and y−x=0 reduce to y=x and x²−1/2=0. There are two real solutions, one with both coordinates near −0.707106781187 and one near +0.707106781187. Rational intervals isolate the two x roots, and the relation y=x transfers each interval to its y coordinate. Decimal midpoints are explanatory approximations; the rational endpoints are the certificate.
Good to know
Two to four rational polynomial equations in x,y, total input degree at most four. A supported reduced basis must have a univariate polynomial of degree at most eight and a polynomial relation for the other coordinate. Both coordinate orders are attempted. Positive-dimensional and non-shape systems are unsupported, even if they have finitely many real solutions. Counts are distinct solutions, not multiplicities; exact arithmetic and subdivision limits apply.
Reference: SymPy — Gröbner bases and real root isolation (opens in a new tab) ↗
A root count needs more than a small numeric residual
A floating-point pair can have a small residual without proving that a nearby exact solution exists or is unique. Here the Gröbner certificate establishes an equivalent triangular ideal, and a Sturm count establishes exactly one distinct real parameter root in each reported interval. The dependent coordinate is then uniquely fixed by its polynomial relation.
Interval evaluation uses exact rational endpoints and encloses every possible value of the dependent polynomial over that parameter interval. The resulting y interval can be wider than the tightest possible bound because interval arithmetic does not assume correlations between repeated variable appearances. Its role is a guaranteed enclosure, not an independently optimized box.
The Groebner basis calculator for polynomial ideals returns an ideal basis, while this page uses a supported triangular shape and exact root counts to certify real solution boxes.
Failure to enter the shape family is not a no-solution proof
A grid system x²−1=0,y²−1=0 has four real points, but neither coordinate is a single-valued polynomial function of the other on all four. This bounded solver rejects that unsupported shape rather than returning an incomplete pair of solutions or zero. A different separating coordinate or a more general triangular decomposition would be needed.
A unit ideal is different: if the exact reduced basis contains one, the original polynomial equations are inconsistent even over the complex numbers. That case is supported as a certified empty set. Positive-dimensional systems such as a single curve duplicated as two equations do not have a finite isolated-point list under the stated contract and are not forced into one.
Elimination and substitution supply independent certificate checks
The basis implementation checks ideal containment and the Buchberger criterion exactly. The isolation layer additionally substitutes the dependent-coordinate polynomial into every original equation and checks that its remainder modulo the elimination polynomial is zero. This links the root boxes back to the actual entered equations.
Repeated roots of the elimination polynomial are squarefree-reduced for distinct-root counting. A double algebraic root therefore does not create two separate boxes. Small examples are compared with independent symbolic solutions, while non-shape examples, inconsistent systems and degenerate curves check that the rejection categories remain separate.
A few questions, answered
Does zero boxes always mean unsupported?
No. An accepted unit-ideal certificate or a supported elimination polynomial with no real roots can give a genuine zero count. Unsupported shapes raise an error instead.
Are the decimal midpoints exact solutions?
No. The proof uses rational isolating intervals and the triangular polynomial relation. Midpoint decimals are approximations for reading the result.