Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: resultant (<p_1>, <p_2>, <x>) -- Variable: 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.
![Resultant Example factor (x^6+x^5+2*x^4+3*x^3+1);
F:(a^3+b*c^2)^2+(a^2+c*d)^2*c*d;
G:ev(F,[a:d,d:a,b:c,c:b]);
describe(resultant);](http://maxima-online.org//plot.html?g=i-1613265090.png&t=img&db=r-216350496)
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.
(%o1) true (%i2)