The question goes $A^k = 0$, for some $k>0$ ($A$ is square). Prove that $A+I$ is invertible.
I did $A^k = 0 \implies A^k+I=I$. So, $(A+I)(A^{k-1} +.... + I) = I$. So it's invertible with the inverse given above.
I feel like this is wrong. I'm not very confident that I'm allowed to factorise it like that since $\det{A^k}=(\det{A})^k=0.$ And doing $A^{k-1}$ during factorisation doesn't feel right since you are multiplying with $A^{-1}$.
Can you please direct me to the correct direction and tell me why the thing I did is incorrect?
Thanks in advance.
Edit: I see that my factorisation is incorrect (plus/minus signs) but the question remains the same.
What you did is almost correct. In fact:$$(A+\operatorname{Id})\bigl((-1)^{k-1}A^{k-1}+(-1)^{k-2}A^{k-2}+\cdots-A+\operatorname{Id}\bigr)=\operatorname{Id},$$and so $(-1)^{k-1}A^{k-1}+(-1)^{k-2}A^{k-2}+\cdots-A+\operatorname{Id}$ is the inverse of $A+\operatorname{Id}$. What does it matter that $\det(A^k)=(\det A)^k=0$? This has nothing to do with determinants.