Chapter 3
Chapter 3
2. Eliminating x from 2nd and 3rd equation, we get the linear system
x+y+z =3
6y + 2z =8 (obtained by subtracting the first
equation from the second equation.)
6y − 5z =1 (obtained by subtracting 4 times the first equation
from the third equation.) (2.2.3)
This system and the system (2.2.2) has the same set of solution. (why?)
3. Eliminating y from the last two equations of system (2.2.3), we get the system
x+y+z =3
6y + 2z =8
7z =7 obtained by subtracting the third equation
from the second equation. (2.2.4)
which has the same set of solution as the system (2.2.3). (why?)
x+y+z =3
3y + z =4 divide the second equation by 2
z =1 divide the second equation by 2 (2.2.5)
2. multiply a non-zero constant throughout an equation, say “multiply the k th equation by c 6= 0”;
(compare the system (2.2.5) and the system (2.2.4).)
3. replace an equation by itself plus a constant multiple of another equation, say “replace the k th equation
by k th equation plus c times the j th equation”.
(compare the system (2.2.3) with (2.2.2) or the system (2.2.4) with (2.2.3).)
Observations:
1. In the above example, observe that the elementary operations helped us in getting a linear system
(2.2.5), which was easily solvable.
2. Note that at Step 1, if we interchange the first and the second equation, we get back to the linear
system from which we had started. This means the operation at Step 1, has an inverse operation.
In other words, inverse operation sends us back to the step where we had precisely started.
It will be a useful exercise for the reader to identify the inverse operations at each step in
Example 2.2.4.
So, in Example 2.2.4, the application of a finite number of elementary operations helped us to obtain
a simpler system whose solution can be obtained directly. That is, after applying a finite number of
elementary operations, a simpler linear system is obtained which can be easily solved. Note that the
three elementary operations defined above, have corresponding inverse operations, namely,
It will be a useful exercise for the reader to identify the inverse operations at each step in
Example 2.2.4.
Definition 2.3.2 (Equivalent Linear Systems) Two linear systems are said to be equivalent if one can be
obtained from the other by a finite number of elementary operations.
The linear systems at each step in Example 2.2.4 are equivalent to each other and also to the original
linear system.
Lemma 2.3.3 Let Cx = d be the linear system obtained from the linear system Ax = b by a single
elementary operation. Then the linear systems Ax = b and Cx = d have the same set of solutions.
Proof. We prove the result for the elementary operation “the k th equation is replaced by k th equation
plus c times the j th equation.” The reader is advised to prove the result for other elementary operations.
In this case, the systems Ax = b and Cx = d vary only in the k th equation. Let (α1 , α2 , . . . , αn )
be a solution of the linear system Ax = b. Then substituting for αi ’s in place of xi ’s in the k th and j th
equations, we get
Therefore,
(ak1 + caj1 )α1 + (ak2 + caj2 )α2 + · · · + (akn + cajn )αn = bk + cbj . (2.3.1)
But then the k th equation of the linear system Cx = d is
(ak1 + caj1 )x1 + (ak2 + caj2 )x2 + · · · + (akn + cajn )xn = bk + cbj . (2.3.2)
2.3. ROW OPERATIONS AND EQUIVALENT SYSTEMS 23
Therefore, using Equation (2.3.1), (α1 , α2 , . . . , αn ) is also a solution for the k th Equation (2.3.2).
Use a similar argument to show that if (β1 , β2 , . . . , βn ) is a solution of the linear system Cx = d then
it is also a solution of the linear system Ax = b.
Hence, we have the proof in this case.
Lemma 2.3.3 is now used as an induction step to prove the main result of this section (Theorem
2.3.4).
Theorem 2.3.4 Two equivalent systems have the same set of solutions.
Let us formalise the above section which led to Theorem 2.3.4. For solving a linear system of equa-
tions, we applied elementary operations to equations. It is observed that in performing the elementary
operations, the calculations were made on the coefficients (numbers). The variables x1 , x2 , . . . , xn
and the sign of equality (that is, “ = ”) are not disturbed. Therefore, in place of looking at the system
of equations as a whole, we just need to work with the coefficients. These coefficients when arranged in
a rectangular array gives us the augmented matrix [A b].
Definition 2.3.5 (Elementary Row Operations) The elementary row operations are defined as:
1. interchange of two rows, say “interchange the ith and j th rows”, denoted Rij ;
2. multiply a non-zero constant throughout a row, say “multiply the k th row by c 6= 0”, denoted Rk (c);
3. replace a row by itself plus a constant multiple of another row, say “replace the k th row by k th row
plus c times the j th row”, denoted Rkj (c).
Exercise 2.3.6 Find the inverse row operations corresponding to the elementary row operations that have
been defined just above.
Definition 2.3.7 (Row Equivalent Matrices) Two matrices are said to be row-equivalent if one can be
obtained from the other by a finite number of elementary row operations.
Example
2.3.8
Thethree matrices
given below
are row equivalent.
0 1 1 2 2 0 3 5 1 0 23 52
−−→ −−−−−→
2 0 3 5 R12 0 1 1 2 R1 (1/2) 0 1 1 2 .
1 1 1 3 1 1 1 3 1 1 1 3
0 1 1 2 1 0 1 2
Whereas the matrix 2 0 3 5 is not row equivalent to the matrix 0 2 3 5 .
1 1 1 3 1 1 1 3
24 CHAPTER 2. LINEAR SYSTEM OF EQUATIONS
y+z = 2
2x + 3z = 5
x+y+z = 3
0 1 1 2
Solution: In this case, the augmented matrix is 2 0 3 5 . The method proceeds along the fol-
1 1 1 3
lowing steps.
3. Add −1 times the 1st equation to the 3rd equation (or R31 (−1)).
x + 32 z = 52 1 0 3
2
5
2
y+z =2 0 1 1 2 .
1 1
y − 2z = 2 0 1 − 12 1
2
4. Add −1 times the 2nd equation to the 3rd equation (or R32 (−1)).
x + 32 z = 52 1 0 3
2
5
2
y+z =2 0 1 1 2 .
− 32 z = − 32 0 0 − 32 − 23
2.3. ROW OPERATIONS AND EQUIVALENT SYSTEMS 25
The last equation gives z = 1, the second equation now gives y = 1. Finally the first equation gives
x = 1. Hence the set of solutions is (x, y, z)t = (1, 1, 1)t , a unique solution.
x+y+z = 3
x + 2y + 2z = 5
3x + 4y + 4z = 11
1 1 1 3
Solution: In this case, the augmented matrix is 1 2 2 5 and the method proceeds as follows:
3 4 4 11
1. Add −1 times the first equation to the second equation.
x+y+z =3 1 1 1 3
y+z =2 0 1 1 2 .
3x + 4y + 4z = 11 3 4 4 11
Thus, the set of solutions is (x, y, z)t = (1, 2 − z, z)t = (1, 2, 0)t + z(0, −1, 1)t, with z arbitrary. In other
words, the system has infinite number of solutions.
x+y+z = 3
x + 2y + 2z = 5
3x + 4y + 4z = 12
1 1 1 3
Solution: In this case, the augmented matrix is 1 2 2 5 and the method proceeds as follows:
3 4 4 12
1. Add −1 times the first equation to the second equation.
x+y+z =3 1 1 1 3
y+z =2 0 1 1 2 .
3x + 4y + 4z = 12 3 4 4 12