sample matrices
sample matrices
sample matrices
Th
is
PD
F
be
lo
ng
s
Introduction
to
(,
)
A matrix is an ordered rectangular array of numbers or functions. The
numbers or functions are called the elements or the entries of the matrix.
pens by Radha and her two friends Fauzia and Simran which is as follows:
15 6 First Row
10 2 Second Row
13 5 Third Row
First Second
column column
In the above examples, the horizontal lines of elements are said to constitute,
rows of the matrix and the vertical lines of elements are said to constitute,
Th
is
columns of the matrix. Thus, the above matrice has 3 rows and 2 columns
PD
F
be
lo
ng
s
to
Order of a matrix
(,
)
A matrix having m rows and n columns is called a matrix of order m × n or simply
column
a 11 a 12 a 13 a 14 a15
a 21 a 22
a 23 a 24 a 25
a 31 a 32
a 33 a 34 a35
. . . . .
. . . . .
. . . . .
. . . . .
. . . . .
a m1 a m2 a m3 a m4 a m5
mxn
or A = [aij ]m × n , 1≤ i ≤ m, 1≤ j ≤ n i, j ∈ N
In general aij , is an element lying in the ith row and jth column. We can also call
Th
is
PD
equal to mn
F
be
lo
ng
s
to
(,
)
NOTE
We shall consider only those matrices whose elements are real numbers or functions
Example
Consider the following information regarding the number of men and women
I 30 25
II 25 311
III 27 26
Represent the above information in the form of a 3 × 2 matrix. What does the
Th
is
PD
30 25
F
be
lo
ng
s
to
A= 25 31
(,
)
27 26
The entry in the third row and second column represents the number of women
Example
If a matrix has 8 elements, what are the possible orders it can have?
Solution
all possible orders of a matrix with 8 elements, we will find all ordered pairs of
natural numbers, whose product is 8. Thus, all possible ordered pairs are (1, 8),
(8, 1), (4, 2), (2, 4) Hence, possible orders are 1 × 8, 8 ×1, 4 × 2, 2 × 4
Types of Matrices
Column matrix :
Th
is
PD
F
be
A matrix is said to be a column matrix if it has only one column.
lo
ng
s
to
0
(,
)
1/2
For example, A= is a column matrix of order 4 × 1.
-1
For example, B =
[ 4 -6 1/2 7
[ is a row matrix.
Square matrix :
A matrix in which the number of rows are equal to the number of columns, is
3 1
0 2
2x2
Diagonal matrix :
Th
is
PD
diagonal elements are zero, that is a matrix B = [b ij ]m × m is said to be a
F
be
lo
ng
diagonal matrix if b ij = 0, when i ≠ j.
s
to
(,
)
1 0 0
0 2 0
0 0 3
Scalar matrix :
A diagonal matrix is said to be a scalar matrix if its diagonal elements are equal,
that is, a square matrix B = [b ij ]n × n is said to be a scalar matrix if
b ij = 0, when i ≠ j
2 0 0
0 2 0
0 0 2
Identity matrix
A square matrix in which elements in the diagonal are all 1 and rest are all zero
a n 1 if 0 if identity matrix, if
1 0 0
0 1 0
0 0 1
Th
is
PD
F
be
Zero matrix :
lo
ng
s
to
(,
)
A matrix is said to be zero matrix or null matrix if all its elements are zero.
0 0 0
0 0 0
0 0 0
Equality of matrices
2 0 2 0
and are equal matrices but
3 1 3 1
3 2 3 1
and are not equal matrices.
0 1 0 2
Th
is
PD
F
be
lo
ng
Addition of matrices
s
to
(,
)
Addition of a matrix can only be done when they have the same order
matrix
2 0 6 2
A= and B =
3 1 3 5
C=A+B
2+6 0+2
C=
3+3 1+5
C= 8 2
6 6
In general, if A = [aij ] and B = [bij ] are two matrices of the same order, say
matrix C = [cij ]m × n , where cij = aij + bij , for all possible values of i and j.
Multiplication of a matrix by a scalar
Th
is
A = [aij ]m × n is a matrix and k is a scalar, then kA is another matrix which
PD
F
be
lo
is obtained by multiplying each element of A by the scalar k.
ng
s
to
(,
)
5 2 10 4
2X =
4 6 8 12
Negative of a matrix
Difference of matrices
the matrix – B.
Example
3 5 1 3
A= B=
9 8 8 9
Solution
3 5 _ 1 3
A-B=
Th
is
9 8 8 9
PD
F
be
lo
ng
s
to
3 -1 5-3
(,
A-B=
)
9-8 8-9
2 2
A-B=
1 -1
Commutative Law
then A + B = B + A.
Associative Law
For any three matrices A = [aij ], B = [bij ], C = [c ij ] of the same order, say m × n, (A
+ B) + C = A + (B + C).
then A + O = O + A = A.
Th
is
PD
F
be
lo
Properties of scalar multiplication of a matrix
ng
s
to
(,
)
(i) k(A +B) = k A + kB,
(ii) (k + l)A = k A + l A
= [k a ij ] + [k b ij ] = k [a ij ] + k [b ij ] = kA + kB
(iv) (k + l) A = (k + l) [aij]
= [(k + l) a ] + [k a ij ] + [l a ij ] = k [aij ] + l [a ij ] = k A + l A
Multiplication of matrices
for getting the elements of the product matrix, we take rows of A and
order m × p.
REMARK
Th
is
PD
F
be
lo
ng
s
to
If AB is defined, then BA need not be defined.In particular, if both A and B
(,
)
are square matrices of the same order, then both AB and BA are defined.
Associative law
For any three matrices A, B and C. We have (AB) C = A (BC), whenever both
Distributive law
(i) A (B+C) = AB + AC
For every square matrix A, there exist an identity matrix of same order such
that IA = AI = A.
Transpose of a Matrix
Th
is
PD
the rows and columns of A is called the transpose of A. Transpose of the
F
be
lo
ng
matrix A is denoted by A′ or (AT). In other words, if A = [aij ]m × n , then A′ =
s
to
(,
)
[aji ]n × m .
8 2 8 6
A= A’ =
6 6 2 6
(i) (A′)′ = A,
(iii) (A + B)′ = A′ + B′
(iv) (A B)′ = B′ A′
Th
is
PD
This means that all the diagonal elements of a skew symmetric matrix are
F
be
lo
ng
zero.
s
to
(,
)
0 e f
B= -e 0 g is a skew symmetric matrix as B′= –B
-f -g 0
Theorem 1
For any square matrix A with real number entries, A + A′ is a symmetric matrix
Proof :
B′ = (A + A′)′
= A′ + (A′)′ (as (A + B)′ = A′ + B′)
= A′ + A (as (A′)′ = A)
= A + A′ (as A + B = B + A)
=B
C′ = (A – A′)′ = A′ – (A′)′
Th
is
= A′ – A
PD
F
be
lo
=– (A – A′) = – C
ng
s
to
(,
)
Therefore C = A – A′ is a skew symmetric matrix.
Theorem 2
Any square matrix can be expressed as the sum of a symmetric and a skew
symmetric matrix.
Proof :
From the Theorem 1, we know that (A + A′) is a symmetric matrix and (A – A′)
Th
is
PD
F
be
lo
ng
s
to
If A is a square matrix of order m, and if there exists another square matrix B
(,
)
of the same order m, such that AB = BA = I, then B is called the inverse matrix
-1
of A and it is denoted by A . In that case A is said to be invertible.
Theorem 3
Proof :
Thus
B = BI = B (AC) = (BA) C = IC = C
Theorem 4
Th
is
PD
F
be
-1 -1 -1
lo
If A and B are invertible matrices of the same order, then (AB) = B A .
ng
s
to
(,
)
Proof
(AB) (AB)-1 = 1
A-1(AB) (AB)-1= A-1I
(A-1A) B (AB)-1 = A-1
-1 -1
IB (AB) = A
B (AB)-1= A-1
B-1 B (AB)-1 = B-1A-1
I (AB)-1 = B-1 A-1
(AB)-1 = B-1 A-1