This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can one improve the accuracy of a returned eigenvalue?

Tags: None
(comma "," separated)
pauls
Registered Member
Posts
8
Karma
0
Dear All,

At

http://eigen.tuxfamily.org/dox/group__T ... tions.html

one is informed that the algorithm reliability and accuracy of

EigenSolver

depends on condition number.

Can one improve the accuracy of a eigenvalue returned by Eigen?

Thanks in advance!

Last edited by pauls on Wed Apr 08, 2015 8:33 am, edited 1 time in total.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
hm, this table seems to be obsolete. the implementation of EigenSolver has proven to be pretty stable. Nonetheless, don't miss the SelfAdjointEigenSolver class for symmetric/hermitian matrices.
pauls
Registered Member
Posts
8
Karma
0
Thanks for your reply.

Unfortunately, my matrix is not symmetric and, moreover, is defective.

Eigen returns the following eigenvalues:

(2,0),
(-1.83128e-06,3.17189e-06),
(-1.83128e-06,-3.17189e-06),
(3.66256e-06,0),
(-1.16573e-15,9.85619e-09),
(-1.16573e-15,-9.85619e-09).

And theoretically the eigenvalues are:

2 (with algebraic multiplicity 1)

and

0 (with algebraic multiplicity 5).

So, my question is: How can one increase accuracy in order to obtain the last 5 eigenvalues much closer to zero and conclude with safety that all 5 eigenvalues are equal to zero?

Again, many thanks!

Last edited by pauls on Wed Apr 08, 2015 8:33 am, edited 1 time in total.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
could you provide your matrix so that we can reproduce.
pauls
Registered Member
Posts
8
Karma
0
Thanks again, Gael.

The matrix is the following:

1,0,0,0,0,1
0,1,0,0,1,0
0,1,0,0,1,0
1,0,1,0,0,0
1,0,1,0,0,0
0,1,0,1,0,0
pauls
Registered Member
Posts
8
Karma
0
And, please, notice that the proper subspace associated to the zero eigenvalue of the above matrix has dimension 2 and the eigenvectors that Eigen returns for this eigenvalue do not form a basis of the mentioned proper subspace.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Alright, I confirm. I also see that Matlab is returning the same as Eigen.
pauls
Registered Member
Posts
8
Karma
0
Thanks, Gael. But is there some way of circumventing the reported problem?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
Looking back at this entry, the "problem" is that this matrix is defective; it is not diagonalizable. The eigenvalue 0 has only 2 corresponding eigenvectors, whereas its algebraic multiplicity is 5.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft