Compute the eigenvalues for the 2-by-2 matrix 'a' by finding the roots of the characteristic polynomial:
Compute the eigenvalues for the 2-by-2 matrix 'a' by finding the roots of the characteristic polynomial:
(a00 - l) * (a11 - l) - a01 * a10 = 0
where l is an eigenvalue (2 possible solutions).
the 2-by-2 matrix whose eigenvalues are sought
Compute the eigenvectors for the the 2-by-2 matrix 'a'.
Compute the eigenvectors for the the 2-by-2 matrix 'a'.
the 2-by-2 matrix whose eigenvectors are sought
the eigenvalues
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
The
Eigen_2by2
object provides simple methods for computing eigenvalues and eigenvectors for 2-by-2 matrices.