






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Problem set 4 for math 6800, focusing on conditioning and stability analysis. The set includes exercises on finding the condition number for given functions, determining ill-conditioned values, and solving linear systems using different methods. Students are required to use matlab for parts (b) and (c).
Typology: Assignments
1 / 11
This page cannot be seen from the preview
Don't miss anything!







Math 6800
Due: Thursday, 10/13/
A=diag(10^(0:-1:-9)); [Q0,R0]=qr(rand(10)); A=Q0AQ0’;
(a) Note that A is symmetric and positive definite. What are the singular values of A? What is κ(A) in the 2-norm? (You should be able to answer this without using matlab.)
(b) Now let’s generate a linear system Ax = b whose solution x we know. Use the commands
x=ones(10,1); b=A*x;
Let us consider various ways to solve this system. First, use matlab’s R=chol(A) to compute the upper triangular matrix R in the Cholesky factorization A = R∗R. Solve for a computed xc using the commands
y=R’\b; xc=R\y;
Compute ‖xc − x‖ and ‖R∗R − A‖ in the 2-norm using matlab and explain your results in terms of conditioning and backward stability. Do you expect the computed R to be accurate, i.e. its relative error to be O(mach)? Explain.
(c) Solve the linear system constructed in part (b) but now using a QR-factorization and matlab’s qr(A) command. Compute ‖xc − x‖ and ‖QR − A‖ and explain your results.