You are on page 1of 78

LECTURE 1P2

SYSTEMS OF LINEAR
EQUATIONS AND MATRICES
DUONG MINH BUI, PH.D
LECTURER IN ELECTRICAL POWER ENGINEERING
VIETNAMESE - GERMAN UNIVERSITY
EMAIL: DUONG.BM@VGU.EDU.VN
CONTENTS
• Introduction to Systems of Linear Equations
• Gaussian Elimination
• Matrices and Matrix Operations
• Algebraic Properties of Matrices - Inverses
• Elementary Matrices and a Method for Finding
• More on Linear Systems and Invertible Matrices
• Diagonal, Triangular, and Symmetric Matrices
• Applications of Linear Systems
• Leontief Input-Output Models

3/17/2021 2
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (1)

3/17/2021 3
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (2)
Linear Equations:

3/17/2021 4
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (3)
Recognize a linear equation in n variables:

3/17/2021 5
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (4)

• A linear equation does not involve any products or roots of variables.


• All variables occur only to the first power and do not appear, for example, as
arguments of trigonometric, logarithmic, or exponential functions.
3/17/2021 6
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (5)

• A linear equation does not involve any products or roots of variables.


• All variables occur only to the first power and do not appear, for example, as
arguments of trigonometric, logarithmic, or exponential functions.
3/17/2021 7
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (6)
System of linear equations or a linear system, and unknowns

The double subscripting on the coefficients aij of the unknowns gives their location in the system—the first
subscript indicates the equation in which the coefficient occurs, and the second indicates which unknown it
multiplies. Thus, a12 is in the first equation and multiplies x2.

3/17/2021 8
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (7)
A parametric representation of a solution set

3/17/2021 9
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (8)
A parametric representation of a solution set (cont.)

3/17/2021 10
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (9)
Linear Systems in Two and Three Unknowns

3/17/2021 11
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (10)
Linear Systems in Two and Three Unknowns (cont.)
Example:

3/17/2021 12
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (11)
Linear Systems in Two and Three Unknowns (cont.)

3/17/2021 13
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (12)
Linear Systems in Two and Three Unknowns (cont.)

3/17/2021 14
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (13)
Linear Systems in Two and Three Unknowns (cont.)

3/17/2021 15
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (14)
Solving a system of linear equations – Using Back-Substitution

3/17/2021 16
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (15)
Solving a system of linear equations (cont.) – Using Back-Substitution

The term back-substitution implies that you work backwards.

3/17/2021 17
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (16)
Solving a system of linear equations (cont.)

3/17/2021 18
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (17)
Solving a system of linear equations (cont.)

3/17/2021 19
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (18)
Solving a system of linear equations (cont.)

3/17/2021 20
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (19)
Solving a system of linear equations (cont.)

3/17/2021 21
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (20)
Solving a system of linear equations (cont.)

3/17/2021 22
EXERCISES (1)

3/17/2021 23
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (21)
Augmented Matrices and Elementary Row Operations
As the number of equations and unknowns in a linear system increases, so does the
complexity of the algebra involved in finding solutions.

3/17/2021 24
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (22)
Augmented Matrices and Elementary Row Operations (cont.)
An augmented matrix of a system consists of the coefficient matrix with an added
column containing the constants from the right sides of the equations.

3/17/2021 25
1. INTRODUCTION TO SYSTEMS OF LINEAR EQUATIONS (23)
Augmented Matrices and Elementary Row Operations (cont.)
Exercises:

3/17/2021 26
2. GAUSSIAN ELIMINATION (1)
• Determine the size of a matrix and write an augmented or coefficient matrix
from a system of linear equations.
• Use matrices and Gaussian elimination with back-substitution to solve a
system of linear equations.
• Use matrices and Gauss-Jordan elimination to solve a system of linear
equations.
• Solve a homogeneous system of linear equations.

3/17/2021 27
2. GAUSSIAN ELIMINATION (2)
ROW REDUCTION AND ECHELON FORMS:
• In the definitions: a nonzero row or column in a matrix means a row or column that
contains at least one nonzero entry; a leading entry of a row refers to the leftmost
nonzero entry (in a nonzero row).

3/17/2021 28
2. GAUSSIAN ELIMINATION (3)
ROW REDUCTION AND ECHELON FORMS (cont.):

Echelon form

Reduced Echelon form

3/17/2021 29
2. GAUSSIAN ELIMINATION (4)
ROW REDUCTION AND ECHELON FORMS (cont.):

3/17/2021 30
2. GAUSSIAN ELIMINATION (5)
ROW REDUCTION AND ECHELON FORMS (cont.):

3/17/2021 31
2. GAUSSIAN ELIMINATION (6)
ROW REDUCTION AND ECHELON FORMS (cont.):

3/17/2021 32
2. GAUSSIAN ELIMINATION (7)
PIVOT POSITION:
A pivot position in a matrix A is a location in A that corresponds to a leading 1
in the reduced echelon form of A. A pivot column is a column of A that contains
a pivot position.
Pivots
Example:

3/17/2021 33
2. GAUSSIAN ELIMINATION (8)
Matrices and Sizes of Matrices:

3/17/2021 34
2. GAUSSIAN ELIMINATION (9)
Matrices and Sizes of Matrices (cont.):

3/17/2021 35
2. GAUSSIAN ELIMINATION (10)
Gaussian elimination with back-substitution:

 For this algorithm, the order in which you perform the elementary row operations is
important.
 Operate from left to right by columns, using elementary row operations to obtain
zeros in all entries directly below the leading 1’s.

3/17/2021 36
2. GAUSSIAN ELIMINATION (11)
Gaussian elimination with back-substitution (cont.):
Now we will give a step-by-step algorithm that can be used to reduce any matrix to
reduced row-echelon form.

3/17/2021 37
2. GAUSSIAN ELIMINATION (12)
Gaussian elimination with back-substitution (cont.):

3/17/2021 38
2. GAUSSIAN ELIMINATION (13)
Gaussian elimination with back-substitution (cont.):

The entire matrix is now in


row echelon form. 3/17/2021 39
2. GAUSSIAN ELIMINATION (14)
Gaussian elimination with back-substitution (cont.):

3/17/2021 40
2. GAUSSIAN ELIMINATION (15)
Gaussian elimination with back-substitution (cont.):
• The algorithm we have just described for reducing a matrix to reduced row echelon
form is called Gauss–Jordan elimination. It consists of two parts, a forward phase in
which zeros are introduced below the leading 1’s and a backward phase in which
zeros are introduced above the leading 1’s.
• If only the forward phase is used, then the procedure produces a row echelon form
and is called Gaussian elimination. For example, in the preceding computations a row
echelon form was obtained at the end of Step 5.

3/17/2021 41
2. GAUSSIAN ELIMINATION (16)
Gaussian elimination with back-substitution (cont.):

3/17/2021 42
2. GAUSSIAN ELIMINATION (17)
Gaussian elimination with back-substitution (cont.):

When solving a system of linear equations, remember that it is possible for the system to have no solution.
If, in the elimination process, you obtain a row of all zeros except for the last entry, then it is unnecessary to
continue the process. Simply conclude that the system has no solution, or is inconsistent.

3/17/2021 43
2. GAUSSIAN ELIMINATION (18)
Gauss–Jordan Elimination:

3/17/2021 44
2. GAUSSIAN ELIMINATION (19)
Gauss–Jordan Elimination (cont.):

3/17/2021 45
2. GAUSSIAN ELIMINATION (20)
Homogeneous Linear Systems:

3/17/2021 46
2. GAUSSIAN ELIMINATION (21)
Homogeneous Linear Systems (cont.):

3/17/2021 47
2. GAUSSIAN ELIMINATION (22)
Homogeneous Linear Systems (cont.):

3/17/2021 48
2. GAUSSIAN ELIMINATION (23)
Homogeneous Linear Systems (cont.):

3/17/2021 49
2. GAUSSIAN ELIMINATION (24)
Homogeneous Linear Systems (cont.):
Free Variables in Homogeneous Linear Systems

3/17/2021 50
EXERCISES (2)

3/17/2021 51
EXERCISES (3)

3/17/2021 52
3. VECTOR EQUATIONS (1)
Vectors in R2

3/17/2021 53
3. VECTOR EQUATIONS (2)
Vectors in R2 (cont.)

3/17/2021 54
3. VECTOR EQUATIONS (3)
Geometric Descriptions of R2

3/17/2021 55
3. VECTOR EQUATIONS (4)
Geometric Descriptions of R2 (cont.)

(Quy tắc hình bình hành)

3/17/2021 56
3. VECTOR EQUATIONS (5)
Geometric Descriptions of R2 (cont.)

3/17/2021 57
3. VECTOR EQUATIONS (6)
Vectors in Rn

3/17/2021 58
3. VECTOR EQUATIONS (7)
Vectors in Rn (cont.)

3/17/2021 59
3. VECTOR EQUATIONS (8)
Linear Combinations:

3/17/2021 60
3. VECTOR EQUATIONS (9)
Linear Combinations (cont.)

3/17/2021 61
3. VECTOR EQUATIONS (10)
Linear Combinations (cont.)

3/17/2021 62
3. VECTOR EQUATIONS (11)
Linear Combinations (cont.)

3/17/2021 63
EXERCISES (4)

3/17/2021 64
4. APPLICATIONS OF LINEAR SYSTEMS (1)
Polynomial Curve Fitting:

3/17/2021 65
4. APPLICATIONS OF LINEAR SYSTEMS (2)
Polynomial Curve Fitting (cont.):

3/17/2021 66
4. APPLICATIONS OF LINEAR SYSTEMS (3)
Polynomial Curve Fitting (cont.):

3/17/2021 67
4. APPLICATIONS OF LINEAR SYSTEMS (4)
Network analysis:

Each junction in a network gives rise to a linear equation, so you can analyze the
flow through a network composed of several junctions by solving a system of
linear equations.
3/17/2021 68
4. APPLICATIONS OF LINEAR SYSTEMS (5)
Network analysis (cont.):

3/17/2021 69
4. APPLICATIONS OF LINEAR SYSTEMS (6)
Network analysis (cont.):

3/17/2021 70
4. APPLICATIONS OF LINEAR SYSTEMS (7)
Network analysis (cont.):
An electrical network is another type of network where analysis is commonly applied.
An analysis of such a system uses two properties of electrical networks known as
Kirchhoff’s Laws.
1. All the current flowing into a junction must flow out of it.
2. The sum of the products IR (I is current and R is resistance) around a closed path is
equal to the total voltage in the path.

3/17/2021 71
4. APPLICATIONS OF LINEAR SYSTEMS (8)
Network analysis (cont.):

3/17/2021 72
4. APPLICATIONS OF LINEAR SYSTEMS (9)
Network analysis (cont.):

3/17/2021 73
4. APPLICATIONS OF LINEAR SYSTEMS (10)
Network analysis (cont.):

3/17/2021 74
HOMEWORK (1)

3/17/2021 75
HOMEWORK (2)

3/17/2021 76
HOMEWORK (3)

3/17/2021 77
3/17/2021 78

You might also like