MathFin
Map / Valuation · The smile / MathFin.Models.ModelFree.SVI.MatrixSignature

Signature of a symmetric matrix from its characteristic polynomial

MathFin.Models.ModelFree.SVI.MatrixSignatureMSC 91G20JEL G13 source

Part of the SVI polynomial-sign certificate (#174).

The sign variations of the characteristic coefficients compute the inertia signature of a real symmetric matrix (signatureTest_eq_matrixSignature), and a positive scalar factor does not change the test.

Main definitions

  • matrixSignature: the signature sigPos - sigNeg of the quadratic form of a real matrix.

Main results

  • signatureTest_eq_matrixSignature: for a symmetric real matrix M, signatureTest M equals matrixSignature M, singular matrices included.
  • signatureTest_smul_pos: for symmetric M and c > 0, signatureTest (c • M) equals signatureTest M.

Tags

matrix inertia, Descartes rule of signs, characteristic polynomial, symmetric matrix signature, SVI, MSC 91G20, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Declarations 9

defMathFin.SVI.matrixSignaturesource
{n : ℕ} → Matrix (Fin n) (Fin n) ℝ → ℤ

The signature sigPos − sigNeg of the quadratic form of a matrix.

theoremMathFin.SVI.toQuadraticForm'_applysource
∀ {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ) (x : Fin n → ℝ), M.toQuadraticForm' x = x ⬝ᵥ M.mulVec x

The quadratic form of a matrix evaluates as x ⬝ᵥ M *ᵥ x.

theoremMathFin.SVI.toQuadraticForm'_diagonalsource
∀ {n : ℕ} (w : Fin n → ℝ), (Matrix.diagonal w).toQuadraticForm' = QuadraticMap.weightedSumSquares ℝ w

The quadratic form of a diagonal matrix is the weighted sum of squares.

theoremMathFin.SVI.toQuadraticForm'_conj_unitarysource
∀ {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ) (U : ↥(Matrix.unitaryGroup (Fin n) ℝ)), (star ↑U * M * ↑U).toQuadraticForm' = QuadraticMap.comp M.toQuadraticForm' ↑(Matrix.UnitaryGroup.toLinearEquiv U)

The quadratic form of Uᴴ * M * U is that of M composed with U.

theoremMathFin.SVI.signatureTest_eq_matrixSignaturesource
∀ {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ), M.IsSymm → signatureTest M = matrixSignature M

Characteristic sign variations compute the inertia signature of the associated real quadratic form, even for singular matrices.

theoremMathFin.SVI.sigPos_smul_of_possource
∀ {n : ℕ} (Q : QuadraticForm ℝ (Fin n → ℝ)) (c : ℝ), 0 < c → sigPos (c • Q) = sigPos Q

A positive scalar multiple of a quadratic form has the same positive index.

theoremMathFin.SVI.sigNeg_smul_of_possource
∀ {n : ℕ} (Q : QuadraticForm ℝ (Fin n → ℝ)) (c : ℝ), 0 < c → sigNeg (c • Q) = sigNeg Q

A positive scalar multiple of a quadratic form has the same negative index.

theoremMathFin.SVI.toQuadraticForm'_smulsource
∀ {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ) (c : ℝ), (c • M).toQuadraticForm' = c • M.toQuadraticForm'

The quadratic form of a scalar multiple of a matrix is the scalar multiple.

theoremMathFin.SVI.signatureTest_smul_possource
∀ {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ), M.IsSymm → ∀ (c : ℝ), 0 < c → signatureTest (c • M) = signatureTest M

A positive common denominator does not change the sign certificate.