Build a basic algorithm for finding an eigenvector and an eigenvalue of matrices within the framework of a diagonalization exercice.
- With the value of
c_1found above defineB = c_1 \* I - AwhereIis the identity matrix 2 by 2. - Display the matrix
Bthus obtained. - Repeat the same as in question 2 with this matrix B and new variables
V_2,c_2andW_2. - display the final value of
c_1 - c_2
- Assuming that
Ahas two eigenvalueslambda_1andlambda_2withlambda_1 = c_1, what are the eigenvalues ofB? - Give approximate values of the eigenvalues of
B. - Deduce the second eigenvalue of
Aand an associated eigenvector.
Calculate the product Y = AX from the example given above and display the matrix A and the vectors X and Y.