Ill-Conditioned Systems
[7/71%]Consider the ill-conditioned system of Example 1.6.1:
Describe the outcome when you attempt to solve the system using 5-digit arithmetic with no scaling.
Again using 5-digit arithmetic, first row scale the system before attempting to solve it. Describe to what extent this helps.
Now use 6-digit arithmetic with no scaling. Compare the results with the exact solution.
Using 6-digit arithmetic, compute the residuals for your solution of part (c), and interpret the results.
For the same solution obtained in part (c), again compute the residuals, but use 7-digit arithmetic this time, and interpret the results.
Formulate a concluding statement that summarizes the points made in parts (a)--(e).
Perturb the ill-conditioned system given in Exercise 1.6.1 above so as to form the following system:
Determine the exact solution, and compare it with the exact solution of the system in Exercise 1.6.1.
On the basis of the results of part (a), formulate a statement concerning the necessity for the solution of an ill-conditioned system to undergo a radical change for every perturbation of the original system.
Consider the two straight lines determined by the graphs of the following two equations:
Use 5-digit arithmetic to compute the slopes of each of the lines, and then use 6-digit arithmetic to do the same. In each case, sketch the graphs on a coordinate system.
Show by diagram why a small perturbation in either of these lines can result in a large change in the solution.
Describe in geometrical terms the situation that must exist in order for a system to be optimally well-conditioned.
Using geometric considerations, rank the following three systems according to their condition.
Determine the exact solution of the following system:
Now change to in the first equation and again solve the system with exact arithmetic. Is the system ill-conditioned?
Show that the system
is ill-conditioned by considering the following perturbed system:
Let on . The object of this problem is to determine the coefficients of the cubic polynomial
that is as close to as possible in the sense that
is as small as possible.
In order to minimize , impose the condition that for each , and show this results in a system of linear equations whose augmented matrix is , where and are given by
Any matrix that has the same form as is called a Hilbert matrix of order .
Systems involving Hilbert matrices are badly ill-conditioned, and the ill-conditioning becomes worse as the size increases. Use exact arithmetic with Gaussian elimination to reduce to triangular form. Assuming that the case in which is typical, explain why a general system will be ill-conditioned. Notice that even complete pivoting is of no help.