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/\| 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

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

Students also viewed these Databases questions

Question

Compare levels of resolution in conflict outcomes?

Answered: 1 week ago

Question

Strategies for Managing Conflict Conflict Outcomes?

Answered: 1 week ago