1-System of Linear Equation
1-System of Linear Equation
Outlines
a1 x1 + a2 x2 + · · · + an xn = b
give an equivalent system, i.e., the two solution sets are equal, and
the corresponding augmented matrices are affected by the so-called
elementary row operations,
Interchange two equations,
Multiply an equation by a nonzero constant,
Add a constant times one equation to another,
the Gaussian elimination method try to reduce a matrix into row
echelon form which satisfies the following properties
1. If there are any rows that consist entirely of zeros, called zeros
row, then they are grouped together at the bottom of the
matrix,
2. In any two successive rows that do not consist entirely of zeros,
called non-zeros row, the leading entry (the first non-zero
number in the row) in the lower row occurs farther to the right
than the leading entry in the higher row.
System of linear equations 6 / 22
System of linear equations
Moreover, if
3. The leading entry of each non-zero row is 1, called leading 1,
4. Each column that contains a leading 1 has zeros everywhere else
in that column, then the matrix is called of reduced row
echelon form.
Example 1
Let
0 1 ∗ ∗ ∗ ∗ ∗ ∗ ∗
0 0 0 2 ∗ ∗ ∗ ∗ ∗
A=
0 0 0 0 3 ∗ ∗ ∗ ∗
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
and
0 1 ∗ 0 0 ∗ ∗ ∗ ∗
0 0 0 1 0 ∗ ∗ ∗ ∗
B =
0 0 0 0 1 ∗ ∗ ∗ ∗
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
where the symbol * stands for any numbers. The matrix A is in row
echelon form whereas B is in reduced row echelon form.
Outlines
Example 2
Transform the following matrix into the row echelon form
0 0 −2 0 7 12
A = 2 4 −10 6 12 28
2 4 −5 6 −5 −1
Outlines
In order to get the reduced row echelon form for a matrix A ∈ Rm×n ,
Step 1. Use Gauss elimination algorithm to get a row echelon form
of A.
Step 2. Multiply nonzero rows by suitable numbers to get a leading
1.
Step 3. Beginning with the last nonzero row and working upward,
add suitable multiplies of each row to the rows above to introduce
zeros above the leading 1’s.
Example 3
Transform the matrix A of example 2 into the reduced row echelon
form.
Step 1. From example 2, we get the row echelon form of A,
2 4 −10 6 12 28
0 0 −2 0 7 12
0 0 0 0 1/2 1
Step 3. Add suitable multiplies of the third row to the rows above,
1 2 −5 3 0 2
0 0 1 0 0 1
0 0 0 0 1 2
Outlines
Example 4
Solve the following system
−2x3 + 7x5 = 12
2x1 + 4x2 − 10x3 + 6x4 + 12x5 = 28
2x1 + 4x2 − 5x3 + 6x4 − 5x5 = −1
and transform it into the row echelon form (of example 2),
2 4 −10 6 12 28
0 0 −2 0 7 12
0 0 0 0 1/2 1
Step 2. The last leading entry is not on the last column, go to step 3.
Step 3. The leading variables are x1 , x3 , x5 , the remaining x2 , x4 are
free variables.
Solving x1 , x3 , x5 in terms of x2 , x4 by the backward substitutions : the
last equation, 21 x5 = 1 , gives x5 = 2 ; the second equation,
−2x3 + 7x5 = 12 , gives x3 = 1 ; the first equation,
2x1 + 4x2 − 10x3 + 6x4 + 12x5 = 28 , gives x1 = 7 − 2x2 − 3x4 .
The solutions of the system are (7 − 2x2 − 3x4 , x2 , 1, x4 , 2) , for
arbitrary x2 , x4 ∈ R .
and transform it into the reduced row echelon form (of example 3),
1 2 0 3 0 7
0 0 1 0 0 1
0 0 0 0 1 2
Step 2. The last leading entry is not on the last column, go to step 3.
Step 3. The leading variables are x1 , x3 , x5 , the remaining x2 , x4 are
free variables.
Solving x1 , x3 , x5 in terms of x2 , x4 : the last equation gives x5 = 1 ;
the second equation gives x3 = 1 ;
System of linear equations 21 / 22
Solving System of Linear Equations by Gauss Elimination