linalg(deprecated)
bezout
create the Bezout matrix of two polynomials
Calling Sequence
Parameters
Description
Examples
bezout(p, q, x)
p, q
-
polynomials in the variable x
x
variable (name)
Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[BezoutMatrix], instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The call bezout(p, q, x) returns the Bezout 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 max(m, n).
The command with(linalg,bezout) allows the use of the abbreviated form of this command.
withlinalg:
p≔a+bx+cx2
p≔cx2+bx+a
q≔d+ex+fx2
q≔fx2+ex+d
bezoutp,q,x
−af+dc−ae+db−bf+ec−af+dc
See Also
linalg(deprecated)[det]
linalg(deprecated)[sylvester]
LinearAlgebra
LinearAlgebra[BezoutMatrix]
resultant
Download Help Document