Solving System of Equations using Matrices: Learn It 4

Solving a System of Linear Equations Using Matrices

We have seen how to write a system of equations with an augmented matrix, and then how to use row operations and back-substitution to obtain row-echelon form. Now, we will take row-echelon form a step farther to solve a 3 by 3 system of linear equations. The general idea is to eliminate all but one variable using row operations and then back-substitute to solve for the other variables.

Solve the system of linear equations using matrices.

[latex]\begin{array}{c}\begin{array}{l}\hfill \\ \hfill \\ x-y+z=8\hfill \end{array}\\ 2x+3y-z=-2\\ 3x - 2y - 9z=9\end{array}[/latex]

Recall that there are three possible outcomes for solutions to linear systems.  In the previous example, the solution [latex]\left(4,-3,1\right)[/latex] represents a point in three dimensional space. This point represents the intersection of three planes.  In the next example, we solve a system using row operations and find that it represents a dependent system.  A dependent system in 3 dimensions can be represented by two planes that are identical, much like in 2 dimensions where a dependent system represents two lines that are identical.

Solve the following system of linear equations using Gaussian Elimination.

[latex]\begin{array}{r}\hfill -x - 2y+z=-1\\ \hfill 2x+3y=2\\ \hfill y - 2z=0\end{array}[/latex]

Recall that when you solve a dependent system of linear equations in two variables using elimination or substitution, you can write the solution [latex](x,y)[/latex] in terms of [latex]x[/latex], because there are infinitely many [latex](x,y)[/latex] pairs that will satisfy a dependent system of equations, and they all fall on the line [latex](x, mx+b)[/latex]. Now that you are working in three dimensions, the solution will represent a plane, so you would write it in the general form [latex](x, m_{1}x+b_{1}, m_{2}x+b_{2})[/latex]. However, in three dimensions, it is often convenient to express the solution in terms of the single variable [latex]z[/latex].

How To: Given a system of equations, solve with matrices using a calculator

  1. Save the augmented matrix as a matrix variable [latex]\left[A\right],\left[B\right],\left[C\right]\text{,} \dots[/latex].
  2. Use the ref( function in the calculator, calling up each matrix variable as needed.

You can view the transcript for “Augmented Matrices on the TI83/84” here (opens in new window).

Solve the system of equations using a calculator.

[latex]\begin{array}{r}\hfill 5x+3y+9z=-1\\ \hfill -2x+3y-z=-2\\ \hfill -x - 4y+5z=1\end{array}[/latex]