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α΄΄Mx
is greater than zero for all nonzerox
.Matrix.PosSemidef
: a matrixM : Matrix n n π
is positive semidefinite if it is hermitian andxα΄΄Mx
is 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α΄΄ * B
for someB
.Matrix.PosSemidef.sqrt
: the unique positive semidefinite square root of a positive semidefinite matrix. (SeeMatrix.PosSemidef.eq_sqrt_of_sq_eq
for 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
.
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
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 multiplied by the matrix is positive semidefinite
A matrix multiplied by its conjugate transpose is positive semidefinite
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
.
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.