A matrix is nilpotent if some positive integer power of it is zero.
The set W of all nilpotent matrices in M2(R), the space of real 2×2 matrices, is a vector subspace of M2(R).
Let
W={A∈M2(R):Ar=0 for some r≥1}.
Clearly 0∈W. Let A,B∈W and α,β∈R. Choose positive integers r,s such that Ar=0 and Bs=0. By the binomial theorem,
(αA+βB)r+s−1=k=0∑r+s−1(kr+s−1)αkβr+s−1−kAkBr+s−1−k.
For each k, either k≥r, in which case Ak=0, or k≤r−1, in which case
r+s−1−k≥s
and Br+s−1−k=0. Thus every summand vanishes, giving
(αA+βB)r+s−1=0.
Hence αA+βB∈W, so W is a vector subspace. □