Professional Documents
Culture Documents
Equality of Matrices
Two matrices A and B are called equal (written A = B) if and only if:
1. They have the same size.
2. Corresponding entries are equal.
𝐴 = 𝐵 𝑖𝑓 𝑎𝑖𝑗 = 𝑏𝑖𝑗 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑖 𝑎𝑛𝑑 𝑗
2 4 3 2 4 3
𝐴 = 9 5 1 𝐵 = 9 5 1
3 7 8 3 7 8
For example if the following two matrices are equal:
1 𝛼 1 2
𝐴= 𝐵=
−1 −𝛽 −1 −4
𝐶 = 𝐴 + 𝐵 = 𝐵 + 𝐴
Matrices [A], [B] and [C] must have the same order.
𝑎11 𝑎12 𝑎13 𝑏11 𝑏12 𝑏13
𝐴 = 𝑎21 𝑎22 𝑎23 𝐵 = 𝑏21 𝑏22 𝑏23
𝑎31 𝑎32 𝑎33 𝑏31 𝑏32 𝑏33
3 −1 0 1 −1 1 1 0 −2
𝐴= , 𝐵 = , and 𝐶 =
1 2 −4 −2 0 6 3 1 1
Compute −𝐴, 𝐴 − 𝐵, 𝑎𝑛𝑑 𝐴 + 𝐵 − 𝐶
Solution
−3 1 0
−𝐴 =
−1 −2 4
3−1 −1 − −1 0−1 2 0 −1
𝐴−𝐵 = =
1 − −2 2−0 −4 − 6 3 2 −10
3 + 1 − 1 −1 − 1 − 0 0+1+2 3 −2 3
𝐴+𝐵−𝐶 = =
1−2−3 2+0−1 −4 + 6 − 1 −4 1 1
Example 2:
3 2 1 0
Solve +𝑋 = , where 𝑥 is a matrix.
−1 1 −1 2
Solution 1
𝑥 𝑦
𝑋 must be a 2𝑥2 matrix. If 𝑋 = , the equation reads
𝑧 𝑤
1 0 3 2 𝑥 𝑦 3+𝑥 2+𝑦
= + =
−1 2 −1 1 𝑧 𝑤 −1 + 𝑧 1+𝑤
−2 −2
Thus, X =
0 1
Solution 2
1 0 3 2
𝑋= −
−1 2 −1 1
1−3 0−2
𝑋=
−1 − (−1) 2−1
−2 −2
𝑋=
0 1
2 1 3 1 1 −1
If 𝐴 = and 𝐵 = , compute 𝐴 + 𝐵.
−1 2 0 2 0 6
Solution
2 + 1 1 + 1 3 + (−1)
𝐴+𝐵 =
−1 − 2 2 − 0 0−6
3 2 2
𝐴+𝐵 =
1 2 6
Multiplication by a Scalar
Solution:
1 2 7(1) 7(2) 7 14
7𝐴 = 7 = =
3 4 7(3) 7(4) 21 28
1 2 −3 1 −3 2 −3 −6
−3𝐴 = −3 = =
3 4 −3 3 −3 4 −9 −12
Matrix Multiplication
𝑏11 𝑏11
𝑎11 𝑎12 𝑎13
𝐴 = 𝑎 𝑎22 𝑎23 𝐵 = 𝑏21 𝑏22
21
𝑏31 𝑏32
𝑏 𝑏11
𝑎11 𝑎12 𝑎13 11
𝐶 = 𝐴 𝐵 = 𝑎
21 𝑎22 𝑎23 𝑏21 𝑏22
𝑏31 𝑏32
𝑎11 𝑏11 + 𝑎12 𝑏21 + 𝑎13 𝑏31 𝑎11 𝑏12 + 𝑎12 𝑏22 + 𝑎13 𝑏32
𝐶 =
𝑎21 𝑏11 + 𝑎22 𝑏21 + 𝑎23 𝑏31 𝑎21 𝑏12 + 𝑎22 𝑏22 + 𝑎23 𝑏32
2 3
2 3 1
𝐴 = 𝐵 = 1 4
5 7 4
5 6
Solution:
𝐶 = 𝐴 𝐵
12 24
𝐶 =
37 67
2. Determine the product of [𝐴] and [𝐵].
2 1 4 4 3
𝐴 = 1 3 2 𝐵 = 1 2
4 −2 5 5 1
Solution:
𝐶 = 𝐴 𝐵
29 12
𝐶 = 17 11
39 13
3. Compute [A][C], if
3 4 −6 0
1 −2 3 0 1 −2
𝐴= ,𝐵 = , and 𝐶 = 0 −1 2 2
0 3 4 3 −4 5
1 −2 3 4
Solution:
6 0 −1 8
𝐴𝐶 =
4 −11 18 22
3
1 −2 3 ∙ 0 = 1𝑥3 + −2𝑥0 + 3𝑥1 = 6
1
3 4
1 −2 3 ∙ 0 −1
1 −2
= 1)(3 + −2)(0 + 3)(1 1)(4 + −2)(−1 + 3)(−2
= 6 0
3 4 −6 0
1 −2 3 ∙ 0 −1 2 2
1 −2 3 4
= 3+0+3 4+2−6 −6 − 4 + 9 0 − 4 + 12
= 6 0 −1 8
Now compute the second row to get
6 0 −1 8
𝐴𝐶 =
4 −11 18 22
Transpose of a Matrix
1 2 3 1 −1
𝐶= 3 4 𝐷= 1 3 2
5 6 −1 2 1
Solution:
5
𝐴𝑇 = 1 3 2 𝐵𝑇 = 2
6
1 3 5
𝐶𝑇 = 𝐷𝑇 = 𝐷
2 4 6
2.
1 2 3 1 4 7
If 𝐵 is 4 5 6 then 𝐵𝑇 is 2 5 8
7 8 9 3 6 9
Transpose of a Product
The transpose of a product is the product of the transposes in the
reverse order.
𝐴 ∙ 𝐵 𝑇 = 𝐵 𝑇 ∙ 𝐴 𝑇
Numerical example of the product rule
𝑇
Example 1: Find 𝐴 ∙ 𝐵 if
2 3
4 3 0 1
𝐴 = 0 4 𝐵 =
2 1 5 3
5 1
Solution:
4 2
𝐴 ∙ 𝐵 𝑇 = 𝐵 𝑇 ∙ 𝐴 𝑇= 3 1 ∙ 2 0 5
0 5 3 4 1
1 3
Example:
1 −2 3 1 −2 3
If 𝐶 = −2 4 −5 then 𝐶 𝑇 = −2 4 −5
3 −5 6 3 −5 6