Lecture 11
Lecture 11
KANDAHAR UNIVERSITY
ENGINEERING FACULTY
BASIC SCIENCE DEPARTMENT
CALCULUS
LINEAR ALGEBRA
CHAPTER 1
Systems of Linear Equations and Matrices
2
1.1Introduction to Systems of Linear Equations
Branches of Mathematics:
There are many branches of mathematics, two of which are Algebra and Calculus.
Both are branches of mathematics that are very useful in people’s lives.
➢ Algebra has many serval branches such as linear algebra ,Geometric algebra,
Numerical algebra, universal algebra, Algebraic number theory…etc.
With 2 Unknowns
With 3 Unknowns
4
Introduction to Systems of Linear Equations
Cont’.d…
EXAMPLE 1
5
Introduction to Systems of Linear Equations
Cont’.d…
General form of System of linear equations
6
Introduction to Systems of Linear Equations
Cont’.d…
7
Introduction to Systems of Linear Equations
Cont’.d…
8
Introduction to Systems of Linear Equations
Cont’.d…
• Same as for three unknowns equations
No Solution
has Solution
9
Introduction to Systems of Linear Equations
Cont’.d…
Solution :
Geometrically, this means that the lines intersect at the single point .
10
Augmented Matrices and Elementary Row Operations
Cont’.d…
a(ij) means, i = is the term of location in row and j= is the term of location in
column
11
Augmented Matrices and Elementary Row
Operation Cont’.d…
12
Augmented Matrices and Elementary Row
Operation Cont’.d…
13
Augmented Matrices and Elementary Row
Operation Cont’.d…
14
Augmented Matrices and Elementary Row
Operation Cont’.d…
EXAMPLE 6. Use Elementary Row Operations to solve the given
linear equation system ?
Solution:
15
Augmented Matrices and Elementary Row
Operation Cont’.d…
Solution Cont’.d…
16
Augmented Matrices and Elementary Row
Operation Cont’.d…
Solution Cont’.d…
17
1.2 Gaussian Elimination
Leading 1
A=
No row with all zero entries
19
1.2 Gaussian Elimination Cont’.d..
20
1.2 Gaussian Elimination Cont’.d..
EXAMPLE 1: Which matrices are in Row Echelon and Reduced Row Echelon
Form?
21
1.2 Gaussian Elimination Cont’.d..
Solution:
Note: Always a matrix in row echelon form has zeros below each leading 1whereas a
matrix in reduced row echelon form has zeros below and above each leading 1.
22
1.2 Gaussian Elimination Cont’.d..
Solution :
A matrix in row echelon form has zeros below each leading 1, there for matrices are REF.
A matrix in reduced row echelon form has zeros below and above each leading 1, There
for matrices are in RREF.
23
1.2 Gaussian Elimination Cont’.d..
Example 3 Find the solution , if the augmented matrix for a linear system has been
reduced by elementary row operations to RREF
Solution:
Compare to SLE,we can write.
24
1.2 Gaussian Elimination Cont’.d..
Solution Cont’.d…..
In Example 3 we could, if
desired, express the solution
more succinctly as the 4-tuple
(3,−1, 0, 5).
25
1.2 Gaussian Elimination Cont’.d..
Solution:
We consider the bottom row RREF
(a) The equation that corresponds to the last row of the RREF is 0x + 0y + 0z = 1.
this equation is not satisfied by any values of x, y, and z, the system is inconsistent
26
1.2 Gaussian Elimination Cont’.d..
Solution Cont’.d…...
(b) We again consider the bottom row RREF
The equation that corresponds to the last row of the augmented matrix is
0x + 0y + 0z = 0
,
No restrictions on x, y, and z; hence, there for Consistent
We can write the equations form RREF first and second equations
27
1.2 Gaussian Elimination Cont’.d..
Solution Cont’.d…...
(b) cont’d….
Free variable z can be treated as a parameter and assigned an arbitrary value t
(c)
Based on the last bottom row , it is also consistente lES.
28
1.2 Gaussian Elimination Cont’.d..
Solution Cont’.d.…...
( c)
29
1.2 Gauss–Jordan Elimination Methods
30
1.2 Gaussian Elimination Cont’.d..
Procedures for Gauss–Jordan Elimination Method
▪ Interchange the top row ,if necessary to bring none zero entry to
top of column
▪ If entry a in the top of the first, column change it to leading 1(by
dividing or multiplication )
▪ Apply the procedures of the Guass (below of each leading 1 must be
zeros )
▪ Apply the procedures of the Jordan (below and above of each
leading 1 must be zeros )
31
1.2 Gaussian Elimination Cont’.d..
Example:
32
1.2 Gaussian Elimination Cont’.d..
33
1.2 Gaussian Elimination Cont’.d..
34
1.2 Gaussian Elimination Cont’.d..
37
1.2 Gaussian Elimination Cont’.d..
38
1.2 Gaussian Elimination Cont’.d..
39
1.2 Gaussian Elimination Cont’.d..
40
1.2 Gaussian Elimination Cont’.d..
Note: Every homogeneous system of linear equations is consistent because all such systems
have x1 = 0, x2 = 0, . . . , xn = 0 .
The Solution is called the trivial solution
41
1.2 Gaussian Elimination Cont’.d..
Example
42