PolynomialTools[Approximate]
SylvesterMatrix
construct a Sylvester matrix of a polynomial
Calling Sequence
Parameters
Description
Examples
Compatibility
SylvesterMatrix(F, G, vars)
SylvesterMatrix(F, G, vars, degree)
SylvesterMatrix(F, G, vars, degree, rtableoptions=[options])
F
-
polynom
G
vars
set or list of variables
degree
(optional) non-negative integer, defaults to 1
options
(optional) options that are passed to the Matrix constructor
The SylvesterMatrix command is a generalized and multivariate version of the LinearAlgebra:-SylvesterMatrix command.
A (generalized) Sylvester matrix is matrix that has full rank only if the input polynomials have a greatest common divisor of total degree less than degree (1 by default).
A Sylvester matrix can be considered to be a block matrix composed of two convolution matrices and this command simply calls the ConvolutionMatrix command.
The approximate polynomial division command GCD solves an approximate nullspace problem on the output of this command.
with⁡PolynomialTools:-Approximate:
f≔x2+y2−1;g≔x2+x⁢y+y+1
f≔x2+y2−1
g≔x2+x⁢y+y+1
S1≔SylvesterMatrix⁡f,g,x,y
S1≔−1001000−1001000−1101100100000110100001010010001011010001001000
Maximal rank, means degree( gcd(f,g) ) < 1
min⁡upperbound⁡S1−LinearAlgebra:-Rank⁡S1
0
SylvesterMatrix⁡f,g,x,y,2,rtableoptions=datatype=complex8
−1.+0.⁢I1.+0.⁢I0.+0.⁢I0.+0.⁢I0.+0.⁢I1.+0.⁢I1.+0.⁢I1.+0.⁢I0.+0.⁢I1.+0.⁢I1.+0.⁢I0.+0.⁢I
d≔x2−y2+1;f1≔f⁢d;g1≔g⁢d
d≔x2−y2+1
f1≔x2+y2−1⁢x2−y2+1
g1≔x2+x⁢y+y+1⁢x2−y2+1
Maximal rank, means degree( gcd(f,g) ) < 3
S2≔SylvesterMatrix⁡f1,g1,x,y,3
min⁡upperbound⁡S2−LinearAlgebra:-Rank⁡S2
S3≔SylvesterMatrix⁡f1,g1,x,y,2
Rank deficiency of exactly 1, means degree( gcd(f,g) ) = 2 exactly
min⁡upperbound⁡S3−LinearAlgebra:-Rank⁡S3
1
The PolynomialTools:-Approximate:-SylvesterMatrix command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
ConvolutionMatrix
LinearAlgebra:-SylvesterMatrix
Download Help Document