I need help in this problem
Let $A$ is a square real matrix such that $A^{n}=0$ for some positive integer $n .$ Such a matrix is called nilpotent. Show that if $A$ is nilpotent, then $I+\lambda A$ is invertible for any $\lambda \in \mathbb{R}$
I know that for $\lambda = 1$ it is true by
$$\left(A+I\right)\left(I-A+A^2-...+(-1)^n A^{n-1}\right) = I +(-1)^{n-1} A^n = I$$
Thus proving that $A+I$ is invertible for any nilpotent $A$.
But I don't know if this is true for any $\lambda$.
We have $(I+\lambda A)(I-\lambda A+\lambda^2A^2-...)=I$.