Positive Definite Matrices #
This file defines positive (semi)definite matrices and connects the notion to positive definiteness
of quadratic forms. Most results require π = β or β.
Main definitions #
Matrix.PosDef: a matrixM : Matrix n n πis positive definite if it is hermitian andxα΄΄Mxis greater than zero for all nonzerox.Matrix.PosSemidef: a matrixM : Matrix n n πis positive semidefinite if it is hermitian andxα΄΄Mxis nonnegative for allx.
##Β Main results
Matrix.posSemidef_iff_eq_transpose_mul_self: a matrixM : Matrix n n πis positive semidefinite iff it has the formBα΄΄ * Bfor someB.Matrix.PosSemidef.sqrt: the unique positive semidefinite square root of a positive semidefinite matrix. (SeeMatrix.PosSemidef.eq_sqrt_of_sq_eqfor the proof of uniqueness.)
Positive semidefinite matrices #
A matrix M : Matrix n n R is positive semidefinite if it is Hermitian and xα΄΄ * M * x is
nonnegative for all x.
Equations
- Matrix.PosSemidef M = (Matrix.IsHermitian M β§ β (x : n β R), 0 β€ Matrix.dotProduct (star x) (Matrix.mulVec M x))
Instances For
A diagonal matrix is positive semidefinite iff its diagonal entries are nonnegative.
The eigenvalues of a positive semi-definite matrix are non-negative
The positive semidefinite square root of a positive semidefinite matrix
Equations
- One or more equations did not get rendered due to their size.
Instances For
Custom elaborator to produce output like (_ : PosSemidef A).sqrt in the goal view.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The conjugate transpose of a matrix mulitplied by the matrix is positive semidefinite
A matrix multiplied by its conjugate transpose is positive semidefinite
A matrix is positive semidefinite if and only if it has the form Bα΄΄ * B for some B.
For A positive semidefinite, we have xβ A x = 0 iff A x = 0.
For A positive semidefinite, we have xβ A x = 0 iff A x = 0 (linear maps version).
Positive definite matrices #
A matrix M : Matrix n n R is positive definite if it is hermitian
and xα΄΄Mx is greater than zero for all nonzero x.
Equations
- Matrix.PosDef M = (Matrix.IsHermitian M β§ β (x : n β R), x β 0 β 0 < Matrix.dotProduct (star x) (Matrix.mulVec M x))
Instances For
The eigenvalues of a positive definite matrix are positive
A positive definite matrix M induces a norm βxβ = sqrt (re xα΄΄Mx).
Equations
- Matrix.NormedAddCommGroup.ofMatrix hM = InnerProductSpace.Core.toNormedAddCommGroup
Instances For
A positive definite matrix M induces an inner product βͺx, yβ« = xα΄΄My.
Equations
- One or more equations did not get rendered due to their size.