In
mathematics, a Sylvester matrix is a
matrix
Matrix most commonly refers to:
* ''The Matrix'' (franchise), an American media franchise
** '' The Matrix'', a 1999 science-fiction action film
** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
associated to two
univariate polynomials with coefficients in a
field or a
commutative ring. The entries of the Sylvester matrix of two polynomials are coefficients of the polynomials. The
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
of the Sylvester matrix of two polynomials is their
resultant, which is zero when the two polynomials have a common root (in case of coefficients in a field) or a non-constant common divisor (in case of coefficients in an
integral domain
In mathematics, specifically abstract algebra, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural s ...
).
Sylvester matrices are named after
James Joseph Sylvester
James Joseph Sylvester (3 September 1814 – 15 March 1897) was an English mathematician. He made fundamental contributions to matrix theory, invariant theory, number theory, partition theory, and combinatorics. He played a leadership ...
.
Definition
Formally, let ''p'' and ''q'' be two nonzero polynomials, respectively of
degree
Degree may refer to:
As a unit of measurement
* Degree (angle), a unit of angle measurement
** Degree of geographical latitude
** Degree of geographical longitude
* Degree symbol (°), a notation used in science, engineering, and mathemati ...
''m'' and ''n''. Thus:
:
The Sylvester matrix associated to ''p'' and ''q'' is then the
matrix constructed as follows:
* if ''n'' > 0, the first row is:
:
* the second row is the first row, shifted one column to the right; the first element of the row is zero.
* the following ''n'' − 2 rows are obtained the same way, shifting the coefficients one column to the right each time and setting the other entries in the row to be 0.
* if ''m'' > 0 the (''n'' + 1)th row is:
:
* the following rows are obtained the same way as before.
Thus, if ''m'' = 4 and ''n'' = 3, the matrix is:
:
If one of the degrees is zero (that is, the corresponding polynomial is a nonzero constant polynomial), then there are zero rows consisting of coefficients of the other polynomial, and the Sylvester matrix is a
diagonal matrix
In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero; the term usually refers to square matrices. Elements of the main diagonal can either be zero or nonzero. An example of a 2×2 diagonal ...
of dimension the degree of the non-constant polynomial, with the all diagonal coefficients equal to the constant polynomial. If ''m'' = ''n'' = 0, then the Sylvester matrix is the
empty matrix with zero rows and zero columns.
A variant
The above defined Sylvester matrix appears in a Sylvester paper of 1840. In a paper of 1853, Sylvester introduced the following matrix, which is, up to a permutation of the rows, the Sylvester matrix of ''p'' and ''q'', which are both considered as having degree max(''m'', ''n'').
[Akritas, A.G., Malaschonok, G.I., Vigklas, P.S.:''Sturm Sequences and Modified Subresultant Polynomial Remainder Sequences''. Serdica Journal of Computing, Vol. 8, No 1, 29--46, 2014]
This is thus a
-matrix containing
pairs of rows. Assuming
it is obtained as follows:
* the first pair is:
:
* the second pair is the first pair, shifted one column to the right; the first elements in the two rows are zero.
* the remaining
pairs of rows are obtained the same way as above.
Thus, if ''m'' = 4 and ''n'' = 3, the matrix is:
:
The determinant of the 1853 matrix is, up to sign, the product of the determinant of the Sylvester matrix (which is called the
resultant of ''p'' and ''q'') by
(still supposing
).
Applications
These matrices are used in
commutative algebra
Commutative algebra, first known as ideal theory, is the branch of algebra that studies commutative rings, their ideals, and modules over such rings. Both algebraic geometry and algebraic number theory build on commutative algebra. Promi ...
, e.g. to test if two polynomials have a (non-constant) common factor. In such a case, the
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
of the associated Sylvester matrix (which is called the
resultant of the two polynomials) equals zero. The converse is also true.
The solutions of the simultaneous linear equations
:
where
is a vector of size
and
has size
, comprise the coefficient vectors of those and only those pairs
of polynomials (of degrees
and
, respectively) which fulfill
:
where polynomial multiplication and addition is used.
This means the
kernel
Kernel may refer to:
Computing
* Kernel (operating system), the central component of most operating systems
* Kernel (image processing), a matrix used for image convolution
* Compute kernel, in GPGPU programming
* Kernel method, in machine lea ...
of the transposed Sylvester matrix gives all solutions of the
Bézout equation where
and
.
Consequently the
rank
Rank is the relative position, value, worth, complexity, power, importance, authority, level, etc. of a person or object within a ranking, such as:
Level or position in a hierarchical organization
* Academic rank
* Diplomatic rank
* Hierarchy
* H ...
of the Sylvester matrix determines the degree of the
greatest common divisor
In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' i ...
of ''p'' and ''q'':
:
Moreover, the coefficients of this greatest common divisor may be expressed as
determinant
In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if ...
s of submatrices of the Sylvester matrix (see
Subresultant).
See also
*
Transfer matrix
*
Bézout matrix
References
*
{{Matrix classes
Matrices
Polynomials