Why is it so,
N[Eigenvectors[{{1., 0.5, 4.}, {2., 1., 2.}, {0.25, 0.5, 1.}}]]
returns:
{{-0.603584, -0.760468, -0.239532}, {0.301792 -
0.522719 I, -0.760468 + 0. I,
0.119766 + 0.207441 I}, {0.301792 + 0.522719 I, -0.760468 + 0. I,
0.119766 - 0.207441 I}}
whilst
N[Eigenvectors[{{1, 1/2, 4}, {2, 1, 2}, {1/4, 1/2, 1}}]]
returns:
{{2.51984, 3.1748, 1.}, {-1.25992 - 2.18225 I, -1.5874 + 2.74946 I,
1.}, {-1.25992 + 2.18225 I, -1.5874 - 2.74946 I, 1.}}
In other words why two queries with the same input returns two different results, and how to deal with that?
Eigenvectors: Eigenvectors with numeric eigenvalues are sorted in order of decreasing absolute value of their eigenvalues. Two of the eigenvalues are modulus-degenerate, so it is not possible to expect consistent results even if the input was numericized, and in any case, the second input is symbolic, so no sorting is done, which explains the difference. – DumpsterDoofus Nov 25 '14 at 18:08