Lecture Note Chapter 1 Part 1
Lecture Note Chapter 1 Part 1
MATRICES &
SYSTEMS OF LINEAR
EQUATIONS
By:
DR. NUR ALIAH IZZATI
1.1 Definition & Types of Matrices
Learning Outcomes
a 21 a 22 a 23 a 2n
a 31 a a a m rows
32 33 3n
a m1 a m2 a m3 a mn
n columns
The entry 𝑎13 is in the 1𝑠𝑡 row and the 3𝑟𝑑 column. Thus, 𝑎13 =______ .
Example 2
Given 𝐴 = 𝑎𝑚𝑛 3×3 . Find matrix 𝐴 if
mn mn
amn
2n m m n
Solution
𝑎11 = 1 1 =
𝑎12 =
𝑎13 =
𝑎21 =
𝑎22 =
𝑎23 =
𝑎31 =
𝑎32 =
𝑎33 =
Types of Matrices
1. Row Matrix is a 1 × 𝑛 matrix.
A a11 a12 a13 a1n
Example:
A 0 a22 a23
0 0 a33
1.2 Operation on Matrices
Learning Outcomes
Example:
1 2 4 4 3 1 3
Let A 3 2 3 , B 5 6 8 and C 2 . Find 𝐴 − 𝐵 and 𝐴 + 𝐶.
5 7 1 2 4 9 1
Solution:
1 2 4 4 3 1
A B 3 2 3 5 6 8
5 7 1 2 4 9
1 2 4 3
A C 3 2 3 2
5 7 1 1
Since matrix 𝐴 is of order 3 × 3 and matrix 𝐶 is of order 3 × 1, the matrices
have different orders. Thus, 𝐴 and 𝐶 are incompatible.
Example:
2 4
1
Given A 8 5 . Find A .
2
6 7
Solution:
Properties of Addition, Subtraction and Scalar Multiplication of
Matrices
1. Commutative: 𝐴 ± 𝐵 = 𝐵 ± 𝐴
2. Associative:
i. 𝐴 ± 𝐵 ± 𝐶 = 𝐴 ± 𝐵 ± 𝐶
ii. 𝐴 + −𝐴 = −𝐴 + 𝐴 = 𝑶
4. Zeroes: 𝑶𝐴 = 𝑶
5. Additive Identity: 𝐴 ± 𝑶 = 𝑶 ± 𝐴 = 𝐴
Example:
1 4 2 3 6 5
Let A 5 3 0 and B 4 2 6 , calculate 3𝐴 − 2𝐵.
6 1 1 5 1 8
Solution:
3𝐴 − 2𝐵 =
Multiplication of Two Matrices
• The product of two matrices 𝐴 and 𝐵 is defined only when the number of
columns in 𝐴 is equal to the number of rows in 𝐵.
• If order of 𝐴 is 𝑚 × 𝑛 and the order of 𝐵 is 𝑛 × 𝑝, then 𝐴𝐵 has order 𝑚 × 𝑝.
• A row and a column must have the same number of entries in order to be
multiplied.
b11
b
21
Let A1n a11 a12 a13 a1n and Bn1 b31 ,
bn1
𝑚 × 𝑛 𝑛 × 𝑝
𝑚 ×𝑝
Multiplication of Two Matrices
Example 1
2 1
Find 1 2 3
2 0 5 3 4
2 1
Solution:
Example 2
1 2 2 1
Let A and B 3 2 . Show that 𝐴𝐵 ≠ 𝐵𝐴.
3 4
Transpose Matrix
Definition:
The transpose of a matrix 𝐴, written as 𝐴𝑇 , is the matrix obtained by
interchanging the rows and columns of 𝐴. That is, the 𝑚𝑡ℎ column of 𝐴𝑇 is the
𝑚𝑡ℎ row of 𝐴 for all 𝑚.
Solution:
𝐵𝑇 =
𝐷𝑇 =
Example 2:
1 2 3 4 1 4
Let A , B 2 1 and C 3 2 . Sow that
3 4
(a) 𝐴 + 𝐵 𝑇 = 𝐴𝑇 + 𝐵𝑇
(b) 𝐵𝐶 𝑇 = 𝐶 𝑇 𝐵𝑇
Solution:
(a) 𝐴 + 𝐵 𝑇
= 𝐴𝑇 + 𝐵𝑇
(b) 𝐵𝐶 𝑇
= 𝐶 𝑇 𝐵𝑇
Properties of Transpose Matrix
.1. Commutative: 𝐴 ± 𝐵 𝑇
= 𝐴𝑇 ± 𝐵𝑇
3. Multiplication distributive:
i. 𝑘𝐴 𝑇 = 𝑘𝐴𝑇 where 𝑘 is a scalar.
ii. 𝐴𝐵 𝑇 = 𝐵𝑇 𝐴𝑇 such that 𝐵𝑇 𝐴𝑇 ≠ 𝐴𝑇 𝐵𝑇 .
1.3 Determinant of 2x2 Matrix and 3X3 Matrix
Learning Outcomes
Example:
1 2 1
Let A 3 4 2 , find the minors and cofactors of 𝑎11 , 𝑎21 and 𝑎12 .
1 4 3
Solution:
Minors of 𝑎11 , 𝑎21 and 𝑎12 .
𝑀11 is the determinant of 2 × 2 matrix obtained by neglecting the 1𝑠𝑡 row and
1𝑠𝑡 column of 𝐴.
4 2
M11 4 3 4 2 4
4 3
2 1
M 21
4 3
M12
C12 1
1 2
M12
C21
Determinant of a 3x3 Matrix
Expansion of the cofactors
𝐴 = 𝑎𝑚𝑛 𝐶𝑚𝑛
𝑚=1,2,3,…,𝑛