Activity 3-Solving Systems of Linear Equations
Activity 3-Solving Systems of Linear Equations
Dashboard / My courses / MATH 125 (LEC A1 B1 D1 E1 F1 Fall 2022) / Block 2 / Solving Systems of Linear Equations
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 1/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 1
Correct
a 11 x1 + a 12 x2 + ⋯ + a 1n xn = b1
a 21 x1 + a 22 x2 + ⋯ + a 2n xn = b2
⋮ ⋮ ⋮ ⋮
a m1 x1 + a m2 x2 + ⋯ + a mn xn = bm
To this system are associated two important matrices: the coefficient matrix
a 11 a 12 ⋯ a 1n
⎡ ⎤
⎢ a 21 a 22 ⋯ a 2n ⎥
A = ⎢ ⎥
⎢ ⎥
⎢ ⋮ ⋮ ⋯ ⋮ ⎥
⎣ ⎦
a m1 a m2 ⋯ a mn
⎢ a 21 a 22 ⋯ a 2n b2 ⎥
[A|b] = ⎢
⎢
⎥
⎥
.
⎢ ⋮ ⋮ ⋯ ⋮ ⎥
⎣ ⎦
a m1 a m2 ⋯ a mn bm
Often, the augmented matrix of a linear system is written with a bar in front of the last column such as
⎡ a 11 a 12 ⋯ a 1n b1 ⎤
⎢ a 21 a 22 ⋯ a 2n b2 ⎥
⎢ ⎥
[A|b] = ⎢ ⎥ ,
⎢ ⎥
⎢ ⋮ ⋮ ⋯ ⋮ ⎥
⎣ a m1 a m2 ⋯ a mn bm ⎦
x1 − 2x2 + 3x3 = 4
1 -2 3 .
-1 2 -9
3 6 8
⎢ −1 2 −9 ⎥
⎣ ⎦
3 6 8
Note: When writing down a matrix associated to a system of linear equations, it is important to put each coefficient in the correct position. If one
of the variables of the system does not appear in a particular equation, it means the coefficient of that variable is 0 in that equation. We need to
make sure this 0 appears in the correct entry of the matrix.
The system
x1 − 2x2 = 0
−x1 + 25x3 = −3
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 2/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
has augmented matrix
1 -2 0 0 .
-1 0 25 -3
In this section, we will learn how to use the reduced row echelon form of a linear system's augmented matrix to determine the solution set for
that system.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 3/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 2
Correct
The matrix
2 1 3 4
[ ]
1 2 4 −2
x1 +
x2 +
x3 =
x1 +
x2 +
x3 =
-2
Correct
Marks for this submission: 8.00/8.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 4/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 3
Correct
Recall: Matrices A and B are said to be row equivalent if there exists a sequence of elementary row operations that converts A into B.
The following theorem is a cornerstone of this course. It justifies the algorithm that will be presented for solving systems of linear equations.
Main Theorem: Linear systems with row equivalent augmented matrices have the same solution set.
Example: The solution set to the linear system
x1 − 3x2 = 0
2x2 = 4
,
2
],
and
1 −3 0 1 −3 0
[ ] R2 − 3R1 [ ]
3 −7 4 −−−−−−→ 0 2 4
x1 − 3x2 = 0
3x1 − 7x2 = 4
,
2
].
It is easiest to find the solution set of a linear system whose augmented matrix is in reduced row echelon form.
Correct
Marks for this submission: 4.00/4.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 5/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 4
Correct
The variable xi is called a leading variable (or a basic variable) if the i th column of a row echelon form of [ A | b ] contains a leading entry.
The variable xi is called a free variable if it is not a leading variable, that is, if the i th column of a row echelon form of [ A | b ] doe not
contain a leading entry.
(Recall: In a row echelon form matrix, a leading entry is the left most non-zero entry of a non-zero row.)
Example: Suppose we have a linear system in the variables x1 , x2 , x3 , x4 , x5 with augmented matrix [ A | b ] and suppose that the matrix
⎡ 1 0 2 0 −3 4 ⎤
⎢ 0 3 0 1 7 9 ⎥
⎢ ⎥
⎣ 0 0 0 0 −4 0 ⎦
Example: If the matrix below is the RREF of the augmented matrix for a linear system, then the leading variables of the system are c)
a) x1 , x2 b) x2 , x3 c) x2 , x4 d) x3 , x4 e) x1 , x3
a) x1 , x2 b) x2 , x3 c) x2 , x4 d) x3 , x4 e) x1 , x3
⎡ 0 1 1 0 1 ⎤
⎢ 0 0 0 1 5 ⎥
⎢ ⎥
⎣ 0 0 0 0 0 ⎦
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 6/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Correct
Marks for this submission: 4.00/4.00.
Question 5
Correct
This method is called Gauss-Jordan elimination. The solutions are usually written using column vectors for a reason that will become apparent
after matrix multiplication is introduced. From now on, column vectors will become a lot more prevalent than row vectors.
Recall: a consistent system has either a unique solution or infinitely many solutions.
We will first present an example of solving a linear system that has a unique solution. We will then go through an example of solving a linear
system that has infinitely many solutions. Following that, we will discuss the case of inconsistent systems.
Correct
Marks for this submission: 1.00/1.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 7/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 6
Correct
For a video with a similar example as the one presented below, see Solving systems of linear equations part 1 between 10:20 and 14:57.
− 5x2 − 6x3 = −4
x1 − x2 − x3 = −4
⎡ 0 −5 −6 −4 ⎤
[ A |b ] = ⎢ 3 3 5 −8 ⎥
⎢ ⎥
⎣ 1 −1 −1 −4 ⎦
The next step is to transform this augmented matrix into reduced row echelon form.
⎡ 0 −5 −6 −4 ⎤ ⎡ 1 −1 −1 −4 ⎤
−−−−−−−→
[ A |b ] = ⎢ 3 3 5 −8 ⎥ R1 ↔ R3
⎢ 3 3 5 −8 ⎥
⎢ ⎥ ⎢ ⎥
⎣ 1 −1 −1 −4 ⎦ ⎣ 0 −5 −6 −4 ⎦
⎡ 1 −1 −1 −4 ⎤ ⎡ 1 −1 −1 −4 ⎤
−−−−−−−−→ −−−−−−−→
R2 − 3 R1
⎢ 0 6 8 4 ⎥ R2 + R3
⎢ 0 1 2 0 ⎥
⎢ ⎥ ⎢ ⎥
⎣ 0 −5 −6 −4 ⎦ ⎣ 0 −5 −6 −4 ⎦
−−−−−−−−→ ⎡ 1 0 1 −4 ⎤ ⎡ 1 0 1 −4 ⎤
−−−−→
R1 + R2
⎢ 0 1 2 0 ⎥ 1
R3
⎢ 0 1 2 0 ⎥
⎢ ⎥ 4 ⎢ ⎥
R3 + 5 R2
⎣ 0 0 4 −4 ⎦ ⎣ 0 0 1 −1 ⎦
−−−−−−−→ ⎡ 1 0 0 −3 ⎤
R1 − R3
⎢ 0 1 0 2 ⎥
⎢ ⎥
R 2 − 2R 3
⎣ 0 0 1 −1 ⎦
This last matrix is in reduced row echelon form. The linear system associated to this matrix is very simple:
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 8/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
-1
By the Main Theorem stated previously, this is also the unique solution of the initial linear system.
In this example, x1 , x2 , x3 are leading variables and hence there are no free variables .
Geometrically, we see that each equation in the linear system is a general equation for a plane in R . We have just shown that these three planes
3
-1
Note: Each matrix in the row reduction above is the augmented matrix of a system of linear equations. So keep in mind that when you apply a
row operation to an augmented matrix, that is the same as applying that operation to the underlying equations.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 9/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 7
Correct
Exercise: Each of the following matrices represents the reduced row echelon form of the augmented matrix [ A | b ] of a linear system. Match
each system with its unique solution.
5
⎡ ⎤
5
a) [Math Error] b) [Math Error] c) x = ⎢ −4 ⎥ d) x = [ ]
⎣ ⎦ −4
0
1
⎡ 1 0 0 ⎤
2
1. ⎢
⎢ 0 1 0 −
1 ⎥
⎥
⎢ 2 ⎥
⎣ 0 0 1 0 ⎦
Unique solution: a)
⎡ 1 0 5 ⎤
2. ⎢
⎢ 0 1 −4 ⎥
⎥
⎣ 0 0 0 ⎦
Unique solution: d)
For each augmented matrix above, recall that the number of columns is equal to the number of variables in the corresponding linear system.
Correct
Marks for this submission: 2.00/2.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 10/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 8
Correct
For a video with a similar example as the one presented below, see Solving systems of linear equations part 1 between 14:57 and 20:53. An
example of a larger system with infinitely many solutions is presented in the video Solving systems of linear equations part 2.
3 −6 −2 5 −5
[ A |b ] = [ ].
−1 2 3 3 4
The next step is to transform this augmented matrix into reduced row echelon form.
3 −6 −2 5 −5 −−−−−−−−→ 1 −2 4 11 3
[ A |b ] = [ ] R1 + 2 R2 [ ]
−1 2 3 3 4 −1 2 3 3 4
−−−−→
−−−−−−−→ 1 −2 4 11 3 1 −2 4 11 3
1
R2 + R1 [ ] R2 [ ]
7
0 0 7 14 7 0 0 1 2 1
−−−−−−−−→ 1 −2 0 3 −1
R1 − 4 R2 [ ]
0 0 1 2 1
x3 + 2x4 = 1
The variables x1 and x3 are leading variables and the variables x2 and x4 are free variables .
All the solutions to the last system can be expressed in terms of the free variables. Here is how to proceed.
Solve the first equation x1 − 2x2 + 3x4 = −1 for the leading variable x1 . Solve the second equation x3 + 2x4 = 1 for the
Explicitly, we obtain:
x1 = −1 + 2x2 − 3x4 = −1 + 2s − 3t
x2 = s
x3 = 1 − 2x4 = 1 − 2t
x4 = t s, t ∈ R
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 11/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Lining this up gives us
x1 = −1 + 2s − 3t
x2 = 0 + 1s + 0t
x3 = 1 + 0s − 2t
x4 = 0 + 0s + 1t
x1
⎡ ⎤
⎢ x2 ⎥
Set x = ⎢ ⎥ . The general solution of the initial linear system can be written in terms of the parameters as:
⎢ x ⎥
3
⎣ ⎦
x4
-1 2 -3
0 1 0
x = +s +t , s, t ∈ R
1 0 -2
0 0 1
Correct answer, well done. Correct answer, well done. Correct answer, well done.
Marks for this submission: 1.00/1.00. Marks for this submission: 1.00/1.00. Marks for this submission: 1.00/1.00.
(Recall the notion of rank from the learning activity on Row Operations.)
Geometrically, the two equation in this linear system form hyperplanes in R . We see by our solution that these hyperplanes intersect along a
4
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 12/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 9
Correct
Exercise: Each of the following matrices represents the reduced row echelon form of the augmented matrix [ A | b ] of a linear system. Match
each system with its general solution.
⎡ 1 0 −2 4 ⎤
1. ⎢
⎢ 0 1 3 −1 ⎥
⎥
⎣ 0 0 0 0 ⎦
4 −2
⎡ ⎤ ⎡ ⎤
4 2
a) x = [ ] + t[ ], t ∈ R b) x = ⎢ −1 ⎥ + t ⎢ 3 ⎥, t ∈ R
−1 −3 ⎣ ⎦ ⎣ ⎦
0 1
4 2 4 2
⎡ ⎤ ⎡ ⎤ ⎡ ⎤ ⎡ ⎤
c) x = ⎢ −1 ⎥ + t ⎢ −3 ⎥ , t ∈ R d) x = ⎢ −1 ⎥ + t ⎢ −3 ⎥ , t ∈ R
⎣ ⎦ ⎣ ⎦ ⎣ ⎦ ⎣ ⎦
0 1 0 0
General solution: c)
⎡ 1 5 −3 0 2 ⎤
2. ⎢
⎢ 0 0 0 1 −7 ⎥
⎥
⎣ 0 0 0 0 0 ⎦
2 −5 3
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
e) x = ⎢ −7 ⎥ + s ⎢ 1 ⎥ + t⎢0⎥, s, t ∈ R
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
0 0 1
2 −5 3
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
⎢ 0 ⎥ ⎢ 1 ⎥ ⎢ 0⎥
f) x = ⎢ ⎥ + s⎢ ⎥ + t⎢ ⎥, s, t ∈ R
⎢ 0 ⎥ ⎢ 0 ⎥ ⎢ 1⎥
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
−7 0 0
2 −5 3
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
⎢ 0⎥ ⎢ 1 ⎥ ⎢ 0 ⎥
g) x = ⎢ ⎥ + s⎢ ⎥ + t⎢ ⎥, s, t ∈ R
⎢ 0⎥ ⎢ 0 ⎥ ⎢ 1 ⎥
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
0 0 −7
2 5 −3
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
⎢ 0 ⎥ ⎢ 1⎥ ⎢ 0 ⎥
h) x = ⎢ ⎥ + s⎢ ⎥ + t⎢ ⎥, s, t ∈ R
⎢ 0 ⎥ ⎢ 0⎥ ⎢ 1 ⎥
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
−7 0 0
General solution: f)
Correct
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 13/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Marks for this submission: 2.00/2.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 14/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 10
Correct
3x1 + 6x2 + x3 − x4 = 0
3 6 1 -1 0 .
-2 -4 1 4 -5
5 10 -1 -7 8
⎢ −2 −4 1 4 −5 ⎥
⎣ ⎦
5 10 −1 −7 8
1 2 0 -1 1 .
0 0 1 2 -3
0 0 0 0 0
⎢ 0 0 1 2 −3 ⎥
⎣ ⎦
0 0 0 0 0
1 -2 1
x1
⎡ ⎤
⎢ x2 ⎥
0 1 0
⎢ ⎥ = +s +t
⎢ x ⎥
3 -3 0 -2
⎣ ⎦
x4
0 0 1
⎢ 0 ⎥
⎢ ⎥
⎢ −3 ⎥
⎣ ⎦
0
⎢ 1 ⎥
⎢ ⎥
⎢ 0 ⎥
⎣ ⎦
0
⎢ 0 ⎥
⎢ ⎥
⎢ −2 ⎥
⎣ ⎦
1
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 16/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 11
Correct
For a video with a similar example as the one presented below, see Solving systems of linear equations part 1 between 0:00 and 10:20.
x1 + 2x2 = 0
2x1 + 3x2 = −1
−4x1 − 8x2 = 3
⎡ 1 2 0 ⎤
[ A |b ] = ⎢ 2 3 −1 ⎥
⎢ ⎥
⎣ −4 −8 3 ⎦
⎡ 1 2 0 ⎤ −−−−−−−−→ ⎡ 1 2 0 ⎤
R2 − 2 R1
[ A |b ] = ⎢ 2 3 −1 ⎥ ⎢ 0 −1 −1 ⎥
⎢ ⎥ ⎢ ⎥
R3 + 4 R1
⎣ −4 −8 3 ⎦ ⎣ 0 0 3 ⎦
This last matrix is in row echelon form and corresponds to a linear system of equations. Its 3rd row represents the third equation of that system,
which is
x1 +
x2 =
This equation has no solutions . We can also interpret row 3 as the statement 0 = 3 , which is false.
Note: rank(A) =
< rank([ A | b ]) =
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 17/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Each equation in that above system is the equation of a line . That the system is inconsistent means that the intersection of these
lines is empty .
Theorem: A linear system is inconsistent if and only if the last non-zero row in a row echelon form of the augmented matrix [ A | b ] has the
form
[ 0 0 ⋯ 0 | c ]
for some non-zero c ∈ R , that is, there is a leading entry in the last column of a row echelon form [ A | b ]. Thus, a linear system is inconsistent
if and only if rank([ A | b ]) = rank(A)+
1
.
(Recall: The rank of a matrix B is the number of non-zero rows in a row echelon form of B. This is the same as the number of leading entries in
a row echelon form of B. )
Thus, to test if a linear system is consistent or inconsistent, we can use the following theorem:
Theorem: Consider a linear system with coefficient matrix A and augmented matrix [ A | b ]. Then:
Correct
Marks for this submission: 11.00/11.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 18/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 12
Correct
Recall: A system of linear equations is called homogeneous if all of the constant terms are 0 .
4x1 − 2x2 = 0
3x1 + x2 = 0
4 −2 0 −−−−−−−→ 1 −3 0 −−−−−−−−→ 1 −3 0
[ A |0 ] = [ ] R1 − R2 [ ] R2 − 3 R1 [ ]
3 1 0 3 1 0 0 10 0
−−−−→ 1 −3 0 −−−−−−−−→ 1 0 0
1
R2 [ ] R1 + 3 R2 [ ]
10
0 1 0 0 1 0
Therefore, x1 =
and x2 =
0
and hence the system has only the trivial solution x = [ ] .
0
Note: As we were row reducing the augmented matrix [ A |0 ], the augmented column 0 was unchanged. As such, often when solving
homogeneous systems [ A |0 ], we omit the augmented column 0 and only show the row reduction for A.
Correct
Marks for this submission: 4.00/4.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 19/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 13
Correct
Recall: The rank of a matrix A is the number of non-zero rows in a row echelon form of A. This is the same as the number of leading entries in a
row echelon form of A.
The rank of a matrix is a very useful concept, in particular when it comes to systems of equations. The ranks of the coefficient matrix and
augmented matrix of a linear system tell us important information about the system.
We have already seen that a system of linear equations with coefficient matrix A and augmented matrix [ A | b ] is consistent exactly when
rank(A) = rank([ A | b ]) . In the case that the system is consistent, rank(A) can tell us even more.
Note: Since the system has n variables, the matrix A has n columns.
If the system has 5 variables and the rank of A is 3 , then the system has
2
free variables.
If the system has 9 variables, 5 of which are free, then rank(A) =
.
If the system has 6 free variables and rank(A) = 5 , then A has
11
columns.
− 5x2 − 6x3 = −4
x1 − x2 − x3 = −4
So, rank(A) =
# of free variables =
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 20/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
n =
Also, rank([ A | b ]) =
(= rank(A) )
For a system to have a unique solution, it cannot have any free variables ! Every variable must be a leading variable . From
the Rank Theorem, we know that for a system to have a unique solution, rank(A) = n ( = # of columns of A ).
So rank(A) =
# of free variables =
2
n =
Also, rank([ A | b ]) =
(= rank(A) )
For a system to have a infinitely many solutions, it must have at least one free variable. So by the Rank Theorem, rank(A) < n .
⎢ 0 ⎥ ⎢ 1⎥ ⎢ 0 ⎥
x = ⎢ ⎥ + s⎢ ⎥ + t⎢ ⎥ , s, t ∈ R
⎢ 1 ⎥ ⎢ 0⎥ ⎢ −2 ⎥
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
0 0 1
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 21/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Correct
Marks for this submission: 15.00/15.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 22/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 14
Correct
When we require a row echelon form of a matrix, we will most often use the reduced row echelon form. Some may wonder what's the point of
even defining a row echelon form of a matrix if we can simply use the reduced row echelon form.
A row echelon form of a matrix is the "minimal" form to which we have to row reduce in order to determine how many solutions a linear system
has. So if all we want to know is how many solutions a system has, but we don't care what the actual solutions are (if the system has any), then
we save ourselves some work by just row reducing to a row echelon form.
An example similar to the one presented below is the content of the video Solving systems of linear equations part 3.
Example: Let a ∈ R. Determine the values of a (if any) for which the following system has no solutions, exactly one solution (a unique solution),
or infinitely many solutions.
x + y + 6z = −2
2x + 3y + 5z = 7
2
x + 2y + (a − 10)z = 3a
Solution: Since the value of a is unknown, we have to consider the possibility that a could be 0 . So unless we consider cases, we should avoid
using the row operations aRi and 1a Ri . Let's row reduce the augmented matrix of that system.
⎡ 1 1 6 −2 ⎤ −−−−−−−→ ⎡ 1 1 6 −2 ⎤
R 2 − 2R 1
[ A | b] = ⎢
⎢ 2 3 5 7 ⎥
⎥
⎢
⎢ 0 1 −7 11 ⎥
⎥
R3 − R1
⎣ 1 2 a
2
− 10 3a ⎦ ⎣ 0 1 a
2
− 16 3a + 2 ⎦
⎡ 1 1 6 −2 ⎤
−−−−−−−→
R3 − R2
⎢ 0 1 −7 11 ⎥
⎢ ⎥
⎣ 0 0 a
2
− 9 3a − 9 ⎦
In this case, since we are only interested in how many solutions the system has, we only have to obtain a row echelon form. Row reducing a
matrix that has variables as entries becomes very messy, very fast! So in such situations, if a row echelon form is sufficient to answer the
question, then we only row reduce to a row echelon form.
No solutions: For the system to be an inconsistent system, we need to have a leading entry in the last column of a row echelon form of [ A | b].
So we require
a
2
− 9 =0 and 3a − 9 ≠ 0 .
-3
.
Unique solution: To get a unique solution, the system has to be consistent and the rank of the coefficient matrix A must be 3, i.e. we must have
a leading entry in every column of a row echelon form of A.
Thus, a 2 − 9 ≠0 .
Therefore, the system has a unique solution if and only if a is any real number other than
3
-3
Infinitely many solution: For the system to have infinitely many solutions, we need to have a consistent system with at least one free variable
(which in this case must be z ).
.
Correct
Marks for this submission: 9.00/9.00.
Question 15
Correct
An example similar to the one presented below is the content of the video Solving systems of linear equations part 3.
x − 3y − 10z = −1
−2x + 7y + 18z = b
x − 5y + bz = 3a
-6
and a =
,
-6
and a ≠
,
-6
.
Correct
Marks for this submission: 10.00/10.00.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 24/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Question 16
Correct
The methods of this section allow us to address certain basic geometric problems.
For example, we now have the tools to convert a vector equation of a plane in R to a normal equation (and so also a general equation).
3
Example: Find a normal equation and a general equation of the plane in R with vector equation:
3
0 1 2
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
P : x = ⎢ 1 ⎥ + s ⎢ −2 ⎥ + t ⎢ −3 ⎥ , s, t ∈ R
⎣ ⎦ ⎣ ⎦ ⎣ ⎦
−1 1 5
1 2
⎡ ⎤ ⎡ ⎤
Solution: Let v = ⎢ −2 ⎥ and w = ⎢ −3 ⎥ .
⎣ ⎦ ⎣ ⎦
1 5
a
⎡ ⎤
Let n = ⎢ b ⎥ be a normal vector for P . We know that n is orthogonal to both of the direction vectors v and w , so that n ⋅ v =
⎣ ⎦
c
and n ⋅ w =
.
a − 2b + c = 0
2a − 3b + 5c = 0
1 −2 1 0 −−−−−−−−→ 1 −2 1 0 −−−−−−−−→ 1 0 7 0
[ ] R2 − 2 R1 [ ] R1 + 2 R2 [ ]
2 −3 5 0 0 1 3 0 0 1 3 0
Thus c is a free variable and so we assign it a parameter. Set c = r . The general solution of this system has parametric equations:
a = −7r
b = −3r
c = r , r ∈ R
-1
7
⎡ ⎤
gives n = ⎢ 3 . Thus an equation for P in normal form is
⎥
⎣ ⎦
−1
7 x 7 0
⎡ ⎤ ⎡ ⎤ ⎡ ⎤ ⎡ ⎤
⎢ 3 ⎥ ⋅ ⎢ y ⎥ = ⎢ 3 ⎥ ⋅ ⎢ 1 ⎥
⎣ ⎦ ⎣ ⎦ ⎣ ⎦ ⎣ ⎦
−1 z −1 −1
.
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 25/26
26/9/22, 01:12 Solving Systems of Linear Equations: Attempt review
Example: Two planes P1 , P2 in R described by the equations a 1 x + b1 y + c1 z and a 2 x + b2 y + c2 z intersect if and only if the
3
= d1 = d2
linear system
a 1 x + b1 y + c1 z = d1
a 2 x + b2 y + c2 z = d2
is consistent . If they do intersect, the intersection can be found by solving the system.
Other problems of this kind that can be solved using similar techniques include:
In all of these cases, if the objects do not intersect, then the underlying system of equations is inconsistent .
Correct
Marks for this submission: 8.00/8.00.
Jump to...
https://eclass.srv.ualberta.ca/mod/quiz/review.php?attempt=11005975&cmid=6434351 26/26