LA_1. Linear Systems - Edit
LA_1. Linear Systems - Edit
Contents
1. Solutions and Elementary Operations
2. Gaussian Elimination
3. Homogeneous Equations
Objectives
Inconsistent Consistent
(không (tương thích)
tương thích)
No solutions Unique solution Infinitely many
( vô nghiệm) (nghiệm duy nhất) solutions
(vô số nghiệm)
Example 1
•
x 2 y 1 x y z 1
x 2 y 3 x y z 3
no solution (0,2,1), (2,0,1) (t,2-t,1)
Inconsistent Consistent
(infinitely many solutions)
3 x1 2 x2 x3 x4 1 3 2 1 1 1
2 x1 x3 2 x4 0
2 0 1 2 0
3 x1 x2 2 x3 5 x4 2 3 1 2 5 2
augmented matrix
coefficient matrix
constant matrix
3 2 1 1 1
2 0 1 2 0
3 1 2 5 2
Algebraic Method
1
0
2
constant matrix
(ma trận cột tự do)
3 2 1 1
2 0 1 2
3 1 2 5
augmented matrix
(ma trận mở rộng) coefficients matrix
( ma trận hệ số)
Elementary Operations
(biến đổi sơ cấp)
Equivalent
Difficult Easy
Two systems are said to be equivalent if
the have the same set of solutions
Elementary Operations
(phép biến đổi sơ cấp)
x y 1
Consider the system
x 2 y 2
1 1 1
augmented matrix
1 2 2
Example 2
x y 1 x y 1 x y 1 x 0 y 0
x 2 y 2 0 x 3 y 3 0 x y 1 0 x y 1
1 1 1 ( III ) 1 1 1 ( II ) 1 1 1 ( III ) 1 0 0
1 2 2 0 3 3 0 1 1 0 11
Solution (0,-1)
Theorem. Suppose an elementary operation is performed on a
system of linear equations. Then the resulting system has the
same set of solutions as the original system, so the two system
are equivalent (tương đương)
In this case,their augmented matrices are called row-equivalent
Type I (interchange two rows)
1 2 3 r r 4 1 6
2 5 0 2 5 0
1 3
4 1 6 1 2 3
Type II (multiply one row by a nonzero number)
1 2 3 r 3 r 3 6 9
2 5 0 2 5 0
1 1
4 1 6 4 1 6
Type III (add a multiple of one row to another row)
1 2 3 rr rr 42rr 1 2 3
2 2 1
2 5 0 0 1 6
3 3 1
4 1 6 0 7 18
Elementary (row) Operations on matrix
1 0 0*
0 1 0*
0 0 1*
0 1 * * ** *
0 0 0 1 * * *
0 0 0 0 1 * *
leading ones 0 0 0 0 0 0 1
0 0 0 0 0 0 0
1 * *
1 * * 0 1 *
0 0 1
0 0 1
1 * * * 0 1 * * 1 * *
0 1 * * 0 0 0 1 0 0 0
0 1 * * 0 0 0 0 0 0 1
A reduced row-echelon matrix
has the properties
• It is a row-echelon matrix 1 0 * 0
• Each leading 1 is the only 0 1 * 0
nonzero entry in its
column 0 0 0 1
Reduced row- echelon matrix
1 * 0
1 * 0 0 1 0
0 0 1
0 0 1
1 0 * 0 0 1 * 0 1 * 0
0 1 * 0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0 0 0 1
Find x,y so that the matrix
1 x y
0 x 1
• is row-echelon matrix
• is reduced row-echelon matrix
How to carry a matrix to
(reduced) row-echelon form?
Elementary Operations
(phép biến đổi sơ cấp)
• Interchange two equations (type I)
1 3 1 1 r r 2r 1 3
1
r2 r2
1 1 r 1r 1 3 1 1
0 1
3 3
3
0 1 3 2 3
3 2
3 2 0 1 3 2
7
0 2 6 3 0 0 0 7 0 0 0 1
row-echelon matrix
1 3 1 2 1 3 1 0
1 r r 2r
2
rr r
3
0 1 3
2
1
0 1 3 0
1 3
0 0 0 1 0 0 0 1
1 0 10 0
r r 3r
1 1 2
0 1 3 0
0 0 0 1
1 2 1 3 1 1 2 1 3 1 1 2 1 3 1
2 4 1 0 5 0 0 3 6 3 0 0 1 2 1
1 2 2 3 4 0 0 3 6 3 0 0 0 0 0
3 x y z a
x y 2 z b
5 x 3 y 4 z c
0 1 * * * * *
0 0 0 1 * * *
0 0 0 0 1 * *
0 0 0 0 0 0 1
0 0 0 0 0 0 0
then rankA=4
Theorem 2
1 2 1 3 1 1 2 1 3 1 1 2 1 3 1
2 4 1 0 5 0 0 3 6 3 0 0 1 2 1
1 2 2 3 4 0 0 3 6 3 0 0 0 0 0
rankA=2
4(number of variables)- 2(rankA) =2
(two parameters : x2=t, x4=s)
1.3.Homogeneous Equations
(phương trình thuần nhất)
• Note that every homogeneous system has at least one solution (0,0,
…,0), called trivial solution (nghiệm tầm thường)
Elementary Operations
Gaussian Elimination
Homogeneous Equations
THANKS