
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!

Math 782, HW 5, Due Monday, April 16
For problems involving MATLAB, turn in printouts of your m-files and obtained numerical results. Use format long e of MATLAB to display your results.
Problem 1. Show that if a nonsingular A ∈ Rm×m^ has a LU factorization, that is, A = LU , where L is unit lower triangular and U is upper triangular, then such factorization is unique. Hint: Consider L 1 U 1 = L 2 U 2 which implies U 1 U 2 − 1 = L− 1 1 L 2.
Problem 2. Let A(k)^ = (a( ijk ))mi,j=1, k = 1,... , m, be matrices resulting, in the exact arithmetic, from
GEPP applied to A ∈ Rm×m^ (A(1)^ = A). Show that if A is nonsingular, then for each k = 1,... , m, at least one of the coefficients a( ikk) , i = k,... , m,
is different from zero. Hint: Try to prove it by contradiction. (Remark: Note that the problem implies that GEPP does not fail on a nonsingular matrix in the exact arithmetic. More precisely, the problem shows that for a nonsingular A there is always a matrix P , which is a product of permutation matrices, such that P A has a LU factorization.)
Problem 3. A matrix B ∈ Rn×n^ is said to be strictly column diagonally dominant (scdd) if
|bjj | >
∑^ n
i=1,i 6 =j
|bij |, j = 1,... , n.
(a) Show that, in the exact arithmetic, GE without pivoting preserves scdd property, that is, show that if GE without pivoting is applied to a scdd A ∈ Rm×m, then for each k = 1,... , m, the subblock of A(k)^ obtained by deleting from A(k)^ the first k − 1 rows and the first k − 1 columns is also scdd. Hint: Use induction on k and consider step k for obtaining A(k+1)^ from A(k). Also you may want to use the inequalities |α ± β| ≤ |α| + |β|, |α| − |β| ≤ |α − β| that hold for any α, β ∈ R. (b) Show that, in the exact arithmetic, GE without pivoting will never fail when apllied to a scdd A ∈ Rm×m and that |lik| < 1 for all k = 1,... , m − 1 and all i = k + 1,... , m.
Problem 4. Use Matlab “pascal” to generate A = the 12 × 12 Pascal matrix. For ~x = [1,... , 1]T compute ~b in the system A~x = ~b. Argue that A and ~b are a floating point matrix and a floating point vector, respectively. Solve A~x = ~b using Matlab “[L,U,P]=lu(A)” and your functions for forward and back substitutions. Compute the relative error ‖x˜ − ~x‖ 2 /‖~x‖ 2 , where ˜x is the computed solution. Using Matlab “eps” and “cond” compare this error with the theoretical bound uκ 2 (A) derived in class.
Problem 5. Consider A~x = ~b with A = A 1 A 2 , (1)
where A 1 , A 2 ∈ Rm×m^ are given nonsingular floating point matrices and ~b ∈ Rm^ is a given floating point vector. Suppose that solution of (1) is obtained by solving
A 1 ~y = ~b and A 2 ~x = ~y. (2)
Assume that the systems in (2) are solved using a backward stable method, that is, the computed ˜y and computed ˜x satisfy (A 1 + δA 1 )˜y = ~b, (A 2 + δA 2 )˜x = ˜y,
where ‖δAi‖ ≤ c(m)u‖Ai‖, i = 1, 2, c(m) depends mildly on m (e.g., c(m) = m), u is the unit roundoff, and ‖ · ‖ is some induced matrix norm. Determine condition on ‖A 1 ‖‖A 2 ‖ under which the described method of solving (1) can be viewed as being backward stable.
Problem 6. Assume that A ∈ Rm×m^ is symmetric and positive definite. (a) Show that if X ∈ Rm×m^ is nonsingular, then XT^ AX is symmetric and positive definite. (b) Show that any principal submatrix of A is symmetric and positive definite. (A principal submatrix of A is the matrix A(j : k, j : k), where 1 ≤ j ≤ k ≤ m.)