Professional Documents
Culture Documents
Lesson 2
Introduction.
The Theory of Matrices and Determinants
• Matrices are used to solve problems in electronics, optics, quantum
mechanics, statics, robotics, linear programming, optimisation, genetics,
and much more.
• Matrix calculus is a mathematical tool used in connection with linear
equations, linear transformations, systems of differential equations, and so
on, and is vital for calculating forces, vectors, tensions, masses, loads and a
lot of other factors that must be accounted for in engineering to ensure
safe and resource-efficient structure.
• Engineers, chemists, biologists and scientists all need knowledge of
matrices to solve problems.
• In computer graphics, matrices are used to project a three-dimensional
image on to a two-dimensional screen, and to create realistic motion.
• Matrices are therefore very important in solving engineering problems.
Lesson Objectives
• understand matrix notation
• add, subtract and multiply 2 by 2 and 3 by 3 matrices
• recognize the unit matrix
• calculate the determinant of a 2 by 2 matrix
• determine the inverse (or reciprocal) of a 2 by 2 matrix
• calculate the determinant of a 3 by 3 matrix
• determine the inverse (or reciprocal) of a 3 by 3 matrix
Contents
1. Matrix notation
2. Addition, subtraction and multiplication of matrices
3. The unit matrix
4. The determinant of a 2 by 2 matrix
5. The inverse or reciprocal of a 2 by 2 matrix
6. The determinant of a 3 by 3 matrix
7. The inverse or reciprocal of a 3 by 3 matrix
1. Matrix Notation
• Matrices and determinants are mainly used for the solution of linear
simultaneous equations.
𝑥 + 2𝑦 = 3
4𝑥 − 5𝑦 = 6
1 2
become in matrix notation.
4 −5
1. Matrix Notation
• Similarly, the coefficients of 𝑝, 𝑞 and 𝑟 in the equations
1.3𝑝 − 2.0𝑞 + 𝑟 = 7
3.7𝑝 + 4.8𝑞 − 7𝑟 = 3
4.1𝑝 + 3.8𝑞 + 12𝑟 = −6
1.3 −2.0 1
become 3.7 4.8 −7 in matrix form.
4.1 3.8 12
1. Matrix Notation
• The numbers within a matrix are called an array and the coefficients
forming the array are called the elements of the matrix.
2 3 6
• Thus, is a ‘2 by 3’matrix.
4 5 7
1. Matrix Notation
• Matrices cannot be expressed as a single numerical value, but they
can often be simplified or combined, and unknown element values
can be determined by comparison methods.
1. Addition of Matrices.
2. Subtraction of Matrices.
3. Multiplication of Matrices.
3. Multiplication of Matrices.
= 10 − 17.3𝑖 − 6 + 0𝑖
1 2 −𝟏 𝑎 𝑏
• Let matrix 𝐴 be and let the inverse matrix, 𝑨 be
3 4 𝑐 𝑑
1 −3 −2 + −
− +
+
−
4 −1
• Thus the minor of element 2 is = −8 − 3 = −𝟏𝟏 + − +
−3 −2
• The sign of element 2 is minus, hence the cofactor of element 2 is
− −11 = +𝟏𝟏
3 4
• Similarly the minor of element 7 is = −9 − 4 = −13 and its
1 −3
cofactor is +𝟏𝟑.
• Hence the value of the sum of the products of the elements and their
cofactors is Consider element 7:
3 4 −1 3 4 −1
2 0 𝟕
2 0 7 = 2 × 11 + 0 + 7 × 13 = 113 1 −3 −2
1 −3 −2 + − +
− + −
+ − +
3 4 −1 + − +
Example 5. Find the value of 2 0 7 − +
+ −
−
+
1 −3 −2
• The same result will be obtained whichever row or column is
selected.
• For example, the third column expansion is
2 0 3 4 3 4
+ −1 − 7 + −2
1 −3 1 −3 2 0
= 6 + 91 + 16 = 113
• as obtained previously
1 4 −3
Example 6. Evaluate −5 2 6
−1 −4 2
Consider element 1: + − + 2 6 =+ 1 2 2 − 6 −4
1 4 −3 + 1
−5 2 6
− + − −4 2 − −5 4 2 − −3 −4
+ − +
−1 −4 2 + −1 4 6 − −3 2
Consider element -5: + − + 4 −3
1 4 −3
− + − − −5 = 4 − (−24) + 5 8 − 12
−5 2 6 −4 2
−1 −4 2
+ − + − 1 24 − −6
Consider element -1: + − +
1 4 −3 4 −3 = 4 + 24 + 5 −4
− + − +(−1)
−5 2 6
+ − + 2 6 − 24 + 6 = 28 − 20 − 30
−1 −4 2
= −22
1 4 −3
Example 6. Evaluate −5 2 6
−1 −4 2
2𝑖 1+𝑖 3
Example 7. Determine the value of 1−𝑖 1 𝑖
0 4𝑖 4
Consider element 2i: + − + 1 𝑖 = + 2𝑖 1 4 − 𝑖 4𝑖
2𝑖 1+𝑖 3 + 2𝑖 − 1 − 𝑖 1 + 𝑖 4 − 3 4𝑖
1−𝑖 1 𝑖
− + − 4𝑖 4
0 4𝑖 4
+ − + + 0 1+𝑖 𝑖 − 3 1
Consider element 1-i: + −
2𝑖 1+𝑖 3
+
1+𝑖 3 = +2𝑖 4 − 4𝑖 2
1−𝑖 1 𝑖
− + − − 1−𝑖 − 1 − 𝑖 4 + 4𝑖 − 12𝑖 + 0
0 4𝑖 4
+ − + 4𝑖 4
= 2𝑖 4 − 4(−1) − 1 − 𝑖 4 − 8𝑖
Consider element -1:
2𝑖 1+𝑖 3
+ − + = 2𝑖 4 + 4 − 4 − 8𝑖 − 4𝑖 + 8𝑖 2
− + − 1+𝑖 3 = 2𝑖 8 − 4 − 12𝑖 + 8 −1
1−𝑖 1 𝑖
+ − + +(0)
0 4𝑖 4 1 𝑖 = 16𝑖 − 4 − 12𝑖 − 8
= 16𝑖 − 4 + 12𝑖 + 8
= 4 + 28𝑖
Contents
1. Matrix notation
2. Addition, subtraction and multiplication of matrices
3. The unit matrix
4. The determinant of a 2 by 2 matrix
5. The inverse or reciprocal of a 2 by 2 matrix
6. The determinant of a 3 by 3 matrix
7. The inverse or reciprocal of a 3 by 3 matrix
The inverse or reciprocal of a 3 by 3 matrix
• The adjoint of a matrix 𝐴 is obtained by:
adj 𝐴
𝐴−1 =
𝐴