A complex nilpotent matrix of size six is determined up to matrix similarity by its matrix rank and nilpotency index. Its Nilpotent Jordan block sizes form an integer partition of six. If there are blocks and the largest size is , then its matrix rank is and its minimal polynomial is . The eleven possible size lists areNo two have the same pair , which proves the assertion by Jordan normal form. The dimension restriction matters: in size seven, block lists and both have matrix rank four and minimal polynomial , but give different Jordan normal forms.
Nilpotency index Created 2026-10-20 Updated 2026-10-25
Use the monomial basis , . Direct differentiation giveswith the endpoint terms zero. Repeated application therefore gives , while and . Each nilpotency index is exactly , soNextand hence . These real eigenvalues are distinct. A polynomial annihilates this operator exactly when it vanishes at all of them, givingThe commutator is diagonal in the displayed monomial basis. Since , are nonzero nilpotent linear map; a diagonalizable nilpotent map would have a diagonal matrix with all eigenvalues zero and thus be the zero map. Therefore only is diagonalizable. The calculation realizes raising and lowering on binary homogeneous polynomials.
Write . Part (ii) identifies the first superdiagonal block exactly:where is the formal derivative. Thus the candidate is . If the irreducible polynomial has , its polynomial degree makes and coprime. Equivalently, is a separable polynomial. This includes every irreducible polynomial over a field of characteristic zero, and every irreducible polynomial over a perfect field.
Under this separability hypothesis, Bézout's identity for polynomials gives . Evaluating at proves that is an invertible matrix. Moreover, has zero diagonal blocks, because . It is therefore a nilpotent matrix with . The only product of strictly upward block steps that reaches block uses the first superdiagonal every time, soFor , the corresponding assertion is simply . The block upper triangular matrix hasThe minimal polynomial divides this characteristic polynomial. Since is an irreducible polynomial, it must be a power of ; the exact nilpotency index just found forces
The arbitrary-field qualification is necessary. In the rational function field , take . This is an irreducible polynomial: a square of a rational function has even order of vanishing at , while has odd order. Its formal derivative is zero. With ,The off-diagonal block in is zero, and , rather than . No alternative polynomial coprime to could represent that block: would imply . Thus the printed coprimality claim fails as stated over a general field.
There is also a precise general replacement. In characteristic , let be the largest power for which , so that ; set in characteristic zero. Irreducibility of implies that is an irreducible polynomial, so and are coprime. The binomial theorem in characteristic gives . Expanding , with the coefficients equivalently supplied by the Hasse derivatives, giveswhere commutes with and is a block upper triangular matrix whose diagonal blocks are . These blocks are invertible by Bézout's identity for polynomials, since . Thus is invertible, andThe same characteristic polynomial and divisibility argument now prove the corrected arbitrary-field answer:This is the minimal polynomial of a companion block chain; recovers the intended separable case.
Subtract the identity matrix and putDirect matrix multiplication givesFor the last equality, each column of is a multiple of , and . Thus is a nilpotent matrix. The minimal polynomial of divides and equals , where is the nilpotency index of .
The first row of forces if , and its third row then forces . Conversely gives . If exactly one parameter is nonzero, then but . If both are nonzero, then while . Consequently the complete answer isNo lower power can annihilate the matrix in any of these cases, as the displayed nonvanishing matrix powers show.
In the monomial basis of the complex vector space , the binomial theorem givesThe characteristic polynomial of this upper triangular matrix is the product of minus its diagonal entries, so .
For the minimal polynomial, set , the forward difference with step one. For a nonconstant polynomial of polynomial degree , the binomial theorem shows that has polynomial degree . Constant polynomials have zero forward difference. Consequently on . To prove that the nilpotency index is exactly four, computeIt follows thatIf were diagonalizable, its only eigenvalue would be , and its diagonal matrix in an eigenbasis would be . This would make , whereas . Thus is not diagonalizable. Equivalently, its minimal polynomial has a repeated root.
Take the Nilpotent Jordan blockThenSuppose that a complex matrix of size three satisfied . We would have , so would be a nilpotent matrix. Every eigenvalue of must then be zero: if with , applying gives . Its characteristic polynomial is therefore , and the Cayley-Hamilton theorem gives . This contradicts . HenceThe obstruction is that a nilpotent matrix of size three cannot have nilpotency index greater than three.
Write , with . The minimal polynomial means and . Choose with . For each , set . ThenThus . Also because applying to zero still gives zero. Therefore the kernel dimensions of powers of a nilpotent map increase strictly until the nilpotency index:The same reasoning covers , when the nilpotent linear map is zero on a nonzero vector space.
The increments are positive integers by part (a)(i), are nonincreasing by part (a)(ii), and sum to . Thus they form an integer partition of . The complete list is , , , , and .
To prove all five occur over every field, let be a Nilpotent Jordan block of size . It sends each standard basis vector to its predecessor, with the first sent to zero, soFor a block diagonal matrix, the nullities add. The following explicit nilpotent matrices therefore realize every possible sequence:In each row the largest Jordan block size is exactly the nilpotency index , so the displayed sequence stops at the correct place.
Generate independent Bernoulli random variables above the diagonal and set everything else to zero. Taking the strict upper triangle of a random square array gives each allowed entry probability of being one:
import numpy as np
rng = np.random.default_rng(2024)
def rand_triu(n):
return np.triu(rng.integers(0, 2, size=(n, n)), k=1)
example = rand_triu(10)
print(example)One reproducible strictly upper triangular matrix is:
0 1 0 0 0 0 1 1 1 1
0 0 1 0 0 0 1 0 0 0
0 0 0 1 1 0 0 1 1 0
0 0 0 0 1 1 1 1 0 0
0 0 0 0 0 0 1 1 1 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0Every matrix returned in this way is a nilpotent matrix; randomness affects its nilpotency index, not the fact of the nilpotent property.
Starting with the identity matrix, multiply by once per iteration and test the resulting power. Using integer objects keeps the calculation exact and avoids fixed-width integer overflow accidentally turning a nonzero power into zero:
def kzero(matrix,kmax=100):
a=np.asarray(matrix,dtype=object)
if a.ndim!=2 or a.shape[0]!=a.shape[1]:raise ValueError('square matrix required')
power=np.eye(len(a),dtype=object)
for k in range(1,kmax+1):
power=power@a
if np.equal(power,0).all():return k
return None
print([kzero(rand_triu(10)) for _ in range(5)])Continuing the random-number stream from the displayed example gives . These are the least positive zero powers, rather than the number of nonzero powers; in particular, a zero matrix has nilpotency index one.
For a strictly upper triangular matrix, a nonzero entry of can only lie at least positions above the diagonal. Thus , and every one of these examples must return an integer at most ten. The code interprets “up to” as including
kmax; if the final strict inequality in the question is intended instead, replace range(1,kmax+1) by range(1,kmax).