Discriminant of a quadratic algebra #
This file introduces the discriminant of a quadratic algebra QuadraticAlgebra R a b (with the
convention ω² = a + b·ω), describes how it transforms under a change of generator, and derives,
over a field, a criterion for QuadraticAlgebra K a b to be a field.
Main definitions #
QuadraticAlgebra.discr: the discriminantdiscr a b = b ^ 2 + 4 * a.
Main results #
QuadraticAlgebra.discr_changeGenerator: the discriminant scales byu ^ 2under the change of generatorω ↦ u • ω + k.QuadraticAlgebra.exists_sq_eq_iff_isSquare_discr: over a ring with2invertible,X ^ 2 - b * X - ahas a root iffdiscr a bis a square.QuadraticAlgebra.isField_iff_not_isSquare_discr: over a field with2 ≠ 0,QuadraticAlgebra K a bis a field iffdiscr a bis not a square.
The discriminant of the quadratic algebra QuadraticAlgebra R a b, that is, the
discriminant b ^ 2 + 4 * a of the polynomial X ^ 2 - b * X - a.
Equations
- QuadraticAlgebra.discr a b = b ^ 2 + 4 * a
Instances For
Alias of QuadraticAlgebra.discr_changeGenerator.
Under the change of generator ω ↦ u • ω + k (see QuadraticAlgebra.changeGenerator), the
discriminant is multiplied by u ^ 2.
The discriminant is the square of the different ω - star ω.
If discr a b is a square, QuadraticAlgebra K a b is not a field.
If 2 ≠ 0 in the field K, QuadraticAlgebra K a b is a field iff discr a b is
not a square.