Professional Documents
Culture Documents
k=1
a
ik
b
kj
for i = 1 to m and
j = 1 to n
i.e., i, j
th
element in the product matrix C is obtained
by adding the p products obtained by multiplying
each entry of the i
th
row of A by the corresponding
entry of the j
th
column of B. Thus matrix multipli-
cation amounts to multiplication of rows (of the rst
matrix) into columns (of the second matrix) i.e., row
by column multiplication.
m A p B = m C
n
n
p
i.e. mn scalar products of the
m rows of A with n columns of B.
In the product C = AB, the matrix B is premul-
tiplied or multiplied from the left by A; while the
matrix A is post multiplied or multiplied from the
right by B.
Properties:
1. (kA)B = k(AB) = A(kB) = kAB
2. A(BC) = (AB)C
3. (A +B)C = AC +BC
4. A(B +C) = AB +AC
However
5. AB = BA in general (not commutative)
6. AB = 0 does not necessarily imply that A = 0 or
B = 0 or BA = 0.
Also
7. AB = AC does not necessarily imply that
B = C, even when A = 0.
8. (AB)
T
= B
T
A
T
i.e., transpose of a product is the product of the trans-
poses.
1.3 SPECIAL SQUARE MATRICES
The elements a
ii
of an n-square matrix are known
as diagonal elements. Trace of matrix A =
trace of A =
n
i=1
a
ii
= sum of the diagonal elements.
Result: trace (A +B) = trace A + trace B,
trace (kA) = k trace A.
A is singular matrix if |A| = 0. A is Non-singular
matrix if |A| = 0
Upper triangular matrix if a
ij
= 0 for i > j i.e.,
can have non zero entries only on and above the main
diagonal while any entry below the diagonal is zero.
Lower triangular matrix if a
ij
= 0 for i < j. A
matrix is said to be triangular if it is either upper or
lower triangular matrix.
Diagonal matrix if any entry above or below, the
main diagonal is zero. However zero entries may be
present in the diagonal. Thus
a
ij
= 0 for i = j
(however a
ii
= 0, not for all i).
Scalar matrix is a diagonal matrix in which all the
diagonal entries are equal to a constant k i.e., a
ii
= k
for every i and a
ij
= 0 for any i and j, (i = j).
Identity matrix denoted by I is a scalar matrix with
k = 1. Thus
I
3
= I
3 3
=
_
_
1 0 0
0 1 0
0 0 1
_
_
Positive integral power of a matrix A, denoted by
A
n
, is obtained by multiplying A by itself n times.
1.4 DIFFERENCES BETWEEN
DETERMINANTS AND MATRICES
Determinant Matrix D A
1. It has a numerical value It has no value. It is a symbol
representing an array of many
numbers on which algebra can
be performed.
2. It can only a be square It can be rectangular
3. It is zero when elements It is zero when
of any row (or elements in
mn) are zero
4. It is multiplied by It is multiplied by .
if elements of any elements
row (or column)
are multiplied by
5. Its value remains unalt- It gets altered (giving
ered by the inter a new matrix)
of rows and columns
6. Its value is It gets changed to a new
cent rows
are are
only
one
k k
one
k
D
all
all
k
the
the matrix are zero
if the
of the matrix are
multiplied by
rise to
change when rows and
columns. are interchanged
when matrix
(or when adjacent rows (or
interchanged.
colu
adja
columns) interchanged. columns)
chap-1 B.V.Ramana August 30, 2006 9:40
MATRICES AND DETERMINANTS 1.3
WORKED OUT EXAMPLES
Example 1: Classify the following matrices. Also
nd the order of the matrices.
(a)
_
_
_
_
_
_
1 2 3 4
2 3 4 5
3 4 0 6
7
3
2
8 10
5 6 7 9
_
_
(b)
_
_
_
_
1
2
3
4
_
_
(c) [2 4 6 7 8]
(d)
_
_
_
_
2 3 1 0
0 5 3 7
0 0 0 10
0 0 0 6
_
_
(e)
_
_
5 0 0
7 2 0
9 8 12
_
_
(f)
_
_
5 0 0
0 6 0
0 0 0
_
_
(g)
_
_
_
_
k 0 0 0
0 k 0 0
0 0 k 0
0 0 0 k
_
_
(h)
_
_
0 0 0
0 0 0
0 0 0
_
_
(i) [13]
Solution:
(a) Rectangular matrix of order 5 4
(b) Column matrix of order 4 1
(c) Row matrix of order 1 5
(d) Upper triangular matrix, 4 4 (square)
(e) Lower triangular matrix, 3 3 (square)
(f) Diagonal matrix, 3 3 (square)
(g) Scalar matrix, 4 4 (square)
(h) Null or zero matrix, 3 3 (square)
(i) 1 1 matrix which identies the single entry
Example 2: Suppose matrix A has m rows and m
+ 6 columns and matrix B has n rows and 12 n
columns. If both AB and BA exists, determine the
orders of the matrices A and B.
Solution: Since A
mm+6
B
n 12 n
exists, the num-
ber of columns in A must be equal to the number of
rows in B i.e. m + 6 = n or mn = 6.
Similarly B
n 12 n
A
mm+6
exists,
12 n = m or m+n = 12
solving m = 3, n = 9. The order of A is 3 9 and
of B is 9 3.
Example 3: Determine AB and BA if A B =
_
2 3
1 2
_
and A +B =
_
5 7
4 1
_
. Is AB = BA.
Solution: Adding A B =
_
2 3
1 2
_
= C
A +B =
_
6 7
5 2
_
= D we get
2A = C +D =
_
2 3
1 2
_
+
_
6 7
5 2
_
=
_
8 10
6 4
_
so
A =
_
4 5
3 2
_
. Then
B = D A =
_
6 7
5 2
_
_
4 5
3 2
_
=
_
2 2
2 0
_
So AB =
_
4 5
3 2
_ _
2 2
2 0
_
=
_
18 8
10 6
_
and
BA =
_
2 2
2 0
_ _
4 5
3 2
_
=
_
14 14
8 10
_
.
Note that AB = BA, in general.
Example 4: If A =
_
11 25
4 9
_
show that A
n
=
_
1 +10n 25n
4n 1 10n
_
using mathematical induction.
Solution: Consider A
2
= A A
=
_
11 25
4 9
_ _
11 25
4 9
_
A
2
=
_
21 50
8 19
_ _
1 +10 2 25 2
4 2 1 10 2
_
Now A
3
= A A
2
=
_
11 25
4 9
_ _
21 50
8 19
_
=
_
31 75
12 29
_
So
A
3
=
_
1 +10 3 25 3
4 3 1 10 3
_
.
Assume A
k
=
_
1 +10 k 25 k
4 k 1 10 k
_
. Then
chap-1 B.V.Ramana August 30, 2006 9:40
1.4 MATHEMATICAL METHODS
A
k+1
= A A
k
=
_
11 25
4 9
_ _
1 +10k 25k
4k 1 10k
_
=
_
11 +10k 25 25k
4 +4k 9 10k
_
=
_
1 +10(k +1) 25(k +1)
4(k +1) 1 10(k +1)
_
By mathematical induction the result follows.
Example 5: If A =
_
8 4
2 2
_
prove that
A
2
10 A +24 I = 0.
Solution: A
2
= A A =
_
8 4
2 2
__
8 4
2 2
_
=
_
56 40
20 4
_
. Then A
2
10A +24I =
_
56 40
20 4
_
10
_
8 4
2 2
_
+24
_
1 0
0 1
_
=
_
56 80 +24 40 +40 +0
20 20 +0 4 20 +24
_
=
_
0 0
0 0
_
= 0
Example 6: Show that AB = AC does not neces-
sarily imply that B = C where A =
_
_
1 3 2
2 1 3
4 3 1
_
_
,
B =
_
_
1 4 1 0
2 1 1 1
1 2 1 2
_
_
, C =
_
_
2 1 1 2
3 2 1 1
2 5 1 0
_
_
Solution: A
3 3
B
3 4
= D
3 4
=
_
_
3 3 0 1
1 15 0 5
3 15 0 5
_
_
= A
33
C
34
however B = C.
Example 7: Verify that
(a) AB = BA = 0, (b) AC = A,
(c) CA = C, (d) ACB = CBA,
(e) (A B)
2
= A
2
+B
2
,
(f) (A B)(A +B) = A
2
B
2
where A =
_
_
2 3 5
1 4 5
1 3 4
_
_
,
B =
_
_
1 3 5
1 3 5
1 3 5
_
_
, C =
_
_
2 2 4
1 3 4
1 2 3
_
_
Solution:
(a) AB =
_
_
2 3 5
1 4 5
1 3 4
_
_
_
_
1 3 5
1 3 5
1 3 5
_
_
=
_
_
0 0 0
0 0 0
0 0 0
_
_
= 0
Similarly
BA =
_
_
1 3 5
1 3 5
1 3 5
_
_
_
_
2 3 5
1 4 5
1 3 4
_
_
=
_
_
0 0 0
0 0 0
0 0 0
_
_
= 0
Thus AB = BA = 0
(b) AC =
_
_
2 3 5
1 4 5
1 3 4
_
_
_
_
2 2 4
1 3 4
1 2 3
_
_
=
_
_
2 3 5
1 4 5
1 3 4
_
_
= A
(c) CA =
_
_
2 2 4
1 3 4
1 2 3
_
_
_
_
2 3 5
1 4 5
1 3 4
_
_
=
_
_
2 2 4
1 3 4
1 2 3
_
_
= C
(d) ACB = (AC)B = (A)B = AB = 0
CBA = C(BA) = C 0 = 0
(e) (A B)
2
= A
2
AB BA +B
2
= A
2
+B
2
since AB = BA = 0
(f) (A B)(A +B) = A
2
BA +AB B
2
=
A
2
B
2
since AB = BA = 0
Example 8: Prove that (a) trace (A +B) = trace A
+ trace B (b) trace (kA) = k trace A.
Solution: (a) Trace (A +B) =
n
i=1
(a
ii
+b
ii
)
=
a
ii
+
b
ii
= trace A + trace B
chap-1 B.V.Ramana August 30, 2006 9:40
MATRICES AND DETERMINANTS 1.5
(b) Trace (kA) =
n
i=1
(ka
ii
) = k
n
i=1
a
ii
= k trace A
Example 9: Express A =
_
_
5 2 1
7 1 5
3 7 4
_
_
as the
product of LU where L and U are lower and upper
triangular matrices (known as LU-decomposition or
Factorization).
Solution: Let the lower triangular matrix be
L =
_
_
l
11
0 0
l
21
l
22
0
l
31
l
32
l
33
_
_
while U =
_
_
u
11
u
12
u
13
0 u
22
u
23
0 0 u
33
_
_
be the upper triangular matrix. Then
A =
_
_
5 2 1
7 1 5
3 7 4
_
_
= LU
_
_
l
11
0 0
l
21
l
22
0
l
31
l
32
l
33
_
_
_
_
u
11
u
12
u
13
0 u
22
u
23
0 0 u
33
_
_
Equating the corresponding component on both
sides, we have l
11
u
11
= 5, l
11
u
12
= 2, l
11
u
13
= 1,
l
21
u
11
= 7, l
21
u
12
+l
22
u
22
= 1, l
21
u
13
+l
22
u
23
=
5, l
31
u
11
= 3, l
31
u
12
+l
32
u
22
= 7, l
31
u
13
+l
32
u
23
+l
33
u
33
= 4.
Since there are 12 unknowns and 9 equations only,
to get a unique solution, assume that
l
11
= l
22
= l
33
= 1
Now u
11
= 5, u
12
= 2, u
13
= 1. Then l
21
=
7
u
11
=
7
5
, u
22
= (1 l
21
u
12
)/l
22
_
1
7
5
(2)
__
1 =
19
5
, u
23
= (5 l
21
u
13
)/l
22
=
_
5
7
5
1
_
=
32
5
, l
31
=
3
u
11
=
3
5
.
Similarly l
32
=
41
19
, u
33
=
327
19
. Thus A = LU =
_
_
1 0 0
7
5
1 0
3
5
41
19
1
_
_
_
_
5 2 1
0
19
5
32
5
0 0
327
19
_
_
1.5 MATRICES
EXERCISE
1. If A =
_
_
2 2 3
5 0 2
3 1 4
_
_
, B =
_
_
3 4 2
4 2 5
2 0 3
_
_
,
C =
_
_
4 6 2
0 3 2
7 2 3
_
_
nd (a) A +B, (b) A B, (c) 3B, (d) verify
A +(B C) = (A +B) C, (e) Find D such
that C +D = B, (f) AB, (g) BA, (h) Is AB =
BA, (i) AC, (j) verify A(B +C) = AB +AC
(k) Is AB = AC, (l) Is AC = CA
Ans. (a) A +B =
_
_
5 2 1
9 2 7
5 1 7
_
_
(b) A B =
_
_
1 6 5
1 2 3
1 1 1
_
_
(c) 3B =
_
_
9 12 6
12 6 15
6 0 9
_
_
(e) Hint: B C =
_
_
1 10 0
+4 1 3
5 2 0
_
_
= D
(f) AB =
_
_
8 4 5
19 20 16
13 14 13
_
_
(g) BA =
_
_
8 4 9
33 3 12
13 1 9
_
_
(h) No. In general AB = BA
(i) AC =
_
_
13 24 1
34 26 16
40 12 16
_
_
(j) Hint: B +C =
_
_
7 2 4
4 5 7
9 2 6
_
_
(l) No (j) Hint: CA =
_
_
44 6 8
21 2 14
13 11 13
_
_
, No
AC = CA
2. Determine the orders of the matrices A having m
rows and m + 5 columns and B having n rows
and 11 n columns if both AB and BA exist.
chap-1 B.V.Ramana August 30, 2006 9:40
1.6 MATHEMATICAL METHODS
Ans. A
38
; B
83
3. Compute the product AB, BA given that A +B
=
_
1 1
3 0
_
and A B =
_
3 1
1 4
_
. Is BA = AB
Ans. AB =
_
2 2
0 6
_
, BA =
_
4 2
2 4
_
, No
Hint: A =
_
2 0
2 2
_
, B =
_
1 1
1 2
_
4. State why in general (a) (A B)
2
= A
2
2AB +B
2
(b) A
2
B
2
= (A B)(A +B)
(c) Verify the results (a) and (b) for A and B in
the above problem 3.
Ans. Since AB = BA in general.
5. If A =
_
_
1 2 2
0 2 1
1 2 2
_
_
, verify that A
3
5A
2
+
8A 4I = 0
6. If A =
_
cos sin
sin cos
_
show that A
n
=
_
cos n sin n
sin n cos n
_
by using mathematical
induction.
7. Is AB = BA given that
A =
_
_
1 3 0
1 2 1
0 0 2
_
_
, B =
_
_
2 3 4
1 2 3
1 1 2
_
_
8. Determine the values of x for which the matrix A
is nonsingular where A =
_
_
1 2x 3x
1 1 2
x 3 0
_
_
Ans. A is nonsingular for any x other than 3 and
2
3
Hint: |A| =3x
2
11x+6
= (x 3)
_
x
2
3
_
= 0
9. If A =
_
3 1
0 1
_
, B =
_
1 5
7 2
_
then nd (a) A
T
(b)
B
T
(c) (A +B)
T
(d) (A B)
T
(e) A
T
+B
T
(f) A
T
B
T
(g) Verify (A +B)
T
= A
T
+B
T
(h) Is (A B)
T
= A
T
B
T
(i) (AB)
T
(j) B
T
A
T
(k) Verify that (AB)
T
= B
T
A
T
Ans. (a) A
T
=
_
3 0
1 1
_
(b) B
T
=
_
1 7
5 2
_
(c) (A +B)
T
=
_
4 7
6 3
_
(d) (A B)
T
=
_
2 7
4 1
_
(e) A
T
+B
T
=
_
4 7
6 3
_
(g) True
(h) (A B)
T
= A
T
B
T
(i) (AB)
T
=
_
10 7
17 2
_
(j) B
T
A
T
=
_
10 7
17 2
_
(k) True
10. Express A =
_
_
3 5 2
0 8 2
6 2 8
_
_
as product LU where L
and U are lower and upper triangular matrices.
Ans. L =
_
_
1 0 0
0 1 0
2 1 1
_
_
, U =
_
_
3 5 2
0 8 2
0 0 6
_
_
1.6 DETERMINANTS
Although determinants are inefcient in practical
computations, they are useful in vector algebra,
differential equations and eigenvalue problems. A
determinant is a scalar (numerical value) associated
with only square matrix A = [a
ij
] and is denoted as
determinant of Aor det Aor |A|. Thus a determinant
is a scalar-valued function whose domain is a set of
square matrices. A determinant of an n n square
matrix A is a scalar given by
D = det A =
a
11
a
12
. . . a
1n
a
21
a
22
. . . a
2n
.
.
.
a
n1
a
n2
. . . a
nn
(1)
The determinant D is said to be of order n and con-
tains n
2
elements or quantities (which may be num-
bers or functions), arranged in n rows and n columns.
chap-1 B.V.Ramana August 30, 2006 9:40
MATRICES AND DETERMINANTS 1.7
The principal diagonal of the determinant is the slop-
ing line of elements from left top corner a
11
to a
nn
.
Note that in the matrix representation the elements
a
ij
are enclosed between brackets [ ] or ( ) or || ||,
whereas in the determinant the elements are enclosed
between vertical lines or bars | |. For n = 2, the second
order determinant is dened by
D = detA =
a
11
a
12
a
21
a
2
= a
11
a
22
a
21
a
12
. (2)
i.e. second order determinant = difference between
the product of elements of principal diagonal and the
product of the elements of the other diagonal.
For n = 1,
D = det[a
11
] = [a
11
] = a
11
Note: Here vertical bars does not denote absolute
value. Thus det [5] = | 5| = 5
Minor of an element a
ij
of a matrix A, denoted by
M
ij
, is an (n 1) order determinant of the submatrix
of Aobtained by omitting the ith rowand jth column
in A.
Cofactor of an element a
ij
of a matrix A, denoted
by C
ij
, is a signed minor of a
ij
i.e. C
ij
= (1)
i+j
M
ij
Laplace Expansion
Laplace Expansion is the expansion of determinant
in terms of the cofactors. For n 2
D =
n
j=1
a
ij
C
ij
= a
i1
C
i1
+a
i2
C
i2
+ +a
in
C
in
(row wise for any i = 1, 2, . . . or n) (3)
or
D =
n
i=1
a
ij
C
ij
=a
1j
C
1j
+a
2j
C
2j
+ +a
nj
C
nj
(4)
(column wise for any j = 1, 2, . . . or n).
Thus the value of a determinant is the sum of the
products of elements of any row (or column) and
their respective cofactors. However sum of products
formed by multiplying the elements of a row (or col-
umn) of Aby the corresponding cofactors of another
row (or column) of A is zero i.e.
n
k=1
a
ik
C
jk
=
ij
|A|
or
n
k=1
a
kj
C
ki
=
ij
|A|. Here
ij
is the Kronecker
delta. So it is convenient to choose the rowor column
in the determinant with zeros in it, since these terms
in the expansion will vanish. The expansion of D by
(3) or (4) involves n! determinants since D is dened
in terms of n determinants of order (n 1), each of
which is in turn dened in terms of (n 1) determi-
nants of order (n 2) and then (n 2) determinants
of order (n 3) and so on. As the number of calcula-
tions of an nth order determinant is N(n) en!, even
for n = 25, computing time is 4 10
19
sec s 10
12
years. However with the use of several properties of
determinants which are listed below, the determinant
can be triangularized. In this case, the number of cal-
culations N(n)
2n
3
3
. For n = 25, computation time
is 0.01 second (against 10
12
years which is incredi-
ble!)
Properties of Determinants
1. If all the elements of any one row (or column) are
zero, then det A = 0.
2. If any two rows (or columns) are proportional to
each other, then det A = 0.
3. If any row (or column) is a linear combination of
other rows (or columns), then det A = 0.
4. If all the elements of any row or column are mul-
tiplied by k, giving rise to a new matrix B, then
det B = k det A.
5. If B = kA then det B = det (kA) = k
n
det A.
6. det (A
T
) = det (A).
7. In general, det (A +B) = det (A) +
det (B) i.e. determinant ( ) is not linear.
8. If any two rows (or columns) of A are inter-
changed, yielding a new matrix B then
det B = det A.
9. If k times the elements of any row (or column) in
A are added to the corresponding elements of any
row (or column) in A, giving rise to a new matrix
B, then det B = det A. This operation is written
symbolically as
chap-1 B.V.Ramana August 30, 2006 9:40
1.8 MATHEMATICAL METHODS
r
i
r
i
+k r
j
i.e., elements of jth rowmultiplied by k are added
to the corresponding elements of the ith row. Here
the ith row gets modied. Similarly
c
i
c
i
+k c
j
10. If A is a (upper or lower) triangular matrix or
diagonal matrix then
det A = a
11
a
22
a
nn
i.e. value of the determinant is the product of the
diagonal elements.
11. If each element of a row (or column) consists of
m terms (two: binomials, three: trinomial etc),
then the determinant is expressed as the sum of
m determinants. Suppose any row (or column)
of A is a binomial say a = b +c then
det A|
a
= det A|
b
+det A|
c
.
Here A|
a
is the original matrix, A|
b
is the matrix
obtained from the original matrix A|
a
by replacing
a by b and similarly A|
c
by replacing a by c.
Extending this, if the elements of say three rows
(or columns) consists of m, n, p terms respectively
then the original determinants can be expressed as
the sum of m n p determinants as stated above.
Product of Determinants
12. For any n n matrices A and B
det (AB) = det (BA) = det A det B
Note: If A is singular, then AB is also singular so
det A = 0, det AB = 0. Thus 0 = 0
13. If C = det A det B, then the i, jth element of C
is obtained by multiplying the ith row(or column)
of A with jth column (or row) of B. Note that in
matrix multiplication i, jth element is obtained
by multiplying the ith row of A with jth column
of B. Whereas in determinant multiplication, ijth
element is obtained either by multiplying (ith row
of A with jth column of B) or (ith row of A with
jth rowof B) or (ith column of Awith jth column
of B) or (ithcolumnof Awithjthrowof B). Thus,
in determinant multiplication we can multiply row
by row, row by column, column by row or column
by column.
14. Derivative of a Determinant
If the elements a
ij
of a matrix A are differentiable
functions of a parameter t , then the derivative of
the determinant A equals to sum of n determinants
obtained by replacing in all possible ways the ele-
ments of one row (or column) of |A| by their deriva-
tives wrt t , i.e.
d
dt
(det A) =
da
11
dt
da
1n
dt
a
21
a
2n
.
.
.
a
n1
a
nn
a
11
a
1n
da
21
dt
da
2n
dt
.
.
.
a
n1
a
nn
+
+ +
a
11
a
1n
.
.
.
a
n1, 1
a
n+1, n
da
n1
dt
da
nn
dt
). Suppose for x = x
, k rows (or
columns) become identical then det A = 0. So con-
sequently det A must contain a factor (x x
)
k1
.
16. Singular
Amatrix Ais said to be singular if |A| = 0, otherwise
A is said to be nonsingular i.e., determinant of A is
non zero (|A| = 0).
WORKED OUT EXAMPLES
Example 1: Find all the cofactors and evaluate
A =
2 3
4 5
Solution: C
11
= cofactor of 2 = 5,
C
12
= cofactor of 3 = 4,
C
21
= cofactor of 4 = 3,
chap-1 B.V.Ramana August 30, 2006 9:40
MATRICES AND DETERMINANTS 1.9
C
22
= cofactor of 5 = 2
By Laplace expansion about the rst row,
|A| = 2 C
11
+3 C
12
= 2(5) +3(4)
= 10 +12 = 2
By Laplace expansion about the second row
|A| = 4 C
21
+5 C
22
= 4 (3) +5 (2)
= 12 10 = 2
Similarly about rst column
|A| = (2)(5) 4(3) = 10 +12 = 2
About 2nd column, |A| = 3(+4) +5(2) = 2
Example 2: Find the minors M
21
, M
13
, cofactors
C
22
, C
32
and evaluate the determinant
|A| =
12 27 12
28 18 24
70 15 40
Solution: M
21
= minor of 28 =
27 12
15 40
28 18
70 15
= 840
C
22
= cofactor of 18 = (1)
2+2
M
22
=
12 12
70 40
= 360
C
32
= cofactor of 15 = (1)
3+2
M
32
=
12 12
28 24
1 2 3 4
2 1 4 3
3 4 2 1
4 3 1 2
Solution: R
2
R
2
2 R
1
, R
3
R
3
3 R
1
,
R
4
R
4
4 R
1
|A|
1 2 3 4
0 3 2 5
0 2 7 11
0 5 11 14
3 2 5
2 7 11
5 11 14
R
2
R
2
R
1
= (1)
3 2 5
1 5 6
5 11 14
R
1
R
1
+3R
2
R
3
R
3
+5R
2
= (1)
0 17 23
1 5 6
0 36 44
0 0 0 0 0 1
0 0 0 0 2 1
0 0 0 3 2 1
0 0 4 3 2 1
0 5 4 3 2 1
6 5 4 3 2 1
1 0 0 0 0 0
1 2 0 0 0 0
1 2 3 0 0 0
1 2 3 4 0 0
1 2 3 4 5 0
1 2 3 4 5 6
=(1234 56)
= 720
since B is an lower triangular matrix.
Example 5: Find the value of
1 15 14 4
12 6 7 9
8 10 11 5
13 3 2 16
1 15 14 4
12 6 7 9
4 4 4 4
12 12 12 12
1 15 14 4
12 6 7 9
1 1 1 1
1 1 1 1
;
R
4
R
4
+R
1
= 48
1 15 14 4
12 6 7 9
1 1 1 1
0 0 0 0
= 48 0 = 0
since all the entries of the 4th row are zero.
Example 6: Evaluate
Solution: Performing R
3
R
3
R
2
, R
1
R
1
R
2
,
a b b b
b a b b
b b a b
b b b a
a +(n 1)b b b
a +(n 1)b a b
a +(n 1)b b b
a +(n 1)b b a
= a +(n 1)b
1 b b b
1 a b b
1 b a b
1 b b a
when a = b, R
1
= R
2
= R
3
= = R
n
i.e. all the n
rows are identical and so determinant vanish. Thus
by factor theorem, (a b)
n1
is factor of . Thus
= (a b)
n1
[a +(n 1)b].
Example 8: Show that
a +b b +c c +a
b +c c +a a +b
c +a a +b b +c
= 2
a b c
b c a
c a b
a +b b +c c +a
b +c c +a a +b
c +a a +b b +c
a b +c c +a
b c +a a +b
c a +b b +c
+
+
b b +c c +a
c c +a a +b
a a +b b +c
a b c +a
b c a +b
c a b +c
a c c +a
b a a +b
c b b +c
b b c +a
c c a +b
a a b +c
+
+
b c c +a
c a a +b
a b b +c
a b c
b c a
c a b
a b a
b c b
c a c
a c c
b a a
c b b
+
+
a c a
b a b
c b c
b c c
c a a
a b b
b c a
c a b
a b c
a b c
b c a
c a b
b c a
c a b
a b c
a b c
b c a
c a b
+(1)(1)
a b c
b c a
c a b
= 2
a b c
b c a
c a b
1 +a
1
a
2
a
3
a
n
a
1
1 +a
2
a
3
a
n
a
1
a
2
1 +a
3
a
n
.
.
.
.
.
.
a
1
a
2
a
3
1 +a
n
= 1 +a
1
+a
2
+ +a
n
.
Solution: Performing R
2
R
2
R
1
, R
3
R
3
R
1
, . . . , R
n
R
n
R
1
(i.e. subtracting the
rst row from the remaining (n 1) rows) we get
=
1 +a
1
a
2
a
3
a
4
. . . a
n
1 1 0 0 . . . 0
1 0 1 0 . . . 0
1 0 0 1 . . . 0
. . . . . . . . .
1 0 0 0 . . . 0 1
Adding C
2
, C
3
, . . . , C
n
columns to the rst column
C
1
i.e. C
1
C
1
+C
2
+C
3
+ +C
n
, we have
=
1 +a
1
+a
2
+ +a
n
a
2
a
3
a
4
. . . a
n
0 1 0 0 . . . 0
0 0 1 0 . . . 0
.
.
.
.
.
.
0 0 0 0 . . . 1
a x c b
c b x a
b a c x
= 0
or for what value of x, is zero (i.e., matrix A is
singular).
Solution: Adding C
2
, C
3
columns to the rst col-
umn C
1
, i.e, C
1
C
1
+C
2
+C
3
we have
=
a x +c +b c b
c +b x +a b x a
b +a +c x a c x
= (a +b +c x)
1 c b
1 b x a
1 a c x
performing R
2
R
2
R
1
, R
3
R
3
R
1
we get
= (a +b +c x)
1 c b
0 b x c a b
0 a c c x b
= (a +b +c x) 1 [(b x c)(c x b)
(a c)(a b)].
= (a +b +c x) (x
2
a
2
b
2
c
2
+
+ ab +bc +ca).
Thus = 0 when x = a +b +c or
x =
_
a
2
+b
2
+c
2
ab bc ca
Example 11: Compute the product directly (a)
Row by column (b) Row by row (c) Column by col-
umn (d) Column by row (e) By individually, calcu-
lating the determinants where
A =
1 1 1
2 1 3
1 0 1
, B =
2 1 1
3 1 0
1 2 4
1 1 1
2 1 3
1 0 1
2 1 1
3 1 0
1 2 4
2 0 3
4 9 14
3 3 5
= 39
(b) Row by row
AB=
1 1 1
2 1 3
1 0 1
2 1 1
3 1 0
1 2 4
2 4 3
0 7 12
1 3 3
= 39
(c) Column by column
AB =
1 1 1
2 1 3
1 0 1
2 1 1
3 1 0
1 2 4
3 5 5
1 2 1
10 4 3
= 39
chap-1 B.V.Ramana August 30, 2006 9:40
1.12 MATHEMATICAL METHODS
(d) Column by row
AB =
1 1 1
2 1 3
1 0 1
2 1 1
3 1 0
1 2 4
1 5 7
1 4 1
6 0 11
= 39
(e) A = 3, B = 13, so AB = (3)(13) = 39
Example 12: Find the derivative of the determinant
wrt x (a) using formula (b) by differentiating the
value of the (expanded) determinant wrt x.
d
dx
x 1 2
x
2
2x +1 x
3
0 3x 2 x
2
+1
x 1 2
x
2
2x +1 x
3
0 3x 2 x
2
+1
1 0 0
x
2
2x +1 x
3
0 3x 2 x
2
+1
+
+
x 1 2
2x 2 3x
2
0 3x 2 x
2
+1
x 1 2
x
2
2x +1 x
3
0 3 2x
= [(2x +1)(x
2
+1) x
3
(3x 2)] + [x
2
(x
2
+1)
3x
2
(3x 2) 1(2x(x
2
+1) 0)+
+2(2x(3x 2))] + [x((2x +1)2x 3x
3
)
x
2
(2x 6)] = 1 6x +21x
2
+12x
3
15x
4
.
(b) Expanding the given determinant
x[(2x +1)(x
2
+1) x
3
(3x 2)]
1[x
2
(x
2
+1) 0] +2[x
2
(3x 2) 0]
= 3x
5
+3x
4
+7x
3
3x
2
+x.
So
d
dx
of determinant =
d
dx
(3x
5
+3x
4
+7x
3
3x
2
+x) = 15x
4
+12x
3
+21x
2
6x +1.
Example 13: Determine the values of x for which
matrix A is non singular given
A =
_
_
3 x 2 2
2 4 x 1
2 4 1 x
_
_
Solution:
|A| = det A =
3 x 2 2
2 4 x 1
2 4 1 x
4 8
1 2
(b)
cos sin
sin cos
(c)
1 3 4
3 4 1
4 1 3
(d)
1 p p
2
1 q q
2
1 r r
2
(e)
0 1 2 3
1 0 1 2
2 1 0 3
3 2 3 0
(f)
1 1 1 1
1 2 3 4
1 3 6 10
1 4 10 20
1 2 3 2 2
2 1 1 3 2
1 1 2 1 1
1 4 3 2 5
3 2 2 2 2
(b)
1 2 3 4
2 1 4 3
2 3 4 5
3 4 5 6
(c)
21 17 7 10
24 22 6 10
6 8 2 3
6 7 1 2
(d)
3 2 2 2
2 3 2 2
2 2 3 2
2 2 2 3
x +2 2x +3 3x +4
2x +3 3x +4 4x +5
3x +5 5x +8 10x +17
1 +x 2 3 4
1 2 +x 3 4
1 2 3 +x 4
1 2 3 4 +x
(c)
x +1 2x +1 3x +1
2x 4x +3 6x +3
4x +1 6x +4 8x +4
1 a b +c
1 b c +a
1 c a +b
(b)
a b c d
a b c d
a b c d
a b c d
(c)
1 a a
2
1 b b
2
1 c c
2
(d)
1 a a
2
a
3
1 b b
2
b
3
1 c c
2
c
3
1 d d
2
d
3
(e)
1 a a
2
a
3
1 b b
2
b
3
1 c c
2
c
3
1 d d
2
d
3
(f)
1 x
1
x
2
1
. . . x
n1
1
1 x
2
x
2
2
. . . x
n1
2
.
.
.
1 x
n1
x
2
n1
. . . x
n1
n1
1 x
n
x
2
n
. . . x
n1
n
1 +a 1 1 1
1 1 +b 1 1
1 1 1 +c 1
1 1 1 1 +d
=
abcd
_
1 +
1
a
+
1
b
+
1
c
+
1
d
_
Hint: Take a, b, c, d common from
R
1
, R
2
, R
3
, R
4
. Add R
2
, R
3
, R
4
to R
1
,
take common 1 +
1
a
+
1
b
+
1
c
+
1
d
, subtract C
1
from C
2
, C
3
, C
4
.
6. Evaluate
a
2
+x ab ac ad
ab b
2
+x bc bd
ac bc c
2
+x cd
ad bd cd d
2
+x
Ans. x
3
(a
2
+b
2
+c
2
+d
2
+x)
Hint: Divide by abcd, multiply C
1
, C
2
, C
3
, C
4
by a, b, c, d. Take a, b, c, d common from
R
1
, R
2
, R
3
, R
4
. Add C
2
, C
3
, C
4
to C
1
, subtract
R
1
from R
2
, R
3
, R
4
7. Find
(b +c)
2
a
2
a
2
b
2
(c +a)
2
b
2
c
2
c
2
(a +b)
2
a +b c c
a b +c a
b b c +a
= 4abc
Hint: Expand into 8 determinants
chap-1 B.V.Ramana August 30, 2006 9:40
1.14 MATHEMATICAL METHODS
9. Show that
a b a b
b a b a
c d c d
d c d c
= 4(a
2
+b
2
)(c
2
+d
2
)
Hint: Add C
1
to C
3
, C
2
to C
4
. Take 2 2 = 4
common. Then subtract C
3
from C
1
, C
4
from
C
2
expand
10. Show that
2b
1
+c
1
c
1
+3a
1
2a
1
+3b
1
2b
2
+c
2
c
2
+3a
2
2a
2
+3b
2
2b
3
+c
3
c
3
+3a
3
2a
3
+3b
3
= 31
a
1
b
1
c
1
a
2
b
2
c
2
a
3
b
3
c
3
2 1 1
3 1 0
1 2 4
and
1 3 4
2 1 0
0 1 3
2 1 1
1 2 1
0 1 0
, B =
1
2
0 1
1 0 1
1 2 3
. Then com-
pute 15A
2
2AB B
2
without calculating A
and B independently
Ans. 15 1 2 1 1 = 12
Hint: A
2
=
2 1 1
1 2 1
0 1 0
2 1 1
1 2 1
0 1 0
6 5 1
5 6 2
1 2 1
= 1
Similarly AB =
0 1 7
1
2
0 8
0 0 2
= 1,
B
2
=
1
4
5 3 5
3 2 2
5 2 14
= 1
13. Find the derivatives of
x
2
x
3
2x 3x +1
Ans. 2x +9x
2
8x
3
14. Find the derivative of
x
2
x +1 3
1 2x 1 x
3
0 x 2
b
2
+ac bc c
2
ab 2ac bc
a
2
ab b
2
+ac
Ans. 4a
2
b
2
c
2
Hint: |A| =
b c 0
a 0 c
0 a b
2
16. Obtain all solutions of the following equations.
(a)
1 3 x
2x 3 1 x 3x +1
2 x 2
= 9x 28
(b)
1 x x +2 x 2 100
0 x x 2 x +2 100
0 0 x +2 x 2 100
0 0 0 x 2 x +2
0 0 0 0 100
= 0
Ans. (a) x = 1, 3i (b) x = 0, 2