0% found this document useful (0 votes)
24 views18 pages

Lesson 2

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 18

Mathematics for Computations

LESSON 2

DETERMINANTS

Prepared by: Wan Nurul Huda Faculty of Business Finance and


2020@MAHSA University Information Technology
Mathematics for Computations

LEARNING OBJECTIVE

▪Understand the concept of determinants

▪Solve Problems related 2X2 Matrix and nXn Matrix.


INTRODUCTION
• If a matrix is square ( that is,if it has the same number
of rows as columns), then we can assign to it number
called its DETERMINANT.

• Determinants can be used to solve system of linear


equations.
• They are also useful in determining whether a matrix
has an inverse.
Deteminant of 2X2 Matrix
• The determinant of A is written :
Det(A) or 𝐴
• The determinant of the 2X2 matrix,
𝑎 𝑏
A= is
𝑐 𝑑
𝑎 𝑏
det 𝐴 = 𝐴 = = 𝑎𝑑 − 𝑏𝑐
𝑐 𝑑

For larger matrices, the definition is more complicated.


• Example:
6 −3
• Evaluate 𝐴 for
2 3

• Solution:
6 −3
= 6  3 − ( −3)2 = 18 − ( −6) = 24
2 3
Exercise 1:

• a) det 1 2
3 4

det -5 2
b)
-2 0

c) det 1 2
2 4
Determinants of nXn matrix
• To define det(A),for a larger matrices , we will need the definition of a
minor 𝑀𝑖𝑗
• The minor 𝑀𝑖𝑗 of a matrix A is the matrix formed by removing the
𝑗
𝑡ℎ, column of A.

M11 : remove row 1, col 1


1 1 -2
A = -1 2 3 M11 = 2 3
2 7 0 7 0
M12 : remove row 1, col 2
1 1 -2
A = -1 2 3 -1 3
M12 =
2 7 0 2 0

M13 : remove row 1, col 3


1 1 -2
A = -1 2 3 -1 2
M13 =
2 7 0 2 7
Example:
 2 3 −1
0 2 4
• For example, A is the matrix  
 −2 5 6 

• The minor M12 is the determinant of the matrix


obtained by deleting the first row and second
column from A.
2 3 1
0 4
M12 = 0 2 4 = = 0(6) − 4( −2) = 8
−2 6
−2 5 6
• Exercise:

 2 3 −1
Find the Determinant for 𝑀33 ,  
 0 2 4 
 −2 5 6 
Determinant of any square matrix.
If A is an n x n matrix, the determinant of A
is obtained by multiplying each element of
the first row by its cofactor, and then adding the
results. a11 a12 a1n
a21 a22 a2n
det( A) = A =

an1 an 2 ann

= a11A11 + a12 A12 + ... + a1n A1n


Example:
• Evaluate the determinant of the matrix.
det( A)
 2 3 −1
2 3 −1

A= 0 2 4
= 0 2 4
 −2 5 6  −2 5 6
2 4 0 4 0 2
=2 −3 + ( −1)
5 6 −2 6 −2 5
= 2(2  6 − 4  5) − 3 0  6 − 4( −2) − 0  5 − 2( −2)
= −16 − 24 − 4
= −44
Expanding the determinant.

• In our definition of the determinant, we used the cofactors of


elements in the first row only.

• This is called expanding the determinant by


the first row.

• In fact, we can expand the determinant by


any row or column in the same way, and obtain
the same result in each case.
Example:  2 3 −1
• Let A be the matrix of 
A= 0 2 4
 −2 5 6 
• Evaluate the determinant of A by expanding
(a) by the second row
(b) by the third column

• Verify that each expansion gives


the same value.
Answer (a) :
Expanding by the second row, we get:
Answer (b):
• Expanding by the third column, we get:
Exercise :
Find the Determinant for Matrices below:
−4 −6 2
2 −3 1
d) 5 −1 3
a) 2 0 −1
−2 4 −3
1 4 5
−1 −2 0
4 −3 e) 5 6 −7
b)
3 −5 1 2 −4
3 2 −1 2 3 8
c) 2 −1 −3 f) 3 1 12
1 3 −2 −1 8 −4
Mathematics for Computations

Prepared by: Wan Nurul Huda Faculty of Business Finance and


2020@MAHSA University Information Technology

You might also like