PDF Tools Calculators Contact Log In
Pick a size, then fill in each cell below.
Result
--
Enter values to calculate.
Summary
--
Waiting for input
Detail
--
Waiting for input

Check whether repeatedly multiplying a square matrix by itself eventually produces the all-zero matrix.

How It Works

How Nilpotent Matrix Checker Works

The calculator repeatedly multiplies the matrix by itself — A, A², A³, and so on — checking after each step whether the result has become the all-zero matrix. By a result called the Cayley-Hamilton theorem, an n×n nilpotent matrix is guaranteed to reach zero by at most the n-th power, so the calculator stops looking beyond that point.

Worked Example

See It In Action

The matrix with rows 0,1 / 0,0 squares to the all-zero matrix, so it's nilpotent with index 2.
FAQ

Frequently Asked Questions

Can a nilpotent matrix have a non-zero entry?
Yes — plenty of individual entries can be non-zero; what matters is that the matrix eventually cancels itself out entirely once multiplied by itself enough times.
Can an invertible matrix ever be nilpotent?
No — a nilpotent matrix always has determinant zero (since some power of it is the zero matrix, whose determinant is zero), so it can never be invertible.