I'm trying to understand division by zero cases in the eigenvector of a three-by-three real symmetric matrix, and how to avoid them.
I have the following matrix, where every value is real: \begin{equation} M_3 = \begin{bmatrix} a & d & f \\ d & b & e \\ f & e & c \end{bmatrix} \end{equation}
For this question, assume that the eigenvalues are already known: $\lambda_1, \lambda_2, \lambda_3$, with $\lambda$ standing in for any one of them. With that in mind, I can solve $\left(M_3 - \lambda \text{I} \right) v = \left(M_3 - \lambda \text{I} \right) \begin{bmatrix} v_1 \\ v_2 \\ v_3 \end{bmatrix} = 0$ and get the following equations:
\begin{equation} \left( a - \lambda \right) v_1 + d v_2 + f v_3 = 0\\ d v_1 + \left( b - \lambda \right) v_2 + e v_3 = 0\\ f v_1 + e v_2 + \left( c - \lambda \right) v_3 = 0 \end{equation}
From there, I set $v_3 = 1$, use the first equation to solve for $v_1$, then use the middle equation to solve for $v_2$. I end up with:
\begin{equation} v = \begin{bmatrix} \dfrac{f^2 - \left(b - \lambda \right) - d e }{d^2 - \left(a - \lambda \right) \left(b - \lambda \right)} \\\phantom{1}\\ \dfrac{e \left( a - \lambda \right) - d f}{ d^2 - \left(a - \lambda \right) \left(b - \lambda \right)} \\\phantom{1}\\ 1\end{bmatrix} \end{equation}
I've already isolated a few zero cases. If $d=e=f=0$, then $M_3$ is already diagonal and the answer is trivial. And if $d = f = 0$ (or $d = e = 0$ or $e = f = 0$), then one of the eigenvalues is isolated and the other two are from the remaining 2x2 submatrix.
But if $d^2 - \left(a - \lambda \right) \left(b - \lambda \right) = 0$, then uh... I'm not sure what to do about it. This looks like it means the upper left $2\times2$ sub-matrix within the $3\times3$ matrix is singular, but I don't know what to make of that - it's been a long time since I dealt with eigen-things, and my old textbook is still un-enlightening on the subject. This is where I'm stuck. I'm hoping to find a closed-form or non-iterative method.
If having examples where this happens might help, here are two: \begin{equation} \begin{bmatrix}4&4&4\\4&4&4\\4&4&4\end{bmatrix}, \lambda_1 = 12, \lambda_2 = 0, \lambda_3 = 0 \\ \begin{bmatrix}10&6&4\\6&1&2\\4&2&7\end{bmatrix}, \lambda_1 \approx 15.385, \lambda_2 \approx 4.615, \lambda_3 = -2 \end{equation}
And there are so many ways to solve for the eigenvector with those three equations, all of which are going to have a possible division by zero. With just $v_3 = 1$, I'll have three equations with two unknowns and any two of those equations could be solved four ways meaning there's twelve ways to solve with just $v_3 = 1$, suggesting there's 36 ways to solve for the eigenvector if I try with $v_1 = 1$ or $v_2 = 1$ (I think, I might be wrong here). So that could be 36 (or more) possible division by zero cases, even though there's not that many unique numbers within the matrix. I'm not sure solving it another way would reduce or remove the number of possible division by zero cases.