Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the BKK bound on the number of isolated complex solutions of a square polynomial system
ResourceFunction["BKKRootBound"][polys, vars] computes the BKK bound on the number of isolated common roots of polynomials polys in variables vars. | |
ResourceFunction["BKKRootBound"][polys, vars, "Toric"] computes the BKK bound on the number of isolated common roots with all non-zero coordinates. |
Compute the BKK bound for a system of polynomials:
In[1]:= | ![]() |
Out[1]= | ![]() |
For this system the number of roots is equal to the bound:
In[2]:= | ![]() |
Out[2]= | ![]() |
Define a family of polynomial systems indexed by an integer n:
In[3]:= | ![]() |
Compute the BKK bound for n=5:
In[4]:= | ![]() |
Out[4]= | ![]() |
Compute the actual number of roots:
In[5]:= | ![]() |
Out[5]= | ![]() |
BKK bound on the number of roots:
In[6]:= | ![]() |
Out[6]= | ![]() |
BKK bound on the number of roots with nonzero coordinates:
In[7]:= | ![]() |
Out[7]= | ![]() |
Compute the roots:
In[8]:= | ![]() |
Out[8]= | ![]() |
The number of roots may be strictly less than the BKK bound:
In[9]:= | ![]() |
Out[9]= | ![]() |
In[10]:= | ![]() |
Out[10]= | ![]() |
The BKK bound depends only on monomials and not on coefficients:
In[11]:= | ![]() |
Out[12]= | ![]() |
In[13]:= | ![]() |
Out[13]= | ![]() |
For generic coefficients the number of roots is equal to the BKK bound:
In[14]:= | ![]() |
Out[14]= | ![]() |
BKKRootBound gives a bound on the number of isolated solutions. It gives finite values for systems that have infinitely many (necessarily non-isolated) solutions:
In[15]:= | ![]() |
Out[15]= | ![]() |
In[16]:= | ![]() |
Out[16]= | ![]() |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License