discriminants
Discriminants are algebraic expressions associated with polynomials and quadratic forms that encode information about their roots and their geometry. For a univariate polynomial f(x) of degree n with leading coefficient a_n and roots r_1, ..., r_n, the discriminant Disc(f) is a_n^(2n-2) times the product over all pairs i<j of (r_i - r_j)^2. The discriminant vanishes exactly when f has a multiple root over the complex numbers, and hence when roots coincide. It remains unchanged under permutations of the roots and, under an affine change of variable x -> alpha x + beta, scales by alpha^(n(n-1)).
In the special case of a quadratic f(x) = a x^2 + b x + c, the discriminant is
For a cubic f(x) = a x^3 + b x^2 + c x + d, the discriminant is Delta = 18
Discriminants also arise for quadratic forms and plane conics. A binary quadratic form A x^2 + B