Week 2
Week 2
This row and column vectors represent respectively the 2-nd row and
the 3-rd column of the matrix, and 5 represents the entry in the matrix
on the 2-nd row and 3-rd column
Aritmetic Operations
Aritmetic Operations
Aritmetic Operations
• In order to perform addition or subtraction operations on matrices,
the dimensions of the matrices must be the same.
• For example; we do not have a definition for “adding” or
“subtracting” the matrices.
Aritmetic Operations
• Suppose that A, B, C are m × n matrices.
• Suppose further that O represents the m × n matrix with all entries
zero.
• Then;
(a) A + B = B + A;
(b) A + (B + C) = (A + B) + C;
(c) A + O = A; and
(d) there is an m × n matrix A’ (inverse of A) such that A + A’ = O.
Multiplication Matrix by Scalars
Multiplication Matrix by Scalars
Multiplication Matrix by Scalars
• Suppose that A, B are m×n matrices, and that c, d ∈ R.
• Suppose further that O represents the m × n matrix with all entries
zero.
• Then;
(a) c(A + B) = cA + cB;
(b) (c + d)A = cA + dA;
(c) 0A = O; and
(d) c(dA) = (cd)A.
Matrix Multiplication
• In order to multiply two matrices with each other, the number of columns of the first
matrix must be equal to the number of rows of the second matrix.
where
• ⇾
• ⇾
Should be 1
Should be 0
𝐼 𝐴
−1
• Find the inverse of the matrix , by elementary row operations.
•
Should be 0
•
•
Should be 0
Should be 1
Should be 0
𝐼 𝐴
−1
Should be 0
Solving Linear Equations By Using Inverse
of Matrix
• The criteria to solve a linear equation by using inverse of a matrix is;
1. The number of linear equations must be equal to the number of
unknown variables.
Example
• Solve this linear system by using inverse matrix.
3th step: =
1th step:
=
2th step: ⇾
⇾
26
𝑥=
5
12
⇾ 𝑦 =−
5
𝐼 𝐴
−1
Example
• Example on board.
Gauss Jordan Method
• Some authors use the term Gaussian elimination to refer only to the
procedure until the matrix is in echelon form, and use the term
Gauss-Jordan elimination to refer to the procedure which ends in
reduced echelon form.
X= 3
Y=4
Z=-2