Sylvester matrix
From Wikipedia, the free encyclopedia
In mathematics, a Sylvester matrix is a matrix associated to two polynomials that gives us some information about those polynomials. It is named for James Joseph Sylvester.
Contents |
[edit] Definition
Formally, let p and q be two polynomials, respectively of degree m and n. Thus:
The Sylvester matrix associated to p and q is then the matrix obtained as follows:
- 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, still filling the first column with a zero.
- the (n+1)-th row is:
- the following rows are obtained the same way as before.
Thus, if we put m=4 and n=3, the matrix is:
[edit] Applications
Those matrices are used in commutative algebra, e.g. to test if two polynomials have a (non constant) common factor. Indeed, in such a case, the determinant of the associated Sylvester matrix (which is named the resultant of the two polynomials) equals zero. The converse is also true.
The solution of the simultaneous linear equations
where x is a vector of size n and y has size m, comprises the coefficient vectors of those and only those pairs x,y of polynomials (of degrees n − 1 and m − 1, respectively) which fulfill
(where polynomial multiplication and addition is used in this last line). This means the kernel of the transposed Sylvester matrix gives all solutions of the Bézout equation where degx < degq and degy < degp.
Consequently the rank of the Sylvester matrix determines the degree of the greatest common divisor of p and q.
- .