If a $\,n\times n\,$ matrix $M$ satisfies
$\text{Rank}(M)\leqslant1\;,\;$ then $\;\det(I+tM)=1+t\text{Tr}(M)\;,$
where $\;\text{Tr}(M)\;$ denotes the trace of $\,M$.
In this book it is stated that all eigenvalues of $M$ are zero except a single eigenvalue $\sum_{i=1}^{n}a_{i}b_{i}.$ But I don't know why.
I would appreciate your collaboration.