Lecture 03
Lecture 03
Lecture 03
Gaussian
Elimination
How can we tell? (consistent vs. inconsistent)
If the augmented matrix of a linear system has a
row-echelon form whose last column is a pivot column,
then the linear system is inconsistent.
: leading entry
In other words, there is a row
0 0 ... 0 where every entry is zero except
the last entry, which is non zero.
last column
How can we tell? (consistent vs. inconsistent)
If the augmented matrix of a linear system has a
row-echelon form whose last column is a pivot column,
then the linear system is inconsistent.
If the augmented matrix of a linear system has a
row-echelon form whose last column is NOT
a pivot column, then the linear system is consistent.
0 0 ... 0 0
Can we say more?
But a consistent linear Yes you are right,
system could still row-echelon forms can
behave in two different also tell us how many
ways right? solutions a linear system
have!
How can we tell? (unique vs. infinitely many
solutions)
If the augmented matrix of a consistent linear system
has a row-echelon form where every column
(except the last) is a pivot column, then the linear
system has a unique (that is, exactly one) solution.
Every column here
is a pivot column
0 0 0 ... 0 0
How can we tell? (unique vs. infinitely many
solutions)
If the augmented matrix of a consistent linear system
has a row-echelon form where some column
(other than the last) is NOT a pivot column, then
the linear system has infinitely many solutions.
*
* Some column here
0
is NOT a pivot column
0
0 0
0 0 ... 0
Some examples
1 0 2 0
0 1 3 0
Linear system is inconsistent
(last column is a pivot column)
0 0 1 0
0 0 1
0
1 0 1 4 0
Linear system is consistent
0 1 1 3 1
and has a unique solution
0 0 3 2 1
0 (every column other than the
0 0 1 0
last is a pivot column)
0 0
0 0 0
Notations to use
To ensure that we (your examiners) understand what
you are doing, please use the following notations when
performing elementary row operations:
1 0 1 2 12 R2 1 0 1 2
0 2 0 1 0 1 0 12
0 0 1 0
2R3 0 0 1 0
2
Notations to use
2) When you want interchange rows i and j ,
write Ri R j .
0 0 1 2 R1 R2 1 2 0 1
1 2 0 1 0 0 1 2
0 0 1 0 0 0 1 0
2 2
Notations to use
3) When you want add k times of row i to row j ,
write R j kRi .
1 1 1 2 R2 R1 1 1 1 2
1 2 0 1 0 3 1 1
R3 2 R1
2 0 1 0 0 2 3 4
2 2
Can I ‘combine’ operations ‘under
one arrow’?
Answer: Only if there is no confusion or ambiguity.
R2 R1
No ambiguity
R3 2 R1
R2 R1 first then R3 2 R2
R2 R1
OR
R3 2 R2
R3 2 R2 first then R2 R1
Can I ‘combine’ operations ‘under
one arrow’?
R2 R1 first then R3 2 R2
R2 R1
R3 2 R2
Example
What condition(s) must be satisfied by a , b , c such
that the linear system
x 2 y 3z a
2 x 6 y 11z b
x 2 y 7z c
x 2y 3z 4
3x y 5z 2
4 x y (a 2 14) z a 2
ax 2 by 2 cz 2 d
ax 2 by 2 cz 2 d (*)
x 1, y 1, z 1,
x 1, y 3, z 3 and
x 2, y 0, z 2
x 1, y 1, z 1, a b c d
x 1, y 3, z 3 and a 9b 9c d
x 2, y 0, z 2 4a 4c d
a b c d 0
a 9b 9c d 0
4a 4c d 0
Solution (quadric surface)
a b c d 0
a 9b 9c d 0
4a 4c d 0
1 1 1 1 0 R2 R1 1 1 1 1 0
1 9 9 1 0 0 8 8 0 0
4 0 4 1 0 R3 4 R1 0 4 0 3 0
R3 12 R2 1 1 1 1 0
0 8 8 0 0
0 0 4 3 0
Solution (quadric surface)
1 1 1 1 0 1
R2 1 1 1 1 0
0 8 8 0 0
8
0 1 1 0 0
0 0 4 3 0
1
R3 0 0 1 3 0
4 4
R1 R3 1 1 0 74 0
0 1 0 3 0
R2 R3 4
0 0 1 3 0
4
R1 R2 1 0 0 1 0
0 1 0 3 0
4
0 0 1 3 0
4
Solution (quadric surface)
ax 2 by 2 cz 2 d
a t
1 0 0 1 0 b
0 1 0 3 34 t
0
4
34 t
0 0 1 3 0 c
d t, t .
4
4 x 2 3 y 2 3 z 2 4.
Think for a while…
ax 2 by 2 cz 2 d
4 x 2 3 y 2 3z 2 4.
3 leading entries
1 1 2 1 1 0 12 12
1 1 0 1 3 1
1 0
2 2
2 0 1 1 0 0 0 0
3 1 0 0 0 0
0 1
2 leading entries
Solution is a straight line consisting of points:
( 12 12 t , 12 23 t , t ) for all t
Example
x y 2z 1
3 x 3 y 6 z 3 x 1 s 2t
Two planes in xyz space y s
z t s ,t
x y 2z 1
1 1 2 1 1 1 2 1
3 3 6 3 0 0 0 0
1 leading entry
Solution is a plane consisting of points:
(1 s 2t , s , t ) for all s , t
Definition (Homogeneous Linear Systems)
A linear system is said to be homogeneous if it
has the following form:
(consistent)
Something special
no solutions exactly one infinitely many
(inconsistent) solution solutions
(consistent)
a11 x1 a12 x2 ... a1n xn 0
a x a x ... a x 0
21 1 22 2 2n n
: : : :
am1 x1 am 2 x2 ... amn xn 0
(consistent)
a11 0 a12 0 ... a1n 0 0
a 0 a22 0 ... a2 n 0 0
21
: : : :
am1 0 am 2 0 ... amn 0 0
2 x y 3z 0
x 2 y 3z 0
x y 4z 0
a1 x b1 y 0 (l1)
a2 x b2 y 0 (l2 )
y y
x x
Example (2 variables)
a1 x b1 y 0 (l1)
a2 x b2 y 0 (l2 )
origin
a1 x b1 y c1 z 0 ( p1)
a2 x b2 y c2 z 0 ( p2 )
a x b y c z 0
3 3 3 ( p3 )
x1 x2 2 x3 4 x4 0
2 x1 x2 3x3 5 x5 0
3x 2 x x 3x4 x5 0
1 2 3
1 1 2 4 0 0
2 1 3 0 5 0
3 2 1 3 1 0
What similarities can you find?
What is the maximum number of leading entries in
a row-echelon form of each of the following
augmented matrices?
1 1 2 0
2 3 9 0
1 1 2 4 0 0
2 1 3 0 5 0
3 2 1 3 1 0
What similarities can you find?
1 1 2 4 0 0
2 1 3 0 5 0
3 2 1 3 1 0
x1 x2 2 x3 4 x4 0
2 x1 x2 3x3 5 x5 0
3x 2 x x 3x4 x5 0
1 2 3
Lecture 04
Introduction to matrices
Matrix operations (till Theorem 2.2.22)