Please answer the following questions in complete sentences in a clearly prepared manuscript and submit the solution by midnight on Sunday, December 2nd, 2012. You should submit your PDF file to Blackboard http://mycourses.purdue.edu as well as your Matlab files.
Version 1: 2012-11-28: Added a much needed missing word to problem 5, fixed typo in 3 with the last coefficient.
Please identify anyone, whether or not they are in the class, with whom you discussed your homework. This problem is worth 1 point, but on a multiplicative scale.
Suppose we have real matrices . Show how to compute real matrices and so that
\mA + i \mB = (\mC + i \mD)(\mE + i \mF)
with just three real matrix-matrix products.
Let be symmetric. Prove the polarization identity
\vp^T \mA \vq = \frac{1}{4} \left[ (\vp + \vq)^T \mA (\vp + \vq) - (\vp - \vq)^T \mA (\vp - \vq) \right].
Let
\mT = \bmat{\alpha_1 & \beta_2 \\ \beta_2 & \alpha_2 & \ddots \\ & \ddots & \ddots & \beta_{n} \\ & & \beta_{n} & \alpha_n }.
Determine the LU factorization of .
Consider the Jacobi iteration on a matrix with property A. Show that the eigenvalues of the iteration matrix come in positive, negative pairs. That is, if is an eigenvalue of , then is also an eigenvalue.
Consider the shifted power method for finding the largest eigenvalue of , i.e.
\vx\itn{k+1} = (\mA - \mu \mI) \vx\itn{k} \text{ normalized after each iteration }.
Let have real-eigenvalues and suppose you know all the eigenvalues except for the largest. Find the value of a shift in that will make the power method converge as fast as possible.
Show that the Jacobi iteration converges for symmetric positive definite systems.
(I probably wouldn’t have used this one on the exam, but I like it as a homework question that gets at material I might put on the exam.)
Consider the algorithm (10.2.1) in Golub and van Loan. Show that .
This is not a final question. It’s based on an assignment from Michael Saunders’ iterative methods class.
Download the poisson2D.mat file from Tim Davis’s sparse matrix repository. If you type load poisson2D in Matlab, then you’ll get a new variable called Problem where the linear systems is: Problem.A and Problem.b. Use the following code to setup and for Matlab.
load poisson2D
A = Problem.A;
b = Problem.b;
A = (A+A')/2; % make it symmetric
The matrix A is symmetric-positive definite. But we are going to look at solving where . We’ll declare a method converged if the relative residual has -norm less than .
Plot the relative residuals for 100 iterations of the MINRES method (minres in Matlab) and the GMRES method (gmres in Matlab) restarted every 20 iterations on a semilogy scale. Describe what you observe, in particular, do the methods converge?
If you use an incomplete cholesky ichol or incomplete LU ilu preconditioner with GMRES, it will converge. How many iterations does it take? Does MINRES benefit from an incomplete Cholesky preconditioner?
Show the eigenvalues of the matrix before and after preconditioning. Do you observe any clustering?