Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate the Sylvester matrix of two univariate polynomials
ResourceFunction["SylvesterMatrix"][poly1,poly2,var] returns the Sylvester matrix of the polynomials poly1 and poly2 with respect to the variable var. |
The Sylvester matrix of two polynomials:
In[1]:= |
![]() |
Out[1]= |
![]() |
The Sylvester matrix of polynomials with numeric coefficients:
In[2]:= |
![]() |
Out[2]= |
![]() |
The Sylvester matrix of polynomials with parametric coefficients:
In[3]:= |
![]() |
Out[3]= |
![]() |
The determinant of the Sylvester matrix of two polynomials is equal to their resultant:
In[4]:= |
![]() |
Out[4]= |
![]() |
In[5]:= |
![]() |
Out[5]= |
![]() |
If one polynomial is constant, the Sylvester matrix is a diagonal matrix:
In[6]:= |
![]() |
Out[6]= |
![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License