Suppose I have the following input
a = Import["d:\am.txt", "Table"];
b = Import["d:\bm.txt", "Table"];
c = Eigenvalues[N[{a, b}, 5]];
Min[c]
where am.txt is
3.0 2.0
2.0 3.0
bm.txt is
1.0 0.8
0.8 1.0
Mathematica gives me 2.77778
My question is, how to obtain the eigenvector correspond to this eigenvalue? I can figure it out by hand for 2*2 problem. But for general case, it is not so simple..
Eigensystemto get the eigenvalues together with their corresponding eigenvectors. For example,Eigensystem[N[{a, b}, 5], -1]for the smallest eigenvalue. – Oleksandr R. Mar 04 '15 at 14:58Eigensystemwithout the second argument and retrieve all eigenvalues/vectors, and pick the one you want. – Oleksandr R. Mar 04 '15 at 15:52m, and useEigensystem[mat-IdentityMatrix[Length[mat]]*m, 1]. Note that we now are taking the largest, not smallest. – Daniel Lichtblau Mar 04 '15 at 22:11