Positive (Semi)Definite Matrices
Last updated
Last updated
When the matrix entries are the same across the diagonal.
It's defined for symmetric matrix .
An symmetric real matrix is said to be positive-definite if for all non-zero in . Formally
Positive Semi-Definite
An symmetric real matrix is said to be positive semi-definite if for all non-zero in .
What does positive definite mean? It's similar to saying for example in one dimensional that should be positive which means . Similarly, for higher dimensions, to get the higher dimensional parabola always positive we need a positive definite matrix.
Let's see
We can consider as dot product . Now PSD means which means and form an acute angle between them i.e point in the same directoin. Hence, it means that is a transformation that keeps in the same direction as .
All the eigenvalues of a positive definite matrix are positive. A matrix is positive definite if it’s symmetric and all its eigenvalues are positive.
As established all the transformed vectors Ax are in same direction as x for positive dot product. Let's consider some eigen vector with it's eigen value . Now we know that , so for
The determinant of a positive definite matrix is always positive, so a positive definite matrix is always nonsingular.
So if all the are positive, determinant will also be positive.
Decomposition
If is Positive semi-definite if and only if it can be decomposed as follows:
Also
Where is a lower triangular matrix. And this is called Cholesky decomposition.
Let's say we have , be a positive definite form. Then the set
where is some constant. This set of points forms an ellipsoid.
In linear algebra, the rank of a matrix A is the dimension of the vector space generated (or spanned) by its columns.This corresponds to the maximal number of linearly independent columns of A. This, in turn, is identical to the dimension of the vector space spanned by its rows. Rank is thus a measure of the "nondegenerateness" of the system of linear equations and linear transformation encoded by A.
A matrix is said to have full rank if its rank equals the largest possible for a matrix of the same dimensions, which is the lesser of the number of rows and columns.
Talks about multiple properties of PSD and also gives insight about Hessians of functions as they are PSD