Question 3: Solve Linear System by Elimination

Solve the following system of linear equations using Gaussian elimination:
x − 4 ⁢ z = 8 − 2 ⁢ x − y + 8 ⁢ z = − 25 2 ⁢ x + 3 ⁢ y − 4 ⁢ z = 40

(a) Perform Gaussian elimination to reduce the augmented matrix to row echelon form.
Maintain the order of variables. Enter the resulting augmented matrix below.

[0.5] [0]

Acceptable answers include:

( 1 − 0 − 4 − 8 0 − 1 − 0 − 9 0 − 0 − 4 − 3 ) and ( 1 0 0 5 0 1 0 9 0 0 1 − 3 4 )

Any other equivalent row echelon form would be accepted.

Step 1 of 2

(a) Let's write the matrix equation A ⋅ x = b :

( − 1 − 0 − 4 − 2 − 1 − 8 − 2 − 3 − 4 ) ⋅ ( x y z ) = ( 0 − 8 − 25 − 40 )

Form the augmented matrix [ ​ A ​ | ​ b ​ ] :

( − 1 − 0 − 4 | 0 − 8 − 2 − 1 − 8 | − 25 − 2 − 3 − 4 | − 40 )

Step 2 of 2

Perform Gaussian elimination to reduce the augmented matrix to the row echelon form.

The original augmented matrix is ( − 1 − 0 − 4 0 − 8 − 2 − 1 − 8 − 25 − 2 − 3 − 4 − 40 ) .

R 2 ​ → ​ 2 ⁢ R 1 + R 2

( 1 − 0 − 4 0 − 8 0 − 1 − 0 0 − 9 2 − 3 − 4 − 40 )

R 3 ​ → ​ R 3 − 2 ⁢ R 1

( 1 − 0 − 4 0 − 8 0 − 1 − 0 0 − 9 0 − 3 − 4 − 24 )

R 3 ​ → ​ 3 ⁢ R 2 + R 3

( 1 − 0 − 4 − 8 0 − 1 − 0 − 9 0 − 0 − 4 − 3 )

Any equivalent row echelon form of the augmented matrix will be accepted.


(b) Using back substitution on the row echelon form obtained in (a), determine the values of the variables x , y and z . Enter their values as an ordered list { x , y , z } in the answer field.

[0.5] [0]

{ 5 , 9 , − 3 4 }

Step 1 of 5

(b) Now we have the simplified set of equations:

x − 4 ⁢ z = 8 − y = − 9 4 ⁢ z = − 3

Step 2 of 5

We obtain z by solving 4 ⁢ z = − 3 :

z = − 3 4

Step 3 of 5

Substitute z = − 3 4 in − y = − 9 and solve for y :

− y = − 9 y = 9

Step 4 of 5

Substitute y = 9 and z = − 3 4 in − y = − 9 and solve for x :

x + 3 = 8 x = 5

Step 5 of 5

So the answer to be entered is { 5 , 9 , − 3 4 } .