How this calculation works
A multigraded Betti table records how many minimal generators and higher syzygies occur in each exponent-vector degree. The Hilbert series summarizes dimensions of graded quotient pieces, but alternating sums can hide how those dimensions arise. Betti data retain the separate homological degrees. This page computes the Betti numbers of S/I for a monomial ideal, so the degree-zero free copy of the polynomial ring is part of the result and should not be confused with a resolution of I itself.
β_(k,a)(S/I)=dim_Fp H_k(K(S/I)_a).A worked example
For I=(x²,xy,y²), the quotient has one degree-zero generator, three first syzygy-module generators in total degree two and two second-stage generators in total degree three. The total Betti numbers of S/I are therefore (1,3,2). The degree-two multidegrees are (2,0), (1,1) and (0,2); the degree-three multidegrees are (2,1) and (1,2). The alternating total 1−3+2 is zero, consistent with a torsion quotient over the polynomial ring.
Good to know
At most 4 variables, 8 minimal monomial generators and bounded exponent/lcm lattice; specified prime-field coefficients; exact Koszul or lcm-complex ranks, Euler/Hilbert consistency; no full resolution maps claimed.
Reference: Method and convention reference (opens in a new tab) ↗
What this calculation determines
A multigraded Betti table records how many minimal generators and higher syzygies occur in each exponent-vector degree. The Hilbert series summarizes dimensions of graded quotient pieces, but alternating sums can hide how those dimensions arise.
Betti data retain the separate homological degrees. This page computes the Betti numbers of S/I for a monomial ideal, so the degree-zero free copy of the polynomial ring is part of the result and should not be confused with a resolution of I itself.
Compare this with the Hilbert series calculator for a monomial ideal. Compute multigraded Tor dimensions and graded Betti numbers; a Hilbert series only gives alternating combinations of Betti numbers.
Enter the data in the stated convention
Enter one monomial exponent vector per row. A row (2,1,0) means x squared times y, not the numeric point (2,1,0). All rows use the same number of variables.
Divisible and duplicate generators are removed deterministically because they do not change the ideal. The constant monomial is excluded in this initial scope. A prime modulus chooses the coefficient field, which matters because homology and therefore Betti numbers can change with characteristic even when the exponent vectors stay fixed.
How the mathematics works
The algorithm examines multigraded strands of the Koszul complex of S/I. For a subset F of variables, the strand basis contains x raised to a minus its subset indicator when that exponent is nonnegative and the monomial survives in the quotient.
The differential removes one subset element with the alternating exterior sign. Exact modular row reduction supplies differential ranks. Subtracting incoming and outgoing ranks from the chain-space dimension gives the corresponding homology dimension and hence the multigraded Tor dimension.
Work through the default example
For I=(x²,xy,y²), the quotient has one degree-zero generator, three first syzygy-module generators in total degree two and two second-stage generators in total degree three. The total Betti numbers of S/I are therefore (1,3,2).
The degree-two multidegrees are (2,0), (1,1) and (0,2); the degree-three multidegrees are (2,1) and (1,2). The alternating total 1−3+2 is zero, consistent with a torsion quotient over the polynomial ring.
Read the returned certificate
Read a multigraded row using both its homological degree and its exponent vector. Two rows with the same total degree can lie in different multidegrees and represent different relations.
The total column adds all multidegrees within one homological degree. The projective dimension is the largest degree with a nonzero total; it is not the largest polynomial exponent appearing in an input monomial. The displayed minimal generators help detect accidental redundancy before interpreting a supposedly large Betti table.
Assumptions and supported limits
Only a finite exponent box up to the componentwise maximum generator exponents is needed for monomial Betti degrees; minimal multidegrees lie among least-common-multiple degrees. The implementation uses that larger box for a straightforward Koszul computation, so variable count and exponents are bounded.
It does not output matrices of a minimal free resolution. Betti numbers describe the sizes and degrees of free summands, but they do not provide the actual polynomial maps connecting those summands.
Use the result with related calculations
Use this table to compare syzygy complexity across ideals with similar Hilbert functions, or to check a proposed monomial resolution. Remember that the quotient convention adds beta at homological degree zero.
Changing the coefficient prime is a mathematical change, not a numerical accuracy setting. If a characteristic-dependent example gives different higher Betti numbers, that can be genuine torsion behavior in the associated combinatorics. Larger ideals should be checked in a dedicated exact computer-algebra system with explicit resolution algorithms. A useful separate check is to compare the alternating multigraded Betti numerator with the inclusion-exclusion numerator of the ideal's monomial generators. Both describe the same quotient Hilbert series. Equality of those numerators does not determine a Betti table uniquely, but disagreement proves that some degree or sign is wrong. For the default ideal the numerator is 1−3t²+2t³ after forgetting the individual variable degrees, while retaining multidegrees distinguishes all five nontrivial entries.
A few questions, answered
Is this the Betti table of I or S/I?
The output uses S/I and includes its degree-zero free generator, so beta(0,0) equals one.
Why choose a prime coefficient field?
Homology ranks are computed exactly modulo that prime, and Betti numbers can genuinely depend on characteristic.
Are redundant monomials allowed?
Yes. Duplicate or divisible generators are removed because they generate the same monomial ideal.
Does the output include resolution matrices?
No. It reports multigraded dimensions and totals, rather than the actual polynomial differential maps.