Let $x,y$ be two unit vectors.
$A=xy^T$ be the outer product.
The eigenvalues of A are seen to be $[0, 0, 0,...0, k]$. Why is that?
What are the properties of the outer product of two unit vectors?
Why is there only one non-zero eigenvalue for such a matrix?
Every column of $A$ is a multiple of $x$ and every row is a multiple of $y$. $x$ and $y$ are both nonzero, hence $A$ has rank 1. Moreover, $k=y^Tx$.