Documentation

TauCeti.LinearAlgebra.QuadraticForm.RegularFormClass.Real

The discriminant of a regular real quadratic form #

Over ℝ the square class of a nonzero number is its sign, so the discriminant of a regular form only records the sign of the product of the weights of a diagonalization. By Sylvester's law of inertia that sign is (-1)^q, where q = sigNeg Q is the negative index of inertia. This is the determinant-sign formula sign (det Q) = (-1)^q, stated in the square-class group.

In particular the discriminant of a regular real form is determined by its signature, and it is trivial exactly when the negative index is even.

Main results #

References #

The determinant-sign formula. The discriminant of a regular real quadratic form is the class of (-1)^q, where q is its negative index of inertia.

@[simp]

The discriminant of a regular real quadratic form is trivial exactly when its negative index of inertia is even.

@[simp]

The normal form p⟨1⟩ ⊥ q⟨-1⟩ of signature (p, q) has discriminant q • [-1].