A nonsingular matrix is invertible. A (n×n) is nonsingular if and only if any (and therefore all) of the following hold:
Columns of A span Rn, or equivalently, rank(A)=dim(range(A))=n
A⊺ is nonsingular
det(A)=0
Ax=0 has only the trivial solution x=0; dim(nul(A))=0
Note that if A=[acbd], then A−1=det(A)1[d−c−ba]. Larger inverses may be found via Gauss-Jordan Elimination:
[A∣I]elementary row operations[I∣A−1]
2D Rotation Matrices
2D Rotation matrices by θ radians counter-clockwise about the origin are matrices in the form Rθ=[cosθsinθ−sinθcosθ].
Orthogonal Matrices
Orthogonal matrices (unitary matrices in the reals) are square with orthonormal row and column vectors. They are nonsingular and satisfy Q⊺=Q−1. Orthogonal matrices can be interpreted as rotation matrices.
Idempotent Matrices
Idempotent matrices are square matrices satisfying A2=A. In other words, the effect of applying the linear transformation A twice is the same as applying it once. Projection matrices are Idempotent.
Positive Semi-definite Matrices
Covariance and correlation matrices are always positive semi-definite and positive definite if there is no perfect linear dependence among random variables. Each of the following conditions is a necessary and sufficient condition for A to be positive semi-definite/definite:
Positive Semi-Definite
Positive Definite
z⊺Az≥0 for all column vectors z
z⊺Az>0 for all nonzero column vectors z
All eigenvalues are nonnegative
All eigenvalues are positive
All upper left/lower right submatrices have nonnegative determinants
All upper left/lower right submatrices have positive determinants
Note that if A has negative diagonal elements, then A cannot be positive semi-definite.