Maxima Function
resultant (p_1, p_2, x)
resultant
Computes the resultant of the two polynomials p_1 and p_2, eliminating the variable x. The resultant is a determinant of the coefficients of x in p_1 and p_2, which equals zero if and only if p_1 and p_2 have a non-constant factor in common.
If p_1 or p_2 can be factored,
it may be desirable to call factor
before calling resultant
.
The variable resultant
controls which algorithm will be used to compute
the resultant.
subres
for subresultant prs,
mod
for modular resultant algorithm,
and red
for reduced prs.
On most problems subres
should be best.
On some large degree univariate or bivariate problems mod
may be better.
The function bezout
takes the same arguments as resultant
and returns
a matrix. The determinant of the return value is the desired resultant.