▪ Solving a System with Gauss-Jordan Elimination

Learning Outcomes

  • Use Gauss-Jordan elimination to solve a system of equations represented as an augmented matrix.
  • Interpret the solution to a system of equations represented as an augmented matrix.

We have seen how to use Gaussian elimination as a tool for solving a system written as an augmented matrix. Now we will see how to use Gauss-Jordan elimination, which is very similar to Gaussian elimination. We will review the same examples we used in the previous section.

Example: Solving a 2 X 2 System by Gauss-Jordan Elimination

Solve the given system by Gauss-Jordan elimination.

[latex]\begin{array}{l}2x+3y=6\hfill \\ \text{ }x-y=\frac{1}{2}\hfill \end{array}[/latex]

Example: Solving a Dependent System

Solve the system of equations.

[latex]\begin{array}{l}3x+4y=12\\ 6x+8y=24\end{array}[/latex]

Example: Solving a System of Linear Equations using Matrices

Solve the following system of linear equations using Gaussian Elimination.

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

Example: Solving a 3 x 3 Dependent System

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]

The General Solution to a Dependent 3 X 3 System in Gauss-Jordan Elimination

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 y, because there are infinitely many (x,y) pairs that will satisfy a dependent system of equations, and they all fall on the line [latex](my+b, y)[/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](m_{1}z+b_{1}, m_{2}z+b_{2}, z)[/latex].

Try It

Q & A

Can any system of linear equations be solved by Gauss-Jordan elimination?

Yes, a system of linear equations of any size can be solved by Gauss-Jordan elimination.

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 rref( function in the calculator, calling up each matrix variable as needed.

Example: Solving Systems of Equations Using a Calculator

Solve the system of equations.

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

Applications of Systems of Equations

Now we will turn to the applications for which systems of equations are used. Again, we will use same examples but use Gauss-Jordan elimination instead of Gaussian elimination.

Example: Applying 2 × 2 Matrices to Finance

Carolyn invests a total of $12,000 in two municipal bonds, one paying 10.5% interest and the other paying 12% interest. The annual interest earned on the two investments last year was $1,335. How much was invested at each rate?

Try It

Example: Applying 3 × 3 Matrices to Finance

Ava invests a total of $10,000 in three accounts, one paying 5% interest, another paying 8% interest, and the third paying 9% interest. The annual interest earned on the three investments last year was $770. The amount invested at 9% was twice the amount invested at 5%. How much was invested at each rate?