Question: Generate using code a random integer matrix C of size 4 times 3 and a ma - trix A 1 defined as A 1

Generate using code a random integer matrix C of size 4\times 3 and a ma-
trix A1 defined as A1= CT C and workout its characteristic equation.
Using any software package, determine the eigenvalues and eigenvec-
tors.
Deliverables: The matrices C and A1, the computation of the char-
acteristic equation, the eigenvalues and eigenvectors as obtained from
the package.
ii) Write a code in your chosen programming language to implement the
Power method and use it to derive the largest eigenvalue \lambda 1 and corre-
sponding eigenvector x1 of A1. Find x1= x1/\| x1\|2
. Compare the values obtained in i) with these values.
Deliverables: The handwritten code that implements the Power method,
the first 10 iterates of eigenvalue generated by the algorithm and the
final \lambda 1 and x1 and a comment on the comparison.
iii) Write a code to construct matrix A2=(A1x1x1TA1). Use the Power
method code written in ii) and use it to derive the largest eigenvalue
\lambda 2 and corresponding eigenvector x2 of A2. Find x2= x2/\| x2\|2
. Com-pare the values obtained in i) with these values.
Deliverables: The first 10 iterates of \lambda 2 and x2 and a comment on the
comparison.
iv) Write a code to construct matrix A3=(A1x1x1TA1x2xT2A1).
Use the Power method code written in ii) and use it to derive the
largest eigenvalue \lambda 3 and corresponding eigenvector x3 of A3. Find
x3= x3/\| x3\|2
. Compare the values obtained in i) with these values.
Deliverables: The first 10 iterates of \lambda 3 and x3 and a comment on the
comparison.
Eigen values should match for parts 2,3,4 with part 1. For me its not matching can you share the working code.

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!