squaremeplz
- 114
- 0
Homework Statement
When generating a matrix from eigenvectors, does it matter in which order
the columns are placed?
The order of eigenvectors in matrix generation does not affect the validity of the diagonalization process, as long as each eigenvector corresponds to its respective eigenvalue. When using MATLAB's eig function on the matrix h = [[2, 1, 0], [1, 2, 1], [0, 0, 2]], the eigenvalues obtained are 1, 2, and 3, with the eigenvector matrix differing slightly from manual calculations due to normalization. The resulting diagonal matrix will reflect the order of the eigenvalues, confirming that while the order of eigenvectors can change, the diagonalization remains valid. The relationship e^(-1) * h * e = r holds true for obtaining the diagonal form.
PREREQUISITESStudents and professionals in mathematics, particularly those studying linear algebra, as well as data scientists and engineers working with matrix computations and transformations.
This is, exactly,squaremeplease said:Sorry I am trying to diagonalize the matrix h
I used MATLAB to check my results:
h =
2 1 0
1 2 1
0 0 2
>> [e,r] = eig(h)
e =
0.7071 -0.7071 -0.7071
0.7071 0.7071 0
0 0 0.7071
and if you normalize the vectors first, this isr =
3 0 0
0 1 0
0 0 2
The eigenvalues I get are 1;2;3 and and my eigenvector matrix is a bit different than e when I do it out by hand:
1 -1 -1
1 1 0
0 0 1
Yes, did you try it? If e isbut since c[1;1;0] where c is any scalar; I am assuming it's the same thing due to the ratios. However, you are saying that I can use the matrix r instead? I know the arithmetic, this is just a bit confusing. Thanks again.
I think r might be my end result, but the way I am trying to get it is
e^(-1) * h * e = r
is this correct?