Geometry

Five where four were promised

In one unknown, a polynomial with three terms has at most two positive roots, whatever its degree. The natural guess for two equations in two unknowns, each with three terms, was two times two: four. It is wrong. Bertrand Haas found two such equations in 2002 whose curves cross five times in the positive quadrant, all five crowded within a tenth of one corner, and five turned out to be the most there can ever be.

Worth reading first: What the signs allow · A shared root, found without finding it.

What the signs allow proved Descartes’ rule by removing one term at a time, and its sharpest consequence is that the number of positive roots of a polynomial in one unknown is bounded by the number of its terms, not its degree. A polynomial with three terms — a trinomial — has at most two positive roots, whether its degree is three or three thousand.

The question for systems is the obvious one. Take two polynomial equations in two unknowns xx and yy, and ask how many solutions they can have with both xx and yy positive. The classical answer, Bézout’s theorem, counts by degree: two curves of degrees d1d_1 and d2d_2 meet in at most d1d2d_1 d_2 points. For sparse equations that is hopeless, since a trinomial of degree 108 would be allowed thousands of solutions. What was wanted was a count by terms, as Descartes gave in one variable.

Anatoli Kushnirenko proposed one in the 1970s. For nn equations in nn unknowns, with the ii-th equation having mim_i terms, the number of isolated solutions with every coordinate positive should be at most (m1−1)(m2−1)⋯(mn−1)(m_1 - 1)(m_2 - 1)\cdots(m_n - 1) — Descartes’ bound in each equation, multiplied. For two trinomials, that is four. It is not true, and the smallest case already fails: two trinomials can have five positive solutions.

Counting by degree, and why it overcounts

Bézout’s theorem is the right count for the problem it answers. Two plane curves of degrees d1d_1 and d2d_2 with no common component meet in exactly d1d2d_1 d_2 points, if the points are counted with multiplicity, in the complex numbers, and including points at infinity — the two-variable version of the fact that a polynomial of degree nn has exactly nn complex roots. For Haas’s two curves of degree 108 that is 11,664 intersection points.

Almost none of them are real, and of the real ones almost none are positive. The situation is the one what the coefficients already know found in one variable: the complex count is fixed by the degree and says nothing about the real one. In one variable Descartes’ rule bridges the gap for positive roots by reading terms instead of degree. Kushnirenko’s proposal was that the same bridge could be built for systems simply by multiplying, and the multiplication would have been natural if the equations were independent of each other in the way that a product suggests. They are not, and the five crossings are what the interaction adds.

The complex count by terms does exist. The BKK theorem — after David Bernstein, Kushnirenko himself and Khovanskii — counts solutions with every coordinate non-zero in the complex numbers by the mixed volume of the shapes the exponents make, and for sparse systems it is far smaller than Bézout’s number. But it counts complex solutions, and the real and positive ones are a subset it cannot locate.

Two curves that cross five times

Two curves with five crossings: x⁶ + (44/31)y³ − y and its mirror. Two curves in the positive quadrant, each the zero set of a trinomial, crossing at five marked points.
Fig. 1 The curves x6+4431y3−y=0x^6 + \tfrac{44}{31}y^3 - y = 0 (orange) and its mirror image with xx and yy exchanged (blue), in the positive quadrant. They cross five times, at (0.585,0.819)(0.585, 0.819), (0.721,0.757)(0.721, 0.757), (0.740,0.740)(0.740, 0.740), (0.757,0.721)(0.757, 0.721) and (0.819,0.585)(0.819, 0.585), each checked in both equations to within 10−910^{-9}.

The system in the figure is

x6+4431 y3−y=0,y6+4431 x3−x=0.x^6 + \tfrac{44}{31}\,y^3 - y = 0, \qquad y^6 + \tfrac{44}{31}\,x^3 - x = 0.

Each equation has three terms, so Kushnirenko’s bound is (3−1)(3−1)=4(3-1)(3-1) = 4. The two curves cross five times in the positive quadrant, once on the diagonal and twice on each side of it, in mirror-image pairs, since exchanging xx and yy exchanges the two equations.

Each curve is easy to draw. The first equation says x6=y−4431y3x^6 = y - \tfrac{44}{31}y^3, which is positive for yy between nought and 31/44≈0.84\sqrt{31/44} \approx 0.84, so for each such yy there is exactly one positive xx. The curve runs from the origin up along the yy-axis, bulges out to about x=0.83x = 0.83, and returns to the yy-axis at y=0.84y = 0.84. Its mirror image does the same with the axes swapped. Two bulging arcs, one hugging each axis, cross where their outer edges meet, and the arithmetic arranges for their outer edges to weave across each other five times.

This system is due to Alicia Dickenstein, Maurice Rojas, Korben Rusek and Justin Shih, in 2007, and its degree of six is not where the story started.

The first counterexample hid in a corner

Two curves with five crossings: x¹⁰⁸ + 1.1y⁵⁴ − 1.1y and its mirror. Two curves in the positive quadrant, each the zero set of a trinomial, crossing at five marked points.
Fig. 2 Haas’s system, x108+1.1y54−1.1y=0x^{108} + 1.1y^{54} - 1.1y = 0 and its mirror, in ordinary coordinates. Both curves run along the top and right edges of the square and meet in the corner, where no drawing at this scale can separate their crossings.

Bertrand Haas published the first counterexample in 2002, in a paper titled simply A simple counterexample to Kouchnirenko’s conjecture. His equations had the same shape and much higher degree:

x108+1.1 y54−1.1 y=0,y108+1.1 x54−1.1 x=0.x^{108} + 1.1\,y^{54} - 1.1\,y = 0, \qquad y^{108} + 1.1\,x^{54} - 1.1\,x = 0.

In ordinary coordinates there is nothing to see. With exponents that large, x108x^{108} is negligible unless xx is very close to 1, so the first curve lies almost exactly along the line x=1x = 1 except where yy is near nought or near 1, and all the action is squeezed into the corner (1,1)(1,1).

Haas's five crossings, magnified out of the corner. Two curves in the positive quadrant, each the zero set of a trinomial, crossing at five marked points.
Fig. 3 The same curves in coordinates that magnify the corner: a mark kk along an axis means 1−10−k1 - 10^{-k}. The crossings sit at 1−x1 - x and 1−y1 - y equal to (8.0×10−2,2.1×10−6)(8.0 \times 10^{-2}, 2.1 \times 10^{-6}), (6.4×10−2,1.4×10−5)(6.4 \times 10^{-2}, 1.4 \times 10^{-5}), (8.5×10−3,8.5×10−3)(8.5 \times 10^{-3}, 8.5 \times 10^{-3}) and the two mirror images.

Magnified logarithmically out of the corner, the five crossings separate. One is on the diagonal, at about 0.99150.9915 in both coordinates. The other four are pairs in which one coordinate is about 0.920.92 or 0.940.94 and the other is within a few millionths of 1. A plot with pixels of a thousandth would put all five in the same pixel, and a numerical solver started at random would find the diagonal one and perhaps one other. That the conjecture stood for more than two decades is less surprising in this light: the counterexample had to be looked for in a corner no one would draw.

Counting crossings along one curve

The way to count them without drawing is to reduce two unknowns to one. The first equation can be solved for xx as a function of yy, as above, and substituting that xx into the second equation’s left side gives a function of yy alone, whose sign changes are exactly the points where the first curve crosses the second.

The second equation read along the first curve. A graph of the second equation's value along the first curve, crossing zero five times at the five solutions.
Fig. 4 The second equation’s left side, evaluated at points of the first curve, for the degree-6 system, against yy from 0.50.5 to 0.90.9, on a signed square-root scale so that small swings show. It changes sign five times, at the five solutions.

The function changes sign five times, and each change is a crossing. Every figure here was computed this way: walk the first curve with its parameter in logarithmic steps fine enough to resolve points within 10−1510^{-15} of the corner — everything done with logarithms so that x108x^{108} never underflows — find the sign changes, and then check each solution in both original equations.

The reduction does not bring Descartes’ rule back. The function of yy involves (y−4431y3)1/6(y - \tfrac{44}{31}y^3)^{1/6} raised to powers, and it is not a polynomial with few terms; the rule has nothing to say about it. Eliminating xx algebraically instead, with the resultant, gives an honest polynomial in yy, but one of high degree with many terms, and Descartes’ bound for it is far above five. The sparsity that made the question interesting is exactly what elimination destroys.

Where in the family five appear

Where in Haas's family the five solutions occur. A chart with one row per degree, shading the values of c for which the symmetric two-trinomial system has three or five positive solutions; every row has a narrow band of five.
Fig. 5 The system x2d+c yd−c y=0x^{2d} + c\,y^d - c\,y = 0 with its mirror, for exponents 2d2d from 6 to 108 (rows) and cc from 1 to 2.62.6 (across): shaded where it has three positive solutions and more deeply where it has five. Every row has a band of five, narrowing as the degree falls; Haas’s c=1.1c = 1.1 at degree 108 sits inside its row’s band.

Haas’s equations belong to a family, x2d+c yd−c y=0x^{2d} + c\,y^d - c\,y = 0 with its mirror, and the family can be surveyed. For each exponent and each value of cc on a grid, the figure counts the positive solutions. At cc just above one there is a single solution on the diagonal. Further right, every row has a band where the count is five, followed by a long stretch of three. The band is wide at high degree — from about 1.101.10 to 1.371.37 at degree 108 — and narrows as the degree comes down, until at degree six it is a sliver.

Why the band widens with the degree can be read off the corner picture. Each curve is made of two nearly straight pieces — one hugging an edge of the square, one running across near the other edge — joined by a sharp bend, and the higher the exponents, the straighter the pieces and the sharper the bend. Five crossings need the two bends to pass through each other at a shallow angle, so that the curves weave rather than cross once; sharp bends and straight pieces give that weaving room to happen over a wider range of cc. At low degree the curves are rounder, the weave is tighter, and the coefficient must be tuned more finely to produce it.

The degree-6 system of the first figure is this family at its smallest exponent, rescaled. Replacing xx and yy by sxs x and sys y multiplies the three terms by different powers of ss, and choosing ss to make the last coefficient one turns cc into c2/5c^{2/5} on the middle term; the sliver of five at degree six lies at c≈2.40c \approx 2.40, and 2.402/52.40^{2/5} is 1.421.42, which is 4431\tfrac{44}{31} to two decimals.

The number of positive solutions at degree 6, as c changes. A step plot of the number of positive solutions against the coefficient c, rising from one to three to five in a narrow window and falling again.
Fig. 6 The number of positive solutions of x6+c y3−c y=0x^6 + c\,y^3 - c\,y = 0 with its mirror, for cc from 1 to 3 in steps of 0.00250.0025. It is 1, then 5 for cc from about 2.3952.395 to 2.4002.400, then 3.

Along one row the count moves in jumps. It goes from one to five at once, because by the mirror symmetry two tangencies happen at the same moment, one on each side of the diagonal, and each creates a pair of solutions. It falls from five to three when a mirror-image pair merges with the diagonal solution and leaves it alone. At degree six the whole window of five is half a hundredth wide, and a survey on a coarser grid would miss it. Neither transition ever leaves more than five, at any degree or any cc in the survey.

Five is the most

That ceiling is a theorem. Tien-Yien Li, Maurice Rojas and Xiaoshen Wang proved in 2003 that two trinomials in two unknowns have at most five isolated solutions with both coordinates positive. Haas’s example is therefore sharp, and the correct form of Kushnirenko’s bound in the smallest case is five, not four.

Their argument, like the trace figure, reduces the system to counting the zeros of one function of one variable, which is possible because a trinomial curve can be parametrised explicitly — the first equation was solved for xx above by taking a single root. The difficulty is that the function obtained is not a polynomial, so neither Descartes’ rule nor Sturm’s chain applies to it, and controlling its zeros is where the work lies. The theorem is short to state and the proof is not.

For more terms or more unknowns, exact maxima are not known. The best general theorem is Askold Khovanskii’s, from 1980, and it is a bound of a very different size.

Khovanskii’s bound and the truth

Four answers to how many positive solutions two trinomials can have. A bar chart on a logarithmic scale comparing a conjectured bound of 4, the true maximum of 5, and general bounds of 166 and 248,832.
Fig. 7 For two equations in two unknowns with six distinct monomials between them, the maximum number of positive solutions according to Kushnirenko’s conjecture (4), the truth (5), the bound of Frédéric Bihan and Frank Sottile (166) and Khovanskii’s original bound (248,832), on a logarithmic scale.

Khovanskii’s fewnomial theorem says that a system of nn polynomial equations in nn unknowns, involving n+k+1n + k + 1 distinct monomials in all, has at most 2(n+k2)(n+1)n+k2^{\binom{n+k}{2}}(n+1)^{n+k} isolated positive solutions. The degree does not appear, which is the point: it is the first theorem to count solutions of a system by its terms, as Descartes counted roots of one polynomial. His method, now called the Khovanskii–Rolle theorem, extends Rolle’s argument from functions on a line to curves in higher dimensions, and it is one of the few tools that can count real solutions of equations without reference to complex ones.

For two trinomials, with six monomials, n=2n = 2 and k=3k = 3, and the bound is 210⋅35=248,8322^{10} \cdot 3^5 = 248{,}832. Bihan and Sottile brought the general bound down in 2007 to e2+34 2(k2)nk\tfrac{e^2 + 3}{4}\, 2^{\binom{k}{2}} n^k, which here is 166. The truth is five. The bounds were built to hold for every system of every shape, and their size is the price of that generality; they are not attempts to be sharp in the smallest case.

Why the positive quadrant

The restriction to positive solutions is not a convenience. In logarithmic coordinates, x=eux = e^u and y=evy = e^v, a monomial xaybx^a y^b becomes eau+bve^{au + bv}, an exponential of a linear function. A polynomial with mm terms becomes a sum of mm exponentials, and its positive solutions become all the real solutions of that sum, with no constraint of sign. The count by terms is really a theorem about exponential sums, where the exponents need not even be whole numbers.

In one variable this is exactly where Descartes’ rule lives: dividing by the lowest power and differentiating, in logarithmic coordinates, is dividing by an exponential and differentiating, and it removes one exponential at each step. Rolle’s theorem does the counting, as it does when the roots of the slope stay inside the roots of the function, and Rolle’s theorem is a statement about one real variable. Negative solutions are handled by changing signs of variables, which permutes the signs of the terms, so the positive quadrant loses nothing — any orthant can be moved onto it.

The logarithmic coordinates are also why Haas’s corner could be magnified at all. The corner figure uses −log⁡10(1−x)-\log_{10}(1 - x) rather than log⁡x\log x, which is a different magnification for a different place, but the lesson is the same: the geometry of sparse equations is multiplicative, and a picture in the wrong coordinates hides it.

Where the solutions come from in practice

The question is not only a curiosity about counterexamples. A chemical reaction network under mass-action kinetics has steady states that are the positive solutions of a polynomial system whose terms correspond to the reactions — few terms, high degree, and only positive concentrations meaningful. Whether a network can have several steady states, and so can switch between them, is a question about how many positive solutions such a system can have. The same holds for the configurations of a linkage, the equilibria of an economic model and the rest points of many biological models.

In each case Bézout’s count by degree is far too large and the count by terms is what matters, and in each case the honest general bound is Khovanskii-type — far above the truth. The remainders that count the roots gave an exact count in one variable by Euclid’s algorithm; for systems no such count exists, and the positive solutions are found by the numerical route of finding every complex solution and checking which are real and positive, as a random polynomial’s roots were found.

What the figures cannot show

Every solution drawn is computed in floating-point arithmetic and checked by substituting it into both equations, where each residual is below 10−910^{-9}. That makes each solution drawn a solution, but it does not by itself prove there are no others. The count of five at each drawn system is complete for the reason given by Li, Rojas and Wang, not by the search: once five are exhibited, there cannot be a sixth.

The survey of the family is on a grid of cc with steps of 0.0050.005 and a parameter sweep of a few thousand points along each curve. A window of five narrower than the grid, or two solutions closer than the sweep’s resolution, would be missed; the degree-6 row shows that the first danger is real, since its window is less than two grid steps wide. What the survey establishes is where five certainly occur, not where they certainly do not.

And a figure of two curves in the plane shows the crossings but not their multiplicity or their stability. The theorems count isolated solutions; a tangency, where two curves touch without crossing, is a solution that a small change of coefficients can remove or split in two, and it is exactly at such tangencies that the count jumps.

Still open: how the truth grows

For two trinomials the answer is five. For nn equations in nn unknowns with n+k+1n + k + 1 monomials, the true maximum is not known beyond a handful of small cases, and the gap between the best constructions and the best bounds is enormous. Constructions give systems whose number of positive solutions grows polynomially in kk for fixed nn; the bounds grow like 2k2/22^{k^2/2}. Whether the truth is polynomial or exponential in the number of monomials is one of the central open questions of real algebraic geometry, and Kushnirenko’s conjecture in a weakened form — some bound polynomial in the number of terms — is still open.

Even for two equations in two unknowns, the exact maximum is known when both are trinomials and in only a few other special shapes. Two equations with four terms each already have no settled answer, and no one knows whether Kushnirenko’s product fails there by one, as it does for trinomials, or by more.

Counting by terms, again

Descartes’ rule was a statement that a short list of signs controls a polynomial of any degree. Khovanskii’s theorem is the same statement for systems, true in principle and absurd in size, and Haas’s example is the first sign of why the size is hard to bring down: the simplest guess, multiply the one-variable bounds, fails on the smallest system it could be tested on, and it fails in a corner of the plane that ordinary pictures cannot see.

The answer for the smallest case turned out to be five, and the proof that five is the most took a year after the counterexample. For every case larger, the count by terms exists and is unknown.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

CounterexampleDescartes rule of signsFewnomialLogarithmPolynomialResultantRootsSystem of equations