How this calculation works
Compute the saturation I:f∞ over the rational numbers by exact auxiliary-variable elimination and display factor-power membership certificates.
I:f∞ = (I + (1-t*f)) intersect Q[x,y,z]A worked example
For I=(xy,y²) and f=x, the saturation is (y). Multiplying the new generator y by x gives xy in the original ideal, providing a certificate with factor power one.
Good to know
Rational coefficients;2–3 variables,≤4 generators,degree≤4;lex elimination,bounded exact Buchberger arithmetic and power certificates through exponent20. Budget exhaustion is an error,not a partial saturation.
Reference: Macaulay2 saturation documentation (opens in a new tab) ↗
Choose the ideal and the polynomial separately
The generator field defines an ideal I in a rational polynomial ring. The separate factor field defines the polynomial f with respect to which saturation is taken. This distinction matters because two different choices of f can remove different components even when the original generators remain unchanged.
Use the declared variables x and y, adding z only when three variables are selected. Fractions are exact rational coefficients. Separate generators by newlines or semicolons, and use explicit multiplication where it improves readability. Polynomial denominators are unsupported; dividing a coefficient by an integer is permitted.
Compare this with the Groebner basis calculator for polynomial ideals. Compute I:f^infinity to remove components lying inside f=0; calculating a Groebner basis alone does not request this operation.
Saturation allows any sufficiently high power
A polynomial g belongs to the saturation when some nonnegative power of f times g belongs to I. The required exponent can depend on g. Taking a single colon ideal I:f does not generally finish the task, since later powers may reveal additional polynomials missing from the first colon.
The union of these colon ideals stabilizes in a polynomial ring, but this calculator does not guess a stabilization exponent. Instead it computes an elimination ideal. A separately checked finite exponent for each returned generator explains how that generator is linked to the original ideal by actual multiplication.
Introduce an inverse through one equation
An auxiliary variable t is introduced with the equation one minus t times f. In the enlarged quotient, this forces f to have an inverse represented by t. A lexicographic order places t before the original variables, so polynomials with no t in the completed basis generate the required elimination ideal.
The auxiliary relation is algebraic rather than a sampled numerical restriction. It handles reducible factors and nonmonomial generators within the stated limits. The calculation retains exact rational arithmetic through S-polynomial reductions, then checks the final basis conditions before accepting the elimination result as complete.
Follow the default example through a certificate
The default ideal is generated by xy and y squared, and the chosen factor is x. After x becomes invertible, the equation xy equals zero forces y to vanish. The saturated ideal is therefore generated by y, and its zero set is the entire line with second coordinate zero.
This change does not discard the origin as a point of that line. Saturation takes the algebraic closure of the part visible where x is nonzero. What disappears here is extra ideal-theoretic structure supported at the origin. The displayed certificate x times y equals xy records this distinction without relying on a drawing.
Interpret the power membership output
For every generator g of the computed saturation, the result gives an exponent k and quotient polynomials expressing f to the k times g as a combination of the original basis generators. A zero exponent means that g already belonged to I before localization or saturation changed anything.
The returned quotient order corresponds to the exact original ideal basis used in the reduction, and the implementation verifies a zero remainder. These certificates establish that the new ideal stays inside I:f infinity. The elimination construction supplies the converse inclusion, completing the mathematical equality rather than only producing plausible candidates.
Check special cases before interpreting geometry
If f is a nonzero constant, saturation leaves I unchanged because every power of f is already invertible in the coefficient field. If a power of f belongs to I, saturation becomes the whole ring, represented by the generator one. These outcomes are valid algebraic answers, not optimization failures.
The zero polynomial is rejected as a factor because localization at zero would collapse the intended interpretation. An empty variety can also arise without a visible real intersection: these ideals are over the rational field, with algebraic geometry interpreted over an algebraic closure when discussing points and components.
Recognize a completed bounded calculation
At most four low-degree generators are accepted so that adjoining the inverse relation stays within the exact polynomial engine's supported presentation. Intermediate term counts, polynomial degrees, basis size and arithmetic operations all have hard limits. A difficult expression can exceed them despite looking small at input.
If either elimination or certificate verification exceeds a limit, the calculator returns an error instead of presenting an unfinished basis as a saturation. Simplifying a redundant presentation or choosing a smaller example may help. General primary decomposition, numerical root finding and a decomposition into retained components are separate operations.
A few questions, answered
Is I:f the same as saturation?
Not always. Saturation allows any nonnegative power of f, while one colon uses only one copy.
Does saturation simply delete points?
It removes components supported inside f=0 and takes the closure of the remaining part, so some points on f=0 can remain.
What does a result of 1 mean?
The saturation is the whole ring; no component remains after inverting f.
Can a complexity error be used as a partial answer?
No. A completed eliminated basis and verified certificates are required.