Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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/ x12. 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/ x22. 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/ x32. 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. Dont use any inbuilt python libraries

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

More Books

Students also viewed these Databases questions