Last reviewed 16 Sept 2026 · 7 min read
Matrices
A matrix is a rectangular array of numbers arranged in m rows and n columns (order ).
Types of matrices
| Type | Definition |
|---|---|
| Row / column matrix | Single row / single column |
| Square matrix | |
| Diagonal matrix | Square; all off-diagonal elements zero |
| Scalar matrix | Diagonal with all diagonal elements equal () |
| Identity (unit) matrix | Diagonal elements 1, others 0 |
| Null (zero) matrix | All elements zero |
| Upper / lower triangular | All elements below / above the diagonal are zero |
| Symmetric | () |
| Skew-symmetric | — diagonal elements are zero |
| Orthogonal | → , |
| Idempotent | |
| Nilpotent | for some positive integer |
| Involutory | () |
| Singular / non-singular | / |
| Hermitian | (conjugate transpose equals itself) |
| Skew-Hermitian | |
| Unitary |
Every square matrix can be written uniquely as the sum of a symmetric and a skew-symmetric matrix:
Matrix operations
- Addition — same order, element-wise; commutative and associative.
- Scalar multiplication — multiply every element.
- Multiplication — defined when columns of A = rows of B; ; not commutative in general (); associative; distributive.
- does not imply or .
Properties of transpose
; ; ; .
Determinants
For a matrix: .
For a matrix, expand along any row or column using cofactors:
( = minor — determinant after deleting row and column .)
Properties of determinants
- .
- Interchanging two rows (or columns) changes the sign.
- Two identical (or proportional) rows → determinant zero.
- Multiplying a row by multiplies the determinant by ; hence for an matrix.
- Adding a multiple of one row to another does not change the determinant.
- .
- Determinant of a triangular or diagonal matrix = product of diagonal elements.
- Sum of products of elements of a row with cofactors of another row = 0.
Adjoint and inverse
- Adjoint = transpose of the cofactor matrix.
- .
For :
- ;