Professional Documents
Culture Documents
Course Code: As 222 Course Title: Linear Algebra Class Day: Timing: Lecture / Week No. 3
Course Code: As 222 Course Title: Linear Algebra Class Day: Timing: Lecture / Week No. 3
Instructor Name:
a1:leading coefficient
x1:leading variable
Notes:
(1) Linear equations have no products or roots of variables and
no variables involved in trigonometric, exponential, or
logarithmic functions.
Notes:
Equivalent:
Two systems of linear equations are called equivalent
if they have precisely the same solution set.
Notes:
Each of the following operations on a system of linear
equations produces an equivalent system.
(1) Interchange two equations.
(2) Multiply an equation by a nonzero constant.
Ex 1: Matrix Size
[2] 11
0 0
0 0 22
1 − 3 0 1
1 4
2
e
2 2 3 2
−7 4
Note:
One very common use of matrices is to represent a system
of linear equations.
Reference No. 1 Topic: System Of Linear Equation
Matrix form: Ax = b
Augmented matrix:
a bm
m1 am2 am3 amn
Coefficient matrix:
Row equivalent:
Two matrices are said to be row equivalent if one can be obtained
from the other by a finite sequence of elementary row operation.
Reference No. 1 Topic: System Of Linear Equation
1 − 5 2 −1 3 1 0 0 −1
0 0 1 3 −2 (row - echelon 0 1 0 2 (reduced row -
0 0 0 1 4 form) 0 0 1 3 echelon form)
0 0 0 0 1 0 0 0 0
1 2 − 3 4 1 2 −1 2
0 2 1 −1 0 0 0 0
0 0 1 − 3 0 1 2 − 4
Reference No. 1 Topic: System Of Linear Equation
Gaussian elimination:
The procedure for reducing a matrix to a row-echelon form.
• Gauss-Jordan elimination:
• The procedure for reducing a matrix to a reduced row-echelon fo
Notes:
(1) Every matrix has an unique reduced row echelon
f(o2r)mA. row-echelon form of a given matrix is not unique.
Gauss-Jordan elimination)
Produce leading 1
0 0 − 2 0 8 12
r12 2 8 − 6 4 12 28
2 8 − 6 4 12 28 0 0 − 2 0 8 12
2 4 − 5 6 −5 4 2 4 − 5 6 − 5 4
The first nonzero column
leading 1
( −12 ) 1 4 − 3 2 6 14 r23( −5) 1 4 − 3 2 6 14
r 0 0 0 0
2
1 0 −4 − 6 1 0 − 4 − 6
0 0 5 0 −17 − 24 0 0 0 0 3 6
Zeros elements below leading 1 Submatrix
Produce leading 1
Zeros elsewhere
1
( )
1 4 − 3 2 6 14 r31(−6) 1 4 − 3 2 0 2
r3 3
0 0 0 0 1 0 − 4 − 6
1 0 − 4 − 6
0 0 0 0 1 2 0 0 0 0 1 2
leading 1
(row - echelon form) (row - echelon form)
r32(4) 1 4 − 3 2 0 2 1 4 0 2 0 8
0 0 1 0 0 2
r21(3) 0 0 1 0 0 2
0 0 0 0 1 2 0 0 0 0 1 2
(row - echelon form) (reduced row - echelon form)
Reference No. 1 Topic: System Of Linear Equation
x1 = 2 − 5x3
x2 = −1 + 3x3
Let x3 = t
x1 = 2 − 5t,
x2 = −1+ 3t, tR
x3 = t,
Trivial solution:
x1 = x2 = x3 = = xn = 0
Nontrivial solution:
other solutions
Notes:
(1) Every homogeneous system of linear equations is consistent.
(2)If the homogenous system has fewer equations than
variables,
(a) The system has only the trivial solution.
(b) The system has infinitely many nontrivial solutions in
addition to the trivial solution.
Reference No. 1 Topic: System Of Linear Equation
1
-4
0 -4
0
1 0 -1
3 3
0 1 0 0
0 1 0 2
0 0 0 0
x = − 4 x 0
0 0 0
1 3
3 x = − x −1
4
1 3
x2 = 0
3
x = free x2 = 2
3
x3 = free
x1 − 4 / 3
x1 −1 − 4 / 3
x = x 0 x = 2 + x 0
2 3 2 3
x3 1 x3 0 1
Reference No. 1 Topic: System Of Linear Equation
Solutions of Nonhomogeneous Systems
Example 3: Describe all solutions for 3x1 + 5x2 − 4x3 = 7
− 3x − 2x + 4x = −1
1 2 3
6x + x − 8x = −4
1 2 3
7
3 5 −4
A = −3 −2 4
and b = −1
6 1 −8 −4
References / Resources
• All Material is taken from text book Linear algebra and its applications by David C
Lay 4th edition