- #1
member 428835
Hi PF!
I am trying to solve the eigenvalue problem ##Ax = \lambda Bx## where I have numerical entries for the square matrices ##A## and ##B##. I solve this by taking $$Ax = \lambda Bx\implies\\
B^{-1}Ax- \lambda Ix=0\implies\\
(B^{-1}A-\lambda I)x=0$$
where I then use a built in function in Mathematica and MATLAB (I'm using both to double check my work) to compute the eigenvalues/vectors of the matrix ##B^{-1}A##. But my answers are off by about an order of magnitude and a sign error. Any ideas if there is a more accurate way to check for eigenvalues?
Thanks!
I am trying to solve the eigenvalue problem ##Ax = \lambda Bx## where I have numerical entries for the square matrices ##A## and ##B##. I solve this by taking $$Ax = \lambda Bx\implies\\
B^{-1}Ax- \lambda Ix=0\implies\\
(B^{-1}A-\lambda I)x=0$$
where I then use a built in function in Mathematica and MATLAB (I'm using both to double check my work) to compute the eigenvalues/vectors of the matrix ##B^{-1}A##. But my answers are off by about an order of magnitude and a sign error. Any ideas if there is a more accurate way to check for eigenvalues?
Thanks!