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).
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.