# Nilpotent Matrix and Eigenvalues of the Matrix

## Problem 11

An $n\times n$ matrix $A$ is called nilpotent if $A^k=O$, where $O$ is the $n\times n$ zero matrix.
Prove the followings.

(a) The matrix $A$ is nilpotent if and only if all the eigenvalues of $A$ is zero.

(b) The matrix $A$ is nilpotent if and only if $A^n=O$.

## Hint.

Hint for (a)

1. $(\Rightarrow)$ Consider $A \mathbf{x}=\lambda \mathbf{x}$, where $\lambda$ is an eigenvalue of $A$ and $\mathbf{x}$ is an eigenvector corresponding to $\lambda$.
2. $(\Leftarrow)$ Consider triangulation or Jordan normal/canonical form of $A$. Or use Cayley-Hamilton theorem.

## Proof of (a).

$(\Rightarrow)$
Suppose the matrix $A$ is nilpotent. Namely there exists $k \in \N$ such that $A^k=O$. Let $\lambda$ be an eigenvalue of $A$ and let $\mathbf{x}$ be the eigenvector corresponding to the eigenvalue $\lambda$.
Then they satisfy the equality $A\mathbf{x}=\lambda \mathbf{x}$. Multiplying this equality by $A$ on the left, we have
$A^2\mathbf{x}=\lambda A\mathbf{x}=\lambda^2 \mathbf{x} .$ Repeatedly multiplying by $A$, we obtain that $A^k \mathbf{x}=\lambda^k \mathbf{x}$. (To prove this statement, use mathematical induction.)
Now since $A^k=O$, we get $\lambda^k \mathbf{x}=0_n$, $n$-dimensional zero vector.
Since $\mathbf{x}$ is an eigenvector and hence nonzero by definition, we obtain that $\lambda^k=0$, and hence $\lambda=0$.

$(\Leftarrow)$
Now we assume that all the eigenvalues of the matrix $A$ are zero.
We prove that $A$ is nilpotent.
There exists an invertible $n\times n$ matrix $P$ such that $P^{-1} A P$ is an upper triangular matrix whose diagonal entries are eigenvalues of $A$.
(This is always possible. Study a triangularizable matrix or Jordan normal/canonical form.)

Hence we have
$P^{-1} A P= \begin{bmatrix} 0 & * & \cdots & * \\ 0 & 0 & \cdots & * \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & 0 \end{bmatrix}.$

Then we have $(P^{-1}AP)^n=O$. This implies that $P^{-1} A^n P=O$ and thus $A^n=POP^{-1}=O$.
Therefore the matrix $A$ is nilpotent.

#### Another proof of $(\Leftarrow)$ using Cayley-Hamilton theorem

Suppose that all the eigenvalues of the matrix $A$ are zero.
Then the characteristic polynomial of the matrix $A$ is
$p(t)=\det(A-tI)=\pm t^n.$

Hence by the Cayley-Hamilton theorem says that
$p(A)=\pm A^n=O,$ the zero matrix.

Thus, $A$ is nilpotent.

Note also that this method also proves the part (b).

## Proof of (b).

If $A^n=O$, then by definition the matrix $A$ is nilpotent.
On the other hand, suppose $A$ is nilpotent. Then by Part (a), the eigenvalues of $A$ are all zero. Then by the same argument of the proof of part (a) $(\Leftarrow)$, we have $A^n=O$.

## Comment.

Part (b) implies the following.

Suppose that you are given $n \times n$ matrix $B$.
You calculate the power $B^n$, and if it is not zero, then the power $B^k$ is never going to be the zero matrix $O$ no matter how large the number $k$ is.

## Related Question.

Problem. Prove that every diagonalizable nilpotent matrix is the zero matrix.

See the post ↴
Every Diagonalizable Nilpotent Matrix is the Zero Matrix
for a proof of this problem.

### More from my site

• Determinant/Trace and Eigenvalues of a Matrix Let $A$ be an $n\times n$ matrix and let $\lambda_1, \dots, \lambda_n$ be its eigenvalues. Show that (1) $$\det(A)=\prod_{i=1}^n \lambda_i$$ (2) $$\tr(A)=\sum_{i=1}^n \lambda_i$$ Here $\det(A)$ is the determinant of the matrix $A$ and $\tr(A)$ is the trace of the matrix […]
• If Every Trace of a Power of a Matrix is Zero, then the Matrix is Nilpotent Let $A$ be an $n \times n$ matrix such that $\tr(A^n)=0$ for all $n \in \N$. Then prove that $A$ is a nilpotent matrix. Namely there exist a positive integer $m$ such that $A^m$ is the zero matrix. Steps. Use the Jordan canonical form of the matrix $A$. We want […]
• Find All the Eigenvalues of $A^k$ from Eigenvalues of $A$ Let $A$ be $n\times n$ matrix and let $\lambda_1, \lambda_2, \dots, \lambda_n$ be all the eigenvalues of $A$. (Some of them may be the same.) For each positive integer $k$, prove that $\lambda_1^k, \lambda_2^k, \dots, \lambda_n^k$ are all the eigenvalues of […]
• If Eigenvalues of a Matrix $A$ are Less than $1$, then Determinant of $I-A$ is Positive Let $A$ be an $n \times n$ matrix. Suppose that all the eigenvalues $\lambda$ of $A$ are real and satisfy $\lambda <1$. Then show that the determinant $\det(I-A) >0,$ where $I$ is the $n \times n$ identity matrix. We give two solutions. Solution 1. Let […]
• Diagonalize the Upper Triangular Matrix and Find the Power of the Matrix Consider the $2\times 2$ complex matrix $A=\begin{bmatrix} a & b-a\\ 0& b \end{bmatrix}.$ (a) Find the eigenvalues of $A$. (b) For each eigenvalue of $A$, determine the eigenvectors. (c) Diagonalize the matrix $A$. (d) Using the result of the […]
• Nilpotent Matrices and Non-Singularity of Such Matrices Let $A$ be an $n \times n$ nilpotent matrix, that is, $A^m=O$ for some positive integer $m$, where $O$ is the $n \times n$ zero matrix. Prove that $A$ is a singular matrix and also prove that $I-A, I+A$ are both nonsingular matrices, where $I$ is the $n\times n$ identity […]
• Is the Product of a Nilpotent Matrix and an Invertible Matrix Nilpotent? A square matrix $A$ is called nilpotent if there exists a positive integer $k$ such that $A^k=O$, where $O$ is the zero matrix. (a) If $A$ is a nilpotent $n \times n$ matrix and $B$ is an $n\times n$ matrix such that $AB=BA$. Show that the product $AB$ is nilpotent. (b) Let $P$ […]
• Finite Order Matrix and its Trace Let $A$ be an $n\times n$ matrix and suppose that $A^r=I_n$ for some positive integer $r$. Then show that (a) $|\tr(A)|\leq n$. (b) If $|\tr(A)|=n$, then $A=\zeta I_n$ for an $r$-th root of unity $\zeta$. (c) $\tr(A)=n$ if and only if $A=I_n$. Proof. (a) […]

### 3 Responses

1. 07/26/2016

[…] We want to show that all eigenvalues are zero. (Review Nilpotent matrix and eigenvalues of the matrix) […]

2. 03/15/2017

[…] $A$ is nilpotent, all the eigenvalues of $A$ are $0$. (See the post “Nilpotent matrix and eigenvalues of the matrix” for the proof.) Hence the diagonal entries of $D$ are zero, and we have $D=O$, the zero […]

3. 07/10/2017

[…] the post ↴ Nilpotent Matrix and Eigenvalues of the Matrix for a proof of this […]

##### Determinant/Trace and Eigenvalues of a Matrix

Let $A$ be an $n\times n$ matrix and let $\lambda_1, \dots, \lambda_n$ be its eigenvalues. Show that (1) $$\det(A)=\prod_{i=1}^n \lambda_i$$...

Close