Slides1025W 3
Slides1025W 3
York University
Definition
v is a vector of size n (an element of Rn ) iff v ∈ M1×n or
v ∈ Mn×1 (that is, iff v is either a row or a column). So,
4
and 1 0 7
π
are both vectors (one is an element of R2 and the other is an
element of R3 ).
3
Note that, seen as matrices 3 5 and are not equal
5
(since one of them is a 1 × 2 matrix while the other is a 2 × 1
matrix). However, both of them can be used to represent the
ordered pair whose first entry is 3 and whose second entry is 5.
(A | ⃗b)
So,
a11 a12 ... a1n
a21 a22 ... a2n
A= .
..
am1 am2 . . . amn
is the coefficient matrix of the system, and the augmented
matrix of the system can be represented as
(A | ⃗b)
Example
The augmented matrix of the system
w + 3x + 2y + 6z = 7
w + 8x + + z = −1
w +x +y +z =1
is
1 3 2 6 7
1 8 0 1 −1
1 1 1 1 1
Also,
7 1 3 2 6
−1 and 1 8 0 1
1 1 1 1 1
are respectively the vector of independent terms and the
coefficient matrix of the system.
Example
The augmented matrix of the system
w + 3x + 2y + 6z = 7
w + 8x + + z = −1
w +x +y +z =1
is
1 3 2 6 7
1 8 0 1 −1
1 1 1 1 1
Also,
7 1 3 2 6
−1 and 1 8 0 1
1 1 1 1 1
are respectively the vector of independent terms and the
coefficient matrix of the system.
Now, we come back to general question of how to find the
solution set of a linear system. For so doing, note that the
systems
w + 3x + 2y + 6z = 7
w + 3x + 2y + 6z = 7
w + 8x + + z = −1 and w +x +y +z =1
w +x +y +z =1 w + 8x + + z = −1
2 1 3 0 1 1 1 1 1 1 1 1
1 1 1 1 ∼R ↔R 2 1 3 0 ∼−2R +R 0 −1 1 −2
1 2 1 2
2 1 −1 4 2 1 −1 4 2 1 −1 4
1 1 1 1 1 1 1 1
∼−2R1 +R3 0 −1 1 −2 ∼−R 0 1 −1 2 ∼1R +R
2 2 3
0 −1 −3 2 0 −1 −3 2
Example. Find the solution set of the system.
2x + y + 3z = 0
x +y +z =1
2x + y − z = 4
2 1 3 0 1 1 1 1 1 1 1 1
1 1 1 1 ∼R ↔R 2 1 3 0 ∼−2R +R 0 −1 1 −2
1 2 1 2
2 1 −1 4 2 1 −1 4 2 1 −1 4
1 1 1 1 1 1 1 1
∼−2R1 +R3 0 −1 1 −2 ∼−R 0 1 −1 2 ∼1R +R
2 2 3
0 −1 −3 2 0 −1 −3 2
1 1 1 1 1 1 1 1
0 1 −1 2 ∼ 1 0 1 −1 2 ∼1R +R
− 4 R3 3 2
0 0 −4 4 0 0 1 −1
1 1 1 1 1 1 0 2 1 0 0 1
0 1 0 1 ∼−1R +R 0 1 0 1 ∼−1R +R 0 1 0 1
3 1 2 1
0 0 1 −1 0 0 1 −1 0 0 1 −1
We first use from top to bottom and from left to right the
elimination method to kill all components below the start of
each of the future steps. Elementary operations of type two are
used at convenience and serve, among other things, to ensure
that if a row has at least one nonzero component, then its first
nonzero component is equal to one. This one is called a
leading one. Finally, we use the elimination method but this
time from bottom to top and from right to left in order to
guarantee that if a column has a leading one, then all other
entries in that column are zero.
The order and choice of the elementary operations that we
considered in the previous example are not unique but they
follow a certain logic. Essentially, we try to bring the original
matrix to its reduced row echelon form. This concept would
be formally defined later, but we can advance that, to reach that
form, we seek to create (by means of elementary operations of
the three types) a descending stair of maximal height.
We first use from top to bottom and from left to right the
elimination method to kill all components below the start of
each of the future steps. Elementary operations of type two are
used at convenience and serve, among other things, to ensure
that if a row has at least one nonzero component, then its first
nonzero component is equal to one. This one is called a
leading one. Finally, we use the elimination method but this
time from bottom to top and from right to left in order to
guarantee that if a column has a leading one, then all other
entries in that column are zero.
The order and choice of the elementary operations that we
considered in the previous example are not unique but they
follow a certain logic. Essentially, we try to bring the original
matrix to its reduced row echelon form. This concept would
be formally defined later, but we can advance that, to reach that
form, we seek to create (by means of elementary operations of
the three types) a descending stair of maximal height.
We first use from top to bottom and from left to right the
elimination method to kill all components below the start of
each of the future steps. Elementary operations of type two are
used at convenience and serve, among other things, to ensure
that if a row has at least one nonzero component, then its first
nonzero component is equal to one. This one is called a
leading one. Finally, we use the elimination method but this
time from bottom to top and from right to left in order to
guarantee that if a column has a leading one, then all other
entries in that column are zero.
The order and choice of the elementary operations that we
considered in the previous example are not unique but they
follow a certain logic. Essentially, we try to bring the original
matrix to its reduced row echelon form. This concept would
be formally defined later, but we can advance that, to reach that
form, we seek to create (by means of elementary operations of
the three types) a descending stair of maximal height.
We first use from top to bottom and from left to right the
elimination method to kill all components below the start of
each of the future steps. Elementary operations of type two are
used at convenience and serve, among other things, to ensure
that if a row has at least one nonzero component, then its first
nonzero component is equal to one. This one is called a
leading one. Finally, we use the elimination method but this
time from bottom to top and from right to left in order to
guarantee that if a column has a leading one, then all other
entries in that column are zero.
Definition
A linear system with m equations and n variables is said to be
homogeneous iff its corresponding vector of independent terms
is the zero vector of Rm
Definition
A linear system is said to be consistent iff it has at least one
solution (and so, a system is said to be inconsistent iff S = ∅).
Proposition
Every homogeneous system is consistent.
Proof. It suffices to note that if an hom. system has m
equations and n variables, then the zero vector of Rn belongs
to its solution set.
Definition
A linear system is said to be consistent iff it has at least one
solution (and so, a system is said to be inconsistent iff S = ∅).
Proposition
Every homogeneous system is consistent.
Proof. It suffices to note that if an hom. system has m
equations and n variables, then the zero vector of Rn belongs
to its solution set.
Definition
A linear system is said to be consistent iff it has at least one
solution (and so, a system is said to be inconsistent iff S = ∅).
Proposition
Every homogeneous system is consistent.
Proof. It suffices to note that if an hom. system has m
equations and n variables, then the zero vector of Rn belongs
to its solution set.
Definition
A linear system is said to be consistent iff it has at least one
solution (and so, a system is said to be inconsistent iff S = ∅).
Proposition
Every homogeneous system is consistent.
Proof. It suffices to note that if an hom. system has m
equations and n variables, then the zero vector of Rn belongs
to its solution set.
0 2 3 0 2 −3 2 0 2 −3 2
2 −3 2 0 ∼R ↔R 0 2 3 0∼ 3 0 2 3
1 2 − 2 R1 +R3
1 1
3 2 −1 0 3 2 −1 0 0 5 −4
Of course, some homogeneous systems have many solutions
solutions (this is the case of the system whose only equation is
x − y = 0 and whose solution set is {(x, x) | x ∈ R}) and others
have only one solution.
0 2 3 0 2 −3 2 0 2 −3 2
2 −3 2 0 ∼R ↔R 0 2 3 0∼ 3 0 2 3
1 2 − 2 R1 +R3
1 1
3 2 −1 0 3 2 −1 0 0 5 −4
Of course, some homogeneous systems have many solutions
solutions (this is the case of the system whose only equation is
x − y = 0 and whose solution set is {(x, x) | x ∈ R}) and others
have only one solution.
0 2 3 0 2 −3 2 0 2 −3 2
2 −3 2 0 ∼R ↔R 0 2 3 0∼ 3 0 2 3
1 2 − 2 R1 +R3
1 1
3 2 −1 0 3 2 −1 0 0 5 −4
2 −3 2 0 2 −3 2 0
∼− 5 R2 +R3 0 2 3 0 ∼− 2 R3 0 2 3 0 ∼−3R3 +R2
2 23
0 0 − 23
2 0 0 0 1 0
2 −3 2 0 2 −3 0 0 2 −3 0 0
0 2 0 0 ∼−2R +R 0 2 0 0 ∼ 1 0 1 0 0
3 1 R
2 2
0 0 1 0 0 0 1 0 0 0 1 0
2 0 0 0 1 0 0 0
∼3R2 +R1 0 1 0 0 ∼ 1 0 1 0 0
R
2 1
0 0 1 0 0 0 1 0
2 −3 2 0 2 −3 0 0 2 −3 0 0
0 2 0 0 ∼−2R +R 0 2 0 0 ∼ 1 0 1 0 0
3 1 R
2 2
0 0 1 0 0 0 1 0 0 0 1 0
2 0 0 0 1 0 0 0
∼3R2 +R1 0 1 0 0 ∼ 1 0 1 0 0
R
2 1
0 0 1 0 0 0 1 0
This is because C does not satisfy (1), D does not satisfy (2),
E does not satisfy (3) and F does not satisfy (4) (but F is in
row echelon form).
This is because C does not satisfy (1), D does not satisfy (2),
E does not satisfy (3) and F does not satisfy (4) (but F is in
row echelon form).
This is because C does not satisfy (1), D does not satisfy (2),
E does not satisfy (3) and F does not satisfy (4) (but F is in
row echelon form).
Theorem
A linear system is inconsistent iff the rank of its augmented
matrix is equal to the rank of is coefficient matrix plus one.
In the case of the corresponding augmented matrix, its leading
positions are 1,1 and 2,3, its pivot columns are the first and the
last one, and it has rank 2.
Theorem
A linear system is inconsistent iff the rank of its augmented
matrix is equal to the rank of is coefficient matrix plus one.
In the case of the corresponding augmented matrix, its leading
positions are 1,1 and 2,3, its pivot columns are the first and the
last one, and it has rank 2.
Theorem
A linear system is inconsistent iff the rank of its augmented
matrix is equal to the rank of is coefficient matrix plus one.
It is also worth mentioning that the G-J method shows whether
or not a system has an infinite number of solutions.
Example
Find the solution set of the system
(
x + 2y − 3z = −4
2x + y − 3z = 4
1 2 −3 −4 1 2 −3 −4
∼−2R1 +R2
2 1 −3 4 0 −3 3 12
1 2 −3 −4 1 0 −1 4
∼− 1 R2 ∼−2R2 +R1
3 0 1 −1 −4 0 1 −1 −4
It is also worth mentioning that the G-J method shows whether
or not a system has an infinite number of solutions.
Example
Find the solution set of the system
(
x + 2y − 3z = −4
2x + y − 3z = 4
1 2 −3 −4 1 2 −3 −4
∼−2R1 +R2
2 1 −3 4 0 −3 3 12
1 2 −3 −4 1 0 −1 4
∼− 1 R2 ∼−2R2 +R1
3 0 1 −1 −4 0 1 −1 −4
It is also worth mentioning that the G-J method shows whether
or not a system has an infinite number of solutions.
Example
Find the solution set of the system
(
x + 2y − 3z = −4
2x + y − 3z = 4
1 2 −3 −4 1 2 −3 −4
∼−2R1 +R2
2 1 −3 4 0 −3 3 12
1 2 −3 −4 1 0 −1 4
∼− 1 R2 ∼−2R2 +R1
3 0 1 −1 −4 0 1 −1 −4
So, x − z = 4, y − z = −4 and z is a free variable (i.e., it does
not have any restriction). Isolating x and y in terms of this free
variable, we get
S = {(4 + z, −4 + z, z) | z ∈ R}
S = {(4 + z, −4 + z, z) | z ∈ R}
S = {(4 + z, −4 + z, z) | z ∈ R}
0 0 . . . 0 | c,
0 0 . . . 0 | c,
0 0 . . . 0 | c,
0 0 . . . 0 | c,
Proof.
Suppose that H has m equations and n variables. By
hipothesis, m < n. Also, H is homogeneous and hence,
consistent. Moreover, since
Proposition
Let H be an homogeneous lineal system with n and n variables
(and so, its coefficient matrix is an n × n matrix). The following
are equivalent (TFAE).
(1) H has a unique solution.
(2) H does not have free variables.
(3) The REF of the coefficient matrix of H has n leading ones.
(4) The REF of the coefficient matrix of H is the n × n identity
matrix.
The proof of the following proposition is self-contained in its
own statement.
Proposition
Let H be an homogeneous lineal system with n and n variables
(and so, its coefficient matrix is an n × n matrix). The following
are equivalent (TFAE).
(1) H has a unique solution.
(2) H does not have free variables.
(3) The REF of the coefficient matrix of H has n leading ones.
(4) The REF of the coefficient matrix of H is the n × n identity
matrix.
The proof of the following proposition is self-contained in its
own statement.
Proposition
Let H be an homogeneous lineal system with n and n variables
(and so, its coefficient matrix is an n × n matrix). The following
are equivalent (TFAE).
(1) H has a unique solution.
(2) H does not have free variables.
(3) The REF of the coefficient matrix of H has n leading ones.
(4) The REF of the coefficient matrix of H is the n × n identity
matrix.
The proof of the following proposition is self-contained in its
own statement.
Proposition
Let H be an homogeneous lineal system with n and n variables
(and so, its coefficient matrix is an n × n matrix). The following
are equivalent (TFAE).
(1) H has a unique solution.
(2) H does not have free variables.
(3) The REF of the coefficient matrix of H has n leading ones.
(4) The REF of the coefficient matrix of H is the n × n identity
matrix.
The proof of the following proposition is self-contained in its
own statement.
Proposition
Let H be an homogeneous lineal system with n and n variables
(and so, its coefficient matrix is an n × n matrix). The following
are equivalent (TFAE).
(1) H has a unique solution.
(2) H does not have free variables.
(3) The REF of the coefficient matrix of H has n leading ones.
(4) The REF of the coefficient matrix of H is the n × n identity
matrix.
Example
Consider the system
x − y + z = 0
2x − 2y + z = 0
3x − 3y + z = 0
and note that this hom. system has infinitely many solutions (for
so doing, it enough to do z = 0 and x = y). So, the REF of
1 −1 1
2 −2 1
3 −3 1