How to get correct result as "lambda1 = 3 and lambda2 = 4" instead of the wrong result "lambda1 = 4 and lambda2 = 3" when factoring from the example below? Or the order of eigenvalues 1 and 2 are not important?
thank you!
Matrix A = 2 2
-1 5
.
.
.
The characteristic equation of the matrix A is
lambda^2 -7 lambda + 12 = 0 =>
(lambda - 3)(lambda - 4) = 0
The eigenvalues of the matrix A lambda1 = 3 and lambda2 = 4