U1-L-1 Matrices and Types of Matrix
U1-L-1 Matrices and Types of Matrix
LECTURE-1
(Matrices)
Introduction and Types
Matrices
(Introduction)
Definition:
A matrix is a set or group of numbers arranged in a square
or rectangular array enclosed by two brackets
Column-1 Column-2 Column-3
1 2 4 Row-1
Example: 4 1 5
Row-2
3 3 3 Row-3
0 3 5 2 1 1 6
Some Examples:
1 1
3 7 1 1 1 0 0
2 0 3 3 0
7 7 2x5
7 6 mn
4x2
4. Square matrix
The number of rows is equal to the number of columns
then matrix is known as Square matrix.
A= [aij]mxn where, m = n (a square matrix A has an
order of m)
Some Examples:
1 1 1 1 1
9 9 0
3 0
6 6 1
2x2 3x3
Some Examples:
1 0 0 1 0 0 1 8 9
2 1 0 2 1 0 0 1 6
5 2 3 5 2 3 0 0 3
8a. Upper triangular matrix
A square matrix whose elements below the main
diagonal are all zero, is Upper Triangular matrix.
Some Examples:
1 7 4 4
1 8 7 0
0 1 8 1 7 4
0 0 7 8
0 0 3
0 0 0 3
1 0 0
2 1 0
5 2 3
1 0 0
2 1 0
A=
5 2 3
1 0 0
2 1 0
B=
3 A=B
5 2
Some properties of equality:
• If A = B, and B = C,
then A = C for all A, B and C
6 4 2 1 2 0 5 2 2
3 2 7 1 0 8 2 2 1
A+0=0+A=A
A + (-A) = 0
(where –A is the matrix composed of –aij as elements)
SCALAR MULTIPLICATION OF MATRICES
3 1 3 1 12 4
2 1 2 1 8 4
4 4
2 3 2 3 8 12
4 1 4 1 16 4
Properties of scalar multiplication with matrix:
• k (A + B) = kA + kB
• (k + g)A = kA + gA
• k(AB) = (kA)B = A(k)B
• k(gA) = (kg)A
Example-1:
Solution
:
MULTIPLICATION OF MATRICES
Example. A x B = C
(1x3) (3x1) (1x1)
B x A = Not possible!
(2x1) (4x2)
A x B = Not possible!
(6x2) (6x3)
A x B = C
(2x3) (3x2) (2x2)
31 21
63 57
Remember also:
IA = A
Solution:
Example-2
Solution: