WLJS LogoWLJS Notebook

Discriminant

Discriminant[poly, var] computes the discriminant of the polynomial poly with respect to var.

Examples

Discriminant of a quadratic:

Discriminant[a*x^2 + b*x + c, x]
(* b^2 - 4 a c *)

Numeric example:

Discriminant[x^2 - 5x + 6, x]
(* 1 *)

Please visit the official Wolfram Language Reference for more details.

On this page