Let me name the object before I touch it. A is a three by three matrix whose third power is the zero matrix - in one word, A is nilpotent.
Two things are asked, not one. First I prove that I minus A is invertible, then I actually write its inverse down in terms of A. Existence alone is only half an answer.
My instinct is the scalar geometric series - one over one minus x is one plus x plus x squared, and so on forever. But here A cubed is zero, so the series should stop after the A squared term.
So I commit to a guess I can be wrong about and put it on the board: the inverse is B equals I plus A plus A squared. If I am wrong, one concrete integer nilpotent matrix breaks it, and I would rather find that out now than after writing a proof.
I will prove this twice, and I want the two proofs genuinely independent, so let me choose the languages first.
Route one is pure matrix algebra - multiply out, cancel, use A cubed equals zero. It never mentions an eigenvalue or a determinant, and it never pretends an inverse already exists. It builds one.
Route two is spectral. A nilpotent matrix can only have zero as an eigenvalue, and that forces the determinant of I minus A to one, which already proves invertibility. Then I squeeze the polynomial out a second way, solving a linear system entry by entry.
The discipline is that neither route borrows from the other. Route one will not name a single eigenvalue, and route two will not lean on the difference-of-cubes factorisation. Two proofs that agree only in my handwriting are not two proofs.
Here is the decisive move, and the picture on the board is why it is legal. The worry with matrices is non-commutativity, but every term I am writing is a power of the same matrix A, and A commutes with its own powers. So the scalar algebra goes through word for word.
I multiply I minus A by I plus A plus A squared, giving I plus A plus A squared minus A minus A squared minus A cubed. The A cancels the minus A, the A squared cancels the minus A squared, and I am left with I minus A cubed.
And A cubed is zero by hypothesis, so the product is exactly I. This is nothing but the difference-of-cubes identity with x replaced by A, and the diagram shows why. A walks each basis vector one step down a chain of length three, so after three steps everything is dead.
That chain is the geometric reason the series stops. For the single three-block, A squared is not yet zero, so I really do need the A squared term - and A cubed is zero, so I never need A cubed or beyond.
First let me finish route one honestly. I checked I minus A on the left. Matrix multiplication is not commutative, so I must check the other order too. Multiplying on the right gives I minus A plus A minus A squared plus A squared minus A cubed, which again collapses to I minus A cubed, which is I. So B is a genuine two-sided inverse.
Now the second, independent verdict. A nilpotent matrix has characteristic polynomial t cubed, so its only eigenvalue is zero, three times over. The eigenvalues of I minus A are one minus those eigenvalues, so they are all one. The determinant is the product of the eigenvalues, which is one, and one is not zero - so I minus A is invertible.
Notice what route two did NOT do. It never produced the inverse and never used my factorisation. It only proved existence from the spectrum, while route one produced the inverse from algebra. Two different engines, same conclusion.
I should be careful with the spectral language here. A nonzero nilpotent matrix is not diagonalisable, so I am only using eigenvalues of the characteristic polynomial and the determinant, never claiming A has a full eigenbasis.
Existence from the determinant is satisfying, but route two should also hand me the polynomial, independently. So I stop guessing and solve for it.
Every nilpotent three by three matrix can be put strictly upper triangular, so I write the general one with entries a, b, c. Then A squared has one entry that can be nonzero, a times c, up in the top right, and A cubed is zero.
Now I solve the system I minus A times X equals I by back-substitution, three equations at a time. Reading the answer off the board, it has one on the diagonal, a and c on the super-diagonal, and b plus a times c in the top right corner.
And that matrix is exactly I plus A plus A squared, read entry by entry. It is the polynomial route one produced by factoring, but here it came out of linear algebra with no reference to the factorisation. Two independent derivations, identical answer.
Time to try to break my own answer. I run it on six explicit integer matrices covering all three nilpotent Jordan types for three by three. There is the zero matrix, a single three-block, two different two plus one block matrices, a general upper triangular one, and a conjugate of the three-block that is not even triangular. For every one both products come out exactly equal to the identity - no decimals, all exact.
Then the minimality question, where a shorter guess dies. Take only I plus A, so the product is I minus A squared. On the three-block written on the board, this product has minus one in the top right, not zero, because A squared itself puts a plus one there. So I plus A genuinely fails, and the A squared term is load-bearing.
But the degree tracks the nilpotency index. For a two-block, where A squared is already zero, I plus A does the job, and for the zero matrix the inverse is just I. So I plus A plus A squared is the uniform answer, and the worst-case-minimal one.
The grid on the board is that check drawn out, I minus A times I plus A plus A squared, and its top right cell reads one minus one plus zero, which cancels to zero, exactly as the identity demands.
So the answer to the question as printed is that the inverse of I minus A is I plus A plus A squared, and I have proved it both ways and checked it exactly.
The square on A was never special. If A to the n is zero, the same computation gives the inverse as the sum of A to the k, from k equals zero up to n minus one, because I minus A times that sum telescopes to I minus A to the n, which is I. The three by three case is just n equals three.
And for three by three matrices, saying A cubed is zero is the same as saying A is nilpotent. Cayley-Hamilton turns the characteristic polynomial t cubed into A cubed equals zero, so the hypothesis is exactly nilpotence.
Finally, what my argument does NOT prove. The converse is false. I minus A can be invertible with A nowhere near nilpotent - take A equals two I, then I minus A is minus I, invertible, but A is not nilpotent. The real line is that I minus A is singular exactly when one is an eigenvalue of A, and nilpotence is a strong way to keep one off the spectrum, not the only way.
The algebra never cared about size. Every step used only A commuting with its own powers, and A cubed being zero - never that the matrix is three by three.
So the same polynomial works for a five by five matrix with A cubed equals zero. What the three by three size really buys you is the other direction. Any nilpotent three by three matrix automatically has A cubed equal zero, so the hypothesis is just nilpotence in disguise.
Then the answer gets shorter. If A squared is already zero, I minus A times I plus A is I minus A squared, which is I, so I plus A is the whole inverse.
The rule is that the degree is one less than the nilpotency index. But I plus A plus A squared is never wrong - it just carries a zero term - so as a single formula valid for every nilpotent three by three matrix, I plus A plus A squared is the right thing to write.
No, and let me be precise about the direction my argument proves. I showed nilpotent implies invertible, and I never claimed the reverse.
The real condition is spectral. I minus A is singular exactly when one is an eigenvalue of A. Take A equals two I - its eigenvalues are all two, so I minus A is minus I, perfectly invertible, and A is not nilpotent at all.
So nilpotence is one very convenient way to guarantee that one is not an eigenvalue, but plenty of non-nilpotent matrices clear that bar too.