When the matrix entries are the same across the diagonal.
A=AT
Positive Definite or Positive Semi-definite
It's defined for symmetric matrix M.
An n×n symmetric real matrix M is said to be positive-definite if xTMx>0for all non-zero xin Rn. Formally
Positive Semi-Definite
An n×n symmetric real matrix M is said to be positive semi-definite if xTMX≥0 for all non-zero xin Rn.
What does positive definite mean? It's similar to saying for example in one dimensional that kx2should be positive ∀xwhich means k>0. Similarly, for higher dimensions, to get the higher dimensional parabola always positive we need a positive definite matrix.
PSD from the lens of dot-product
Let's see
We can consider xTAx as dot product (xT)Ax. Now PSD means (xT)(Ax)≥0 which means xT and Ax form an acute angle between them i.e point in the same directoin. Hence, it means that A is a transformation that keeps Ax in the same direction as x.
Properties of PD or PSD matrices
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 viwith it's eigen value λi. Now we know that Avi=λivi , so for (viT)(Avi)≥0⟹viTλuvi≥0⟹λi∣∣vi∣∣≥0⟹λi≥0
The determinant of a positive definite matrix is always positive, so a positive definite matrix is always nonsingular.
det(A)=n=1∏Nλn
So if all the λnare positive, determinant will also be positive.
Decomposition
If A is Positive semi-definite if and only if it can be decomposed as follows:
A=BTB
Also
A=LLT
Where L is a lower triangular matrix. And this is called Cholesky decomposition.
PSD Matrices defining Ellipsoid
Let's say we have Q(x)=xTAx, be a positive definite form. Then the set
{x∈Rn:Q(x)=c}
where c is some constant. This set of points forms an ellipsoid.
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.
Resources
Talks about multiple properties of PSD and also gives insight about Hessians of functions as they are PSD