I have a matrix $A$ that is expressed as $$A=\begin{bmatrix} 6& 0& 3& 0& 3&0 \\ 2& -6& 1& -3& 1&-3 \\ 0& 0& 6& 0& 0& 0\\ 0& 0& 2& -6& 0&0 \\ 0& 0& 0& 0& 3& 0\\ 0& 0& 0& 0& 1& -3 \end{bmatrix}$$ I now want to find the eigenvectors that correspond to a repeated eigenvalue. For example, I consider the eigenvalues $\lambda =6$ which is repeated twice.
Let's denote $x=[x_1,..,x_6]^T$ the eigenvectors of this eigenvalue.
First, I calculate $$\ (A - 6I_6)^2 x=0 $$ After that, I get the solution
$$ \left\{\begin{matrix} -x_1 + 6x_2 -x_3 + 6x_4=0\\ -x_3 + 6x_4 =0\\ x_5=0\\ x_6 =0 \end{matrix}\right.$$ However, when I check the results by using Matlab. It gives $x=[0.9864 \; 0.1644 \;0 \;0 \;0 \;0]^T$ and $x=[-0.9864\; -0.1644 \;0 \;0 \;0 \;0]^T$.
Could you please point out what is wrong in my thinking?
Thank you very much!