Quadratic discriminants and roots of a quadratic
This file defines the discriminant of a quadratic and gives the solution to a quadratic equation.
discrim a b c: the discriminant of a quadratic
a * x * x + b * x + cis
b * b - 4 * a * c.
quadratic_eq_zero_iff: roots of a quadratic can be written as
(-b + s) / (2 * a)or
(-b - s) / (2 * a), where
sis a square root of the discriminant.
quadratic_ne_zero_of_discrim_ne_square: if the discriminant has no square root, then the corresponding quadratic has no root.
discrim_le_zero: if a quadratic is always non-negative, then its discriminant is non-positive.
polynomial, quadratic, discriminant, root