The top matrix on the menu is the diagonal matrix A = 5 4 0 0 3 4 Initially, when you select this matrix, the vectors x and Ax should both be aligned along the positive x-axis. What information about an eigenvalue eigenvector pair is apparent from the initial figure positions? Explain. Rotate x counterclockwise until x and Ax are parallel, that is, until they both lie along the same line through the origin. What can you conclude about the second eigenvalue eigenvector pair? Repeat this experiment with the second matrix. How can you determine the eigenvalues and eigenvectors of a 2 2 diagonal matrix by inspection without doing any computations? Does this also work for 3 3 diagonal matrices? Explain.
Read more
Table of Contents
Textbook Solutions for Linear Algebra with Applications
Question
Generate a matrix A by setting B = [1, 1; 1, 1 ], A = [zeros(2), eye(2); eye(2), B] (a) The matrix A should have eigenvalues 1 = 1 and 2 = 1. Use MATLAB to verify that these are the correct eigenvalues by computing the reduced row echelon forms of A I and A + I . What are the dimensions of the eigenspaces of 1 and 2? (b) It is easily seen that trace(A) = 0 and det(A) = 1. Verify these results in MATLAB. Use the values of the trace and determinant to prove that 1 and 1 are actually both double eigenvalues. Is A defective? Explain. (c) Set e = eig(A) and examine the eigenvalues, using format long. How many digits of accuracy are there in the computed eigenvalues? Set [X, D] = eig(A) and compute the condition number of X. The log of the condition number gives an estimate of how many digits of accuracy are lost in the computation of the eigenvalues of A. (d) Compute the rank of X. Are the computed eigenvectors linearly independent? Use MATLAB to compute X1AX. Does the computed matrix X diagonalize A? 1
Solution
The first step in solving 6 problem number 16 trying to solve the problem we have to refer to the textbook question: Generate a matrix A by setting B = [1, 1; 1, 1 ], A = [zeros(2), eye(2); eye(2), B] (a) The matrix A should have eigenvalues 1 = 1 and 2 = 1. Use MATLAB to verify that these are the correct eigenvalues by computing the reduced row echelon forms of A I and A + I . What are the dimensions of the eigenspaces of 1 and 2? (b) It is easily seen that trace(A) = 0 and det(A) = 1. Verify these results in MATLAB. Use the values of the trace and determinant to prove that 1 and 1 are actually both double eigenvalues. Is A defective? Explain. (c) Set e = eig(A) and examine the eigenvalues, using format long. How many digits of accuracy are there in the computed eigenvalues? Set [X, D] = eig(A) and compute the condition number of X. The log of the condition number gives an estimate of how many digits of accuracy are lost in the computation of the eigenvalues of A. (d) Compute the rank of X. Are the computed eigenvectors linearly independent? Use MATLAB to compute X1AX. Does the computed matrix X diagonalize A? 1
From the textbook chapter Eigenvalues you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution