lecture 5
Assist. Lect. Hiba Abdul –Kareem
Matrices
• A group of numbers (called elements)arranged
in rows and columns and enclosed in brackets.
Matrices
Dimension or size of matrices
• A matrix with m rows and n columns is called a
matrix of order m x n or a m x n matrix
Dimension or size of matrices
TYPES OF MATRICES
1. Column Matrix: An m x n matrix is
called row matrix if n = 1.
TYPES OF MATRICES
TYPES OF MATRICES
TYPES OF MATRICES
TYPES OF MATRICES
TYPES OF MATRICES
TYPES OF MATRICES
TYPES OF MATRICES
TYPES OF MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
ADDITION AND SUBTRACTION
• Two matrices may be added (or subtracted) if
they are the same order.
• Simply add (or subtract) the corresponding
elements. So, A + B = C
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
OPERATIONS ON MATRICES
Homework
The determinant of matrix
• The determinant of a matrix is a scalar value
that is used in many matrix operations. The
matrix must be square (equal number of
columns and rows) to have a determinant. The
notation for absolute value is used to indicate
"the determinant of", e.g. 𝑨 means "the
determinant of matrix A" and
𝑎 𝑏
𝑐 𝑑
means
to take the determinant of the enclosed
matrix. Methods for finding the determinant
vary depending on the size of the matrix.
The determinant of matrix
• The determinant of a 2×2 matrix is simply:
• where 𝐴 =
𝑎 𝑏
𝑐 𝑑
,
• det(A) = A =
a b
c d
= ad – bc
• Example (1):
• |A| = 2 x 8 – 4 x 3
= 16 – 12
= 4
The determinant of matrix
Example (2):
Example (3):
The determinant of matrix
• The determinant of a 3×3 matrix can be
calculated by repeating the first two columns
as shown below.
𝐀 = a11a22a33 + a12a23a31 + a13a21a32 - a13a22a31 - a11a23a32 - a12a21a33
The determinant of matrix
• he determinant of a 3×3 matrix can be calculated by
the following process:
• 𝐀 =
𝐚𝟏𝟏 𝐚𝟏𝟐 𝐚𝟏𝟑
𝐚𝟐𝟏 𝐚𝟐𝟐 𝐚𝟐𝟑
𝐚𝟑𝟏 𝐚𝟑𝟐 𝐚𝟑𝟑
• 𝐀 = a11(a22a33 - a23a32) - a12(a21a33 - a23a31) +
a13(a21a32 - a22a31)
The determinant of matrix
Question 1
Question 2
• Find the value of x – y, if
Question 3
Question 4
Question 5
Question 6
Question 7
Question 8
• If a matrix has 5 elements, then write all
possible orders it can have
Question 9
• If a matrix has 5 elements, then write all
possible orders it can have
Question 10
Question 11

lect5-1-34_bbbbbbbbbbbbbbbbbbbbmerged.pdf