Lecture 03
Lecture 03
Lecture 03
07 Jan 2020
2x1 + 2x2 = 4
x1 + x2 = 1
x1 − x2 = 0
x1 + x2 = 1
2x1 + 2x2 = 2
x1 + x2 = 1
Proposition
Consider the system of equations (∗). Let S denote the set of all
solutions of the corresponding homogeneous linear system Ax = 0. If x0
is a particular solution of (∗), then the set of all solutions of (∗) is given
by {x0 + s : s ∈ S}
A(x − x0 ) = Ax − Ax0 = b − b = 0
x1 − x2 + x3 = b1
x2 + x3 = b2
x3 = b3
Solution:
x3 = b3
x2 = b2 − x3 = b2 − b3
x1 = b1 + x2 − x3 = b1 + b2 − 2b3
Here the homogeneous system Ax = 0 has only the zero solution and the
general system Ax = b has a unique solution.
Goal: To transform any m × n matrix to an upper triangular form.
In this process, we successively attempt to eliminate the unknown x1
from the equations (m), . . . , (2), the unknown x2 from the equations
(m), . . . , (3), and so on.
x1 − x2 + x3 = 0
−x1 + x2 − x3 = 0
10x2 + 25x3 = 90
20x1 + 10x2 = 80.
x1 − x2 + x3 = 0
0 = 0
10x2 + 25x3 = 90
30x2 − 20x3 = 80.
Eliminating x2 from the 4th equation, and then interchanging the 3rd
and the 4th equations,
x1 − x2 + x3 = 0
10x2 + 25x3 = 90
−95x3 = −190
0 = 0.
Subtracting 20 times the first row from the 4th row, and adding the first
row to the second row, we obtain
We shall now consider a general form of a matrix for which the method
of back substitution works.
Let A be an m × n matrix with real entries.
A row of A is said to be zero if all its entries are zero.
If a row is not zero, then its first nonzero entry (from the left) is called
the pivot.Thus all entries to the left of a pivot equal 0.
Suppose A has r nonzero rows and m − r zero rows.
Then 0 ≤ r ≤ m. Clearly, r = 0 ⇐⇒ A = O.
Example
0 1 4
If A = 0 0 0, then m = n = 3 and r = 2.
5 6 7
The pivot in the 1st row is 1 and the pivot in the 3rd row is 5.
0 4 1 0 1 4 0 1 4
The matrices 0 0
0, 5 6 7, 0 5 7
5 7 6 0 0 0 0 0 0
5 6 7
are not in REF. The matrix 0 1 4 is in a REF.
0 0 0
where a12 , a24 , a35 are nonzero. They are the pivots. Here
m = 4, n = 6, r = 3, pivotal columns: 2 , 4 and 5 .
T
Suppose there is x := x1 · · · x6 ∈ R6×1 such that Ax = b. Then
0x1 + · · · + 0x6 = b4 , that is, b4 must be equal to 0.
Next, a35 x5 + a36 x6 = b3 , that is, x5 = (b3 − a36 x6 )/a35 , where we can
assign an arbitrary value to the unknown x6 .
Definition
Suppose an m×n matrix A is in a REF, and there are r nonzero rows.
Let the r pivots be in the columns j1 , . . . , jr with j1 < · · · < jr , and let
the columns `1 , . . . , `n−r be nonpivotal. Then xj1 , . . . , xjr are called the
pivotal variables and x`1 , . . . , x`n−r are called the free variables.
0 2 1 0 2 5 0
and b := 1 .
0 0 0 3 5 0
Let A :=
0 2
0 0 0 1 2
0 0 0 0 0 0 0
We have seen how to solve the linear system Ax = b when the matrix A
is in a row echelon form (REF).
We now explain the Gauss Elimination Method (GEM) by which we
can transform any A to a REF.
This involves the following two elementary row operations (EROs):
(iii) Keep row 1 of A00 intact, and repeat the above process for the
remaining (m − 1) × n submatrix of A00 to obtain
··· ∗ ∗ ∗ ∗ ··· ∗
0 0 p1
0
··· 0 0 ··· 0 p2 ∗ ··· ∗
A000
0
:= ··· 0 0 ··· 0 0 ∗ ··· ∗ ,
.. .. .. .. .. .. .. .. .. ..
. . . . . . . . . .
0 ··· 0 0 ··· 0 0 ∗ ··· ∗
Notation
Ri ←→ Rj will denote the interchange of the ith row Ri and the jth row
Rj for 1 ≤ i, j ≤ m with i 6= j.
Ri + αRj will denote the addition of α times the jth row Rj to the ith
row Ri for 1 ≤ i, j ≤ m with i 6= j.
αRj will denote the multiplication of the jth row Rj by the nonzero scalar
α for 1 ≤ j ≤ m.
3x1 + 2x2 + x3 = 3
2x1 + x2 + x3 = 0
6x1 + 2x2 + 4x3 = 6.
0 0 0 12
Here m = 3 = n, r = 2 and br0 +1 = b30 = 12 6= 0. Hence the given linear
system has no solution.
Prof. Shreedevi K. Masuti, IIT Dharwad Linear Algebra: Lecture 03
(ii) Consider the linear system
x1 − x2 + x3 = 0
−x1 + x2 − x3 = 0
10x2 + 25x3 = 90
20x1 + 10x2 = 80.
Since r = 2 < 4 = n, the linear system has many solutions. For basic
solutions of A0 x = 00 , where 00 = 0,
T
let x3 = 1, x4 = 0, so that s3 := 0 −1 1 0 ,
T
and x4 = 1, x3 = 0, so that s4 := −1 4 0 1 ,