# Eigenvalues and Eigenvectors Order [duplicate]

Say I have a list of eigenvalues and eigenvectors produced from a matrix $M$ using the command {eig1,eig2}=Eigensystem[M], which will return the eigenvalues with respective eigenvectors of $M$.

I want to now produce a new list list1 which will output a list of eigenvalues and the $L^{\infty}$ norms of the respective eigenvectors. How could this be done?

I previously defined Eig1[m_]:=Eigenvalues[m] and Eig2[m_]:=Eigenvectors[m], then used:

EigIf[m_]:=Map[Max[#]&,Eig2[m]]

To then obtain the table with {Eig1[m_],EigIf[m_]}. However, I'm not sure if the order in which the eigenvectors are returned with Eigenvectors[m] is respective to the order given by Eigenvalues[m] (so the first eigenvalue in the latter corresponds to the first eigenvector in Eigenvectors[m]). Can something similar be done with Eigensystem[m]?

Thank you!

## marked as duplicate by Jens, MarcoB, Sjoerd C. de Vries, Michael E2, ilianAug 9 '15 at 17:25

• I can't quite figure out this question. Jens voted to close this as a duplicate (see link above) but you appear to already be aware of the use of Eigensystem. Can you restate the problem, focusing on why you are unable to apply Eigensystem as desired? – Mr.Wizard Aug 9 '15 at 7:29
• As noted, use Eigensystem. It is not guaranteed that orders of values and vectors, computed separately, will correspond whereas with Eigensystem they do. – Daniel Lichtblau Aug 9 '15 at 15:38
A neater answer just uses Eigensystem:
MapAt[Max, Eigensystem[m], {2, All}] // Transpose

For input {{1, 2}, {3, 4}}, this returns {{1/2 (5 + Sqrt[33]), 1}, {1/2 (5 - Sqrt[33]), 1}}.