If you solve $(A−\lambda I) \mathbf{x}=0$ to check if $\lambda$ is an eigenvalue, and get nontrivial solutions how does it prove that $\lambda$ is indeed an eigenvalue?
In other words, why can't $\mathbf{x} = 0$ vector be a solution? And what's the reasoning between a $0$ eigenvector and invertibility?
Of course that the null vector is a solution. The point is: if $(a-\lambda\operatorname{Id})v=0$ for some npn-null vector $v$ (that's what non-trivial solution means here), then $v$ is an eigenvector, since $v\neq0$ and $A.v=\lambda v$.
And if $0$ is an eigenvalue, then there is a non-null vector $v$ such that $A.v=0\times v=0$. Therefore, $A$ is not invertible.