LA-Lecture Notes by Rashid A.
LA-Lecture Notes by Rashid A.
Linear Algebra
Theory, Applications, and Complementarity Problems
Prepared by:
Dr. Rashid A
Assistant Professor,
Department of Computer Science and Business Systems
KIT’s College of Engineering Kolhapur (Empowered Autonomous)
Prepared for:
1. Larson, R., Edwards, B. H., and Falvo, D. C. (2016). Elementary Linear Algebra
(8th ed.). Houghton Mi!in.
3. Ho”man, K., and Kunze, R. (1971). Linear Algebra (2nd ed.). Pearson.
4. Friedberg, S. H., Insel, A. J., and Spence, L. E. (2019). Linear Algebra (5th ed.).
Pearson.
Contents
1 THEORY OF MATRICES 1
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Determinant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.6 Gauss Jordan elimination method for solving a system of linear equations . 42
THEORY OF MATRICES
1.1 Introduction
ematics, engineering, and computer science, serving as essential tools for solving
data structures. This chapter begins with an introduction to matrices and ma-
crucial scalar value associated with a square matrix that provides insight into
properties like invertibility and linear dependence. Next, the inverse of a matrix
ing vector spaces. Finally, the chapter concludes with a discussion on diagonal
and triangular matrices, which simplify computations and play a key role in
matrix factorization techniques. These topics form the foundation for advanced
matrix is a rectangular array of numbers. The numbers in the array are called
the entries in the matrix. The size of a matrix is described in terms of the
1
2
2 3 2 3
p
6 1 27 6e ⇡ 27 2 3
6 7 6 7 617
6 3 07 2 1 0 60 1/2 1 7 are
6 7 3 6 7 4 5 4
4 5 4 5 3
1 4 0 0 0
some examples.
The first matrix in example has three rows and two columns, so
its size is 3 by 2 (written 3 ⇥ 2). In a size description, the first
number always denotes the number of rows, and the second
denotes the number of columns. The remaining matrices in
example have sizes 1 ⇥ 4, 3 ⇥ 3, 2 ⇥ 1, and 1 ⇥ 1, respectively.
A matrix with only one row, such as the second in Example, is
called a row vector (or a row matrix), and a matrix with only
one column, such as the fourth in that example, is called a
column vector (or a column matrix). The fifth matrix in that
example is both a row vector and a column vector.
In general,
2 a matrix with3m rows and n columns is written as
Consider
2 the 3 matrices
2 3 2 3
60 1 7 61 1 7 62 57
A=4 5, B = 4 5, C = 4 5.
0 2 3 4 3 4
2 3
63 4 7
Here, AB = AC = 4 5.
6 8
Although A 6= 0, canceling A from both sides of the equation
AB = AC would lead to the incorrect conclusion that B = C.
Thus, the cancellation law does not hold, in general, for matrix
multiplication (though there may be particular cases where it
is true).
Consider the example of two matricesA and B for which
AB =
2 0, 3 A 6= 02and B
but 3 6= 0:
60 17 63 7 7
A=4 5, B = 4 5.
0 2 0 0
n ⇥ n identity matrix.
If A is any m ⇥ n matrix, then AIn = A and Im A = A.
1.3 Determinant
6a11 a12 7
If A = 4 5, det(A) = a11 a22 a21 a12 .
a21 a22
2 3
6a11 a12 a13 7
6 7
If A = 6
6a21 a22 a23 77, then
4 5
a31 a32 a33
5 6
The minor of a11 = M11 = = 16.
4 8
The cofactor of a11 = C11 = ( 1)1+1 M11 = M11 = 16.
2 6
The minor of a12 = M12 = = 10.
1 8
The cofactor of a12 = C12 = ( 1)1+2 M12 = M12 = 10.
Similarly, we can find for all other entries of A.
2 3 2 4
1 +0
5 2 5 4
= 3( 4) (1)( 11) + 0 = 1.
A(BB 1 )A 1
= AIA 1
= AA 1
= I and similarly,
(B 1 A 1 )(AB) = I.
Remark 2: A product of any number of invertible matrices is
invertible, and the inverse of the product is the product of the
inverses in the reverse order.
Some properties:
If A is invertible and n is a nonnegative integer, then:
A0 = I and An = AA . . . A[nf actors]
n
A = (A 1 )n = A 1 A 1
. . . A 1 [nf actors]
Ar As = Ar+s and (Ar )s = Ars
1
A is invertible and (A 1 ) 1
= A.
An is invertible and (An ) 1
=A n
= (A 1 )n .
1
kA is invertible for any nonzero scalar k, and (kA) = k 1A 1.
Properties of the transpose:
If the sizes of the matrices are such that the stated operations
can be performed, then:
(AT )T = A
(A + B)T = AT + B T
(A B)T = AT BT
(kA)T = kAT
18
(AB)T = B T AT
Remark 3: The transpose of a product of any number of
matrices is the product of the transposes in the reverse order.
Theorem 1.7. If A is an invertible matrix, then AT is also
invertible and (AT ) 1
= (A 1 )T .
Proof. We can establish the invertibility and obtain the formula
at the same time by showing that AT (A 1 )T = (A 1 )T AT = I
But from the facts that (AB)T = B T AT and I T = I, we have
AT (A 1 )T = (A 1 A)T = I T = I
(A 1 )T AT = (AA 1 )T = I T = I which completes the proof.
6 2 0 0 07 2 3
2 3 2 3
6 7 6 1 0 07
6 7
6 1 0 7 6 0 8 0 07 6 7 60 07
Example. 4 ,
5 6 7 6 0 1 07
, 6
7, 4 5
0 3 6 7
1 07 4 5
60 0 0 0
4 5 0 0 1
0 0 0 4
2 general n ⇥ n 3diagonal matrix D can be written as
A
6d1 0 . . . 0 7
6 7
60 d ... 0 7
6 2 7
6. . .. 7 (1).
6 .. .. .77
6
4 5
0 0 . . . dn
A diagonal matrix is invertible if and only if all of its diagonal
entries
2 are nonzero; in this
3 case the inverse of (1) is
61/d1 0 ... 0 7
6 7
6 0 1/d2 . . . 0 7
6 7 1
6 . .. 7
.. 7 = D (2).
6 .. . . 7
6
4 5
0 0 . . . 1/dn
If D is the diagonal matrix (1) and k is a positive integer, then
22
2 3
k
6 1 0 ... 0 7
d
6 7
6 0 dk . . . 0 7
6 2 7 k
6. . 7
.. 7 = D (3).
6 .. .. .7
6
4 5
0 0 . . . dkn
2 3
61 0 07
6 7
Example. If A = 6 60 3 07 7, then
4 5
0 0 2
2 3 2 3
61 0 0 7 61 0 07
6 7 5 6 7
A 1 = 6 60 1/3 0 7 7 , A = 60
6 243 0 77,A
5
=
4 5 4 5
0 0 1/2 0 0 32
2 3
61 0 0 7
6 7
60 1/243 0 7
6 7
4 5
0 0 1/32
lower triangular since they have zeros below and above the main
(a) AT is symmetric.
(b) A + B and A - B are symmetric.
(c) kA is symmetric.
Theorem 1.11. The product of two symmetric matrices is
symmetric if and only if the matrices commute.
Proof. Let A and B be symmetric matrices with the same
size. Then it follows from the result (AB)T = BT AT and the
symmetry of A and B that
(AB)T = BT AT = BA.
Thus, (AB)T = AB if and only if AB = BA, that is, if and
only if A and B commute.
In general, a symmetric matrix need not be invertible. For
example, a diagonal matrix with a zero on the main diagonal is
symmetric but not invertible. But if a symmetric matrix hap-
pens to be invertible, then its inverse must also be symmetric.
Theorem 1.12. If A is an invertible symmetric matrix, then
1
A is symmetric.
Proof Assume that A is symmetric and invertible. From the
facts that
(AT ) 1
= (A 1 )T and A = AT , we have
26
(A 1 )T = (AT ) 1
=A 1
1
which proves that A is symmetric.
Remark. Matrix products of the form AAT and AT A arise in a
variety of applications. If A is an m ⇥ n matrix, then AT is an
n ⇥ m matrix, so the products AAT and AT A are both square
matrices—the matrix AAT has size m ⇥ m, and the matrix
AT A has size n ⇥ n. Such products are always symmetric since
(AAT )T = (AT )T AT = AAT and (AT A)T = AT (AT )T = AT A.
Example. One can verify that AAT and AT A are symmetric
for the
2 matrix 3
61 2 47
A=4 5
3 0 5
Theorem 1.13. If A is an invertible matrix, then AAT and
AT A are also invertible.
Proof Since A is invertible, so is AT by Theorem 1.7. Thus
AAT and AT A are invertible, since they are the products of
invertible matrices.
CHAPTER 2
2.1 Introduction
matics that involves multiple linear equations with common variables. These
and solving these systems, engineers can predict behaviors, optimize solutions,
study of linear equations forms the basis for more advanced mathematical tech-
cesses. The ability to systematically approach and solve these problems en-
tial area of study in engineering disciplines. Various methods exist to solve these
techniques not only equips students with essential mathematical skills but also
2. The lines may intersect at only one point, in which case the
a1 x + b1 y + c1 z = d1 , a2 x + b2 y + c2 z = d2 , a3 x + b3 y + c3 z = d3
3y = 4.
From the second equation we obtain y = 4/3 and on substitut-
ing this value in the first equation we obtain x = 1 + y = 7/3.
Thus, the system has the unique solution x = 7/3, y = 4/3.
Geometrically, this means that the lines represented by the equa-
Step 1. Locate the leftmost column that does not consist entirely of zeros.
Step 2. Interchange the top row with another row, if necessary, to bring a
Step 3. If the entry that is now at the top of the column found in Step 1
Step 4. Add suitable multiples of the top row to the rows below so that
Step 5. Now cover the top row in the matrix and begin again with Step
1 applied to the submatrix that remains. Continue in this way until the
Step 6. Beginning with the last nonzero row and working upward, add
suitable multiples of each row to the rows above to introduce zeros above
1 2 1
0 −5 −5
∼
=
0 −11 −5
0 0 0
R2 → −1 R
5 2
1 2 1
0 1 1
∼
=
0 −11 −5
0 0 0
R3→ R3 + 11R2
1 2 1
0 1 1
∼
=
0 0 6
0 0 0
R3 → 16 R3
39
1 2 1
0 1 1
∼
=
.
0 0 1
0 0 0
1 2 1 2
0 1 1 1
That gives [AB] = . (do as in example 5.)
0 0 1 1
0 0 0 0
The
corresponding
system
of equations in matrix form is
1 2 1 2
x
3 1 −2 1
y = , which is equivalent to the equa-
4 −3 −1 1
z
2 4 2 0
tions x + 2y + z = 2, y + z = 1, z = 1.
By back substitution, we get the solution as x = 1, y = 0, z = 1.
Example 7. Solve the below system by Gauss elimination
method.
−2x3 + 7x5 = 12
2x1 + 4x2 − 10x3 + 6x4 + 12x5 = 28
2x1 + 4x2 − 5x3 + 6x4 − 5x5 = −1.
41
Solution.
Here the augmented matrix
is
0 0 −2 0 7 12 2 4 −10 6 12 28
∼ ∼
[AB] = 2 4 −10 6 12 28 = 0 0 −2 0 7 12 =
2 4 −5 6 −5 −1 2 4 −5 6 −5 −1
1 2 −5 3 6 14 1 2 −5 3 6 14
0 0 −2 0 7 12 ∼ ∼
= 0 0 −2 0 7 =
12
2 4 −5 6 −5 −1 0 0 5 0 −17 −29
1 2 −5 3 6 14 1 2 −5 3 6 14
0 0 1 0 −7/2 −6 ∼ 0 0 1 0 −7/2 −6 ∼
=
=
0 0 5 0 −17 −29 0 0 5 0 −17 −29
1 2 −5 3 6 14 1 2 −5 3 6 14
0 0 1 0 −7/2 −6 ∼
= 0 0 1 0 −7/2 −6,
0 0 0 0 1/2 1 0 0 0 0 1 2
which is now in echelon form.
Corresponding matrix form is
x
1
1 2 −5 3 6 x2 14
0 0 1 0 −7/2 x = −6 which is equivalent to
3
0 0 0 0 1 x4 2
x5
x1 + 2x2 − 5x3 + 3x4 + 6x5 = 14
42
x3 − 72 x5 = −6
x5 = 2. By back substitution, x5 = 2, x3 = 1.
Assigning x2 = r, x4 = s, the solution is
x1 = 7 − 2r − 3s, x2 = r, x3 = 1, x4 = s, x5 = 2.
2.6 Gauss Jordan elimination method for
solving a system of linear equations .
Example 8. Solve the below system by Gauss Jordan
elimination method.
x1 + 3x2 − 2x3 + 2x5 = 0
2x1 + 6x2 − 5x3 − 2x4 + 4x5 − 3x6 = −1
5x3 + 10x4 + 15x6 = 5
2x1 + 6x2 + 8x4 + 4x5 + 18x6 = 6
Solution.
Here the augmented matrix
is
1 3 −2 0 2 0 0 1 3 −2 0 2 0 0
2 6 −5 −2 4 −3 −1 0 0 −1 −2 0 −3 −1
∼ ∼
[AB] = = =
0 0 5 10 0 15 5 0 0 5 10 0 15 5
2 6 0 8 4 18 6 0 0 4 8 0 18 6
1 3 −2 0 2 0 0 1 3 −2 0 2 0 0
0 0 1 2 0 3 1
∼ 0 0 1 2 0 3 1
∼
= =
0 0 5 10 0 15 5 0 0 0 0 0 0 0
0 0 4 8 0 18 6 0 0 0 0 0 6 2
43
1 3 −2 0 2 0 0 1 3 −2 0 2 0 0
0 0 1 2 0 3 1 0 0 1 2 0 3 1
∼ ∼
= =
0 0 0 0 0 6 2 0 0 0 0 0 1 1/3
0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 3 −2 0 2 0 0 1 3 0 4 2 0 0
0 0 1 2 0 0 0 0 0 1 2 0 0 0
∼
= , which
0 0 0 0 0 1 1/3 0 0 0 0 0 1 1/3
0 0 0 0 0 0 0 0 0 0 0 0 0 0
is now in echelon form.
Corresponding matrix form
is
x1
1 3 0 4 2 0
x 0
2
0 0 1 2 0 0
x
3
0
= which is equivalent to
0 0 0 0 0 1 x 1/3
4
0 0 0 0 0 0 x5
0
x6
x1 + 3x2 + 4x4 + 2x5 = 0
x3 + 2x4 = 0
x6 = 1/3.
Solving , we obtain x1 = −3x2 − 4x4 − 2x5 x3 = −2x4 x6 = 1/3
Finally, by assigning the free variables x2 , x4 , x5 arbitrary
44
x4 = 0.
Assinging x3 = t, we get the general solution as
x1 = 11t + 10, x2 = −4t − 2, x3 = t, x4 = 0.
Example 10. Suppose that the matrices below are augmented
matrices for linear systems in the unknowns x1 , x2 , x3 , x4 .
Discuss the existence and uniqueness of solutions to the
corresponding
linear systems.
1 −3 7 2 5 1 −3 7 2 5
0 1 2 −4 1 0 1 2 −4 1
A = B =
0 0 1 6 9 0 0 1 6 9
0 0 0 0 1 0 0 0 0 0
1 −3 7 2 5
0 1 2 −4 1
C= .
0 0 1 6 9
0 0 0 1 0
46
trivial solution.
47
1 3 0 4 2 0 0
0 0 1 2 0 0 0
. Corresponding system of equations is
0 0 0 0 0 1 0
0 0 0 0 0 0 0
x1 + 3x2 + 4x4 + 2x5 = 0
x3 + 2x4 = 0
x6 = 0.
Solving , we obtain x1 = −3x2 − 4x4 − 2x5 x3 = −2x4 x6 = 0.
Finally, by assigning the free variables x2 , x4 , x5 arbitrary
values r, s, t, respectively, we get x1 = −3r − 4s − 2t, x2 =
r, x3 = −2s, x4 = s, x5 = t, x6 = 0.
Example 12. Solve the below system .
x1 − 2x2 + x3 − x4 = 0
x1 + x2 − 2x3 + 3x4 = 0
4x1 + x2 − 5x3 + 8x4 = 0
5x1 − 7x2 + 2x3 − x4 = 0
49
1 a12 . . . 0 0
0 1 . . . 0 0
for (2) by a sequence of elementary
. . . . . . . . . . . . . . .
0 0 ... 1 0
row operations. If we disregard the last column (all zeros) in
each of these matrices, we can conclude that the reduced row
echelon form of A is In .
(c) ⇒ (d) Assume that the reduced row echelon form of A
is In , so that A can be reduced to In by a finite sequence of
elementary row operations. By theorem 1.8, each of these
53
1 2 3 1 0 0
2 5 3 0 1 0
1 0 8 0 0 1
1 2 3 1 0 0
0 1 −3 −2 1 0
0 −2 5 −1 0 1
We added -2 times the first row to the second and -1 times the
first row to the third.
55
1 2 3 1 0 0
0 1 −3 −2 1 0
0 0 −1 −5 2 1
We added 2 times the second
row to the third.
1 2 3 1 0 0
0 1 −3 −2 1 0
0 0 1 5 −2 −1
We
multiplied the third row
by -1.
1 2 0 −14 6 3
0 1 0 13 −5 −3
0 0 1 5 −2 −1
We added 3 times the third row to the second and -3 times the
third row to the first.
1 0 0 −40 16 9
0 1 0 13 −5 −3
0 0 1 5 −2 −1
We added -2 times
the second row to the first.
−40 16 9
Thus, A−1 = 13 −5 −3 .
5 −2 −1
Example. Consider the system of linear equations
x1 + 2x2 + 3x3 = 5
56
1 2 3 1 0 0 x1 5
A= 2 5 3 0 1 0 , X = x2 , B = 3
1 0 8 0 0 1 x3 17
In the above
example, we showed that A is invertible and
−40 16 9
A−1 = 13 −5 −3 .
5 −2 −1
Thus, the solution
of the system
is
−40 16 9 5 1
x = A−1 b =
13 −5 −3 3 = −1.
5 −2 −1 17 2
Hence, x1 = 1, x2 = −1, x3 = 2.
Example:Show that the given below matrix is not invertible.
1 6 4
2 4 −1.
1 2 5
Proceeding
57
1 6 4 1 0 0
2 4 −1 0 1 0
1 2 5 0 0 1
1 6 4 1 0 0
0 −8 −9 −2 1 0
0 8 9 1 0 1
We added -2 times the first row to the second and added the
first row to the third.
1 6 4 1 0 0
0 −8 −9 −2 1 0
0 0 0 −1 1 1
We added the second row to the third.
Since we have obtained a row of zeros on the left side, A is not
invertible.
Example: Use Theorem 1.17. to determine whether the given
homogeneous systems have nontrivial solutions.
(a) x1 + 2x2 + 3x3 = 0
2x1 + 5x2 + 3x3 = 0
x1 + 8x3 = 0
(b) x1 + 6x2 + 4x3 = 0
2x1 + 4x2 − x3 = 0
58
− x1 + 2x2 + 5x3 = 0
Solution. From parts (a) and (b) of Theorem 1.17. a ho-
mogeneous linear system has only the trivial solution if and
only if its coefficient matrix is invertible. From the above
examples the coefficient matrix of system (a) is invertible and
that of system (b) is not. Thus, system (a) has only the trivial
solution while system (b) has nontrivial solutions.
Linear Systems with a Common Coefficient Matrix
One is concerned with solving a sequence of systems
Ax = b1 , Ax = b2 , Ax = b3 , ..., Ax = bk
each of which has the same square coefficient matrix A. If A
is invertible, then the solutions x1 = A−1 b1 , x2 = A−1 b2 , x3 =
A−1 b3 , ..., xk = A−1 bk
can be obtained with one matrix inversion and k matrix
multiplications. An efficient way to do this is to form the
partitioned matrix
A | b1 | b2 | . . . bk (1)
in which the coefficient matrix A is “augmented” by all k of
the matrices b1 , b2 , ..., bk , and then reduce (1) to reduced row
echelon form by Gauss–Jordan elimination. In this way we
59
can solve all k systems at once. This method has the added
advantage that it applies even when A is not invertible.
Example. Solve the systems
(a) x1 + 2x2 + 3x3 = 4 2x1 + 5x2 + 3x3 = 5 x1 + 8x3 = 9
(b) x1 + 2x2 + 3x3 = 1 2x1 + 5x2 + 3x3 = 6 x1 + 8x3 = −6
Solution. The two systems have the same coefficient matrix.
If we augment this coefficient matrix with the columns of
constants on the right
sides of these systems, we obtain
1 2 3 4 1
2 5 3 5 6
1 0 8 9 −6
Reducing
this matrix
to reduced row echelon form we get
1 0 1 1 2
0 1 0 0 1
0 0 1 1 −1
It follows from the last two columns that the solution of system
(a) is x1 = 1, x2 = 0, x3 = 1 and the solution of system (b) is
x1 = 2, x2 = 1, x3 = −1.
Theorem 1.18. Let A be a square matrix.
(a) If B is a square matrix satisfying BA = I, then B = A−1 .
(b) If B is a square matrix satisfying AB = I, then B = A−1 .
60
x1 + x2 + 2x3 = b1
x 1 + x 3 = b2
2x1 + x2 + 3x3 = b3 to be consistent?
Solution.
The augmented matrix is
1 1 2 b1
1 0 1 b
2
2 1 3 b3
which can be reduced
to row echelon form as follows:
1 1 2 b1
0 −1 −1 b − b
2 1
0 −1 −1 b3 − 2b1
1 1 2 b1
0 −1 −1 b − b
1 2
0 −1 −1 b3 − 2b1
1 1 2 b1
0 −1 −1 b − b
1 2
0 0 0 b3 − b2 − b1
From the third row, it is clear that the system has a solution if
and only if b1 , b2 , and b3 satisfy the condition b3 − b2 − b1 = 0 or
b3 = b1 + b2 . To express this condition another way, Ax = b is
65
b1
consistent if and only if b is a matrix of the form b =
b2
b1 + b2
where b1 , b2 are arbitrary.
Example. What conditions must b1 , b2 , and b3 satisfy in order
for the system of equations
x1 + 2x2 + 3x3 = b1
2x1 + 5x2 + 3x3 = b2
1x1 + 8x3 = b3 to be consistent?
Solution.
The augmented
matrix is
1 2 3 b1
2 5 3 b .
2
1 0 8 b3
Reducing
this to reduced row echelon
we get
Key Point 5
An LU decomposition of a matrix A is the product of a lower triangular matrix and an upper
triangular matrix that is equal to A.
It turns out that we need only consider lower triangular matrices L that have 1s down the diagonal.
Here is an example. Let
1 2 4 1 0 0 U11 U12 U13
A = 3 8 14 = LU where L = L21 1 0 and U = 0 U22 U23 .
2 6 13 L31 L32 1 0 0 U33
Multiplying out LU and setting the answer equal to A gives
U11 U12 U13 1 2 4
L21 U11 L21 U12 + U22 L21 U13 + U23 = 3 8 14 .
L31 U11 L31 U12 + L32 U22 L31 U13 + L32 U23 + U33 2 6 13
Now we use this to find the entries in L and U . Fortunately this is not nearly as hard as it might at
first seem. We begin by running along the top row to see that
Task
3 1
Find an LU decomposition of .
−6 −4
Answer
Let
3 1 1 0 U11 U12 U11 U12
= LU = =
−6 −4 L21 1 0 U22 L21 U11 L21 U12 + U22
then, comparing the left and right hand sides row by row implies that U11 = 3, U12 = 1, L21 U11 = −6
which implies L21 = −2 and L21 U12 + U22 = −4 which implies that U22 = −2. Hence
3 1 1 0 3 1
=
−6 −4 −2 1 0 −2
3 1
is an LU decomposition of .
−6 −4
68
Task 3 1 6
Find an LU decomposition of −6 0 −16 .
0 8 −17
Your solution
Answer
Using material from the worked example in the notes we set
3 1 6 U11 U12 U13
−6 0 −16 = L21 U11 L21 U12 + U22 L21 U13 + U23
0 8 −17 L31 U11 L31 U12 + L32 U22 L31 U13 + L32 U23 + U33
and comparing elements row by row we see that
U11 = 3, U12 = 1, U13 = 6,
L21 = −2, U22 = 2, U23 = −4
L31 = 0 L32 = 4 U33 = −1
and it follows that
3 1 6 1 0 0 3 1 6
−6 0 −16 = −2 1 0 0 2 −4
0 8 −17 0 4 1 0 0 −1
is an LU decomposition of the given matrix.
69
®
The benefit of this approach is that we only ever need to solve triangular systems. The cost is that
we have to solve two of them.
[Here we solve only small systems; a large system is presented later.]
Example 6
x1 1 2 4 x1 3
Find the solution of X = x2 of the system 3 8 14 x2 = 13 .
x3 2 6 13 x3 4
Solution
• The first step is to calculate the LU decomposition of the coefficient matrix on the left-hand
side. In this case that job has already been done since this is the matrix we considered earlier.
We found that
1 0 0 1 2 4
L = 3 1 0 , U = 0 2 2 .
2 1 1 0 0 3
y1
• The next step is to solve LY = B for the vector Y = y2 . That is we consider
y3
1 0 0 y1 3
LY = 3 1 0 y2 = 13 = B
2 1 1 y3 4
which can be solved by forward substitution. From the top equation we see that y1 = 3.
The middle equation states that 3y1 + y2 = 13 and hence y2 = 4. Finally the bottom line
says that 2y1 + y2 + y3 = 4 from which we see that y3 = −6.
70
Solution (contd.)
• Now that we have found Y we finish the procedure by solving U X = Y for X. That is we
solve
1 2 4 x1 3
UX = 0 2 2 x2 = 4 = Y
0 0 3 x3 −6
by using back substitution. Starting with the bottom equation we see that 3x3 = −6 so
clearly x3 = −2. The middle equation implies that 2x2 + 2x3 = 4 and it follows that x2 = 4.
The top equation states that x1 + 2x2 + 4x3 = 3 and consequently x1 = 3.
Therefore we have found that the solution to the system of simultaneous equations
1 2 4 x1 3 3
3 8 14 x2 = 13 is X= 4 .
2 6 13 x3 4 −2
Task
Use the LU decomposition you found earlier in the last Task (page 24) to solve
3 1 6 x1 0
−6 0 −16 x2 = 4 .
0 8 −17 x3 17
Your solution
71 ®
Answer
1 0 0 3 1 6
We found earlier that the coefficient matrix is equal to LU = −2 1 0 0 2 −4 .
0 4 1 0 0 −1
First we solve LY = B for Y , we have
1 0 0 y1 0
−2 1 0 y2 = 4 .
0 4 1 y3 17
The top line implies that y1 = 0. The middle line states that −2y1 + y2 = 4 and therefore y2 = 4.
The last line tells us that 4y2 + y3 = 17 and therefore y3 = 1.
Finally we solve U X = Y for X, we have
3 1 6 x1 0
0 2 −4 x2 = 4 .
0 0 −1 x3 1
The bottom line shows that x3 = −1. The middle line then shows
that x2 = 0, and then the top
2
line gives us that x1 = 2. The required solution is X = 0 .
−1
Why not?
An invertible matrix A has an LU decomposition provided that all its leading submatrices have
non-zero determinants. The k th leading submatrix of A is denoted Ak and is the k × k matrix found
by looking only at the top k rows and leftmost k columns. For example if
1 2 4
A = 3 8 14
2 6 13
then the leading submatrices are
1 2 4
1 2
A1 = 1, A2 = , A3 = 3 8 14 .
3 8
2 6 13
The fact that this matrix A has an LU decomposition can be guaranteed in advance because none
of these determinants is zero:
|A1 | = 1,
|A2 | = (1 × 8) − (2 × 3) = 2,
8 14 3 14 3 8
|A3 | = −2 +4 = 20 − (2 × 11) + (4 × 2) = 6
6 13 2 13 2 6
(where the 3 × 3 determinant was found by expanding along the top row).
Decomposition
72
Example 7
1 2 3
Show that 2 4 5 does not have an LU decomposition.
1 3 4
Solution
The second leading submatrix has determinant equal to
1 2
= (1 × 4) − (2 × 2) = 0
2 4
which means that an LU decomposition is not possible in this case.
Task
Which, if any, of these matrices have an LU decomposition?
1 −3 7
3 2 0 1
(a) A = , (b) A = , (c) A = −2 6 1 .
0 1 3 2
0 3 −2
Your solution
(a)
Answer
|A1 | = 3 and |A2 | = |A| = 3. Neither of these is zero, so A does have an LU decomposition.
Your solution
(b)
Answer
|A1 | = 0 so A does not have an LU decomposition.
Your solution
(c)
Answer
|A1 | = 1, |A2 | = 6 − 6 = 0, so A does not have an LU decomposition.
73 ®
Example 8
1 2 3
Reorder the rows of A = 2 4 5 so that the reordered matrix has an LU
1 3 4
decomposition.
Solution
Swapping the first and second rows does not help us since the second leading submatrix will still
have a zero determinant. Let us swap the second and third rows and consider
1 2 3
B= 1 3 4
2 4 5
the leading submatrices are
1 2
B1 = 1, B2 = , B3 = B.
1 3
Now |B1 | = 1, |B2 | = 3 × 1 − 2 × 1 = 1 and (expanding along the first row)
|B3 | = 1(15 − 16) − 2(5 − 8) + 3(4 − 6) = −1 + 6 − 6 = −1.
All three of these determinants are non-zero and we conclude that B does have an LU decomposition.
Task 1 −3 7
Reorder the rows of A = −2 6 1 so that the reordered matrix has an
0 3 −2
LU decomposition.
Your solution
HELM (2008): 29
74
Answer
Let us swap the second and third rows and consider
1 −3 7
B= 0 3 −2
−2 6 1
the leading submatrices are
1 −3
B1 = 1, B2 = , B3 = B
0 3
which have determinants 1, 3 and 45 respectively. All of these are non-zero and we conclude that
B does indeed have an LU decomposition.
Exercises
1. Calculate LU decompositions for each of these matrices
2 1 −4 1 3 2
2 1
(a) A = (b) A = 2 2 −2 (c) A = 2 8 5
−4 −6
6 3 −11 1 11 4
2. Check each answer in Question 1, by multiplying out LU to show that the product equals A.
3. Using the answers obtained in Question 1, solve the following systems of equations.
2 1 x1 1
(a) =
−4 −6 x2 2
2 1 −4 x1 4
(b) 2 2 −2 x2 = 0
6 3 −11 x3 11
1 3 2 x1 2
(c) 2 8 5 x2 = 3
1 11 4 x3 0
1 6 2
4. Consider A = 2 12 5
−1 −3 −1
x1 + 6x2 + 2x3 = 9
2x1 + 12x2 + 5x3 = −4
−x1 − 3x2 − x3 = 17
s
75 ®
Answers
1. (a) We let
2 1 1 0 U11 U12 U11 U12
= LU = = .
−4 −6 L21 1 0 U22 L21 U11 L21 U12 + U22
Comparing the left-hand and right-hand sides row by row gives us that U11 = 2, U12 = 1,
L21 U11 = −4 which implies that L21 = −2 and, finally, L21 U12 + U22 = −6 from which
we see that U22 = −4. Hence
2 1 1 0 2 1
=
−4 −6 −2 1 0 −4
is an LU decomposition of the given matrix.
(b) We let
2 1 −4 U11 U12 U13
2 2 −2 = LU = L21 U11 L21 U12 + U22 L21 U13 + U23 .
6 3 −11 L31 U11 L31 U12 + L32 U22 L31 U13 + L32 U23 + U33
Looking at the top row we see that U11 = 2, U12 = 1 and U13 = −4. Now, from the
second row, L21 = 1, U22 = 1 and U23 = 2. The last three unknowns come from the
bottom row: L31 = 3, L32 = 0 and U33 = 1. Hence
2 1 −4 1 0 0 2 1 −4
2 2 −2 = 1 1 0 0 1 2
6 3 −11 3 0 1 0 0 1
is an LU decomposition of the given matrix.
(c) We let
1 3 2 U11 U12 U13
2 8 5 = LU = L21 U11 L21 U12 + U22 L21 U13 + U23 .
1 11 4 L31 U11 L31 U12 + L32 U22 L31 U13 + L32 U23 + U33
Looking at the top row we see that U11 = 1, U12 = 3 and U13 = 2. Now, from the
second row, L21 = 2, U22 = 2 and U23 = 1. The last three unknowns come from the
bottom row: L31 = 1, L32 = 4 and U33 = −2. Hence
1 3 2 1 0 0 1 3 2
2 8 5 = 2 1 0 0 2 1
1 11 4 1 4 1 0 0 −2
is an LU decomposition of the given matrix.
(a) The second leading submatrix has determinant 1 × 12 − 6 × 2 = 0 and this implies that
A has no LU decomposition.
1 6 2
(b) Swapping the second and third rows gives −1 −3 −1 . We let
2 12 5
1 6 2 U11 U12 U13
−1 −3 −1 = LU = L21 U11 L21 U12 + U22 L21 U13 + U23 .
2 12 5 L31 U11 L31 U12 + L32 U22 L31 U13 + L32 U23 + U33
Looking at the top row we see that U11 = 1, U12 = 6 and U13 = 2. Now, from the
second row, L21 = −1, U22 = 3 and U23 = 1. The last three unknowns come from the
bottom row: L31 = 2, L32 = 0 and U33 = 1. Hence
1 6 2 1 0 0 1 6 2
−1 −3 −1 = −1 1 0 0 3 1
2 12 5 2 0 1 0 0 1
is an LU decomposition of the given matrix.
(c) We begin by solving the system
1 0 0 y1 9
−1 1 0 y2 = 17 .
2 0 1 y3 −4
(Note that the second and third rows of the right-hand side vector have been swapped
too.) Starting with the top equation we see that y1 = 9. The second equation then
implies that y2 = 26 and then, from the third equation, y3 = −22. These values now
appear on the right-hand side of the second system
1 6 2 x1 9
0 3 1 x2 = 26 .
0 0 1 x3 −22
The bottom equation shows us that x3 = −22. Moving up to the middle equation we
obtain x2 = 16. The top equation yields x1 = −43.
78
SECTION-3.
RANK OF A MATRIX.
3.1 Sub Matrix A matrix obtained from a matrix A by omitting some of its rows or
columns
(or both) is called a sub matrix of A
For Example the matrices
2 1 9
1 9 5
2 1 2 1 9
= , = , = 4 1 0 , = 3 4 1 etc. are the sub
3 4 3 4 1 5 7 2
7 2 1 1 7
4
2 1 9 5
matrices of a matrix = 3 4 1 0 in which and are square sur matrices of of
5 7 2 1
4 1 7 7
order 2 and 3 respectively of A .
As in care of set, every matrix is considers as in sub matrix of itself
3.2 Minor of A Matrix The determinant of a square sub matrix of order r is called a minor
of order r of A. A minor of order r is said to be r-rowed minor.
2 1 1 2
For Example-Consider a matrix = 0 2 0 4
3 3 2 6
2 1 1
On omitting forth column , we get a square sub matrix = 0 2 0 and its determinant
3 3 2
2 1 1
i.e.| |= 0 2 0 = 2 is a minor of order 3
3 3 2
On omitting third columns we get square matrix
2 1 2 2 1 2
= 0 2 4 and | |= 0 2 4 is also a minor of order 3
3 3 6 3 3 6
On omitting third row and third & forth columns , we get the square sub matrix =
2 1
and | | is minor of order 2 .
0 2
1 2
On omitting second row and second & third columns we get square matrix =
3 6
and | | is again a minor of order 2 since | | = 2 ≠ 0 &| | = 4 ≠ 0, then these are
79
called non zero (or non vanishing ) minors whereas | | = 0 &| | = 0, so these are
called zero (or vanishing ) minors of A
Remarks (a) from this Example it is also clear that there may be more than one minors
of the same order obtained by deleting different rows and\or columns
and (c) the order of the largest order minor of a n-square matrix = n
2 3 1 5
e.g. the order of the largest order minor of 1 0 3 1 is 4 .
2 6 4 4
5 1 0 2
The methods, which are often used of find rank of the matrices, can be described as
1. By Using Definitions –
From definition of rank, the rank of a matrix A is the order of the largest order non zero
minor of A so that to find the rank of a matrix A, we have to identify the order of the largest
non- zero minor .But in the case of matrices of large order, this process, involves a lot of
computations, So it is tedious.
To reduce computations, we transform maximum possible entries of A to zero by applying
elementary transformations and then use definition.
SOLVED EXAMPLES
5 −1 0
Example 1 Find the rank of matrix = 3 1 2
2 3 6
5 −1 0
| | = 3 1 2 = 5(6 − 6) + 1(18 − 4) + 0. (9 − 2)
2 3 6
81
= 0 + 14 + 0
= 14 ≠ 0
1 2 3
i. = 3 4 5
4 5 6
0 −
ii. = − 0
− 0
0 2 3
iii. = 0 4 6
0 6 9
1 2 3
Solution (i) we have | | = 3 4 5
4 5 6
= −1 + 4 − 3 = 0 | | = 0 i.e, minor
⇒ ( )<3
Further the minor of order 2 obtained by deleting third row & third column
1 2
= 4 − 6 = −2 ≠ 0
3 4
Hence ( ) = 2
0 −
(ii) We have | | = − 0 = 0(0 + ) − (0 − ) − ( − 0)
− 0
=0+ − =0
∴ ( )<3
82
And the minor of 2 obtained by deleting the first row & third column
− 0
= − 0 = −1 ≠ 0
−
Hence ( )=2
(iii) It is obvious that | | = 0 and also all minors of order 2 are zero but each element of
C is not zero, therefore ( )=1
1 2 3 −4
Example 3 Find the rank of matrix : A = −2 3 7 −1
1 9 16 −13
Solution
1 2 3 −4
A = −2 3 7 −1
1 9 16 −13
→ +2 , → −
1 2 3 −4
A~ 0 7 13 −9
0 7 13 −9
→ −
1 2 3 −4
A~ 0 7 13 −9
0 0 0 0
1 2 3 4
Example 4 Find the rank of matrix : A = 2 3 7 1
1 9 16 13
1 2 3 4
Solution: A = 2 3 7 1
1 9 16 13
→ +2 , → −
83
1 2 3 4
A ~ 0 7 13 9
0 7 13 9
→ −
1 2 3 4
A ~ 0 7 13 9
0 0 0 0
NOTE-
0
, ,…, A , … =
0 0
0
=
0 0
84
where = , ,…, & = , … ,
Working Rule to Find Normal Form and Non Singular Matrices P&Q-
0
=
0 0
SOLVED EXAMPLES
0 1 2 1
Example 1 Reduce the matrix 1 2 3 1 to normal form and hence find the rank.
3 1 1 3
0 1 2 1 1 0 2 1
Solution Let = 1 2 3 1 ~ 2 1 3 1 ↔
3 1 1 3 1 3 1 3
1 0 0 0 → + (−2)
~ 2 1 −1 1 → −
1 3 −1 2
1 0 0 0 → + (−2)
~ 0 1 0 0
→ −
0 3 2 2
1 0 0 0
~ 0 1 0 0 → − (−3)
0 0 2 2
1 0 0 0 1
~ 0 1 0 0 →
2
0 0 1 1
85
1 0 0 0
~ 0 1 0 0 → −
0 0 1 0
= [ : 0]
Example 2 Find two non-singular matrices P and Q such that PAQ is in the normal form
1 −1 −1
Where = 1 1 1 . Also find rank of A.
3 1 1
1 −1 −1
Solution Given = 1 1 1
3 1 1 ×
We have =
1 −1 −1 1 0 0 1 0 0
1 1 1 = 0 1 0 0 1 0
3 1 1 0 0 1 0 0 1
To obtain matrices P & Q, we reduce the LHS matrix to normal form under the fact that
row operations to be applied to pre factor and column operations to be applied to post factor.
Apply, → +
→ +
1 0 0 1 0 0 1 1 1
1 2 2 = 0 1 0 0 1 0
3 4 4 0 0 1 0 0 1
→ − 1 0 0 1 0 0 1 1 1
0 2 2 = −1 1 0 0 1 0
→ + (−3)
0 4 4 −3 0 1 0 0 1
1 0 0
1 0 0 1 1 1 1 0
→ − 0 1 0 = − 0 0 1 −1
0 0 1 2 2 0 0 1
−1 −2 1
0
=
0 0
It is the normal form of the given matrix and hence the rank of A i.e. (A) = 2and
1 0 0
1 1 1 1 0
= − 0 , = 0 1 −1
2 2 0 0 1
−1 −2 1
1 −1 −1 2
Example 3 Let = 4 2 2 −1 . Find the non-singular matrices P and Q, such that
2 2 0 −2
PAQ is in the normal form. Also find the rank of A.
1 −1 −1 2
Solution Given = 4 2 2 −1
2 2 0 −2 ×
We have =
1 0 0 0
1 −1 −1 2 1 0 0
0 1 0 0
4 2 2 −1 = 0 1 0
0 0 1 0
2 2 0 −2 0 0 1
0 0 0 1
To obtain matrices P & Q, we reduce the LHS matrix to normal form under the fact that
row operations to be applied to pre factor and column operations to be applied to post factor.
87
→ + (−4) 1 1 1 −2
1 0 0 0 1 0 0
→ + (−2) 0 1 0 0
0 6 6 −9 = −4 1 0
0 0 1 0
0 4 2 −6 −2 0 1
0 0 0 1
1
1 0 0 1 1 1 −
3 1 0 0 0 4 1 2
→ + − 0 3
2 0 2 2 0 = 3 3 0 1 0
0 2 1 0 1 2
−1 0 0 0 1 0
2
0 0 0 1
1
1 0 0 1 1 0 −
1 0 0 0 2 1 2
→ − − 0 3
0 2 0 0 = 3 6 0 1 −1
0 0 −1 0 1 1 1 2
− 0 0 1 0
3 3 2
0 0 0 1
[ : 0] = ,
1 0 0 1 1 0 −
Where = − 0 , = 0 1 −1
− 0 0 1 0
0 0 0 1
2 1 3 6
A = 3 3 1 2
1 1 1 2
Solution Order of A is 3 × 4
× =ɪ ɪ
88
1 0 0 0
2 1 3 6 0 0 0
3 3 1
1 1 0 0
2 = 0 1 0 A
0 1 0
1 1 1 2 0 0 1 0
0 0 0 1
1 0 0 0
1 1 1 2 0 1 0
3 3 1 =
0 1 0 0
2 0 1 0 A
0 1 0
2 1 3 6 1 0 0 0
0 0 0 1
→ −3 , → −2
1 0 0 0
1 1 1 2 0
0 6 2 4 =
0 0 1 1 0 0
0 1 −3 A
0 1 0
0 1 5 10 1 0 −2 0
0 0 0 1
→ − , → − , → −2
1 1 1 2
1 0 0 0 0 1 0
0 6 2 4 =
0 0 1 0
0 1 −3 A
0
0 1 5 10 1 0 −2 0 0 1
0 0 0 1
→− , →− , ↔
1 1 1 2
1 0 0 0 0 1 0 1 0
0 1 5 10 =
0 0
−1 0 2 A
0
0 6 2 4 0 −1 3 0 0 1
0 0 0 1
→ −6
1 1 1 2
1 0 0 0 0 1 0
0 1 =
0 0 1
0
5 10 −1 0 2 A
0
6 −1 −9 0 0 1
0 0 28 56
0 0 0 1
89
→ −5 , → − 10
1 1 4 8
1 0 0 0 0 0 1 0 1 5 10
0 1 =
0 0 −1 0 2 A
0 0 1 0
0 0 28 56 6 −1 −9
0 0 0 1
1
→−
28
1 1 4 8
1 0 0 0 0 0 1
0 1 0 0 = −1 0 2 A 0 1 5 10
0 0 1 0
0 0 1 2 −
0 0 0 1
→ −2
1 1 4 0
0 1 5 0
0 0 1 2
1 0 0 0 0 0 1
0 1 0 0 = −1 0 2 A 0 0 0 1
0 0 1 0 −
N = PAQ where
1 1 4 0
0 1 5 0
0 0 1 2
0 0 1
P = −1 0 2 and Q = 0 0 0 1
−
(i) the number of zeros preceding the first non-zero element in each row is less than that
in the subsequent row(s),
90
(ii) all zero rows (i.e., rows with zero elements only), if any, are on the bottom of the
matrix i.e. all the non- zero rows precede the zero rows,
2 1 −1 0
1 2 3
For Example- = 0 1 2 , = 0 0 −1 2
0 0 0 0
0 0 0
0 0 0 0
1 −1 0 4 5 1 2 3
= 0 −1 2 1 3 = 0 2 1 are in Echelon forms
0 0 0 6 1
0 0 2
0 0 0 0 0
Result: If a matrix A is reduced to Echelon form then rank of A i.e. (A) = the number of
non-zero rows in its Echelon form
SOLVED EXAMPLES
1 2 3 0
Example 1 Find the rank of the matrix = 2 4 3 2 , by reducing to Echelon form.
3 2 1 3
6 8 7 5
Solution
1 2 3 0 1 2 3 0 → + (−2)
Given = 2 4 3 2 ~ 0 0 −3 2 → + (−3)
3 2 1 3 0 −4 −8 3
6 8 7 5 0 −4 −11 5 → + (−6)
1 2 3 0
~ 0 0 −3 2 → −
0 −4 −8 3
0 0 −3 2
1 2 3 0
~ 0 −4 −8 3 ↔
0 0 −3 2
0 0 −3 2
91
1 2 3 0
~ 0 −4 −8 3 →
0 0 −3 2
0 0 −3 2
1 2 3 0
~ 0 −4 −8 3 → −
0 0 −3 2
0 0 0 2
1 2 3 −1
Example 2 Determine the rank of the matrix = 3 6 9 −3 , by reducing to echelon
2 4 6 −2
form.
Solution
1 2 3 −1 1 2 3 −1 → + (−3)
Given = 3 6 9 −3 ~ 0 0 0 0 → + (−2)
2 4 6 −2 0 0 0 0
6 3 5 9
Example 3 Find the value of k if the rank of the matrix 5 2 3 6 is 3.
3 1 2 3
2 1 1
6 3 5 9 1
Solution = 5 2 3 6 ~ 5 2 3 6 →
3 1 2 3 3 1 2 3
2 1 1 2 1 1
92
1 5 3
1
2 6 2
1 3 3
0 − − − → + (−5)
~ 2 6 2 → + (−3)
3
1 − 3 → + (−2)
0 − 6 −
0 2 4 2
0 − −3
6
1 5 3
1
2 6 2
1 3 3
0 − − −
~ 2 6 2 → −
4
0 0 6 0
0 0 4 −3
−
6
1 5 3
1
2 6 2
1 3 3
~ 0 −2 −
6
−
2 → +
4
0 0 0
0 0 6 −3
0
=B
∴k−3=0⇒k=3
93
EXERCISE
2 3 −1 −1
1. 1 −1 −2 −4
3 1 3 −2
6 3 0 −7
0 1 −3 −1
2. 1 0 1 1
3 1 0 2
1 1 −2 0
1 2 3 0
3. 2 4 3 2
3 2 1 3
6 8 7 5
4 3 0 2
4. 3 4 −1 3
−7 −7 1 5
1 2 −1 3
5. 4 1 2 1
3 −1 1 2
1 2 0 1
1 1 2 1
−1 −1 −2 1
6. 1 2 1 −1
1 3 0 −3
1 1 2 3
1 1 1 1
7. 1 3 −2 1
2 0 −3 2
3 3 −3 3
1 2 −2 3
8. 2 5 −4 6
−1 −3 2 −2
2 4 −4 6
3 1 −5 −1
9. 1 −2 1 −5
1 5 −7 2
1 3 4 3
10. Find the rank of the matrix A = 3 9 12 3 , by reducing to an echelon matrix
1 3 4 1
−2 −1 −1
11. Find the rank of the matrix 12 8 6
10 5 6
94
2 1 −3 −6
12. Reduce the matrix 3 −3 1 2 to normal form and hence find the rank
1 1 1 2
4 4 −3 1
13. Find the values of k if the rank of 1 1 −1 0 is 3.
2 2 2
9 9 3
2 1 −1 3
14. Find the values of a and b if the matrix 1−1 2 4 is of rank 2.
7−1
1−2 3 1
15. Find the values of a and b if the matrix 2 1 −1 2 is of rank 2.
6−2
1 −1 2 −3
16. Reduce to normal form and find the rank of 4 1 0 2 .
0 3 1 4
0 1 0 2
0 1 2 1
17. Reduce to normal form and find the rank of 1 2 3 2 .
3 1 1 3
1 1 2
18. If = 1 2 3 then find non-singular matrices P and Q such that PAQ is in
0 −1 −1
normal form and find its rank.
19. If A is a non-zero 3 × 1 matrix and B is a non-zero 1 × 3matrix , then the rank of
AB is:
(a) 0
(b) 1
(c) 2
(d) 3
20. Matrix
1 0 0 0 1
0 1 0 0 1
0 0 0 1 1
0 0 0 0 0
is :
95
(a) An identity matrix (b)A scalar matrix (c)In normal form (d)In echelon
form
Answers
1. 3
2. 2
3. 3
4. 2
5. 3
6. 3
7. 3
8. 3
9. 3
10. 2
11. 3
12. 3
13. 2
14. 4,18
15. 4,6
16. [ , 0], =4
17. [ , 0], =3
1 0 0 1 −1 −1
18. = −1 1 0 , = 0 1 −1 and rank = 2
−1 1 1 0 0 1
19. (b)
20. (d)