I have a matrix A
A = [ 124.6,95.3,42.7 ; 95.3,55.33,2.74 ; 42.7,2.74,33.33 ]
The eigenvalues and vectors:
[V,D] = eig(A)
How do I show the eigenvalues are mutually perpendicular? I've tried that if the dot product of the eigenvalues are zero, this demonstrates they are mutually perpendicular, but how would you compute this in MATLAB? I tried the following code
transpose(diag(D)) * diag(D) %gives 4.1523e+04
Also, how can I verify the definition of eigenvalues and vector holds:
A e_i - L_i e_i = 0
The above equation: for i equal 1 to 3. For a real, symmetric matrix all eigenvales are positive numbers and eigenvectors for a basis for the matrix
I tried the following code, but it doesn't seem to give me 0. Any ideas?
A*V(1) - D(1)*V(1)