Week 4 M3Lesson 2 - 3
Week 4 M3Lesson 2 - 3
Week 4 M3Lesson 2 - 3
Review of Matrices,
Operations, Vectors,
Determinants, Ranks
M3: Review of Matrices, Operations,
Vectors, Determinants, Ranks
Examples
A 2 x 2 Matrix A 3 x 2 Matrix
1 2 1 2
1 2 1 2 or B = 3 4
A= or A = B= 3 4
3 4 3 4 5 6
5 6
Types of Matrices
1. ROW MATRIX – is a matrix having only one row. It is also called as a row
vector.
Examples
A= 1 2 3 B= 𝑎 𝑏 𝑐
Types of Matrices
2. COLUMN MATRIX – is a matrix having only one column. It is also called as
column vector.
Examples
1 𝑥
A= 2 B= 𝑦
3 𝑧
Types of Matrices
3. RECTANGULAR MATRIX – is a matrix having unequal number of rows and
columns. Row vector and column vector are examples of rectangular matrix.
Examples
1
𝑎 𝑏 𝑐
A= 2 B=
𝑑 𝑒 𝑓
3
Special Matrices
1. DIAGONAL MATRIX – is one for which nonzero entries may only occur on the
main diagonal.
Examples Scalar Matrix
a diagonal matrix whose elements along
1 0 0 the principal diagonal are all equal
A=
0 0 2
2 0 0
3 0 0 B= 0 2 0 = 2I
B= 0 4 0 0 0 2
0 0 5
main diagonal entries
Special Matrices
2. SQUARE MATRIX – is a matrix having same number of rows and columns.
Properties
1. Zero or Null Matrix 2. Identity or Unit Matrix (I)
0 0 1 0
A= C=
0 0 0 1
0 0 0 1 0 0
B= 0 0 0 D= 0 1 0
0 0 0 0 0 1
Special Matrices
3. SYMMETRIC MATRIX – a matrix is said to be symmetric if 𝑎𝑖,𝑗 = 𝑎𝑗,𝑖 for all i,j
= 1,2….n. Alternatively, it can also be represented as A = AT
Examples
1 2 3
1 2 B= 2 4
A= 5
2 3
3 5 6
Special Matrices
3. SYMMETRIC MATRIX – a matrix is said to be symmetric if 𝑎𝑖,𝑗 = 𝑎𝑗,𝑖 for all i,j
= 1,2….n. Alternatively, it can also be represented as A = AT
Transpose of a Matrix
1. Unsymmetrical matrix 2. Symmetrical matrix
1 𝑎 𝑏 𝑎 1 2
B= 𝑑 1 𝑐 C= 1 𝑏 3
𝑒 𝑓 1 2 3 𝑐
1 𝑑 𝑒 𝑎 1 2
BT = 𝑎 1 𝑓 CT = 1 𝑏 3
𝑏 𝑐 1 𝐁 ≠ 𝐁𝐓 2 3 𝑐 𝐂 = 𝐂𝐓
Special Matrices
4. TRIANGULAR MATRIX – is a square matrix whose elements above or below
the principal diagonal are zeroes.
Properties
1. Upper triangular matrix 2. Lower triangular matrix
𝒂𝒊,𝒋 = 𝟎 𝐢𝐟 𝒊 > 𝒋 𝒂𝒊,𝒋 = 𝟎 𝐢𝐟 𝒊 < 𝒋
Examples
𝑎 𝑏 𝑎 𝑏
A= 1 2 3 C= D=
𝑐 𝑑 𝑐 𝑑
B= 1 2 3
The order of C is 2 by 2
The order of A is 1 by 3 while that of D is 2 by 2
while that of B is 1 by 3 also. All elements for both
also. All elements for both matrices are equal.
matrices are equal.
𝐂=𝐃
𝐀=𝐁
Operation of Matrices
2. ADDITION OF MATRICES – The sum of two matrices having the same order or
dimension is the sum of the corresponding entries or elements of the two matrices.
Examples
1. Adding two matrices with similar order or dimension
1 2 3 −2 2 −3
A= 4 5 6 B= 4 1 5
7 8 9 5 3 2
Operation of Matrices
2. ADDITION OF MATRICES – The sum of two matrices having the same order or
dimension is the sum of the corresponding entries or elements of the two matrices.
Examples
2. Adding a matrix and a scalar number
1 2 3
A= 4 5 6 x=2
7 8 9
Operation of Matrices
2. ADDITION OF MATRICES – The sum of two matrices having the same order or
dimension is the sum of the corresponding entries or elements of the two matrices.
Examples
3. Proving a theorem regarding transpose of a matrix
1 2 3 −2 2 −3
A= 4 5 6 B= 4 1 5
7 8 9 5 3 2
𝐓
𝐀+𝐁 = 𝐀𝐓 + 𝐁 𝐓
Operation of Matrices
3. SUBTRACTION OF MATRICES – The difference of two matrices having the same
order is the difference of the corresponding entries or elements of the two matrices.
Example
Subtract matrix A by matrix B
1 2 3 −2 2 −3
A= 4 5 6 B= 4 1 5
7 8 9 5 3 2
Operation of Matrices
4. MULTIPLICATION OF MATRICES – Multiplication of matrices can be done only if the
number of columns of the left hand matrix is equal to the number of rows on the right
hand matrix. The elements of the products are formed by multiplying each element in the
𝑖 𝑡ℎ row of the left hand matrix by the corresponding element in the 𝑗𝑡ℎ column of the
right hand matrix.
Note: Multiplication of matrices is not commutative!
Examples
1. Multiply matrix A by matrix B
1 2 1
A= B=
3 4 2
Operation of Matrices
4. MULTIPLICATION OF MATRICES – Multiplication of matrices can be done only if the
number of columns of the left hand matrix is equal to the number of rows on the right
hand matrix. The elements of the products are formed by multiplying each element in the
𝑖 𝑡ℎ row of the left hand matrix by the corresponding element in the 𝑗𝑡ℎ column of the
right hand matrix.
Note: Multiplication of matrices is not commutative!
Examples
2. Multiply matrix A by a scalar number x
1 2
A= x=2
3 4
Operation of Matrices
5. DIVISION OF MATRICES – Division of matrices can be done only by multiplying the
given matrix by the inverse of the denominator matrix.
𝐀
= 𝐀𝐁 −𝟏
𝐁
𝐁
= 𝐁𝐀−𝟏
𝐀
Operation of Matrices
6. INVERSE OF A MATRIX – Rules in finding the Inverse of a Matrix: (say Matrix A)
1. Find the determinant of A.
2. Form the transpose of matrix A (𝐴𝑇 )
3. Form the adjoint matrix
4. Divide each element of the adjoint matrix by the determinant
1 2 1 2
A= B=
3 4 3 6
Operation of Matrices DIVISION OF MATRICES
−57 −2 45
14 7 14
−41 4 25
ans. R= 7 7 7
−5 1 1
7 7 7
Romans 8:28
God Bless!