Lesson Explainer: Augmented Matrices Mathematics

In this explainer, 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, such as the following: ๐‘ฅ+3๐‘ฆ=1,2๐‘ฅโˆ’๐‘ฆ=3.

In this case the ๐‘ฅ and ๐‘ฆ are the variables to be found, with the numbers multiplying these being referred to as the โ€œcoefficients.โ€ In this case the coefficient of the ๐‘ฅ-term in the first equation is the number 1, and the coefficient of the ๐‘ฆ-term is 3. For the second equation, the coefficient of the ๐‘ฅ-term is 2 and the coefficient of the ๐‘ฆ-term is โˆ’1.

An example with two linear equations and two variables, such as the one above, is often referred to simply as โ€œsimultaneous equations,โ€ or more generally a system of two equations, and students often learn to solve these types of problems in their early teens. The techniques used to solve these relatively simple systems are perfectly valid, although they become much messier when extending to systems of linear equations with a greater number of variables or equations. For example, the following system has three linear equations in three variables: 4๐‘ฅ+3๐‘ฆ+๐‘ง=โˆ’8,๐‘ฅโˆ’2๐‘ฆโˆ’๐‘ง=1,๐‘ฆ+๐‘ง=3.

This system of linear equations would require many more steps to solve than the first example, in likelyhood leading to an increased chance of mistakes being made when completing the calculations. In order to help mitigate this possibility, as well as providing a much neater environment to solve systems of linear equations, a particular method that is normally used is called โ€œrow reductionโ€ or โ€œGaussโ€“Jordan elimination.โ€ This method aims to remove all extraneous detail by first placing all coefficients from a system of linear equations within a matrix, with each entry of this matrix corresponding to exactly one coefficient.

Consider the system of linear equations as follows:

5๐‘ฅ+2๐‘ฆ=2,3๐‘ฅโˆ’3๐‘ฆ=6.(1)

We should ask ourselves whether or not this level of detail is needed. In other words, how can we remove any extra detail without losing any information about the above system? The answer is to first standardize the order in which the variables appear within the linear equations that are given. In this case, reading left to right, each equation helpfully begins with the ๐‘ฅ-term being shown first along with the coefficient, and then the ๐‘ฆ-term being displayed with this coefficient, both being on the left-hand side of the equals sign.

Suppose that we colored the the ๐‘ฅ-terms in pink, and the ๐‘ฆ-terms in blue. Then, the system of linear equations would be represented as 5๐‘ฅ+2๐‘ฆ=2,3๐‘ฅโˆ’3๐‘ฆ=6.

The alignment is such that the ๐‘ฅ-terms (and their coefficients) appear directly underneath each other, and the same is true of the ๐‘ฆ-terms. Given that this is the case, and providing that we respect this alignment, there is nothing to prevent us from writing the coefficients in the matrix ๏€ผ523โˆ’3๏ˆ.

Given that the left column relates to the coefficients of the ๐‘ฅ-terms and that the right column relates to the coefficients of the ๐‘ฆ-terms, this matrix encodes the same information as the original system of linear equations in equation (1), only with less detail being required.

Suppose now that we wished to include all information about the system of equations given in equation (1). The terms on the right-hand side of the equal sign are also aligned, and we can represent this in the matrix ๏€5223โˆ’36๏Œ, where the vertical bar represents the equals signs. Thus the original system of linear equations in equation (1) has been encapsulated faithfully, but without the need for writing out the ๐‘ฅ- and ๐‘ฆ-terms.

For a system of linear equations such as the one above, this approach might appear excessive. However, this approach becomes more valuable when there is an increase either in the number of equations or the number of variables. So helpful is this approach that there is a special name is given to the two matrices that encode this information, as covered in the following definition.

Definition: The Coefficient and Augmented Matrices of a System of Linear Equations

Consider a general system of linear equations in the variables ๐‘ฅ,๐‘ฅ,โ€ฆ๐‘ฅ๏Šง๏Šจ๏Š and the coefficients ๐‘Ž๏ƒ๏…: ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ€ฆ๐‘Ž๐‘ฅ=๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ€ฆ๐‘Ž๐‘ฅ=๐‘,โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ€ฆ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šจ๏Šง๏Š๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰

Then, the โ€œcoefficient matrixโ€ is โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘Ž๐‘Žโ€ฆ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ€ฆ๐‘ŽโŽžโŽŸโŽŸโŽ ,๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š and the โ€œaugmented matrixโ€ is โŽ›โŽœโŽœโŽœโŽ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘โ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘โŽžโŽŸโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šง๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏Šจ๏‰๏Šง๏‰๏Šจ๏‰๏Š๏‰

This general definition should give a better demonstration of how all salient information from a system of linear equations can be contained within the augmented matrix, thereby removing the need to constantly write out all variables that are part of the system. This supports the completion of Gaussโ€“Jordan elimination which is the technique most commonly used to find the solution.

Using the augmented matrix contains all information about a given system of linear equations. As a slight aside, there are equivalent descriptions of such systems that can be useful in their own right, especially when they allow the understanding of the problem in terms of the standard operations of linear algebra. For example, suppose we considered the system of linear equations as used in the definition above, and we labeled the โ€œcoefficient matrixโ€ as ๐ด=โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘Ž๐‘Žโ€ฆ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ€ฆ๐‘ŽโŽžโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š.

Also, suppose that we defined the โ€œvariable matrixโ€ and the โ€œconstant matrix,โ€ respectively, as ๐‘ฅ=๏„๐‘ฅ๐‘ฅโ€ฆ๐‘ฅ๏,๐‘=โŽ›โŽœโŽœโŽ๐‘๐‘โ€ฆ๐‘โŽžโŽŸโŽŸโŽ .๏Šง๏Šจ๏Š๏Šง๏Šจ๏‰

Using the properties of matrix multiplication, we can see that the system of linear equations can then be expressed by the simple algebraic equation ๐ด๐‘ฅ=๐‘. The overall goal would then be to find the variable matrix ๐‘ฅ, which would give the values of all ๐‘ฅ,๐‘ฅ,โ€ฆ,๐‘ฅ๏Šง๏Šจ๏Š and hence solve the system of linear equations. Under the assumption that ๐ด is a square matrix (which means that ๐‘š=๐‘›), it may be the case that an inverse matrix ๐ด๏Šฑ๏Šง exists such that ๐ด๐ด=๐ด๐ด=๐ผ๏Šฑ๏Šง๏Šฑ๏Šง๏Š, where ๐ผ๏Š is the ๐‘›ร—๐‘› identity matrix. If this matrix does exist, then we can find ๐‘ฅ by multiplying both sides of ๐ด๐‘ฅ=๐‘ on the left-hand side by the inverse ๐ด๏Šฑ๏Šง, hence giving ๐ด๐ด๐‘ฅ=๐ด๐‘๏Šฑ๏Šง๏Šฑ๏Šง. By recognizing that ๐ด๐ด=๐ผ๏Šฑ๏Šง๏Š and that ๐ผ๐‘ฅ=๐‘ฅ๏Š, we find that this extra step of working returns the required solution ๐‘ฅ=๐ด๐‘๏Šฑ๏Šง. Thus, finding ๐‘ฅ is reliant on finding the inverse of the coefficient matrix and then multiplying this by the constant matrix.

The above tangent demonstrates how it can be useful to contrive equivalent descriptions of systems of linear equations. The above method, however, is only useful when the system of linear equations has the same number of equations as variables, which means that the coefficient matrix is a square matrix and therefore has a well-defined notion of a multiplicative inverse (which is not the same as saying that this inverse always exists, which it does not necessarily). Often, expressing a system of linear equations in terms of the augmented matrix is the most useful starting point, as this contains all information about the coefficients and the constant terms and provides a natural arena for row operations to be completed as part of Gaussโ€“Jordan elimination.

Note that if a system of linear equations features ๐‘š equations with ๐‘› variables, then the coefficient matrix will contain ๐‘š rows and ๐‘› columns, hence having โ€œdimensionโ€ ๐‘šร—๐‘›. The augmented matrix includes an extra column for the terms of each equation that appear on the right-hand side of the equals sign. Therefore the augmented matrix has ๐‘š rows and ๐‘›+1 columns, and hence we would say that this has dimension ๐‘šร—(๐‘›+1).

This above definition is a very general definition that we will illustrate shortly with several examples. It should be reiterated that the applicability of this technique is entirely reliant on the variables being written in the same order within each linear equation, before the coefficients are extracted and placed into the augmented matrix. In the first few examples that we give, the equations have already been arranged in this manner. However, in later examples, this step will not have been completed and therefore we will need to be diligent in ensuring that this is the case before either the coefficient or the augmented matrices are created.

Example 1: Finding the Augmented Matrix for a System of Two Linear Equations in Two Variables

Find the augmented matrix for the following system of equations: ๐‘ฅ+5๐‘ฆ=3,3๐‘ฅ+5๐‘ฆ=1

Answer

We begin by writing out the system of linear equations but with the ๐‘ฅ-terms highlighted in pink and the ๐‘ฆ-terms highlighted in blue:

๐‘ฅ+5๐‘ฆ=3,3๐‘ฅ+5๐‘ฆ=1.(2)

As we can see, there are 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 equals sign of each equation. This means that the augmented matrix has two rows and three columns, and hence has the following form: ๏€โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—๏Œ.

To populate the entries of this matrix, we first examine the coefficients of the ๐‘ฅ-terms in equation (2). For the first equation, the coefficient of the ๐‘ฅ-term is 1, and in the second equation the coefficient of the ๐‘ฅ-term is 3. Therefore, the left column of the matrix is populated with these coefficients, giving ๏€1โˆ—โˆ—3โˆ—โˆ—๏Œ.

The middle column is populated with the entries for the ๐‘ฆ-coefficients in the first and second equations of (2). These coefficients both have a value of 5, meaning that the augmented matrix must have the form ๏€15โˆ—35โˆ—๏Œ.

The final two entries are populated with the values that appear on the right-hand side of the equals signs in both equations of (2). These are 3 and 1, respectively, and hence the completed augmented matrix is ๏€153351๏Œ.

In the previous example, the system of linear 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 equals sign immediately following this. Given that this was already the case, writing out the corresponding augmented matrix was a fairly straightforward exercise that did not require the number of steps that we gave (except for the sake of demonstration). If we are presented with the augmented matrix and asked to write out a corresponding system of linear equations, then this is usually a trivial task, as the augmented matrix will already have achieved the strict formatting regime that we require.

Example 2: Finding the System of Linear Equations Represented by 2 ร— 3 Augmented Matrix

Find the system of equations from the following augmented matrix: ๏€72โˆ’7โˆ’546๏Œ.

Answer

We begin by assuming that the variables of this system are ๐‘ฅ and ๐‘ฆ, with ๐‘ฅ corresponding to the first column of the augmented matrix and ๐‘ฆ corresponding to the second column of the augmented matrix. With this being the case, the system of linear equations must take the form โˆ—๐‘ฅ+โˆ—๐‘ฆ=โˆ—,โˆ—๐‘ฅ+โˆ—๐‘ฆ=โˆ—, where the โˆ— entries will be populated using the augmented matrix. The first column of the augmented matrix features the coefficients 7 and โˆ’5, and these are the coefficients of the ๐‘ฅ-terms in the above system of linear equations. Therefore, this becomes 7๐‘ฅ+โˆ—๐‘ฆ=โˆ—,โˆ’5๐‘ฅ+โˆ—๐‘ฆ=โˆ—.

The middle column of the augmented matrix contains the values 2 and 4, which become the coefficients of the ๐‘ฆ-terms for the first and second equation respectively. This gives the system of equations 7๐‘ฅ+2๐‘ฆ=โˆ—,โˆ’5๐‘ฅ+4๐‘ฆ=โˆ—.

Finally, we use the right-most column of the augmented matrix to populate the remaining blank entries of the linear system. For the first and second row, these are, respectively, โˆ’7 and 6, and hence the complete set of linear equations is given by 7๐‘ฅ+2๐‘ฆ=โˆ’7,โˆ’5๐‘ฅ+4๐‘ฆ=6.

Since the example above did not state specifically that we should have used the variables ๐‘ฅ and ๐‘ฆ, we just as easily could have used any other variables. For example, instead of ๐‘ฅ and ๐‘ฆ, we could have used ๐‘Ž and ๐‘, which would have given 7๐‘Ž+2๐‘=โˆ’7,โˆ’5๐‘Ž+4๐‘=6.

In the two examples completed above, we have only worked with augmented matrices where all entries are nonzero. This most certainly does not always have to be the case, and it is perfectly possible that we will come across augmented matrices wherein at least one entry has a value of 0. This should not cause alarm, and the treatment of such problems is essentially identical to those where all coefficients are nonzero. In the following example, we demonstrate this, giving a few extra steps to fully illustrate how to properly work with such questions.

Example 3: Finding the Augmented Matrix for a System of Three Linear Equations in Three Variables

Find the augmented matrix for the following system of equations: ๐‘ฅ+๐‘ฆโˆ’๐‘ง=5,๐‘ฆโˆ’๐‘ง=2,โˆ’๐‘ฅ+๐‘ฆโˆ’๐‘ง=2.

Answer

The above system has three linear equations in three variables. We will begin by coloring each of these variables uniquely, as follows:

๐‘ฅ+๐‘ฆโˆ’๐‘ง=5,๐‘ฆโˆ’๐‘ง=2,โˆ’๐‘ฅ+๐‘ฆโˆ’๐‘ง=2.(3)

As we can see, the ๐‘ฅ-terms all appear as the first terms in each equation (with the second equation featuring an ๐‘ฅ-term with a coefficient of 0, which we have not included). The second terms of each equation are the ๐‘ฆ-terms, and the third terms are for the variable ๐‘ง.

The above system has three equations in three variables and therefore the augmented matrix has dimension 3ร—4, hence taking the form โŽ›โŽœโŽœโŽโˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โŽžโŽŸโŽŸโŽ .

We will begin populating the entries of this matrix on a column-by-column basis, beginning with the left-most column. The first term of each equation in (3) is the ๐‘ฅ-term. For the first equation the coefficient is 1, for the second equation the coefficient is 0, and for the third equation the coefficient is โˆ’1. Thus, we can complete the first column of the augmented matrix as follows: โŽ›โŽœโŽœโŽ1โˆ—โˆ—โˆ—0โˆ—โˆ—โˆ—โˆ’1โˆ—โˆ—โˆ—โŽžโŽŸโŽŸโŽ .

Now we examine the ๐‘ฆ-terms in each equation of (3). For the first, second, and third equations, the coefficients of these terms are all equal to 1. Therefore, the second column of the augmented matrix can be completed, giving โŽ›โŽœโŽœโŽ11โˆ—โˆ—01โˆ—โˆ—โˆ’11โˆ—โˆ—โŽžโŽŸโŽŸโŽ .

To now complete the third column of this matrix, we examine the ๐‘ง-terms in equation (3). The coefficients of all of these terms are equal to โˆ’1, which allows us to speedily complete the third column of the augmented matrix as follows: โŽ›โŽœโŽœโŽ11โˆ’1โˆ—01โˆ’1โˆ—โˆ’11โˆ’1โˆ—โŽžโŽŸโŽŸโŽ .

For the final column, we examine the terms which appear to the right of the equals signs in the system of linear equations in (3). These are 5, 2, and 2 respectively. Therefore, the remaining blank entries of the augmented matrix are populated with these values, giving the final result of โŽ›โŽœโŽœโŽ11โˆ’1501โˆ’12โˆ’11โˆ’12โŽžโŽŸโŽŸโŽ .

The previous questions were posed with the variables already being written in the same order for all equations of the linear system. There is no particular reason for this to be the case, and it is possible/likely that at some point we will have to work with a system of linear equations that is not written in a particularly helpful way. If this is the case, then there is essentially only one additional step required as part of the method for finding the augmented matrix. This step is simple and is assisted by consistently coloring each variable, as with the previous questions.

Example 4: Finding the Augmented Matrix for a System of Three Linear Equations in Three Variables Where Rearrangement Is Required

Find the augmented matrix for the following system of equations: 8๐‘ฅโˆ’3๐‘งโˆ’7=0,6๐‘ฆ+3๐‘ฅ=0,7๐‘งโˆ’6๐‘ฆ+8=0.

Answer

By examining the system of linear equations given above, 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 first rewrite this system of linear equations by coloring the ๐‘ฅ-variables in pink, the ๐‘ฆ-variables in blue, and the ๐‘ง-variables in green. This gives 8๐‘ฅโˆ’3๐‘งโˆ’7=0,6๐‘ฆ+3๐‘ฅ=0,7๐‘งโˆ’6๐‘ฆ+8=0.

As we can see by looking at the colors, this system of equation is not aligned in a way that will assist us in creating the augmented matrix. Therefore, we choose to rewrite this system of linear equations in a format that is more helpful. This step will not alter any properties of the system of linear equations, which will be identical to that given above. With horizontal alignment imposed on the basis of color, the equivalent system is

8๐‘ฅโˆ’3๐‘ง=7,3๐‘ฅ+6๐‘ฆ=0,โˆ’6๐‘ฆ+7๐‘ง=โˆ’8.(4)

We can now complete the augmented matrix with recourse to this better-formatted expression. The system has three equations in three variables and hence the augmented matrix is of dimension 3ร—4โŽ›โŽœโŽœโŽโˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โŽžโŽŸโŽŸโŽ .

We begin by populating the first column of this matrix. To do this, we examine the coefficients of the ๐‘ฅ-terms in (4). For the first, second, and third equations, these coefficients are 8, 3, and 0 respectively. Therefore the augmented matrix takes the form โŽ›โŽœโŽœโŽ8โˆ—โˆ—โˆ—3โˆ—โˆ—โˆ—0โˆ—โˆ—โˆ—โŽžโŽŸโŽŸโŽ .

Continuing, we now look at the ๐‘ฆ-terms that appear in (4). Reading from top to bottom, these are 0, 6, and โˆ’6. The second column of the augmented matrix is completed with these entries, giving โŽ›โŽœโŽœโŽ80โˆ—โˆ—36โˆ—โˆ—0โˆ’6โˆ—โˆ—โŽžโŽŸโŽŸโŽ .

To complete the third column, we look at the ๐‘ง-terms that appear in the system of linear equations in (4). For the first, second, and third equation these are โˆ’3, 0, and 7 respectively. The third column of the augmented matrix can now be completed, giving โŽ›โŽœโŽœโŽ80โˆ’3โˆ—360โˆ—0โˆ’67โˆ—โŽžโŽŸโŽŸโŽ .

The final step can be completed by examining the terms that appear on the right-hand side of the equals signs in each equation of (4). These are 7, 0, and โˆ’8, respectively, which gives the final augmented matrix โŽ›โŽœโŽœโŽ80โˆ’3736000โˆ’67โˆ’8โŽžโŽŸโŽŸโŽ .

In the final example of this explainer, we will be presented with an augmented matrix and asked to write this as a corresponding system of linear equations. We gave one example above of this type where there were two equations and two variables in the system of linear equations. In the following example, we will increase the complexity by working with a system of three linear equations in three variables.

Example 5: Finding the System of Linear Equations Represented by 3 ร— 4 Augmented Matrix

From the augmented matrix โŽ›โŽœโŽœโŽ20โˆ’9504โˆ’95โˆ’4โˆ’900โŽžโŽŸโŽŸโŽ ,find the system of equations.

Answer

We begin by assuming that the variables corresponding to the first, second, and third columns should be labeled as ๐‘ฅ, ๐‘ฆ, and ๐‘ง respectively. This is an arbitrary choice of variables and means that we should populate the missing entries in the following system: โˆ—๐‘ฅ+โˆ—๐‘ฆ+โˆ—๐‘ง=โˆ—,โˆ—๐‘ฅ+โˆ—๐‘ฆ+โˆ—๐‘ง=โˆ—,โˆ—๐‘ฅ+โˆ—๐‘ฆ+โˆ—๐‘ง=โˆ—.

The coefficients of the ๐‘ฅ-terms in these three equations can be immediately written by examining the left-most column of the augmented matrix. In order, the entries of the first column are 2, 0, and โˆ’4. Therefore, the system of equations becomes 2๐‘ฅ+โˆ—๐‘ฆ+โˆ—๐‘ง=โˆ—,โˆ—๐‘ฆ+โˆ—๐‘ง=โˆ—,โˆ’4๐‘ฅ+โˆ—๐‘ฆ+โˆ—๐‘ง=โˆ—, where we have suppressed the ๐‘ฅ-term in the second equation due to the coefficient of this term being 0. We now look at the second column of the augmented matrix, the coefficients of which (in order) are 0, 4, and โˆ’9. This means that we now know the coefficients of the ๐‘ฆ-terms in our system of equations, giving 2๐‘ฅ+โˆ—๐‘ง=โˆ—,4๐‘ฆ+โˆ—๐‘ง=โˆ—,โˆ’4๐‘ฅโˆ’9๐‘ฆ+โˆ—๐‘ง=โˆ—, where the ๐‘ฆ-term in the first equation has been omitted because the coefficient of this term is 0. Now, we will write the coefficients of the ๐‘ง-terms in each equation. The third column of the augmented matrix has entries โˆ’9, โˆ’9, and 0. By entering these into the above system of equations and bringing all terms together, we therefore have 2๐‘ฅโˆ’9๐‘ง=โˆ—,4๐‘ฆโˆ’9๐‘ง=โˆ—,โˆ’4๐‘ฅโˆ’9๐‘ฆ=โˆ—.

The final set of missing values can be obtained from the right-most column in the augmented matrix. In order, these entries are 5, 5, and 0. This gives the complete set of linear equations as follows: 2๐‘ฅโˆ’9๐‘ง=5,4๐‘ฆโˆ’9๐‘ง=5,โˆ’4๐‘ฅโˆ’9๐‘ฆ=0.

We have seen in this explainer that it is usually a simple process to switch between a system of linear equations and the corresponding augmented matrix. The one caveat to this approach is that the system of linear equations should be written in a way so that the variables always appear in the same order for each individual equation of this system. If this is the case, then switching between the system of linear equations and the augmented matrix is essentially trivial. 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 Gaussโ€“Jordan elimination.

Key Points

  • Consider a general system of linear equations, as follows: ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ€ฆ๐‘Ž๐‘ฅ=๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ€ฆ๐‘Ž๐‘ฅ=๐‘,โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ€ฆ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šจ๏Šง๏Š๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰ Then, the โ€œcoefficient matrixโ€ is โŽ›โŽœโŽœโŽ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘Ž๐‘Žโ€ฆ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ€ฆ๐‘ŽโŽžโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š and the โ€œaugmented matrixโ€ is โŽ›โŽœโŽœโŽœโŽ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘โ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎ๐‘Ž๐‘Žโ€ฆ๐‘Ž๐‘โŽžโŽŸโŽŸโŽŸโŽ .๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šง๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏Šจ๏‰๏Šง๏‰๏Šจ๏‰๏Š๏‰
  • For a system of linear equations with ๐‘š equations in ๐‘› variables, the coefficient matrix has ๐‘š rows and ๐‘› columns and therefore has dimension ๐‘šร—๐‘›.
  • The augmented matrix of such a system has ๐‘š rows and ๐‘›+1 columns, meaning that it has dimension ๐‘šร—(๐‘›+1).
  • When writing a system of linear equations as an augmented matrix, it is essential that the variables appear in the same order for each equation before the augmented matrix is populated with the coefficients of this system.
  • Coloring variables can help to understand whether the system of linear equations is already written in a helpful form.
  • 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 equals sign before the augmented matrix is created.
  • If a variable does not appear in one of the equations, then the coefficient of this variable is 0 and the augmented matrix should have a value of 0 in the corresponding entry.

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