linalg(deprecated)
sylvester
create Sylvester matrix from two polynomials
Calling Sequence
Parameters
Description
Examples
sylvester(p, q, x)
p, q
-
expanded polynomials in the variable x
x
variable (name)
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[SylvesterMatrix], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The call sylvester(p, q, x) returns the Sylvester matrix of the polynomials p and q with respect to x. Note that the determinant of this matrix is equal to resultant⁡p,q,x.
If p is of degree m in x and q is of degree n in x then the output is a square matrix of dimension m+n.
The polynomials p and q must be expanded in x, because the coeff function is used on p and q to determine the entries of the matrix.
The command with(linalg,sylvester) allows the use of the abbreviated form of this command.
with⁡linalg:
p≔a+b⁢x:
q≔c+d⁢x+e⁢x2:
sylvester⁡p,q,x
ba00baedc
See Also
collect
linalg(deprecated)[bezout]
linalg(deprecated)[det]
LinearAlgebra
LinearAlgebra[SylvesterMatrix]
resultant
Download Help Document