Question: Power Method and Inverse Iteration (a) Implement the Power Method for an arbitrary matrix A ? R nn and an initial vector x 0 ?

Power Method and Inverse Iteration

(a) Implement the Power Method for an arbitrary matrix A ? Rnn and an initial vector x0 ? Rn .

(b) Use your code to find an eigenvector of

A = -2 1 4 1 1 1 4 1 -2]

starting with x0 = (1, 2, −1)T and x0 = (1, 2, 1)T . Report the first 5 iterates for each of the two initial vectors. Then use MATLAB's eig(A) to examine the eigenvalues and eigenvectors of A. Where do the sequences converge to? Why do the limits not seem to be the same?


(c) Implement the Inverse Power Method for an arbitrary matrix A ∈ Rn×n, an initial vector x0 ∈ Rn and an initial eigenvalue guess θ ∈ R. 


(d) Use your code from (c) to calculate all eigenvectors of A. You may pick appropriate values for θ and the initial vector as you wish (obviously not the eigenvectors themselves). Always report the first 5 iterates and explain where the sequence converges to and why. 




Please also hand in your code.


A = -2 1 4 1 1 1 4 1 -2]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!