Solving Orthonormal Basis of Eigenvectors for Matrix A

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
7 replies · 13K views
asif zaidi
Messages
56
Reaction score
0

Homework Statement


My problem is I am getting a different answer than what MATLAB is giving me and I cannot determine why. Plz advise.

Find an orthonormal basis of eigenvectors for matrix A= [3 2; 2 1] (using MATLAB notation- I couldn't figure out how to put in proper matrix notation).


Homework Equations



I find the eigenvectors as 4.2361 and -0.2361

For eigenvalue 4.2361: [3 2; 2 1] - [4.2361 0; 0 4.2361] = [-1.2361 2; 2 -3.2361]
-1.2361x1 + 2x2 = 0
x2 = 0.6180 x1
Therefore eigenvector: (1 0.6180) and normalizing it: (0.8506 0.5257)

For eigenvector -0.2361: Eigenvector: (1 -1.6180) and normalizing it: (0.5257 -0.8506)

Therefore my orthonormal basis of eigenvectors:
(0.8506 0.5257; 0.5257 -0.8506)

First Question:
Is what the question is asking - to get an orthonormal basis of eigenvectors. Is this what I am doing?

Second Question:
I think it is but when I compare my answer to MATLAB, for eigenvector 4.2361, MATLAB gives normalized eigenvectors (-0.8506 -0.5257).
I don't understand where the negative comes from.

Thanks

Asif
 
Physics news on Phys.org
asif zaidi said:
I find the eigenvectors as 4.2361 and -0.2361

Those are the eigenvalues.

First Question:
Is what the question is asking - to get an orthonormal basis of eigenvectors. Is this what I am doing?

You are obtaining an orthonormal basis of the eigenspace of the matrix.

Second Question:
I think it is but when I compare my answer to MATLAB, for eigenvector 4.2361, MATLAB gives normalized eigenvectors (-0.8506 -0.5257).
I don't understand where the negative comes from.

That's OK, the basis of the eigenspace is not unique. Think back to [itex]\mathbb{R}^2[/itex]. The standard basis is [itex]\{<1,0>,<0,1>\}[/itex], but an equally acceptable orthonormal basis is [itex]\{<-1,0>,<0,1>\}[/itex]. Both bases span the space, and they are both orthonormal.
 
Is this a course on Linear Algebra/Matrix Algebra or a course on how to use MATLAB?

The eigenvalues of this matrix are [itex]2\pm \sqrt{5}[/itex]. Do you know how to find those without using MATLAB?

You seem to be consistently confusing "eigenvalues" with "eigenvectors"- you keep calling a single number an "eigenvector".

An eigenvector corresponding to eigenvalue [itex]2+ \sqrt{5}[/itex] is [itex]<2, -1+\sqrt{5}>[/itex] and an eigenvector corresponding eigenvalue to [itex]2-\sqrt{5}[/itex] is [itex]<2, -1-\sqrt{5}>[/itex]. Can you find an orthonormal pair from that?
 
HallsofIvy:

- The course is on Linear Algebra. I use MATLAB to verify my results
- I know how to compute eigenvectors/eigenvalues. It was a typing error when I called an eigenvalue an eigenvector.
- As I said in original problem, I got the eigenvalues (same as you) and calculated the respective eigenvectors. I then found an orthonormal pair from it by squaring, summing and taking square root.

- The thing I am not sure from T Mattson reply is that he is saying I am getting an orthonormal basis of eigenspace and not of eigenvector and I don't see the difference.

If you can clarify I would appreciate.
Thanks

Asif
 
Tom-
I will ask my professor but that is what he is asking in the h/w assignment.
I quote: "Find an orthonormal basis of eigenvectors" for matrix which I gave above.

Thanks

Asif