The reason why the rules for row reducing matrices are the same as the rules for eliminating coefficients when solving a system of equations is because you are essentially doing the same thing in each case. When you write and rewrite the equation every time you end up writing down lots of extra information. Matrices take care of this information by embedding it in the location of each entry. How would you use matrices to write the following system of equations?

### Solving Systems of Equations with Augmented Matrices

In order to represent a system as a matrix equation, first write all the equations in standard form so that the coefficients of the variables line up in columns. Then copy down just the coefficients in a **coefficient matrix array**. Next copy the variables in a **variable matrix** and the constants into a **constant matrix.**

The reason why this works is because of the way matrix multiplication is defined.

Notice how putting brackets around the two matrices on the right does very little to hide the fact that this is just a regular system of 3 equations and 3 variables.

Once you have your system represented as a matrix you can solve it using an augmented matrix. An **augmented matrix** is two matrices that are joined together and operated on as if they were a single matrix. In the case of solving a system, you need to augment the coefficient matrix and the constant matrix. The vertical line indicates the separation between the coefficient matrix and the constant matrix.

To solve, reduce the matrix to reduced row echelon form.

Because the last row is all 0's, this system is dependent. Therefore, there are an infinite number of solutions.

### Examples

#### Example 1

Earlier, you were asked how to write a system of equations as a matrix equation. If you were to write the system as a matrix equation, you could write:

#### Example 2

Solve the following system using an augmented matrix.

Every matrix can be interpreted as its own linear system. The final augmented matrix can be interpreted as:

Which means .

#### Example 3

Solve the following system using augmented Matrices.

While substitution would work in this problem, the idea is to demonstrate how augmented matrices will work even with larger matrices.

#### Example 4

Use an augmented matrix to solve the following system.

The row reduction steps are not shown, only the initial and final augmented matrices.

#### Example 5

Use an augmented matrix to solve the following system.

The row reduction steps are not shown, only the initial and final augmented matrices.

### Review

Solve the following systems of equations using augmented matrices. If one solution does not exist, explain why not.

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

14.

15.

### Review (Answers)

To see the Review answers, open this PDF file and look for section 8.6.