Generate a matrix A by setting B = [1, 1; 1, 1 ], A = [zeros(2), eye(2); eye(2), B] (a) | StudySoup

Textbook Solutions for Linear Algebra with Applications

Chapter 6 Problem 16

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

Step 1 of 4)

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.

Step 2 of 7)

Visible to paid subscribers only

Step 3 of 7)

Visible to paid subscribers only

Subscribe to view the
full solution

Title Linear Algebra with Applications 8 
Author Steve Leon
ISBN 9780136009290

Generate a matrix A by setting B = [1, 1; 1, 1 ], A = [zeros(2), eye(2); eye(2), B] (a)

Chapter 6 textbook questions

×

Login

Organize all study tools for free

Or continue with
×

Register

Sign up for access to all content on our site!

Or continue with

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back