Professional Documents
Culture Documents
MATRIX
Subtraction
1
1 , 3 , −𝟕 , 𝟖 Matrix
𝟏 𝒂 −𝒃
𝟏 𝟑 −𝟕 𝟖 𝟏 𝟑 −𝒅 𝒄
𝟑
−𝟕 𝟖
−𝟕
𝟖
% $ @ #
MATRICES
7 8 row
−9 10 Each Row
11 12 Should have equal number of elements
Each Column
Element
column 2
c1 c2
𝟑 𝟖 r1
A= −𝟗 𝟏𝟎 r2
−𝟏 𝟎 𝐫𝟑
Elements Order Position of an element
(Row, Column)
3×2
3 , 8 , −9 , 10 , Number of Rows × Number (𝟏, 𝟏)𝒕𝒉 element =3
−1 , 0 of Columns
(𝟏, 𝟐)𝒕𝒉 element =8
.
.
(𝟑, 𝟐)𝒕𝒉element =0
𝟏 𝟕 −𝟐 3
Remember
c1
c1 c2 c3 2 r1
1 2 5
3 1 4 r1 4 𝑥 9
3 r2
2 5 6 r2 7 3 −1 4 𝐫𝟑
1 𝐫𝟒
Order= 2 × 3 Order= 3 × 3
Order= 4 × 1
c1 c2 c3 c4
1 7 3 9 2 1 𝑎 4 𝑏 r1
Order= 1 × 5 2 3 7 6 r2
3 9 10 𝑐 𝐫𝟑
Order= 3 × 4 4
Types of Matrices
1 4 3 Rectangular Matrix
A=
2 1 −6 2×3
no. of row𝐬 ≠ 𝒏𝒐. 𝒐𝒇columns
Square Matrix
B= 3 5 C= 7 1×1
4 7 2×2
no. of row𝐬 = 𝒏𝒐. 𝒐𝒇columns
D= 1 0 E= 8 0 0 Diagonal Matrix
0 5 2×2
0 −1 0
0 0 5 3×3
Principal/Leading diagonal 5
I= 1 0 1 0 0 Square matrix
0 1 2×2 , I= 0 1 0 Identity Matrix principal diagonal elements=1
Other elements=0
0 0 1 3×3 or Unit Matrix
1 0 0
0 1 0 0 1
Not Identity Matrix
1 0 1 1 0
2 3
Identity Matrix × 𝑨 = 𝑨 ; Here, A= 1 5
Same order
Corresponding
Equal Matrix elements
1 0 2 3 2 3 are equal
× =
0 1 1 5 1 5
𝑎 𝑏 𝑤 𝑥
I𝑓 = 𝑦 𝑧
𝑐 𝑑 2×2
I × A= A [by the standard convention of 2×2
A × I = A matrix multiplication] 𝒂 = 𝒘, 𝒃 = 𝒙, 𝒄 = 𝒚, 𝒅=𝒛
Remember Addition and Subtraction of Matrices
𝟑 𝟐 𝟓 𝟔
+ Can be added
−𝟏 𝟒2× 𝟐 𝟕 𝟖 2× 𝟐 (same order)
𝑤 𝑥 𝑎 𝑏 𝑤−𝑎 𝑥−𝑏
𝑦 𝑧 − =
𝑐 𝑑 𝑦−𝑐 𝑧−𝑑
3 2 5 6 8 8
+ =
−1 4 7 8 6 12
7
Remember
(i) A+B = Not possible
1.
Given
(ii) A+C = Not possible
1 2 1 2 5
A= , B=
3 4 2×2 7 −3 2 2×3
(iii) A + D = ?
7 8
C= −9 10 13 14
D= 1 2
+
13 14
=
14 16
11 12 3×2
, 15 −16 2×2
3 4 15 −16 18 −12
(v) D ̶ A = ?
13 14 1 2 12 12
− =
15 −16 3 4 12 −20
8
Matrix
Multiplication
𝑎 𝑏 ka kb 3 9 1 5 0
k = ×
𝑐 𝑑 kc kd
2 1 2× 2 2 3 7 2 ×3
scaler
9
Multiply Matrix
2 8 −6 −4 Multiplication
(i)
3 10 −9 2
(V) 3 9 1 5 0
A= B=
2 1 2×2 2 3 7 2×3
1 −6
(ii) AB=?
5 −10
3 9 1 5 0 3 + 18 15 + 27 0 + 63
AB= =
2 1 2 3 7 2+2 10 + 3 0+7
4 −3
(iii) 0.5 −3 −2 21 42 63
=
1 5 4 13 7 2×3
−3
(iv) −2
5 (VI) 1 2 3
7
C= D= 8
4 5 6 2×3
9 3×1
CD=?
7
1 2 3 7 + 16 + 27 50
CD= 8 = =
4 5 6 28 + 40 + 54 122 2×1
9
Determinant of a square Matrix
example.
𝑎 𝑏 1. A= 4 3
X= 2 1
𝑐 𝑑
Determinant of X = 𝑋 = ad ̶ bc 𝐴 =4 ̶ 6= ̶ 2
𝑋 ≠ 0 (X is a non-singular matrix)
2. B= 4 −5
8 −10
𝐵 = −40 + 40 = 0
B is a singular matrix)
11
Inverse of a square Matrix
𝑤 𝑥
If, A= 𝑦 𝑧
1
𝐴−1 = . 𝐴𝑑𝑗𝑜𝑖𝑛𝑡 𝐴 ; 𝐴 ≠0
𝐴
Sign change
1 𝑧 −𝑥
= If, 𝐴 = 0,
𝑤𝑧 − 𝑥𝑦 −𝑦 𝑤
1
Interchange this 𝐴−1 = . 𝐴𝑑𝑗𝑜𝑖𝑛𝑡 (𝐴)
0
2 elements
Does not exist
12
Remember Inverse of a square Matrix
1 𝑖𝑖𝑖 B −1 B?
𝑖 𝐵−1 = . 𝐴𝑑𝑗𝑜𝑖𝑛𝑡 𝐵 𝑖𝑖 𝐵𝐵−1
𝐵 1 4 −3 1 3
= .
1 4 −3 1 1 3 4 −3 4 0 1 0 4
= . =
4−0 0 1 4 0 4 0 1 1 4−0 12 − 12
1 4 + 0 −3 + 3 =
= 4 0−0 0+4
1 4 −3 4 0+0 0+4
= . 1 4 0
4 0 1 1 0
1 4 0 = =
= 4 0 4 0 1
4 0 4
1 0 𝑖𝑖𝑖 𝑌𝑒𝑠, 𝑤𝑒 𝑐𝑎𝑛 𝑤𝑟𝑖𝑡𝑒 𝐵𝐵−1 = B −1 B = I
=
0 1 The product of an inverse matrix and
its original matrix is identity matrix
PRACTICE PROBLEMS
2. Express each of the following as a single matrix.
1. (a) B = 12 𝑂𝑟𝑑𝑒𝑟 =?
10
1 (a) (3 −1 2) 5 + (25)
5 −3
(b) C= 𝑂𝑟𝑑𝑒𝑟 =?
−4 −2 5 6 2
2 (b) 5 + − 3
7 2 −2 −7
𝑤 𝑎 𝑥 𝑏 1
𝒄 Order=? 7 −1 3
𝑦 𝑐 𝑧 𝑑 𝒄 0
2 0 4
2
2 −3
(d) If 𝐴 = ; −A=?
−5 7
(e) 4× 4 Identity matrix= ?
𝑥 4 − 6𝑥 2𝑥 2 − 8𝑥 4 10
4. A = , B= , 𝐶=
6 + 3𝑦 4𝑦 7 + 4𝑦 −𝑦 3 19
1 −1
0 1 −2
5. If A= −1 2 , B=
1 3 1
3 5
Find- (a) AB (b) BA (c) what does this tell you about matrix multiplication ?
1 0 𝑦 0
6. If C= ,𝐷 = and CD = DC, find y.
3 2 1 3
5 5
7. B=
−2 −2
(a) Find k if 𝐵2 = 𝑘𝐵
(b) Find m if 𝐵3 = 𝑚𝐵 15
20 140 0 5 1
8. (a) A = , B= . Evaluate : 𝐵4 + 2A −𝐵2
−88 −24 1 −2
(b) Find the two values of z that satisfy the matrix equation 3 7 𝑧 2 = (4𝑧)
−1
2 1 3 −1
9. If P = and Q = , show that 𝑄−1 𝑃−1 = (𝑃𝑄)−1
−5 −4 −1 1
𝑎 𝑎 𝑎 𝑏 2 𝑤
10. (a) Given that , a> 0 and b> 0 and that = , calculate the values of a, b and w.
𝑏 𝑏 𝑎 𝑏 𝑤 32
2 −1 𝑎 𝑏
(b) The matrix M satisfies the equation 3M + 4 = 𝑀.Find M expressing it in the form
3 0 𝑐 𝑑
5 −3
(c) Find the inverse of the matrix
−4 2
16
11. Given that Q= 0 1 , show that Q is self-inverse (i.e. 𝑄−1 = Q ). Hence deduce 𝑄24 .
1 0
1
4 2 𝑘 12 4
4
12. B= , C= 1 and D=
0 3 0 −9 𝑚
3
(a) Evaluate 𝐵2
(b) Find the value of k which makes BC the identity matrix.
(c) Find the value of m which makes the determinant of B = the determinant of D.
𝑤 2𝑤 + 5
13. The determinant of the matrix A = is 15
−1 𝑤 + 1
Find the largest possible value of the determinant of this matrix if the numbers are
(c) Find D if DA = B .
1
3 2 1
2
16. (a) Express as a single matrix 0.5 − 1 3
𝑥 −1 𝑥 −2
2
3 2
(b) Find the value of x if is a singular matrix.
𝑥 −1
3 −2
17. (a) Calculate the inverse of the matrix
5 −1
(b) By using your answer to part (a), or otherwise ,find the value of p and the value of q
3 −2 𝑝 4
that satisfy 𝑞 =
5 −1 9
18
1 2 −3
1 2 −3
2 −1 2
18. Given that N 2 −1 2 = , write down the matrix N.
3 2 −1
3 2 −1
2 0 1 0
19. C= ; h and k are numbers so that 𝐶 2 = hC + kI , where I = . Find the values of h and k.
1 2 0 1
20. An international sailing competition between Jamaica, Mexico and Cuba in various categories gave the following
results for Gold(G), Silver(S) and Bronze(B).The points awarded by these medals is shown in the second 3× 1 matrix.
G S B
Jamaica 3 1 4 𝑥
Mexico 2 6 3 × 2 =𝑃
Cuba 3 𝑥 3 1
(a) If the matrix P represents the total points scored per country ,state the order of P.
Mark cycles at an average speed of 24km/h on the first two days and 26km/h on the third day.
Nick cycles at an average speed of 25km/h on the first day, 24km/h on the second day and 27km/h on the third day.
1
They each cycle for 1 hour on the first day and increase their cycling time by 2 hour each day.
𝑙
24 24 26
P= , Q= 𝑚
25 24 27
𝑛
(c) Calculate the difference between the numbers in the matrix PQ and explain what this number represents.
20
22. Two families ordered three basic food items from their local shop.
The X family ordered 1 bag of sugar, 4 cartons of milk and 3 loaves of bread.
1 0
A= 4 3
3 5
The cost of a bag of sugar is 80 cents, the cost of a carton of milk is 50 cents and the cost of a
loaf of a bread is 40 cents. This information can be represented by the matrix B where
B = 80 50 40 .
1 0 50 −60 7
(f) 8. (a) , b z = −1& 9. Do it yourself
0 1 −70 80 3
22
Answers
1 −1 2
24 1 0 17.(a) 7 , (b) p=2, q=1
11. 𝑄 = −5 3
0 1
1 0 0
16 14 1
12.(a) , (b) k= − 6 𝑐 𝑚 = −2 18. 0 1 0
0 9
0 0 1
13.(a) 2 or −5 (b) 𝑤 2 + 3𝑤 + 5 = 0
19. h=4, k=−4
14. (a) 42, (b) 14
20.(a) (3× 1), 𝑏 𝑥 = 4, 𝑐 64
15.(a) h = 2-2k
112
21.(a) m=1.5, n=2, (b) PQ=
115
(b) Not possible, because corresponding (c) 3, Difference in training distance of
elements are not equal. Mark and Nick
1
0 −4
(c) D=
1 1 22. (a) BA=(400 350), (b) Total cost of each
family’s order.
1 0 3
16.(a) , (b) x=−
0 1 2
23
−1
−3 6
=?
−1 2
24