Types of matrices
Every named matrix in the syllabus — row, column, null, diagonal, scalar, identity, triangular, symmetric, skew-symmetric, orthogonal, idempotent, involutory, nilpotent, periodic, Hermitian, unitary and more — each with its defining test and a solved check.
Module contents
Matrices get names from the shape they have or from an identity they satisfy. Both kinds appear in exams, and each name comes with a one-line test. Learn the test, not the picture — a question will ask you to prove a matrix is orthogonal, not to recognise it on sight.
The names below are grouped by what they depend on.
Group 1 — Names that depend only on shape
Rectangular matrix
Any matrix with .
Square matrix
. Only square matrices have a determinant, an inverse, a trace, or eigenvalues, so most of this module lives here. A square matrix of order is called a square matrix of order .
Row matrix (row vector)
Exactly one row: order .
Column matrix (column vector)
Exactly one column: order .
Null (zero) matrix —
Every element is . It exists in every order, and , .
A null matrix is the additive identity. It is not the multiplicative identity — that is . And unlike numbers, does not force or .
Comparable matrices
Two matrices of the same order. Addition and subtraction need comparable matrices; multiplication does not.
Group 2 — Names for where the non-zero elements sit
For a square matrix of order , the elements form the principal (main) diagonal. Their sum is the trace:
Diagonal matrix
Square, and every element off the principal diagonal is zero: whenever . Diagonal elements themselves may be anything, including zero.
Scalar matrix
A diagonal matrix in which all the diagonal elements are equal: for and for all . Equivalently .
Identity (unit) matrix —
A scalar matrix with : ones down the diagonal, zeros elsewhere. It is the multiplicative identity, .
Formally where is the Kronecker delta: if , else .
The nesting. Every identity matrix is scalar; every scalar matrix is diagonal; every diagonal matrix is both upper and lower triangular. The converses all fail.
Upper triangular matrix
Square with every element below the diagonal zero: for .
Lower triangular matrix
Square with every element above the diagonal zero: for .
A matrix that is either is called triangular. For any triangular matrix the determinant is simply the product of the diagonal elements — a fact the Gauss elimination method exploits.
Sparse matrix
Most elements are zero. Not a formal exam definition, but a critical one in computing: a sparse matrix is stored by listing only its non-zero entries (as triples ), which turns an storage cost into something proportional to the number of non-zeros.
Sub-matrix
Any matrix obtained by deleting some rows and/or columns of . Deleting row and column of a square matrix leaves the sub-matrix whose determinant is the minor .
Group 3 — Names defined by the transpose
The transpose (also written ) is obtained by turning rows into columns: if then .
Symmetric matrix
The matrix is a mirror image about the principal diagonal. Must be square.
Skew-symmetric matrix
Setting gives , so : every diagonal element of a skew-symmetric matrix is zero. That is the fastest test to apply.
Two standard results worth memorising:
- Every square matrix splits uniquely as symmetric skew-symmetric:
- The determinant of a skew-symmetric matrix of odd order is always .
Orthogonal matrix
Its determinant must be . Rotation matrices are orthogonal, which is why graphics code can invert a rotation by transposing it — far cheaper than a general inverse.
Group 4 — Names defined by powers of the matrix
Idempotent matrix
Applying it twice does nothing more than applying it once — the algebra of a projection. and are both idempotent.
Involutory matrix
The matrix is its own inverse, . is involutory.
Nilpotent matrix
The smallest such is the index of nilpotency. A nilpotent matrix always has .
Periodic matrix
The smallest such is the period. An idempotent matrix is exactly a periodic matrix of period .
Singular and non-singular
Only non-singular matrices have an inverse. This is the single most consequential classification in the module.
Group 5 — Names for complex matrices
Let be the conjugate of (replace each entry by its complex conjugate), and let be the transposed conjugate (also written or ).
Hermitian matrix
The diagonal elements must be real. The real-valued case of Hermitian is exactly symmetric.
Skew-Hermitian matrix
Diagonal elements must be zero or purely imaginary. The real case is exactly skew-symmetric.
Unitary matrix
The complex counterpart of orthogonal.
Quick reference
| Type | Test | Must be square? |
|---|---|---|
| Row | order | No |
| Column | order | No |
| Null | all | No |
| Diagonal | for | Yes |
| Scalar | diagonal with all | Yes |
| Identity | diagonal with all | Yes |
| Upper triangular | for | Yes |
| Lower triangular | for | Yes |
| Symmetric | Yes | |
| Skew-symmetric | , diagonal all | Yes |
| Orthogonal | Yes | |
| Idempotent | Yes | |
| Involutory | Yes | |
| Nilpotent | Yes | |
| Periodic | Yes | |
| Singular | Yes | |
| Non-singular | Yes | |
| Hermitian | Yes | |
| Skew-Hermitian | Yes | |
| Unitary | Yes |
Worked examples
5 solvedEvery step is shown, in the order you would write it in an answer book.
Classifying a matrix under every applicable name
Question
Name every type that belongs to, and state its trace and determinant.
Shape
rows, columns square matrix of order 3.
Position of non-zeros
Every off-diagonal element is diagonal. All diagonal elements equal scalar, and .
Since nothing lies below the diagonal and nothing lies above it, is also both upper triangular and lower triangular.
Transpose test
Transposing a diagonal matrix leaves it unchanged, so symmetric. It is not skew-symmetric, because a skew-symmetric matrix needs zero diagonal.
Determinant and singularity
For a triangular matrix, is the product of the diagonal:
so is non-singular.
Trace
Power tests
, so not idempotent. , so not involutory. No power is ever , so not nilpotent.
Answer
Square, diagonal, scalar, upper triangular, lower triangular, symmetric, non-singular. , .
NoteOne matrix can carry many names at once. Exam questions asking to “identify the type” expect all applicable names.
Splitting a matrix into symmetric and skew-symmetric parts
Question
Express as the sum of a symmetric and a skew-symmetric matrix.
Write down the transpose
Form
Halve it — this is the symmetric part
Check: ✓ (mirror about the diagonal).
Form
Halve it — this is the skew-symmetric part
Check: diagonal is all zero and ✓
Verify the sum
Answer
with symmetric and skew-symmetric, as computed above.
NoteAlways finish with the P + Q = A check. It costs 30 seconds and catches every sign error.
Proving a matrix is orthogonal
Question
Show that is orthogonal, and hence write down .
State what must be shown
is orthogonal . Let , so and
so it is enough to show .
Write
Compute row by row
Row 1 of with the columns of (i.e. dotted against the rows of ):
Row 2:
Row 3:
Assemble
Therefore , and is orthogonal.
Read off the inverse
For an orthogonal matrix , so
Answer
, so is orthogonal and
NoteNotice the shortcut: pulling the 1/3 out front turns fraction arithmetic into integer arithmetic. Do this whenever a common factor is visible.
Idempotent, involutory or nilpotent?
Question
Classify each by computing the required power.
(a)
(b) — find and comment.
(c)
(a) Compute
Row 1 of against each column:
Row 2:
Row 3:
is idempotent.
(b) Compute
is also idempotent (equivalently, periodic with period ).
(c) Compute
Row 1: ; ;
Row 2: ; ;
Row 3: ; ;
(c) Go one power further
Row 2: ; ;
Row 3: ; ;is nilpotent of index 3.
Answer
(a) idempotent; (b) idempotent; (c) nilpotent of index .
NoteIf A² is neither A nor I nor O, compute A³ before concluding anything — nilpotency often shows up only at the third power.
Hermitian and skew-Hermitian
Question
Verify that is Hermitian, and that would then be skew-Hermitian.
Take the conjugate
Flip the sign of every imaginary part:
Transpose it to get
Compare
element for element, so is Hermitian.
Note the two structural signs of a Hermitian matrix, both present here: the diagonal is entirely real, and each pair across the diagonal is a conjugate pair ( against ).
Now consider
Using with , so :
which is exactly the definition of skew-Hermitian.
Answer
, so is Hermitian; and , so is skew-Hermitian.
NoteGeneral result: if A is Hermitian then iA is skew-Hermitian, and vice versa. Worth quoting directly in an exam.
Practice problems
8 with solutionsWork each one on paper first. The full solution — not just the answer — is one click away.
State, with a one-line reason, whether each is true or false.
(a) Every scalar matrix is a diagonal matrix.
(b) Every diagonal matrix is a scalar matrix.
(c) Every identity matrix is a scalar matrix.
(d) A skew-symmetric matrix can have a non-zero diagonal element.
(e) A null matrix of order is a square matrix.
Show solutionHide solution
(a) True. A scalar matrix is defined as a diagonal matrix with all diagonal entries equal, so it satisfies the diagonal condition by definition.
(b) False. is diagonal but its diagonal entries differ, so it is not scalar.
(c) True. , a scalar matrix with .
(d) False. forces , hence , hence for every .
(e) False. Square requires ; here . A null matrix exists in any order and is square only when the order is square.
Find and so that is skew-symmetric.
Show solutionHide solution
Skew-symmetric requires .
The diagonal is already ✓
Position and : .
Position and : .
Check against : ✓
Express as the sum of a symmetric and a skew-symmetric matrix.
Show solutionHide solution
Symmetric part:
Skew-symmetric part:
Check: ✓, ✓, ✓
Show that is involutory, and hence find and .
Show solutionHide solution
So is involutory.
Inverse. means , so by definition .
High power. Since , even powers give and odd powers give :
Show that is nilpotent and state its index. Deduce without expanding a determinant.
Show solutionHide solution
Compute .
Row 1: , ,
Row 2: , ,
Row 3: , ,
Compute .
Row 1 is zero, so stays zero.
Row 2: , ,
Row 3: , ,
is nilpotent of index 3.
Determinant. Taking determinants of :
So is singular — as every nilpotent matrix must be.
Prove that for any square matrix , both and are symmetric, while is skew-symmetric.
Show solutionHide solution
Use the two transpose rules , , and .
is symmetric:
Equal to itself, so symmetric. ∎
is skew-symmetric:
Equal to its own negative, so skew-symmetric. ∎
is symmetric:
Equal to itself, so symmetric. ∎
(The same argument gives symmetric, and it holds even for non-square , where is and is .)
If is a skew-symmetric matrix of odd order , prove .
Show solutionHide solution
Start from the definition and take determinants.
Now use two determinant properties:
- — transposing does not change the determinant.
- for a matrix of order — each of the rows contributes a factor .
With :
Since is odd, :
Every skew-symmetric matrix of odd order is therefore singular. (For even the argument gives , which says nothing — and indeed has determinant .)
If is idempotent, prove that is also idempotent, and that .
Show solutionHide solution
Given: .
is idempotent.
Substituting :
.
.
Interpretation: and are complementary projections. Whatever keeps, discards, so applying one after the other destroys everything.