Professional Documents
Culture Documents
Lec 5-Matrices
Lec 5-Matrices
Fall 2022
Lecture# 5
Matrices
• Matrix operations
• Matrix Inverse
Larson, R. and Falvo, D. (2008) Elementary Linear Algebra. 6th Edition. Brooks Cole.
Matrices
Matrix Addition
Matrix Scalar Multiplication
Zero Matrix
0 0 0
𝑂23 =
0 0 0
0 0 0
𝑂33 = 0 0 0
0 0 0
Properties of Matrix Operations
Properties of Matrix Operations: Examples
Matrix Multiplication
Matrix Multiplication
Matrix Multiplication
1 2 1 2 1 0 0 1 2 1 2
1 0 0 1 0 2 3 = 2 3
2 3 = 2 3
0 1 0 0 1 4 5 4 5
4 5 4 5
Writing a linear system of equations in a matrix form
1 2 3 𝑥1 0
4 5 6 𝑥2 = 3
7 8 9 𝑥3 6
2 −1 2 −1 2 −1 1 −2 2 −1 −4 −1
𝐴3 = = =
3 0 3 0 3 0 6 −3 3 0 3 −6
The Transpose of a Matrix
1 0
1 0 2 𝐴𝑇 = 0 −1
𝐴=
0 −1 3
2 3
The Transpose of a Matrix: Examples
The Trace of a Matrix
The trace of a square matrix is the sum of elements on its main diagonal.
3 2 9
𝐴 = 2 4 −5
9 −5 −8
𝑡𝑟 𝐴 = 3 + 4 + −8 = −1
Symmetrical and Skew Symmetrical Matrices
Prove that
𝑨𝑩 = 𝑰
Finding the Inverse of a Matrix using Gauss Jordan Elimination
Writing a linear system of equations in a matrix form
1 2 3 𝑥1 0
4 5 6 𝑥2 = 3
7 8 9 𝑥3 6
Check: 𝑨𝑨−𝟏 = 𝑰
Finding the Inverse of a Matrix using Gauss Jordan Elimination
Finding the Inverse of a Matrix using Gauss Jordan Elimination
Finding the Inverse of a Matrix using Gauss Jordan Elimination
Properties of the Inverse of a Matrix
R. Larson and D. C. Falvo, Elementary Linear Algebra, 6th edition, Houghton Mifflin Harcourt Publishing Company, 2004
Using the Inverse of a Matrix to Solve a System of Linear Equations
Matrix Equation: Examples