Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Resultant

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. 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) ```

### Related Examples

##### resultant

f: x^5+2*x+1 ;

g: x^4+2*x^3+1*x^2+7*...

r: resultant(f,g,x);

Calculate

##### resultant

eq1:x*(1+y^2)-2*y;

eq2:z*(1+y^2)-1+y^2;

resultant(eq1,eq2,y);

Calculate

##### resultant

eq1: [a^2 - 58+42*x, ...

eq2 : [eq1, result...

resultant(resultant(e...

Calculate

##### resultant

eq1: y^3+a*x^3+b*x^2;

eq2: y^1+c*x^2+d;

resultant(eq1,eq2,y);

Calculate

##### resultant

eq1: y^10+a*x^3+b*x^2;

eq2: y^5+c*x^2+d;

resultant(eq1,eq2,x);

Calculate

##### resultant

eq1: [a^2 - 58+42*x, ...

eq2 : resultant(eq1[2...

Calculate

##### resultant

eq1:x+x^2-y-y^2;

eq2:2*y^2-2*z^2;

resultant(eq1,eq2,y);

Calculate

##### resultant

eq1:x+x^2-y-y^2;

eq2:3*y-3*z;

res:resultant(eq1,eq2...

Calculate

##### resultant

eq1:x-x^2-y+y^2;

eq2:-y+z;

resultant(eq1,eq2,y);

Calculate

##### resultant

f: a*x^2+b*x+c;

g: x-1;

r: resultant(f,g,x);

Calculate 