Introduction To Matrices
Introduction To Matrices
By
A=
am1 am 2 aij amn
[A] with elements a ij
i goes from 1 to m
j goes from 1 to n
Types of Matrices
Column matrix or vector
Column matrix or vector : The number of
rows consists of many numbers, but the
number of columns is 1.
[ ]
0
a11 4
a21 6
⌈ 0 ⌉ 6
6 − 1
8 am1 10
Types of Matrices
Row matrix or vector
Row matrix or vector : Contains any number
of columns but only one row.
a11 a12 a13 a1n
[-2 6 9]
Types of Matrices
Rectangular matrix
Rectangular matrix: Contains more than one
element and number of rows is not equal to
the number of columns.
1 3
3 5
1 41 1 10 0
10 7 2 0 3 13 5
7 6
Types of Matrices
Square matrix
Square matrix :The number of rows is equal to the
number of columns(a square matrix [A]mx n because m=n, a
square matrix become s [A]mx m ). 6 9
13 0
m=n=2
1 1 16
9 19 10
62 6 1
Types of Matrices
Diagonal matrix
Diagonal matrix: A square matrix where all the
elements are zero except those on the main diagonal.
main diagonal
1 0 0 0
10 0 0 0
0 20 0 6 0 0
0 0 2 0
0 0 14
0 0 0 9
0 0 0 0
0 0 0 0
0 0 0 0
1 0 0 1 8 9
2 1 0 0 1 6
5 2 3 0 0 3
Types of Matrices
Upper triangular matrix
Upper triangular matrix : A square matrix whose
elements below the main diagonal are all zero.
aij 0 0 11 0 0
21 1 0
aij aij 0
aij aij aij 35 2 30
aij 0 0 1 0 0 8 0 0 0
0 1 0 0
0 aij 0 8 0 0
0 0 aij 0 0 1 0
0 8 0
aij = 0 for all i = j
0 0 0 8
aij = a for all i = j