L4 Systems of Linear Equations. Part 1.
L4 Systems of Linear Equations. Part 1.
Nargiza Tazabekova
▶ Linear Equation and Solutions
▶ System of Linear Equations
▶ Augmented and Coefficient Matrices of a System
▶ Degenerate Linear Equations
▶ Equivalent Systems, Elementary Operations
▶ Systems in Triangular and Echelon Forms
▶ Gaussian Elimination
Linear Equation and Solutions
a1 x1 + a2 x2 + ...an xn = b
x1 = k1 , x2 = k2 , ..., xn = kn
or
u = (k1 , k2 , ..., kn )
such that the following statement is true:
a1 k1 + a2 k2 + ... + an kn = b
x + 2y − 3z = 6
u = (5, 2, 1), w = (1, 2, 3)
System of Linear Equations
The system
The set of all solutions of the system is called the solution set
or the general solution of the system.
The system of linear equations is said to be consistent if it has
one or more solutions, and it is said to be inconsistent if it has
no solution.
Example
x1 + x2 + 4x3 + 3x4 = 5
2x1 + 3x2 + x3 − 2x4 = 1
x1 + 2x2 − 5x3 + 4x4 = 3
a11 a12 ... a1n b1 a11 a12 ... a1n
a a22 ... a2n b2 a21 a22 ... a2n
M = 21 ,A =
. . ... . . . . ... .
x1 + x2 + 4x3 + 3x4 = 5
2x1 + 3x2 + x3 − 2x4 = 1
x1 + 2x2 − 5x3 + 4x4 = 3
1 1 4 3 5 1 1 4 3
M = 2 3 1 −2 1 , A = 2 3 1 −2
1 2 −5 4 3 1 2 −5 4
Degenerate Linear Equations
Theorem 3.2
Let L be a system of linear equations that contains a
degenerate equation Li , say with constant b.
▶ if b ̸= 0, then the system has no solution.
▶ if b = 0, then Li may be deleted from the system without
changing the solution set of the system.
Equivalent Systems
x1 + x2 + 4x3 + 3x4 = 5
2x1 + 3x2 + x3 − 2x4 = 1
x1 + 2x2 − 5x3 + 4x4 = 3
Compute the linear combination 3L1 − 2L2 + 4L1
Theorem 3.3
Two systems of linear equations have the same solutions if and
only if each equation in each system is a linear combination of
the equations in the other system.
Two systems of linear equations are said to be equivalent if they
have the same solutions.
Elementary Operations
Theorem 3.6
Consider a system of linear equations in echelon form, say with
r equations in n unknowns. There are two cases:
1. r = n. That is, there are as many equations as unknowns
(triangular form). Then the system has a unique solution.
2. r < n. That is, there are more unknowns than equations.
Then we can arbitrarily assign values to the n − r free
variables and solve uniquely for the r pivot variables,
obtaining a solution of the system.
System in Echelon Form
L1 : x − 3y − 2z = 6
L2 : 2x − 4y − 3z = 8
L3 : −3x + 6y + 8z = −5
L2 ←− −2L1 + L2 , L3 ←− 3L1 + L3
Example
L1 : x − 3y − 2z = 6
L2 : 2x − 4y − 3z = 8
L3 : −3x + 6y + 8z = −5
L2 ←− −2L1 + L2 , L3 ←− 3L1 + L3
L1 : x − 3y − 2z = 6
L2 : 2y + z = −4
L3 : −3y + 2z = 13
2
L3 ←− L2 + L3
3
Example
L1 : x − 3y − 2z = 6
L2 : 2y + z = −4
L3 : 7z = 14
1. z = 2
2. 2y + 2 = −4, y = −3
3. x − (−3) − 2 ∗ 2 = 6, x = 1
v = (1, −3, 2)
Example
L1 : x − 3y − 2z = 6
L2 : 2x − 4y − 3z = 8
L3 : −3x + 6y + 8z = −5
The augmented matrix of the system of linear equations is
1 −3 −2 6
M = 2 −4 −3 8
−3 6 8 −5
1 −3 −2 6
M = 2 −4 −3 8
−3 6 8 −5
Let’s find its echelon form
R2 ←− −2R1 + R2 , R3 ←− 3R1 + R3
1 −3 −2 6
M = 0 2 1 −4
0 −3 2 13
3
R3 ←− R2 + R3
2
Example
1 −3 −2 6
M = 0 2 1 −4
7
0 0 2 7
Let’s find its Row Canonical Form
2
R3 ←− R3
7
1 −3 −2 6
M = 0 2 1 −4
0 0 1 2
R2 ←− −R3 + R2 , R1 ←− 2R3 + R1
Example
1 −3 0 10
M = 0 2 0 −6
0 0 1 2
1
R2 ←− R2
2
1 −3 0 10
M = 0 1 0 −3
0 0 1 2
R1 ←− 3R2 + R1
1 0 0 1
M = 0 1 0 −3
0 0 1 2
Example
1 0 0 1
M = 0 1 0 −3
0 0 1 2
L1 : x = 1
L2 : y = −3
L3 : z = 2
Any questions?