Spectrum of positive (semi)definite matrices #
This file proves that eigenvalues of positive (semi)definite matrices are (nonnegative) positive.
Main definitions #
Matrix.toInnerProductSpace: the pre-inner product space onn β πinduced by a positive semi-definite matrixM, and is given byβͺx, yβ« = xα΄΄My.
Positive semidefinite matrices #
theorem
Matrix.IsHermitian.posSemidef_iff_eigenvalues_nonneg
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
{A : Matrix n n π}
[DecidableEq n]
(hA : A.IsHermitian)
:
A Hermitian matrix is positive semi-definite if and only if its eigenvalues are non-negative.
theorem
Matrix.PosSemidef.eigenvalues_nonneg
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
{A : Matrix n n π}
[DecidableEq n]
(hA : A.PosSemidef)
(i : n)
:
The eigenvalues of a positive semi-definite matrix are non-negative
theorem
Matrix.PosSemidef.det_nonneg
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
{A : Matrix n n π}
[DecidableEq n]
(hA : A.PosSemidef)
:
theorem
Matrix.eigenvalues_conjTranspose_mul_self_nonneg
{m : Type u_1}
{n : Type u_2}
{π : Type u_3}
[Fintype m]
[Fintype n]
[RCLike π]
(A : Matrix m n π)
[DecidableEq n]
(i : n)
:
theorem
Matrix.eigenvalues_self_mul_conjTranspose_nonneg
{m : Type u_1}
{n : Type u_2}
{π : Type u_3}
[Fintype m]
[Fintype n]
[RCLike π]
(A : Matrix m n π)
[DecidableEq m]
(i : m)
:
Positive definite matrices #
theorem
Matrix.IsHermitian.posDef_iff_eigenvalues_pos
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
{A : Matrix n n π}
[DecidableEq n]
(hA : A.IsHermitian)
:
A Hermitian matrix is positive-definite if and only if its eigenvalues are positive.
theorem
Matrix.PosDef.eigenvalues_pos
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
{A : Matrix n n π}
[DecidableEq n]
(hA : A.PosDef)
(i : n)
:
The eigenvalues of a positive definite matrix are positive.
@[reducible, inline]
noncomputable abbrev
Matrix.toSeminormedAddCommGroup
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
(M : Matrix n n π)
(hM : M.PosSemidef)
:
SeminormedAddCommGroup (n β π)
A positive semi-definite matrix M induces a norm βxβ = sqrt (re xα΄΄Mx).
Instances For
@[reducible, inline]
noncomputable abbrev
Matrix.toNormedAddCommGroup
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
(M : Matrix n n π)
(hM : M.PosDef)
:
NormedAddCommGroup (n β π)
A positive definite matrix M induces a norm βxβ = sqrt (re xα΄΄Mx).
Equations
Instances For
@[implicit_reducible]
def
Matrix.toInnerProductSpace
{n : Type u_2}
{π : Type u_3}
[Fintype n]
[RCLike π]
(M : Matrix n n π)
(hM : M.PosSemidef)
:
InnerProductSpace π (n β π)
A positive semi-definite matrix M induces an inner product βͺx, yβ« = xα΄΄My.