##

Exercise 4.22

Consider two systems of equations:

and

- a)
- Solve both systems of equations

By changing the right-hand-side of both systems of equations, we can obtain an impression of the sensitivity of the matrices for small changes.
- b)
- Solve the first system of equations with the righthandsides
and
. Solve the second system of equations with right hand-sides
and
. What is the effect of these minor changes?

By slightly changing the coefficients of the equations and studying the effect of these changes to the solutions, one can get an impression of the sensitivity for small data errors.
- c)
- Change the elements of the original matrices by adding a matrix
`0.1*rand(4)`

to both of them, such that for each element, a random number between 0 and 0.1 is added. Solve the systems of equations with the original right-hand sides.What is the effect of the changes?
- d)
- Systems of equations that are sensitive for small data changes have
*ill-conditioned* matrices of coefficients. Which of the two systems has the most well-conditioned matrix of coefficients?

Esteur
2010-03-22