How to Choose Eigenvectors for Diagonalization

  • Thread starter Thread starter rtw528
  • Start date Start date
  • Tags Tags
    Matrices
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
rtw528
Messages
8
Reaction score
0
This isn't really a homework question, but it is relevant to heling me finish my homework.
When you are diagonalizing a matrix, how do you know what order to put the eigenvectors in.
One of my homework problems is with the eigenvalues 1, 2, and 4.
[-1]
[1] is the matrix corresponding to the eigenvalue 1.
[1]

[1]
[0] is the matrix corresponding to the eigenvalue 2
[0]

[7]
[-4] is the matrix corresponding to the eigenvalue 4.
[1]

The answers in the back of the book give the diagonalized matrix as
[7 1 -1]
[-4 0 1]
[2 0 1]
 
Physics news on Phys.org
rtw528 said:
This isn't really a homework question, but it is relevant to heling me finish my homework.
When you are diagonalizing a matrix, how do you know what order to put the eigenvectors in.
One of my homework problems is with the eigenvalues 1, 2, and 4.
[-1]
[1] is the matrix corresponding to the eigenvalue 1.
[1]

[1]
[0] is the matrix corresponding to the eigenvalue 2
[0]

[7]
[-4] is the matrix corresponding to the eigenvalue 4.
[1]

The answers in the back of the book give the diagonalized matrix as
[7 1 -1]
[-4 0 1]
[2 0 1]

The matrix above is NOT the diagonal matrix - it is the matrix P, the one with the eigenvectors as columns. The order in which you put the eigenvectors doesn't matter except that it affects how the eigenvalues will appear in the diagonal matrix.

For your example, the columns in P correspond to the eigenvalues 4, 2, and 1, respectively. The diagonal matrix will be
$$ \begin{bmatrix} 4 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 1\end{bmatrix}$$
 
If the eigenvalues are [itex]\lambda_1[/itex] with eigenvector [itex]v_1[/itex], [itex]\lambda_2[/itex] with eigenvector [itex]v_2[/itex], and [itex]\lambda_3[/itex] with eigenvector [itex]v_3[/itex], then the order in which you use the vectors as columns in matrix "P" will determine the order of the eigenvalues in the diagonal matrix.

That is, if P have columns [itex]v_1[/itex], [itex]v_2[/itex], [itex]v_3[/itex], in that order, then the diagonal matrix will be
[tex]\begin{bmatrix}\lambda_1 & 0 & 0 \\ 0 & \lambda_2 & 0 \\ 0 & 0 & \lambda_3\end{bmatrix}[/tex]
changing the columns in P changes the order in the diagonal matrix.

For example, if P have columns [itex]v_2[/itex], [itex]v_1[/itex], [itex]v_3[/itex], in that order, then the diagonal matrix will be
[tex]\begin{bmatrix}\lambda_2 & 0 & 0 \\ 0 & \lambda_1 & 0 \\ 0 & 0 & \lambda_3\end{bmatrix}[/tex]