in order to test some function of mine I am looking for a symmetric 3-by-3 matrix with one single positive eigenvalue ($\neq 1$) with multiplicity 3. The problem is that at least 1 offdiagonal component of the matrix must be nonzero.
Does anyone know how to tackle this problem? Is it solvable at all?
For a starter I found
$$ \begin{pmatrix} 1 &a &0 \\ a &1 &0\\ 0&0&1-a \end{pmatrix} $$
as a matrix with just 2 same eigenvalues.
Thanks in advance