1
4.3 Consider the following system of two linear equations: .
(a) Solve the system with the Gauss elimination method using rounding with four significant figures.
(b) Switch the order of the equations, and solve the system with the Gauss elimination method using
rounding with four significant figures.
Check the answers by substituting the solution back in the equations.
Solution
(a) First, write the system in matrix form: . Next, apply Gaussian elimina-
tion with rounding. With , we have . Note that
(b) Switching the order of the equations, we have: . Applying Gaussian
elimination with rounding to 4 significant figures yields: and
0.0003x11.566x2
+1.569=
0.3454x12.436x2
–1.018=
0.0003 1.566
0.3454 2.436–
x1
x2
1.569
1.018
=
m21
a21
a11
——–0.3454
0.0003
—————– 1 1 5 1== =
0.0003 1.566
0.0001 1804–
x1
x2
1.569
1805–
=
0.3454 2.436–
0.0003 1.566
x1
x2
1.018
1.569
=
m21
a21
a11
——–0.0003
0.3454
—————– 0 . 0008686== =