D5 - Matrices
D5 - Matrices
2. Matrices
2.1 Introduction
A matrix is a rectangular array of numbers
arranged in rows and columns and enclosed in
a pair of brackets.
Examples
1 2 6 2
2 2
7 9 3 , 3
1 5
,
2 0 3 4
Square Matrices
A matrix is called a square matrix when the
number of rows is equal to the number of
columns.
a11 a12 . . a1n
a21 . . . a2 n
. . . . .
. . . . .
a . . ann
n1 an 2
In a square matrix the elements having equal
subscripts i=j , such as a11 , a22 ,...ann form the
diagonal of the matrix.
Diagonal matrix
A square matrix whose only non zero elements
are in the diagonal is called a diagonal matrix.
1 0 0
0 3 0
i.e.
0 0 2
Unit matrix
A diagonal matrix whose elements of the
diagonal are all equal to 1 is a unit or an
identity matrix and is denoted by I
Transpose of a matrix
The matrix obtained from a given matrix by
interchanging its rows and its columns is
called the transpose of this matrix
If the given matrix is A the transpose of A is
denoted by AT.
3 1
3 2 5
AT 2 4
If A= 1 4 7 then
5 7
lower triangular.
Scalar multiplication
A matrix is multiplied by a number, when all its
elements are multiplied by that number.
A aij mn then kA kaij mn
Example
1 3 5 1 0 0
A 2 4 1 B 0 2 3
If 3 1 4
and 1 0 2
find the matrix
X such that 3( A 2 B 2 X ) 2 A B 4 X
3( A 2 B 2 X ) 2 A B 4 X 3 A 6 B 6 X 2 A B 4 X
1
2 X A 7B X ( A 7 B)
2
3 5
1 3 5 1 0 0 3
1 2 2
X 2 4 1 7 0 2 3 1 5 10
2
3 1 4 1 0 2 5 1 5
2
c11 c12
= c21 c22
1 3 3 2 0 3 11 3 21
A B 2 5 1 1 3 5 11 11 32
3 1 2 2 4 1 1 5 2
2 0 3 1 3 3 7 9 12
B A 1 3 5 2 5 1 8 23 16
2 4 1 3 1 2 9 13 4
A B B A
2 4
1 2 0
A and B 1 2
If 1 we can
2
3 1 7
show that AB 0 .
HVS de Silva Department of Mathematics Page 8
This proves that if A and B are matrices
such that A 0, B 0 the product AB can be a
null matrix.
NOTE
If AB = 0 it does not necessarily follow that
either A= 0 or B=0.
(i) ( A ) A
T T
(ii) ( A B) A B
T T T
(iii) ( kA) T
k AT
(iv) ( AB) B A
T T T
Exercises
1. In the case of a skew symmetric matrix
show that all the elements in the principal
diagonal are zero.
A is a skew symmetric marix
A AT
( A AT )T AT A ( A AT ) is skew
symmetric
3. Given the following matrices verify that ,
(AB)T = BT AT .
2 1
2 1 1
3 0 1 0 3
A= 1 3 2
, B=
1 2
1j
1 j
a ( 1) M1 j
j 1
e.g.
a1 a2 a3 a1 kc1 a2 kc2 a3 kc3
b1 b2 b3 b1 b2 b3 , R1 R1 k R3
c1 c2 c3 c1 c2 c3
Exercises
a b c 1 1 1
1
a1 b1 c1 a1bc b1ca c1ab
1. Prove that abc
a2 b2 c2 a2bc b2ca c2 ab
a b c abc b c
1
a1 b1 c1 a1bc b1 c1
= bc a bc b c2
a2 b2 c2 2 2
1 1 1
abc
a1bc b1ac c1ab
(bc)(ac)(ab)
a2bc b2 ac c2 ab
1 1 1
1
a1bc b1ac c1ab
abc
a2bc b2 ac c2 ab
1 a a3 1 a a3
1 b b3 0 b a b 3 a 3 , R2 R2 R1 , R3 R3 R1
1 c c3 0 c a c3 a3
Note:
The following operations are applied on
previous determinant.
R2 R2 R1, R3 R3 R1
b a b3 a3
c a c3 a3
1 b 2 ab a 2
(b a)(c a)
1 c 2 ca a 2