# The Augmented Matrix of a System of Equations

A **matrix** can serve as a device for representing and solving a system of equations. To express a system in matrix form, we extract the coefficients of the variables and the constants, and these become the entries of the matrix. We use a vertical line to separate the coefficient entries from the constants, essentially replacing the equal signs. When a system is written in this form, we call it an **augmented matrix**.

For example, consider the following

$2\times 2$

system of equations.$\begin{array}{l}3x+4y=7\\ 4x - 2y=5\end{array}$

$\left[\begin{array}{rr}\qquad 3& \qquad 4\\ \qquad 4& \qquad -2\end{array}\text{ }|\text{ }\begin{array}{r}\qquad 7\\ \qquad 5\end{array}\right]$

**coefficient matrix**.

$\left[\begin{array}{cc}3& 4\\ 4& -2\end{array}\right]$

**system of equations**such as

$\begin{array}{l}3x-y-z=0\qquad \\ \text{ }x+y=5\qquad \\ \text{ }2x - 3z=2\qquad \end{array}$

$\left[\begin{array}{rrr}\qquad 3& \qquad -1& \qquad -1\\ \qquad 1& \qquad 1& \qquad 0\\ \qquad 2& \qquad 0& \qquad -3\end{array}\right]$

$\left[\begin{array}{rrr}\qquad 3& \qquad -1& \qquad -1\\ \qquad 1& \qquad 1& \qquad 0\\ \qquad 2& \qquad 0& \qquad -3\end{array}\text{ }|\text{ }\begin{array}{r}\qquad 0\\ \qquad 5\\ \qquad 2\end{array}\right]$

*x*-terms go in the first column,

*y*-terms in the second column, and

*z*-terms in the third column. It is very important that each equation is written in standard form

$ax+by+cz=d$

so that the variables line up. When there is a missing variable term in an equation, the coefficient is 0.### How To: Given a system of equations, write an augmented matrix.

- Write the coefficients of the
*x*-terms as the numbers down the first column. - Write the coefficients of the
*y*-terms as the numbers down the second column. - If there are
*z*-terms, write the coefficients as the numbers down the third column. - Draw a vertical line and write the constants to the right of the line.

### Example 1: Writing the Augmented Matrix for a System of Equations

Write the augmented matrix for the given system of equations.$\begin{array}{l}\text{ }x+2y-z=3\qquad \\ \text{ }2x-y+2z=6\qquad \\ \text{ }x - 3y+3z=4\qquad \end{array}$

### Solution

The augmented matrix displays the coefficients of the variables, and an additional column for the constants.$\left[\begin{array}{rrr}\qquad 1& \qquad 2& \qquad -1\\ \qquad 2& \qquad -1& \qquad 2\\ \qquad 1& \qquad -3& \qquad 3\end{array}\text{ }|\text{ }\begin{array}{r}\qquad 3\\ \qquad 6\\ \qquad 4\end{array}\right]$

### Try It 1

Write the augmented matrix of the given system of equations.$\begin{array}{l}4x - 3y=11\\ 3x+2y=4\end{array}$

## Writing a System of Equations from an Augmented Matrix

We can use augmented matrices to help us solve systems of equations because they simplify operations when the systems are not encumbered by the variables. However, it is important to understand how to move back and forth between formats in order to make finding solutions smoother and more intuitive. Here, we will use the information in an augmented matrix to write the**system of equations**in standard form.

### Example 2: Writing a System of Equations from an Augmented Matrix Form

Find the system of equations from the augmented matrix.$\left[\begin{array}{rrr}\qquad 1& \qquad -3& \qquad -5\\ \qquad 2& \qquad -5& \qquad -4\\ \qquad -3& \qquad 5& \qquad 4\end{array}\text{ }|\text{ }\begin{array}{r}\qquad -2\\ \qquad 5\\ \qquad 6\end{array}\right]$

### Solution

When the columns represent the variables$x$

, $y$

, and $z$

,$\left[\begin{array}{rrr}\qquad 1& \qquad -3& \qquad -5\\ \qquad 2& \qquad -5& \qquad -4\\ \qquad -3& \qquad 5& \qquad 4\end{array}\text{ }|\text{ }\begin{array}{r}\qquad -2\\ \qquad 5\\ \qquad 6\end{array}\right]\to \begin{array}{l}x - 3y - 5z=-2\qquad \\ 2x - 5y - 4z=5\qquad \\ -3x+5y+4z=6\qquad \end{array}$

### Try It 2

Write the system of equations from the augmented matrix.$\left[\begin{array}{ccc}1& -1& 1\\ 2& -1& 3\\ 0& 1& 1\end{array}|\begin{array}{c}5\\ 1\\ -9\end{array}\right]$

### Licenses and Attributions

#### More Study Resources for You

The materials found on Course Hero are not endorsed, affiliated or sponsored by the authors of the above study guide

Show More