Module 1d More On The Augmented Matrices
Module 1d More On The Augmented Matrices
More on the Augmented Matrix – In this section we will revisit the cases of inconsistent and
dependent solutions to systems and how to identify them using the augmented matrix method.
In the first section in this chapter we saw that there were some special cases in the solution to
systems of two equations. We saw that there didn’t have to be a solution at all and that we could
in fact have infinitely many solutions. In this section we are going to generalize this out to general
systems of equations and we’re going to look at how to deal with these cases when using
augmented matrices to solve a system.
Learning Outcomes
Learning Content
Fact
Given any system of equations there are exactly three possibilities for the solution.
1. There will not be a solution.
2. There will be exactly one solution.
3. There will be infinitely many solutions.
This is exactly what we found the possibilities to be when we were looking at two equations. It
just turns out that it doesn’t matter how many equations we’ve got. There are still only these
three possibilities.
Now, let’s see how we can identify the first and last possibility when we are using the augmented
matrix method for solving. In the previous section we stated that we wanted to use the row
operations to convert the augmented matrix into the following form,
1 0 0: 𝑝
1 0: ℎ
[ ] or [0 1 0: 𝑞]
0 1: 𝑘
0 0 1: 𝑟
depending upon the number of equations present in the system. It turns out that we should have
added the qualifier, “if possible” to this instruction, because it isn’t always possible to do this. In
fact, if it isn’t possible to put it into one of these forms then we will know that we are in either
the first or last possibility for the solution to the system.
Before getting into some examples let’s first address how we knew what the solution was based
on these forms of the augmented matrix. Let’s work with the two equation case.
Since,
1 0: ℎ
[ ]
0 1: 𝑘
is an augmented matrix we can always convert back to equations. Each row represents an
equation and the first column is the coefficient of x in the equation while the second column is
the coefficient of the y in the equation. The final column is the constant that will be on the right
side of the equation.
and this is exactly what we said the solution was in the previous section.
This idea of turning an augmented matrix back into equations will be important in the following
examples.
Speaking of which, let’s go ahead and work a couple of examples. We will start out with the two
systems of equations that we looked at in the first section that gave the special cases of the
solutions.
(𝑎 ) 𝑥 − 𝑦 = 6
−2𝑥 + 2𝑦 = 1
(𝑏)2𝑥 + 5𝑦 = −1
−10𝑥 − 25𝑦 = 5
Solution
(𝑎 ) 𝑥 − 𝑦 = 6
−2𝑥 + 2𝑦 = 1
Now, we’ve already worked this one out so we know that there is no solution to this system.
Knowing that let’s see what the augmented matrix method gives us when we try to use it.
Notice that we’ve already got a 1 in the upper left corner so we don’t need to do anything with
that. So, we next need to make the -2 into a 0.
1 −1: 6 1 −1: 6
[ ] 𝑅 + 2𝑅1 → 𝑅1 = [ ]
−2 2: 1 1 0 0: 13
Now, the next step should be to get a 1 in the lower right corner, but there is no way to do that
without changing the zero in the lower left corner. That’s a problem, because we must have a
zero in that spot as well as a one in the lower right corner. What this tells us is that it isn’t possible
to put this augmented matrix form.
Now, go back to equations and see what we’ve got in this case.
𝑥−𝑦=6
0 ≠ 13
The first row just converts back into the first equation. The second row however converts back
to nonsense. We know this isn’t true so that means that there is no solution. Remember, if we
reach a point where we have an equation that just doesn’t make sense we have no solution.
1 −1: 6
[ ]
0 1: 0
we would have been okay since the last row would return the equation 𝑦 = 0 so don’t get
confused between this case and what we actually got for this system.
(𝑏)2𝑥 + 5𝑦 = −1
−10𝑥 − 25𝑦 = 5
In this case we know from the first section that there are infinitely many solutions to this system.
Let’s see what we get when we use the augmented matrix method for the solution.
2 5: −1
[ ]
−10 −25: 5
In this case we’ll need to first get a 1 in the upper left corner and there isn’t going to be any easy
way to do this that will avoid fractions so we’ll just divide the first row by 2.
1 1
2 5: −1 1
[ ] 𝑅 = [ 1 2
: − ]
2
−10 −25: 5 2 1
−10 −25: 5
1 1 5 1
[ 1 2
: − ] 𝑅 + 10𝑅
2 2 1 = [1 2 : − ]
2
−10 −25: 5 0 0: 0
Now, as with the first part we are never going to be able to get a 1 in place of the red zero without
changing the first zero in that row. However, this isn’t the nonsense that the first part got. Let’s
convert back to equations.
5 1
𝑥+ 𝑦=
2 2
0=0
That last equation is a true equation and so there isn’t anything wrong with this. In this case we
have infinitely many solutions.
Recall that we still need to do a little work to get the solution. We solve one of the equations for
one of the variables. Note however, that if we use the equation from the augmented matrix this
is very easy to do.
5 1
𝑥 =− 𝑦−
2 2
𝑦=𝑡
We get solutions by picking t and plugging this into the equation for x. Note that this is NOT the
same set of equations we got in the first section. That is okay. When there are infinitely many
solutions there are more than one way to write the equations that will describe all the solutions.
Let’s summarize what we learned in the previous set of examples. First, if we have a row in which
all the entries except for the very last one are zeroes and the last entry is NOT zero then we can
stop and the system will have no solution.
Next, if we get a row of all zeroes then we will have infinitely many solutions. We will then need
to do a little more work to get the solution and the number of equations will determine how
much work we need to do.
Now, let’s see how some systems with three equations work. The no solution case will be
identical, but the infinite solution case will have a little work to do.
3𝑥 − 3𝑥 − 6𝑧 = −3
2𝑥 − 2𝑦 − 4𝑧 = 10
−2𝑥 + 3𝑦 + 𝑧 = 7
Solution
3 −3 −6: −3
[ 2 −2 −4: 10 ]
−2 3 1: 7
We can get a 1 in the upper left corner by dividing by the first row by a 3.
3 −3 −6: −3 1 1 −1 −2: −1
[ 2 −2 −4: 10 ] 𝑅1 = [ 2 −2 −4: 10 ]
3
−2 3 1: 7 −2 3 1: 7
Next, we’ll get the two numbers under this one to be zeroes.
1 −1 −2: −1 1 −1 2: −1
[ 2 −2 −4: 10 ] 𝑅2 − 2𝑅1 → 𝑅2 = [0 0 0: 12 ]
−2 3 1: 7 0 1 −3: 5
𝑅3 + 2𝑅1 → 𝑅3
And we can stop. The middle row is all zeroes except for the final entry which isn’t zero. Note
that it doesn’t matter what the number is as long as it isn’t zero.
Once we reach this type of row we know that the system won’t have any solutions and so there
isn’t any reason to go any farther.
Okay, let’s see how we solve a system of three equations with an infinity number of solutions
with the augmented matrix method. This example will also illustrate an interesting idea about
systems.
3𝑥 − 3𝑦 − 6𝑧 = −3
2𝑥 − 2𝑦 − 4𝑧 = −2
−2𝑥 − 3𝑦 + 𝑧 = 7
Solution
Notice that this system is almost identical to the system in the previous example. The only
difference is the number to the right of the equal sign in the second equation. In this system it is
-2 and in the previous example it was 10. Changing that one number completely changes the
type of solution that we’re going to get. Often this kind of simple change won’t affect the type
of solution that we get, but in some rare cases it can.
Since the first two steps of the process are identical to the previous part we won’t discuss them.
Here they are.
We’ve got a row of all zeroes so we instantly know that we’ve got infinitely many solutions.
Unlike the two equation case we aren’t going to stop however. It looks like with a couple of row
operations we can make the second column look like it is supposed to in the final form so let’s
do that.
1 −1 −2: −1 1 −1 −2: −1 1 0 −5: 4
[0 0 0: 0 ] 𝑅2 → 𝑅3 = [ 0 1 −3: 5 ] 𝑅1 + 𝑅2 → 𝑅1 = [ 0 1 −3: 5]
0 1 −3: 5 0 0 0: 0 0 0 0: 0
In this case we were able to make the second column look like it’s supposed to and the third
column will never look correct. However, it is possible that the situation could be reversed and
it would be the third column that we can make look correct and the second wouldn’t look correct.
Every system is different.
𝑥 = 5𝑧 + 4
𝑦 − 3𝑧 = 5
Now, both of these equations contain a z and so we’ll move that to the other side in each
equation.
𝑥 = 5𝑧 + 4
𝑦 = 3𝑧 + 5
This means that we get to pick the value of z for free and we’ll write the solution as,
𝑥 = 5𝑡 + 4
𝑦 = 3𝑡 + 5 𝑤ℎ𝑒𝑟𝑒 𝑡 𝑖𝑠 𝑎𝑛𝑦 𝑟𝑒𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟
𝑧=𝑡
Since there are an infinite number of ways to choose t there are an infinite number of solutions
to this system.
For each of the following systems of equations convert the system into an augmented matrix and
use the augmented matrix techniques to determine the solution to the system or to determine
if the system is inconsistent or dependent.
1. 𝑥 − 7𝑦 = −11
5𝑥 + 2𝑦 = −18
2. 7𝑥 − 8𝑦 = −12
−4𝑥 + 2𝑦 = 3
3. 3𝑥 + 9𝑦 = −6
−4𝑥 − 12𝑦 = 8
Learning Resources
The following resources on You Tube will help you enhance your understanding in solving linear
system with two variables.
a. https://www.youtube.com/watch?v=pnsrmpc7Avk
b. https://www.youtube.com/watch?v=eYSASx8_nyg
Flexible Teaching and Learning Modalities
Online (synchronous)
Google Meet/ Zoom/ SEDI
Remote
Module 4. More on the Augmented Matrix
Assessment Tasks
For each of the following systems of equations convert the system into an augmented matrix and
use the augmented matrix techniques to determine the solution to the system or to determine
if the system is inconsistent or dependent.
1. 6𝑥 − 5𝑦 = 8
−12𝑥 + 2𝑦 = 0
2. 5𝑥 − 25𝑦 = 3
−2𝑥 + 10𝑦 = 2
3. 2𝑥 + 3𝑦 = 20
7𝑥 + 2𝑦 = 53
4. 2𝑥 + 5𝑦 + 2𝑧 = −38
3𝑥 − 2𝑦 + 4𝑧 = 17
−6𝑥 + 𝑦 − 7𝑧 = −12
5. 3𝑥 − 9𝑧 = 33
7𝑥 − 4𝑦 − 𝑧 = −15
4𝑥 + 6𝑦 + 5𝑧 = −6
References:
Bernard Kolman & David R. Hill. Introductory Linear Algebra with Applications. 7th Edition
Steven J. Leon. Linear Algebra with Applications Eighth Edition
Jörg Liesen Volker Mehrmann. Linear Algebra