Docsity

Practice Problems Final Exam - Linear Algebra | CSCI 5646, Exams of Linear Algebra

Toggle sidebar
bg1
CSCI 5646
December 8, 2008
Final Hour Exam Practice Problems
Selected Solutions
1. T or F–make sure you understand why.
(a) An algorithm is backward stable if it always produces the correct
answer to a slight perturbation of the given problem.
(b) If a computational problem is well conditioned then every algo-
rithm for it is backward stable.
(c) If a computational problem has a backward stable algorithm then
it is well conditioned.
(d) In the conjugate gradient method, the searching direction at cur-
rent step is conjugate to all searching directions in previous steps.
(e) We can find the QR factorization of a matrix by multiplying on
the left by a sequence of Householder reflectors.
(f) The QR algorithm for eigenvalues is greatly accelerated by first
putting the matrix in Hessenberg form.
(g) Every square matrix is similar to an upper triangular matrix,
under a unitary change of basis.
(h) Every square matrix is similar to a diagonal matrix.
(i) Every hermitian matrix is similar to a diagonal matrix, under a
unitary change of basis.
(j) The classical Gram-Schmidt process is backward stable.
(k) If your physical model requires the eigenvalues of a matrix whose
eigenvectors are far from orthogonal, then you should reformulate
your physical model.
(l) The Schur factorization reveals the eigenvalues of a square matrix.
(m) The LU factorization reveals the eigenvalues of a square matrix.
(n) The Hessenberg form of a square matrix reveals its eigenvalues.
(o) Every square matrix is similar to one in Hessenberg form, under
an orthogonal change of basis.
(p) Every square matrix is similar to one in tridiagonal form.
(q) Every hermitian matrix is similar to one in tridiagonal form, un-
der an orthogonal change of basis.
(r) There is no finite algebraic process for solving the eigenvalue prob-
lem.
1
pf3

Partial preview of the text

Download Practice Problems Final Exam - Linear Algebra | CSCI 5646 and more Exams Linear Algebra in PDF only on Docsity!

CSCI 5646

December 8, 2008

Final Hour Exam Practice Problems Selected Solutions

  1. T or F–make sure you understand why.

(a) An algorithm is backward stable if it always produces the correct answer to a slight perturbation of the given problem. (b) If a computational problem is well conditioned then every algo- rithm for it is backward stable. (c) If a computational problem has a backward stable algorithm then it is well conditioned. (d) In the conjugate gradient method, the searching direction at cur- rent step is conjugate to all searching directions in previous steps. (e) We can find the QR factorization of a matrix by multiplying on the left by a sequence of Householder reflectors. (f) The QR algorithm for eigenvalues is greatly accelerated by first putting the matrix in Hessenberg form. (g) Every square matrix is similar to an upper triangular matrix, under a unitary change of basis. (h) Every square matrix is similar to a diagonal matrix. (i) Every hermitian matrix is similar to a diagonal matrix, under a unitary change of basis. (j) The classical Gram-Schmidt process is backward stable. (k) If your physical model requires the eigenvalues of a matrix whose eigenvectors are far from orthogonal, then you should reformulate your physical model. (l) The Schur factorization reveals the eigenvalues of a square matrix. (m) The LU factorization reveals the eigenvalues of a square matrix. (n) The Hessenberg form of a square matrix reveals its eigenvalues. (o) Every square matrix is similar to one in Hessenberg form, under an orthogonal change of basis. (p) Every square matrix is similar to one in tridiagonal form. (q) Every hermitian matrix is similar to one in tridiagonal form, un- der an orthogonal change of basis. (r) There is no finite algebraic process for solving the eigenvalue prob- lem.

  1. Growth factor for Gaussian elimination

(a) Does partial pivoting always ensure that the growth factor is small? (b) Is Gaussian elimination with partial pivoting always backward stable? (c) Is a matrix with a large growth factor always ill-conditioned?

  1. Let A =

 

 . Write down all of the elimination (elemen-

tary) and permutation matrices you need to apply to form the factor- ization P A = LU using partial pivoting. Show clearly the order in which they are applied. You do not need to form L explicitly.

  1. I stayed up all night writing a program to compute the roots of the polynomial (x − 2)^4 − 10 −^14 = 0, but my program isn’t giving good answers. What might be wrong? How can I figure out what the difficulty actually is?
  2. Given a general square matrix A, what method would you use to com- pute the following?

(a) The eigenvector corresponding to the largest eigenvalue of A (b) The eigenvector corresponding to the smallest eigenvalue of A (c) The eigenvector corresponding to the eigenvalue of A closest to some specified scalar β (d) All of the eigenvalues and eigenvectors of A

  1. Let H be an m × m upper Hessenberg matrix.

(a) Show that the factor U computed via Gaussian elimination with partial pivoting is also upper Hessenberg. (b) Show that the growth factor for H for Gaussian elimination with partial pivoting is not greater than m.

  1. Many of the methods we’ve studied are based on Krylov space se- quences. Let A be a general matrix and u a vector. What is one dif- ficulty with the use of u, Au, A^2 u,... , An−^1 as a basis for the Krylov subspace spanned by those vectors? How can you remedy that prob- lem?
  2. The method of bisection for root finding is based on recursive halving of a search interval. The method of quadsection would recursively divide the interval into four pieces.