Consider two 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.
- Solve both systems of equations
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.
- Solve the first system of equations with the righthandsides
. Solve the second system of equations with right hand-sides
. What is the effect of these minor changes?
- 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?
- 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?