<meta http-equiv="refresh" content="1; url=/nojavascript/"> Augmented Matrices ( Read ) | Algebra | CK-12 Foundation
You are viewing an older version of this Concept. Go to the latest version.

# Augmented Matrices

%
Progress
Progress
%
Augmented Matrices

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?

#### Watch This

http://www.youtube.com/watch?v=BWBckWPjfpw James Sousa: Augmented Matrices: Row Echelon Form

#### Guidance

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 matrix array.  Next copy the variables in a variable matrix and the constants into a constant matrix.

$x+y+z &= 9\\x+2y+3z &= 22\\2x+3y+4z &= 31$

$\begin{bmatrix}1 & 1 & 1\\1 & 2 & 3\\2 & 3 & 4\end{bmatrix} \cdot \begin{bmatrix}x\\y\\z\end{bmatrix}=\begin{bmatrix}9\\22\\31\end{bmatrix}$

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

$\begin{bmatrix}1 & 1 & 1\\1 & 2 & 3\\2 & 3 & 4\end{bmatrix} \cdot \begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}1x + 1y + 1z\\1x + 2y + 3z\\2z + 3y + 4z\end{bmatrix}=\begin{bmatrix}9\\22\\31\end{bmatrix}$

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.

$\begin{bmatrix}\begin{matrix}1 & 1 & 1\\1 & 2 & 3\\2 & 3 & 4 \end{matrix} \left| \begin{matrix} 9\\22\\31\end{matrix}\right.\end{bmatrix}$

Reduce the matrix to reduced row echelon form and you will find the solution to the system, if one exists.

Example A

Attempt to solve the system from the guidance section.

Solution:

$\begin{bmatrix}\begin{matrix}1 & 1 & 1\\1 & 2 & 3\\2 & 3 & 4 \end{matrix} \left| \begin{matrix} 9\\22\\31\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\\rightarrow & -I & \rightarrow\\\rightarrow & -2I & \rightarrow\end{matrix} \begin{bmatrix}\begin{matrix}1 & 1 & 1\\0 & 1 & 2\\0 & 1 & 2 \end{matrix} \left| \begin{matrix} 9\\13\\13\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\& \rightarrow &\\\rightarrow & -II & \rightarrow\end{matrix} \begin{bmatrix}\begin{matrix}1 & 1 & 1\\0 & 1 & 2\\0 & 0 & 0 \end{matrix} \left| \begin{matrix} 9\\13\\0\end{matrix}\right.\end{bmatrix}$

This system is dependent which means there are an infinite number of solutions.

Example B

Solve the following system using an augmented matrix.

$x+y+z &= 6\\x-y-z &= -4\\x+2y+3z &= 14$

Solution:

$\begin{bmatrix}\begin{matrix}1 & 1 & 1\\1 & -1 & -1\\1 & 2 & 3 \end{matrix} \left| \begin{matrix} 6\\-4\\14\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\\rightarrow & -I &\\\rightarrow & -I & \rightarrow\end{matrix} \begin{bmatrix}\begin{matrix}1 & 1 & 1\\0 & -2 & -2\\0 & 1 & 2 \end{matrix} \left| \begin{matrix} 6\\-10\\8\end{matrix}\right.\end{bmatrix} \begin{matrix}\rightarrow & -III & \rightarrow\\\rightarrow & +3III & \rightarrow\\& \rightarrow &\end{matrix}$

$\begin{bmatrix}\begin{matrix}1 & 0 & -1\\0 & 1 & 4\\0 & 1 & 2 \end{matrix} \left| \begin{matrix} -2\\14\\8\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\& \rightarrow &\\\rightarrow & -II & \rightarrow\end{matrix}\begin{bmatrix}\begin{matrix}1 & 0 & -1\\0 & 1 & 4\\0 & 0 & -2 \end{matrix} \left| \begin{matrix} -2\\14\\-6\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\& \rightarrow &\\\rightarrow & \div -2 & \rightarrow\end{matrix}$

$\begin{bmatrix}\begin{matrix}1 & 0 & -1\\0 & 1 & 4\\0 & 0 & 1 \end{matrix} \left| \begin{matrix} -2\\14\\3\end{matrix}\right.\end{bmatrix} \begin{matrix}\rightarrow & + III & \\\rightarrow & -4III &\\& \rightarrow &\end{matrix} \begin{bmatrix}\begin{matrix}1 & 0 & 0\\0 & 1 & 0\\0 & 0 & 1 \end{matrix} \left| \begin{matrix} 1\\2\\3\end{matrix}\right.\end{bmatrix}$

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

$1x+0y+0z &= 1\\0x+1y+0z &= 2\\0x+0y+1z &= 3$

Which means $x=1, y=2, z=3$

Example C

Solve the following system using augmented Matrices.

$w+x+z &= 11\\w+x &= 9\\x+y &= 7\\y+z &= 5$

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

$\begin{bmatrix}\begin{matrix}1 & 1 & 0 & 1\\1 & 1 & 0 & 0\\0 & 1 & 1 & 0\\0 & 0 & 1 & 1 \end{matrix} \left| \begin{matrix} 11\\9\\7\\5\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\\rightarrow & IV &\\\rightarrow & II & \rightarrow\\\rightarrow & III & \rightarrow\end{matrix} \begin{bmatrix}\begin{matrix}1 & 1 & 0 & 1\\0 & 1 & 1 & 0\\0 & 0 & 1 & 1\\1 & 1 & 0 & 0 \end{matrix} \left| \begin{matrix} 11\\7\\5\\9\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\& \rightarrow &\\& \rightarrow &\\\rightarrow & -I & \rightarrow\end{matrix}$

$\begin{bmatrix}\begin{matrix}1 & 1 & 0 & 1\\0 & 1 & 1 & 0\\0 & 0 & 1 & 1\\0 & 0 & 0 & -1 \end{matrix} \left| \begin{matrix} 11\\7\\5\\-2\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\& \rightarrow &\\& \rightarrow &\\\rightarrow & \cdot (-1) & \rightarrow\end{matrix} \begin{bmatrix}\begin{matrix}1 & 1 & 0 & 1\\0 & 1 & 1 & 0\\0 & 0 & 1 & 1\\0 & 0 & 0 & 1 \end{matrix} \left| \begin{matrix} 11\\7\\5\\2\end{matrix}\right.\end{bmatrix} \begin{matrix}\rightarrow & -IV & \rightarrow\\& \rightarrow &\\\rightarrow & -IV & \rightarrow\\& \rightarrow &\\\end{matrix}$

$\begin{bmatrix}\begin{matrix}1 & 1 & 0 & 0\\0 & 1 & 1 & 0\\0 & 0 & 1 & 0\\0 & 0 & 0 & 1 \end{matrix} \left| \begin{matrix} 9\\7\\3\\2\end{matrix}\right.\end{bmatrix} \begin{matrix}& \rightarrow &\\\rightarrow & -III & \rightarrow\\& \rightarrow &\\& \rightarrow &\\\end{matrix} \begin{bmatrix}\begin{matrix}1 & 1 & 0 & 0\\0 & 1 & 0 & 0\\0 & 0 & 1 & 0\\0 & 0 & 0 & 1 \end{matrix} \left| \begin{matrix} 9\\4\\3\\2\end{matrix}\right.\end{bmatrix} \begin{matrix}\rightarrow & -II & \rightarrow\\& \rightarrow &\\& \rightarrow &\\& \rightarrow &\\\end{matrix} \begin{bmatrix}\begin{matrix}1 & 0 & 0 & 0\\0 & 1 & 0 & 0\\0 & 0 & 1 & 0\\0 & 0 & 0 & 1 \end{matrix} \left| \begin{matrix} 5\\4\\3\\2\end{matrix}\right.\end{bmatrix}$

$w=5, x=4, y=3, z=2$

Concept Problem Revisited

If you were to write the system as a matrix system you could write:

$5x+y &= 6\\x+y &= 10\\\begin{bmatrix}5 & 1\\1 & 1\end{bmatrix} \cdot \begin{bmatrix}x\\y\end{bmatrix} &=\begin{bmatrix}6\\10\end{bmatrix}$

#### Vocabulary

An augmented matrix is a matrix formed when two matrices are joined together and operated on as if they were a single matrix.

#### Guided Practice

1. Use an augmented matrix to solve the following system.

$2x+y+z &= 16\\2y+6z &= 0\\x+y &= 10$

2. Use an augmented matrix to solve the following system.

$3x+y &= -15\\x+2y &= 15$

3. Use an augmented matrix to solve the following system.

$-a+b-c &= 0\\2a-2b-3c &= 25\\3a-4b+3c &= 2$

1. The row reduction steps are not shown.   Only the initial and final augmented matrices are shown.

$\begin{bmatrix}\begin{matrix}2 & 1 & 1\\0 & 2 & 6\\1 & 1 & 0\\\end{matrix} \left| \begin{matrix} 16\\0\\10\end{matrix}\right.\end{bmatrix} \rightarrow \begin{bmatrix}\begin{matrix}1 & 0 & 0\\0 & 1 & 0\\0 & 0 & 1\\\end{matrix} \left| \begin{matrix} 7\\3\\-1\end{matrix}\right.\end{bmatrix}$

2. $\begin{bmatrix}\begin{matrix}3 & 1\\1 & 2\end{matrix} \left| \begin{matrix} -15\\15\end{matrix}\right.\end{bmatrix} \rightarrow \begin{bmatrix}\begin{matrix}1 & 0\\0 & 1\end{matrix} \left| \begin{matrix} -9\\12\end{matrix}\right.\end{bmatrix}$

3. $\begin{bmatrix}\begin{matrix}-1 & 1 & -1\\2 & -2 & -3\\3 & -4 & 3\\\end{matrix} \left| \begin{matrix} 0\\25\\2\end{matrix}\right.\end{bmatrix} \rightarrow \begin{bmatrix}\begin{matrix}1 & 0 & 0\\0 & 1 & 0\\0 & 0 & 1\\\end{matrix} \left| \begin{matrix} 3\\-2\\-5\end{matrix}\right.\end{bmatrix}$

#### Practice

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

1.

$4x-2y &= -20\\x-3y &= -15$

2.

$3x+5y=33\\-x-2y &= -13$

3.

$x+4y &= 11\\3x+12y &= 33$

4.

$-3x+y &= -7\\-x+4y &= 5$

5.

$3x+y &= 6\\-6x-2y &= 10$

6.

$2x-y+z &= 4\\4x+7y-z &= 38\\-x+3y+2z &= 23$

7.

$4x+y-z &= -16\\-3x+4y+z &= 18\\x+y-3z &= -17$

8.

$3x+2y-3z &= 7\\-x+5y+2z &= 29\\x+2y+z &= 15$

9.

$2x+y-2z &= 4\\-4x-2y+4z &= -8\\3x+y-z &= 5$

10.

$-x+3y+z &= 11\\3x+y+2z &= 27\\5x-y-z &= 5$

11.

$3x+2y+4z &= 21\\-2x+3y+z &= -11\\x+2y-3z &= -3$

12.

$-x+2y-6z &= 4\\8x+5y+3z &= -8\\2x-4y+12z &= 5$

13.

$3x+5y+8z &= 37\\-6x+3y+z &= 42\\x+3y-2z &= 5$

14.

$4x+y-6z &= -38\\2x+7y+8z &= 108\\-3x+2y-3z &= -15$

15.

$6x+3y-2z &= -22\\-4x-2y+4z &= 28\\3x+3y+2z &= 7$