# Lesson Video: Augmented Matrices Mathematics

In this video, we will learn how to interpret augmented matrices and represent systems of linear equations as an augmented matrix.

16:57

### Video Transcript

In this video, we will learn how to interpret augmented matrices and represent systems of linear equations as an augmented matrix. One of the oldest general problems in mathematics is to be able to solve a system of linear equations in multiple variables. The simplest, nontrivial example of this would be a system of two linear equations in two variables. This can be shown as follows.

Let’s consider the two equations 𝑥 plus three 𝑦 equals one and two 𝑥 minus 𝑦 equals three. In this case, 𝑥 and 𝑦 are the variables to be found, with the numbers multiplying them being referred to as the coefficients. In this case, the coefficient of the 𝑥-term in the first equation is one, and the coefficient of the 𝑦-term is three. For the second equation, the coefficient of the 𝑥-term is two, and the coefficient of the 𝑦-term is negative one. This system, with two equations and two variables, is often referred to simply as simultaneous equations.

The methods we have seen for solving these simultaneous equations become more complicated when we extend our system to more equations and more variables. For example, consider the system of three linear equations with three variables as shown. This system of linear equations would require many more steps to solve than the first example. In order to try and prevent any mistakes, a much neater method is used. This is called row reduction or GAUSS–Jordan elimination. This method aims to remove all extraneous detail by first placing the coefficients from a system of linear equations within a matrix, where each entry of this matrix corresponds to exactly one coefficient.

Let’s consider the system of linear equations five 𝑥 plus two 𝑦 equals two and three 𝑥 minus three 𝑦 equals six. We note that the alignment of the 𝑥-terms and their coefficients appear directly underneath each other. And the same is true of the 𝑦-terms. Given that this is the case, we can write the coefficients in a two-by-two matrix as shown, where the left column relates to the coefficient of the 𝑥-terms and the right column relates to the coefficients of the 𝑦-terms. This works because when we multiply this two-by-two matrix by the column matrix with elements 𝑥 and 𝑦, respectively, the result is a two-by-two matrix with the elements five 𝑥 plus two 𝑦 and three 𝑥 minus three 𝑦 as in the original equations.

Suppose now that we wish to include all information about the system of equations. The terms on the right-hand side of our equations are also aligned. And we can represent this in the matrix as shown, where the vertical bar represents the equal sign. This approach to solving equations becomes more valuable when there is an increase either in the number of equations or number of variables. Let’s now consider a formal definition.

The two matrices we previously saw are known as the coefficient and augmented matrices. We begin by considering a general system of linear equations in the variables 𝑥 sub one, 𝑥 sub two, and so on and the coefficients 𝑎 𝑖𝑗. This can be written as shown. This leads us to the following coefficient matrix and also the augmented matrix as shown. Whilst it is outside the scope of this video to demonstrate the full process, we can actually use these to solve systems of equations. Let’s now look at some specific examples.

Find the augmented matrix for the following system of equations: 𝑥 plus five 𝑦 equals three, and three 𝑥 plus five 𝑦 equals one.

We begin by rewriting the system of equations by highlighting the 𝑥- and 𝑦-terms. We have two equations in two variables, and these equations have already been ordered so that the 𝑥-terms appear first followed by the 𝑦-terms and then the equal sign of each equation. This means that the augmented matrix has two rows and three columns as shown. We begin by looking at the coefficients of the 𝑥-terms. For the first equation, the coefficient of the 𝑥-term is one. And in the second equation, the coefficient is three. This means that the left column of the matrix is populated with the numbers one and three. The next column is populated by the 𝑦-coefficients, in this case five and five. Finally, the values on the right-hand side of our equations, three and one, complete the matrix. Reading row by row, the completed augmented matrix is one five, three, three, five, one. This corresponds to the system of equations 𝑥 plus five 𝑦 equals three and three 𝑥 plus five 𝑦 equals one.

In this example, the system of equations was written in a convenient form, with the first term of each equation being the 𝑥-term followed by the 𝑦-term and then with an equal sign immediately following this. Given that this was already the case, writing out the corresponding augmented matrix was a fairly straightforward exercise. The same is true if we are presented with the augmented matrix and asked to write out a corresponding system of linear equations.

Let’s now consider an example of this type.

Find the system of equations from the following augmented matrix: seven, two, negative seven, negative five, four, six.

We begin by assuming that the variables of this system are 𝑥 and 𝑦, with 𝑥 corresponding to the first column and 𝑦 corresponding to the second column. If this is the case, this system of linear equations will take the form shown, where the missing values will be populated using the augmented matrix. The first column of the augmented matrix features the coefficients seven and negative five. And these are the coefficients of the 𝑥-terms in the system of equations. The middle column of the augmented matrix contains the values two and four, which are the coefficients of the 𝑦-terms. Finally, we use the right most column of the augmented matrix to populate the remaining blank entries of the system. These are negative seven and six, respectively.

The augmented matrix seven, two, negative seven, negative five, four, six corresponds to the system of equations seven 𝑥 plus two 𝑦 equals negative seven and negative five 𝑥 plus four 𝑦 equals six. It is important to note here that since the example did not specifically state we should have used the variables 𝑥 and 𝑦, we could easily have used other variables, for example, 𝑎 and 𝑏. Our equations would then have been seven 𝑎 plus two 𝑏 equals negative seven and negative five 𝑎 plus four 𝑏 equals six.

In our first two examples, we have only worked with augmented matrices where all entries are nonzero. We have also seen the equations written in a particularly helpful way. We will now consider an example where neither of these are the case.

Find the augmented matrix for the following system of equations: eight 𝑥 minus three 𝑧 minus seven equals zero, six 𝑦 plus three 𝑥 equals zero, and seven 𝑧 minus six 𝑦 plus eight equals zero.

By examining the system of equations given, we can see that this is not written in the most helpful format. In order to minimize our chance of making a mistake when creating the augmented matrix, we begin by rewriting the system of linear equations. We will do this by lining up the 𝑥, 𝑦, 𝑧, and constant terms underneath each other. Adding seven to both sides of our first equation, we have eight 𝑥 minus three 𝑧 is equal to seven. And as there is no 𝑦-term, we will leave a gap here. The second equation has no 𝑧-term. And this can be rewritten as three 𝑥 plus six 𝑦 equals zero. Subtracting eight from both sides of the third equation and then rearranging the left-hand side gives us negative six 𝑦 plus seven 𝑧 is equal to negative eight. We notice that in this equation there is no 𝑥-term.

Having rewritten our equations, we see that the system has three equations in three variables. And hence, the augmented matrix is of dimension three by four. The first column of the augmented matrix contains the coefficients of 𝑥. These are eight, three, and zero. The second column contains the coefficients of 𝑦: zero, six, and negative six. Next, we have the 𝑧-components: negative three, zero, and seven. And finally, we enter the constants on the right-hand side of our equations: seven, zero, and negative eight. The augmented matrix for the system of equations eight 𝑥 minus three 𝑧 minus seven equals zero, six 𝑦 plus three 𝑥 equals zero, and seven 𝑧 minus six 𝑦 plus eight equals zero is eight, zero, negative three, seven, three, six, zero, zero, zero, negative six, seven, negative eight.

In our final example, we will look at the reverse of this process, where once again we are given an augmented matrix and need to find the system of equations.

From the augmented matrix two, zero, negative nine, five, zero, four, negative nine, five, negative four, negative nine, zero, zero, find the system of equations.

We begin by assuming that the variables corresponding to the first, second, and third columns should be labeled as 𝑥, 𝑦, and 𝑧, respectively. This means that we need to populate the missing entries in the following system of three equations in three unknowns. The first column of our augmented matrix corresponds to the 𝑥-coefficients. These are two, zero, and negative four. The second column corresponds to the 𝑦-coefficients: zero, four, and negative nine. The third column, negative nine, negative nine, and zero are the 𝑧-coefficients. Finally, the elements in the right-hand column of our matrix correspond to the entries on the right-hand side of our equations. These are five, five, and zero.

We can simplify these equations by ignoring any term that has a coefficient of zero. As adding negative nine is the same as subtracting nine. The first equation can be rewritten as two 𝑥 minus nine 𝑧 is equal to five. In the same way, the second equation becomes four 𝑦 minus nine 𝑧 equals five and the third equation becomes negative four 𝑥 minus nine 𝑦 equals zero. The augmented matrix two, zero, negative nine, five, zero, four, negative nine, five, negative four, negative nine, zero, zero corresponds to the system of equations two 𝑥 minus nine 𝑧 equals five, four 𝑦 minus nine 𝑧 equals five, and negative four 𝑥 minus nine 𝑦 equals zero.

We have seen in this video that it is usually a simple process to switch between a system of linear equations and the corresponding augmented matrix. Once a system of linear equations is written into the correct augmented matrix, then we can undertake solving the system of equations by manipulating the augmented matrix using row operations as part of the Gauss–Jordan elimination. However, as previously mentioned, this is outside of the scope of this video. Let’s now summarize the key points.

We saw in this video that we can write a general system of linear equations in terms of its augmented matrix or vice versa. We saw that for a system of linear equations with 𝑚 equations in 𝑛 variables, the coefficient matrix has 𝑚 rows and 𝑛 columns and, therefore, has dimension 𝑚 by 𝑛. The augmented matrix of such a system has 𝑚 rows and 𝑛 plus one columns, meaning it has a dimension of 𝑚 by 𝑛 plus one.

When writing a system of linear equations as an augmented matrix, it is essential that the variables appear in the same order for each question before the augmented matrix is populated with the coefficients of this system. One way of helping with this process is to color the variables. If a quantity appears that is neither a variable nor a coefficient of a variable, then it should appear on the right-hand side of the equation before the augmented matrix is created. Finally, if a variable does not appear in one of the equations, then the coefficient of this variable is zero and the augmented matrix should have a value of zero in the corresponding entry.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.