
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Due Date: See web page
[i] In the class, we discussed how to find the best rank-1 approximation to an m × n matrix using the SVD. Describe how to find the best rank-2 approximation. Explain your answer.
[ii] Let A be a square matrix. Then its exponential is defined as
exp(A) = I + A + A^2 /2! + A^3 /3! + · · ·
If A = QT Q∗^ is the Schur factorization of A, show that exp(A) = Q exp(T )Q∗. If A = V DV −^1 is the eigendecomposition of A (with D being diagonal), show that exp(A) = V exp(D)V −^1.
[iii] Let x be an m-dimensional vector and let A be an m × m matrix. In the class, we learnt how to solve the linear system dx/dt = Ax using the the eigenvalues and eigenvectors of A. Show how to solve the linear system
dx dt
= Ax + f (t),
where f (t) is an m-dimensional vector that is a function of t. Express the solution to that linear system compactly using the matrix exponential.
[iv] Consider the eigenvalue problem
d^2 u dx^2
= λu,
with 0 ≤ x ≤ π and u(0) = u(π) = 0. Solve the eigenvalue problem analytically to find infinitely many eigenvalues λ. If the interval 0 ≤ x ≤ π is divided into a grid with spacing h = π/m, then there are grid points at u(ih) for i = 0, 1 ,... , m. The second derivative at ih can be approximated as
u((i + 1)h) − 2 ∗ u(ih) + u((i − 1)h) h^2
for i = 1, 2 ,... , m − 1. In addition, we know that u(ih) = 0 for i = 0 and i = m. Use the grid approximation to turn the continuous eigenvalue problem into a discrete eigenvalue problem of the form Au = λu, where A is an (m − 1) × (m − 1) matrix. For m = 200 or m = 2000 or m = 10000, compute the eigenvalues of A using Matlab or C or C++. How many of those eigenvalues are roughly correct? Plot a few eigenvectors for correct and incorrect eigenvalues, and compare with the analytical result.