Question: Problem 3 . [ 5 0 points ] Use Jupyter notebook for parts ( b ) , ( d ) and ( e ) of
Problem points Use Jupyter notebook for parts bd and e of this problem.
Consider the following matrix
Here you will write your own QR decomposition algorithm for a matrix and use it
repeatedly to find all the eigenvalues of not just the largest eigenvalue
a points Orthogonalize the column vectors of by hand. In other words, let
and Modify them using the QR decomposition method to find two orthogo
nal vectors and Show that two vectors and are indeed orthogonal. Write down
the matrix
b points Write a Python function that takes an arbitrary matrix as input and returns
the matrix Provide to your function as an input and show that the returned is equal
to the result from part a
c points Construct the matrix in the QR decomposition by hand. Write down your
matrix
d points Add new code to the Python function defined in part b so that it returns
together with Show that your Python function now takes in as an input and returns
and
e points Apply the QR function your wrote in part d repeatedly to find two eigenvalues of
Compare your numerical result with the eigenvalues found mathematically ie calculate
the eigenvalues by hand following the definition
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
