Ch2 Numerical Methods Lecture Notes Part Two
Ch2 Numerical Methods Lecture Notes Part Two
FACULTY OF ENGINEERING
Numerical Methods
LECTURE NOTES
CHAPTER TWO
(Part Two)
CLASS: Junior
FIRST SEMESTER
LECTURER: Mr. Abdiqani M. Aden (Msc in Research & Statistics; Msc in Pure Mathematics)
Determinant of Matrix
The determinant of a matrix is a number that is specially defined only for square matrices.
The determinant of a 2 by 2 matrix is de fined as (ad − bc)
The elements of the determinant of a matrix are written between vertical lines. Thus, the
determinant of
3 −4 3 −4
is written as and is equal to (3 × 6) − (−4 × 1), i.e. 18 − (−4) or 22. Hence
1 6 1 6
3 −4
the determinant of a matrix can be expressed as a single numerical value, i.e. = 22.
1 6
Example (1)
3 −2
Determine the determinant of the matrix, A =
1 6
Example (2)
1 −2
Determine the value of =
5 4
Example (3)
x 5
Solve the unknown quantity, If the determinant of the matrix is 22 find the value of x .
2 3
Theorem
If A and B are × matrices, det(AB) = det(A) ∙ det(B)
Example (4)
2 −3 1 3
If A = and B =
1 4 2 5
Then, find
a) det(AB)
b) det(AB) = det(A) ∙ det(B)
Example (5)
2 1
If A =
3 4
Find
a) det (A )
b) Show that det (A ) = det (A)
Determinant of × Matrix
The determinant of 3 × 3 can be determined by either;
1. Expansion by minors.
2. Diagonal expansion
If A =
ℎ
Then det(A) = − +
ℎ ℎ
det(A) = a(ei – hf) – b(di – gf) + c(dh - eg)
Note: In this case the first row is used as the minors, but any row and any can also be used by
then.
If A =
ℎ
Using the second column as minnors
Then det(A) = − + −ℎ
Example (6)
Find the determinant by using expansion by minors.
2 3 4
= 6 5 7
1 2 8
Example (7)
Evaluate the determinant using;
a) The first column.
b) The third row.
c) The first row.
2 −2 0
= −3 1 2
1 −3 −1
If A =
ℎ
Example (9)
3 4 −1
Find the value of 2 0 7
1 −3 −2
Properties of Determinants
Property 1: The value of determinant remains unchanged, If the rows are interchanged into
columns and vice versa (the columns into rows).
Property 2: If two rows (or two columns) of a determinant are interchanged, the sign of the
value of determinant changes.
Property 3: If two rows (or two columns of a determinant are identical, then the value of a
determinant is zero.
Inverse of Matrix
The inverse of square × matrix A, is another × denoted by A such that: AA =
A A=I
Where I is the × identity matrix, that is multiplying a matrix by it’s inverse produces an
identity matrix.
Note: Not all square matrices have an inverse. If the determinant of the matrix is zero (singular
matrix), then it will not have an inverse, and the matrix is said to be singular matrix. Only non-
singular matrices have an inverse.
( )
An inverse of any matrices is found by: A = | |
,
If A =
Example (1)
Determine the inverse of the following matrices.
2 3
A=
3 5
6 8
B=
2 3
5 3
C=
1 1
Example (2)
3 −2
Find A , If A = .
7 4
Inverse of × Matrix
( )
The inverse of 3 × 3 matrix can also be found by A = | |
If A =
= =( ) - (( ) , = =( )-( )
= =( ) - (( ) , = = ( )-( )
= =( )-( ) , = =( )-( )
= =( )-( ) , = =( )-( )
= =( )-( )
Example (3)
Given the matrix
3 −3 4
A = 2 −3 4
0 −1 1
a) Find the matrix of cofactors of matrix A.
b) Find the adjoint of matrix A.
c) Find the inverse of matrix A.
THE END