[back] [prev] [next] [index] [root]

 


PolyResultant

Computes the resultant of the two given polynomials.

Syntax:

r := PolyResultant (f, g);

polynomial
  r  
polynomial
  f  
polynomial
  g  

See also:  PolyGcd

Description:

PolyResultant(f,g) = 0 if and only if f and g have a common factor which has positive degree in x


Example:


kash> Zxy := PolyAlg(Zx);
Univariate Polynomial Ring in y over Univariate Polynomial Ring in x over Inte\
ger Ring

kash> f := Poly(Zxy,[1,2*x+4,x^2 +x,6*x]);
y^3 + (2*x + 4)*y^2 + (x^2 + x)*y + 6*x
kash> f_ := PolyDeriv(f);
3*y^2 + (4*x + 8)*y + x^2 + x
kash> PolyResultant(f,f_);
> -12*x^5 - 64*x^4 + 460*x^3 + 2828*x^2 + 1536*x


<- back[back] [prev] [next] [index] [root]