Mathwords logoMathwords

Nilpotent Matrix — Definition, Formula & Examples

A nilpotent matrix is a square matrix AA such that Ak=0A^k = 0 for some positive integer kk. In other words, if you keep multiplying the matrix by itself, you eventually get the zero matrix.

A square matrix AMn(F)A \in M_n(\mathbb{F}) is nilpotent if there exists a positive integer kk such that Ak=0A^k = \mathbf{0}, where 0\mathbf{0} is the n×nn \times n zero matrix. The smallest such kk is called the index of nilpotency (or nilpotency index) of AA, and it satisfies knk \leq n.

Key Formula

Ak=0A^k = \mathbf{0}
Where:
  • AA = An $n \times n$ square matrix
  • kk = The smallest positive integer for which $A^k$ equals the zero matrix (the nilpotency index)
  • 0\mathbf{0} = The $n \times n$ zero matrix

How It Works

To check whether a matrix is nilpotent, compute successive powers A2,A3,A^2, A^3, \ldots and see if any equals the zero matrix. For an n×nn \times n nilpotent matrix, the nilpotency index is at most nn, so you never need to check beyond AnA^n. Every nilpotent matrix has all eigenvalues equal to zero, which means its determinant and trace are both zero. Conversely, if a matrix has all zero eigenvalues, it is nilpotent.

Worked Example

Problem: Determine whether the matrix A=(012001000)A = \begin{pmatrix} 0 & 1 & 2 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} is nilpotent, and if so, find its nilpotency index.
Step 1: Compute A2A^2 by multiplying AA by itself.
A2=(012001000)(012001000)=(001000000)A^2 = \begin{pmatrix} 0 & 1 & 2 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix}\begin{pmatrix} 0 & 1 & 2 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}
Step 2: Since A20A^2 \neq \mathbf{0}, compute A3=A2AA^3 = A^2 \cdot A.
A3=(001000000)(012001000)=(000000000)A^3 = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}\begin{pmatrix} 0 & 1 & 2 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}
Answer: AA is nilpotent with nilpotency index k=3k = 3, since A3=0A^3 = \mathbf{0} and A20A^2 \neq \mathbf{0}.

Why It Matters

Nilpotent matrices appear naturally in Jordan normal form, where every Jordan block with eigenvalue zero is nilpotent. They also arise in solving systems of linear differential equations and in computing matrix exponentials, since the exponential of a nilpotent matrix is a finite polynomial rather than an infinite series.

Common Mistakes

Mistake: Assuming that if A20A^2 \neq \mathbf{0}, then AA is not nilpotent.
Correction: The nilpotency index can be any integer from 1 up to nn. You must check all powers up to AnA^n before concluding that AA is not nilpotent.