Advanced maths

Mixed volume root bound calculator from two Newton polygons

Construct two Newton polygons and their Minkowski sum, then compute the exact planar mixed-volume bound for generic isolated roots in the complex algebraic torus.

Your numbers

Integer exponent pairs, one pair per row; negative exponents are allowed for Laurent polynomials.
At most forty pairs per support, coordinates within ±10000.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Construct two Newton polygons and their Minkowski sum, then compute the exact planar mixed-volume bound for generic isolated roots in the complex algebraic torus.

THE FORMULAMV(P,Q) = area(P+Q) - area(P) - area(Q)

A worked example

Triangles with intercepts two and three have areas2 and4.5. Their sum has area12.5, giving a BKK generic torus-root bound of6.

Good to know

Two planar integer supports,≤40 points each,coordinates±10000. Convex hull and shoelace arithmetic exact within integer range. Counts isolated complex roots with both coordinates nonzero,not affine or real roots;special coefficients may lower the count.

Start with exponents rather than coefficients

The support of a bivariate polynomial is the set of exponent pairs belonging to its nonzero terms. For example, a constant contributes (0,0), x squared contributes (2,0), and y squared contributes (0,2). List each polynomial's support separately; numerical coefficients are not required for this geometric bound.

Repeated support points have no effect and are removed before constructing the hull. Interior points also leave the Newton polygon unchanged, although their coefficients can matter when studying a particular specialized system. Negative exponents are permitted because Laurent polynomials naturally define equations on the algebraic torus.

Mixed area gives six generic torus rootsPQP + Qarea 2area 4.5area 12.5+=
Scroll across to see the full diagram.
P is a degree-two triangle, Q a degree-three triangle, and their Minkowski sum a degree-five triangle. The mixed area is 12.5−2−4.5=6.

Compare this with the Minkowski sum calculator for two convex polygons. Build Newton polygons from bivariate supports and compute the BKK generic torus-root bound,not just a polygon sum.

Take convex hulls in the exponent plane

The Newton polygon is the convex hull of the support. Its axes describe exponents, not values of the unknowns x and y. A triangle in this plane therefore represents a family of polynomial terms rather than a triangular region in which solutions are expected to lie.

The calculator orders points and constructs both hull chains using exact signed cross products. Collinear intermediate points are dropped, leaving extreme vertices. A support can degenerate to a segment or a point; these cases are retained because mixed area can still be meaningful when at least one polygon has zero area.

Form the Minkowski sum geometrically

The Minkowski sum P plus Q consists of all vector sums p plus q with p in P and q in Q. It is obtained here by summing every pair of extreme vertices and taking the convex hull again. Ordinary union, concatenation of vertices and coordinatewise maximum are different operations.

For triangles with axis intercepts two and three, the sum is the triangle with intercept five. General polygon sums need not look similar to either input. The returned sum vertices make it possible to inspect the actual geometry rather than infer its area from a presumed common shape.

Use the planar BKK normalization

In two dimensions the root-count normalization is area of P plus Q, minus area of P, minus area of Q, using ordinary Euclidean area measured in lattice-square units. This is twice the mixed area under conventions that define mixed area as the coefficient of two times the product parameter.

The explicit formula avoids a common extra-factor-of-two mistake. A unit simplex paired with itself has area one half, while its doubled sum has area two; the bound is one. The calculator computes doubled polygon areas as integers and confirms that the final root bound is an integer.

Verify the degree-two and degree-three example

The first default triangle has vertices (0,0), (2,0) and (0,2), so its area is two. The second has intercepts three and area nine halves. Their Minkowski sum has intercepts five and area twenty-five halves. Subtracting gives six as the generic torus-root count.

This agrees with the familiar degree product for two dense generic plane equations of degrees two and three when their relevant intersections lie in the torus. The agreement is a useful normalization check, although sparse supports can give a substantially smaller bound than total-degree multiplication alone suggests.

Separate a generic count from a solved system

Bernstein's theorem gives equality for generic coefficients with the stated supports. Specialized coefficients can cause cancellations, common components or intersections at toric boundary directions, reducing the isolated torus-root count. The geometry alone cannot certify that an arbitrary entered coefficient specialization attains the generic bound.

The torus excludes solutions with x or y equal to zero, and the count is complex rather than real. Multiplicity is included for isolated solutions under the usual theorem. A system with infinitely many solutions has a different dimensional feature; the output does not count an entire common curve as finitely many roots.

Interpret translations and degenerate supports

Translating a support by an integer vector multiplies its polynomial by a Laurent monomial, which is invertible on the torus. This leaves the zero set there unchanged, and mixed area is translation invariant. Large coordinate offsets therefore should not be mistaken for increased algebraic complexity or more roots.

Two parallel segments give zero mixed area, whereas transverse segments can give a positive value despite both input areas being zero. Point supports yield zero because a nonzero monomial never vanishes on the torus. The returned hulls and separate areas make these degenerate cases visible alongside the final bound.

A few questions, answered

Does six mean six real solutions?

No. The bound concerns isolated complex solutions with both coordinates nonzero, counted with multiplicity.

Why is there no coefficient field?

The BKK generic bound depends on Newton polygons; special coefficients can reduce the attained count.

Can both polygons have zero area?

Yes. Nonparallel segments may still have positive mixed area.

Can exponent coordinates be negative?

Yes. Laurent monomials are allowed on the torus, and translating a support does not change the bound.

Find your calculator

Start typing to explore the library.