This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Discriminant[poly, var]
computes the discriminant of the polynomial poly with respect to the variable var.
Discriminant[poly, var, Modulus->p]
computes the discriminant modulo p.
  • The discriminant of a polynomial with leading coefficient one is the product over all pairs of roots x_i, x_j of (x_i-x_j)^2.
  • A Method option can be given, with typical possible values being Automatic, "SylvesterMatrix", "BezoutMatrix", "Subresultants" and "Modular".
New in 6