Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Algorithms

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

3rd edition

978-0262033848

More Books

Students also viewed these Databases questions

Question

Show that in the recurrence T(n) max (T(q) +T(n q 1))+ O(n) , 0

Answered: 1 week ago