Documente Academic
Documente Profesional
Documente Cultură
MATRICES
⎛ 2 1 3 0 ⎞
A matrix is a rectangular array of numbers (or M =⎜ 5 7 −6 8 ⎟ 3 × 4
symbols) enclosed in brackets either curved or ⎜ ⎟
⎜⎝ 9 −2 6 −3 ⎟⎠
square. The constituents of a matrix are called entries
or elements. A matrix is usually named by a letter for ⎛ 4 5 7 ⎞
convenience. Some examples are shown below. ⎜ −2 3 ⎟
N= ⎜
6
⎟ 4×3
⎜ −7 1 0 ⎟
æ3 1 4ö ⎜⎝ 9 −5 8 ⎟⎠
X =ç
è2 -7 0 ÷ø Note that the orders 3 × 4 and 4 × 3 are NOT the
æ3 -1 4 2 6ö same.
A=ç
è0 0 1 0 -5 ÷ø
Row matrices
⎡ a b ⎤
F=⎢ ⎥
⎣ c d ⎦ If a matrix is composed only of one row, then it is
called a row matrix (regardless of its number of
⎡ 4 1 2 ⎤
⎢ ⎥ elements). The matrices 𝐽, 𝐾 and 𝐿 are row matrices,
Y = ⎢ 3 −1 5 ⎥
⎢ 6 −2 10 ⎥
⎣ ⎦ J = ( 4 1 3) L = (3 0 -4 2)
⎛ 1 0 ⎞ K = ( 2 1)
I =⎜
⎝ 0 1 ⎟⎠
Column matrices
Rows and Columns If a matrix is composed of only one column, then it is
called a column matrix (regardless of the number of
The elements of a matrix are arranged in rows and elements). The matrices 𝑃, 𝑄 and 𝑅 are column
columns. Elements that are written from left to right matrices.
(horizontally) are called rows. Elements that are
written from top to bottom (vertically) are called ⎛ ⎞
columns. The first row is called ‘row 1’, the second ⎛ 4 ⎞ 6
⎛ 1 ⎞ ⎜ ⎟
Q=⎜ 0 ⎟
‘row 2’, and so on. The first column is called 7
P=⎜ R= ⎜ ⎟
‘column 1, the second ‘column 2’, and so on. ⎝ 2 ⎟⎠ ⎜ ⎟
⎜⎝ 3 ⎟⎠ ⎜ 8 ⎟
⎜⎝ 9 ⎟⎠
⎛ 3 1 4 −1 ⎞ Row 1
⎜ ⎟ Square matrices
M = ⎜ 0 11 −5 8 ⎟ Row 2
⎜ 2 1 6 −4 ⎟ Row 3
⎝ ⎠ If a matrix has the same number of rows as the
Col 1 Col 2 Col 3 Col 4
number of columns, then it is called square. For
example, a matrix that has 6 rows and 6 columns is a
⎛ 3 1 4 −1 ⎞ square matrix. We may describe such a matrix as
⎜ ⎟ being square of order 6 or simply a 6 ´ 6 matrix. An
N =⎜ 0 11 −5 8 ⎟
⎜ 2 m ´ m matrix is a square matrix of order m. Q and S
⎝ 1 6 − 4 ⎟⎠
are square matrices.
Order of a matrix æ 1 -1 ö æ 1 2 4ö
Q=ç
è4 2 ÷ø S = çç -1 -1 2 ÷÷
The order of a matrix is written as 𝑚 × 𝑛, where m ç 0 0 11÷
represents the number of rows and n represents the 2´2 è ø
number of columns. A matrix of order 4 × 3, consists 3´ 3
of 4 rows and 3 columns while a matrix of order
3 × 4 consists of 3 rows and 4 columns.
160
The position of elements in a matrix Diagonal matrices
Every single entry in a matrix has a specific position A diagonal matrix is a square matrix whose non-
that can be uniquely described. In describing the diagonal elements are zero. T and V are diagonal
position, we use the notation aij where the subscript, matrices.
i, refers to the row number and the subscript j refers
to the column number of the element. ⎛ 3 0 0 ⎞
Since each position is unique, no two entries can ⎛ 2 0 ⎞ V = ⎜ 0 −5 0 ⎟
T =⎜ ⎜ ⎟
have the same row and column number. The symbol ⎝ 0 5 ⎟⎠ ⎜⎝ 0 0 7 ⎟⎠
a represents an element.
th
aij belongs to the i th row and the j column.
a42 belongs to the 4th row and the 2nd column. Zero matrix
a24 belongs to the 2nd row and the 4th column. If all the elements of any matrix are zero(s), then the
For the matrix, A, defined below, we can assign each matrix is called a zero matrix. Some examples are
element its unique position shown below. Notice shown below. A zero matrix can be of any order.
aij ≠ a ji . For example, a13 ≠ a31 .
⎡ 0 0 ⎤ ⎡ 0 0 0 ⎤ ⎡ 0 0 0 ⎤
⎢ ⎥ ⎢ ⎥ ⎣ ⎦
⎛ 4 1 3 2 ⎞ ⎣ 0 0 ⎦ ⎣ 0 0 0 ⎦
⎜ ⎟
A = ⎜ 0 −11 6 5 ⎟
⎜ 5 −10 −2 1 ⎟
⎝ ⎠ Operations on Matrices
Col 1 Col 2 Col 3 Col 4 In performing operations on matrices, there are some
restrictions. Unlike numbers, one cannot always add,
⎛ 4 112 313 214 ⎞ Row 1
11 subtract or multiply any two matrices. In fact, a
⎜ ⎟
A = ⎜ 021 − 1122 623 524 ⎟ Row 2 division of two matrices is not even possible.
⎜ ⎟
⎝ 531 − 1032 − 233 134 ⎠ Row 3
Addition
Diagonal elements Matrices can only be added if they are of the same
order. This is done by adding or subtracting
Diagonal elements are the elements positioned along corresponding entries. The resulting matrix will also
the diagonal of a square matrix. A and B are square be of the same order.
matrices and have diagonal elements of the type aii .
é1 2 -1ù é 0 -4 2 ù
Square matrix with three diagonal A= ê ú B=ê ú
elements ë 4 3 -5û ë -1 6 3 û
æ 311 1 4 ö 2´3 2´3
A = çç 2 022 6 ÷÷ é1
A + B = ê 11
212 -113 ù é 011
+
-412 213 ù
ç -11 5 - 833 ÷ø ë 421 322 -523 úû êë -121 622 323 úû
è
2´3 2´3
Square matrix with two diagonal é (1 + 0 )11 ( 2 + ( -4 ) ) ( -1 + 2 )13 ù
elements A+ B = ê 12
ú
êë( 4 + ( -1) )21 ( 3 + 6 )22 (5 + 3)23 úû
æ 1 4 ö 2´3
B = ç 11
è 0 622 ÷ø
é1 -2 1ù
A+ B = ê ú
ë 3 9 8û
2´3
161
Subtraction
Solution
Matrices can only be subtracted if they are of the æ 2 1ö æ6 3ö
same order. This is done by subtracting (i) 3 A = 3 ç ÷=ç ÷
corresponding entries. The resulting matrix will also è 3 4 ø è 9 12 ø
be of the same order.
æ 4 -1 2 ö æ -8 2 -1 ö
(ii) -2 B = -2 ç ÷=ç ÷
é1 2 -1ù
A= ê ú è 0 7 -3 ø è 0 14 -6 ø
ë 4 3 -5û
2´3
é 0 -4 2 ù
B=ê ú Equal matrices
ë -1 6 3 û
2´3 Two matrices are equal if:
é1 212 -113 ù é 011 -412 213 ù 1. They are of the same order
A - B = ê 11 - 2. Their corresponding entries are equal.
ë 421 322 -523 úû êë -121 622 323 úû
2´3 2´3 Both conditions must be satisfied before we can
deduce that the matrices are equal. Conversely, if
é (1 - 0 )11 ( 2 - ( -4 ) ) ( -1 - 2 )13 ù matrices are equal then we can deduce that they must
A- B = ê 12
ú
êë( 4 - ( -1) )21 ( 3 - 6 )22 (5 - 3)23 úû be of the same order and that their corresponding
entries are equal. Consider the matrices S and T. They
2´3 are of the same order and their corresponding entries
é1 6 -3ù are the same. Therefore, S = T .
A- B = ê ú
ë5 -3 2 û
æ 1 3ö æ 1 3ö
2´3
S = çç 4 -6 ÷÷ T = çç 4 -6 ÷÷
ç 2 0÷ ç 2 0÷
Rule for addition and subtraction of matrices è ø è ø
162
Solution
We first need to obtain a single matrix for A – 2B. Order of A Order of B Order of C
æ1 2x ö 2´3 3´2 2´2
A - 2B = ç y ÷ 3´4 4´2 3´2
ç -z ÷
è2 ø 4´2 2´3 4´3
4´3 3´2 4´2
æ1 2x ö
æ 1 -2 ö æ 0 1ö ç ÷
ç1 3 ÷ - 2 =
ç 4 3÷ ç y If two matrices cannot be multiplied, they are said to
è ø è ø - z ÷
è2 ø be non-conformable to multiplication. For example,
the product YX is not possible since the number of
æ1 2x ö columns of Y (2) ≠ the number of rows of X, (4)
æ 1 -2 ö æ 0 2 ö ç ÷
ç1 3 ÷ - ç 8 6 ÷ = ç y ´ X Þ This cannot be done.
è ø è ø -z ÷ Y
è2 ø
3´ 2 4´3
æ 1 2 xö
æ 1 -4 ö ç ÷
ç -7 -3 ÷ = ç y We will now illustrate how two matrices can be
è ø -z ÷
è2 ø multiplied using the matrices A and B below.
Equating corresponding entries æ 1 2 3 2ö
-4 = 2 x y -3 = - z æ 1 4 -1 ö ç ÷
-7 = A=ç ÷ and B = ç -1 -1 1 -1 ÷
2 x = -4 2 - z = -3 è 2 0 -3 ø ç 0 4 6 2÷
y è ø
-4 = -7 z=3
x= 2 We wish to determine the matrix AB.
2
y = -7 ( 2 )
x = -2
y = -14 First, check to see if this is possible.
A ´ B = C
2´3 3´ 4 2´4
The Identity or Unit matrix
Based on the above rule, the matrix product 𝐴𝐵 exists
If all the diagonal elements of a diagonal matrix are and the product, 𝐶 will be a 2´4 matrix.
equal to one, then it is called the unit or identity
matrix and is denoted by U or I only. We write out the structure of the answer, that is, what
C looks like. We set up a 2´4 matrix, using the
A unit matrix of A unit matrix of order 3 symbol e, to represent an element.
order 2 æ1 0 0ö
U = çç 0 1 0 ÷÷
æ1 0ö C1 C2 C 3 C 4
I =ç ÷
è0 1ø ç0 0 1÷ ⎛ e11 e12 e13 e14 ⎞ R1
è ø C=⎜ ⎟
⎝ e21 e22 e23 e24 ⎠ R2
163
Each element in the product is the sum of three terms. Commutative Property
For example, 𝑒77 is the product of the elements of
Row 1 and Column 1. The commutative law of multiplication is not obeyed
1 in matrices. Consider two matrices 𝐴, and 𝐵, such
𝑅7 𝐶7 = (1 4 −1) <−1>. that:
0
Notice that there are 3 elements in each row and 3 A ´ B = C
elements in each column. Hence, there is a one-one
correspondence between the elements. We simply 4´2 2´4 4´4
match corresponding elements in order and multiply B ´ A = D
each pair. The sum of the three products is the value 2´4 4´2 2´2
of the element. The computation is completed below.
The product, 𝐴𝐵 = 𝐶 and 𝐶 is a 4´4 matrix.
e11 = 1 ´ 1 + 4 ´ ( -1) + ( -1) ´ 0 = 1 - 4 + 0 = -3 The product 𝐵𝐴 = 𝐷 and 𝐷 is a 2´2 matrix.
e12 = 1 ´ 2 + 4 ´ ( -1) + ( -1) ´ 4 = 2 - 4 - 4 = -6 Since the order of 𝐶 and 𝐷 is not the same, C and D
cannot be equal, C¹D, and it follows that 𝐴𝐵¹𝐵𝐶.
e13 = 1 ´ 3 + 4 ´ 1 + ( -1) ´ 6 = 3 + 4 - 6 = 1
e21 = 2 ´ 1 + 0 ´ ( -1) + ( -3) ´ 0 = 2 + 0 + 0 = 2 We can conclude that matrix multiplication is not
communicative.
e22 = 2 ´ 2 + 0 ´ ( -1) + ( -3) ´ 4 = 4 + 0 - 12 = -8
e23 = 2 ´ 3 + 0 ´ 1 + ( -3) ´ 6 = 6 + 0 - 18 = -12 Example 5
e24 = 2 ´ 2 + 0 ´ ( -1) + ( -3) ´ ( -2 ) = 4 + 0 + 6 = 10 æ1ö
Given that A = (1 -1) and B = ç ÷ .
æ -3 -6 1 0ö è2ø
\ A´ B = ç ÷ Calculate (i) AB (ii) BA
è 2 -8 -12 10 ø
Comment on the products.
Example 4
Solution
æ 1 -1ö (i) A ´ B = C
æ 2 -1 0 ö ç ÷
Given that P = ç
1 4 1 ÷ and Q = ç 4 1 ÷ , 1´ 2 2 ´1 Þ 1´1
è ø ç 0 1÷
è ø C = ( e11 )
find PQ. A ´ B = C
Solution æ1ö
(1 -1) ´ ç ÷ = ( e11 )
First, we check the order of the resulting matrix: è2ø
P ´ Q = R e11 = 1´1 + ( -1) ´ 2 = 1 - 2 = -1
2´3 3´ 2 Þ 2 ´ 2
\ AB = ( -1)
Now set up the multiplication, equating it to the
structure of the product B ´ A = D
(ii)
P ´ Q = R 2 ´1 1´ 2 Þ 2 ´ 2
æ 1 -1ö æe e ö
æ 2 -1 0 ö ç ÷ æ e11 e12 ö D = ç 11 12 ÷
ç 1 4 1 ÷ ´ ç 4 1÷ = ç e ÷ è e21 e22 ø
è ø ç 0 1 ÷ è 21 e22 ø
è ø æ1ö æ e11 e12 ö
Multiply corresponding elements as follows: ç 2 ÷ ´ (1 -1) = ç e ÷
è ø è 21 e22 ø
e11 = 2 ´ 1 + ( -1) ´ 4 + 0 ´ 0 = -2
𝑒77 = 1 × 1 = 1
e12 = 2 ´ ( -1) + ( -1) ´ 1 + 0 ´ 1 = -3 𝑒7@ = 1 × −1 = −1
e21 = 1 ´ 1 + 4 ´ 4 + 2 ´ 0 = 17 𝑒@7 = 2 × 1 = 2
𝑒@@ = 2 × −1 = −2
e22 = 1 ´ ( -1) + 4 ´ 1 + 2 ´ 1 = 5 1 −1
𝐵𝐴 = A B
2 −2
The products 𝐴𝐵 ≠ 𝐵𝐴. This illustrates the non-
æ -2 -3 ö
\ PQ = ç commutative property of matrix multiplication.
è 17 5 ÷ø
164
Example 6 We can apply the same concept.
æ -1 0 ö æ 3 -1 ö
Given that A=ç ÷, B=ç ÷ and The additive inverse of a matrix M is -M because
è 2 3ø è0 4ø M + − M = Zero Matrix
æ 2a -b ö
↑ ↑ ↑
AB = ç d ÷÷ , calculate the values of a, b, c and d.
ç c Matrix Inverse Identity
è 3ø
Solution The null or zero matrix is the identity element for the
æ -1 0 ö æ 3 -1 ö addition of matrices because adding the zero matrix
A´ B = ç ÷´ç ÷ to any matrix leaves the matrix unchanged.
è 2 3ø è 0 4 ø A
𝑎 𝑏
B+A
0 0
B = A
𝑎 𝑏
B
2´2 2´2 𝑐 𝑑 0 0 𝑐 𝑑
2´2
¬¾¾ ®
æe e ö
A ´ B = ç 11 12 ÷ We will now recall the terms multiplicative identity
è e21 e22 ø elements and multiplicative inverses in relation to
e11 = ( -1) ´ 3 + 0 ´ 0 = -3 numbers.
e12 = ( -1) ´ ( -1) + 0 ´ 4 = 1
The multiplicative inverse of a number, N is 𝑁 L7
e21 = 2 ´ 3 + 3 ´ 0 = 6 because
e22 = 2 ´ ( -1) + 3 ´ 4 = 10 𝑁 × 𝑁 L7 = 1
æ -3 1 ö ↑ ↑ ↑
\ AB = ç ÷
è 6 10 ø Number Inverse Identity
Element
æ 2a -b ö
ç æ -3 1 ö The identity element for multiplication of
ç c d ÷÷ = ç ÷ numbers is 1 because multiplying any number
è 6 10 ø
è 3ø by 1 leaves the number unchanged. If N
Equating corresponding elements: represents any number, then
𝑁×1 =𝑁
-3 = 2a -b = 1 By d
= 10
2a = -3 b = -1 inspection 3
3 c=6 d = 10 ´ 3 We can apply the same concept to matrices, whereby,
a=-
2 d = 30
The multiplicative inverse of a matrix, 𝑀 is
𝑀L7 because
𝑀 × 𝑀L7 = 𝐼
Identity elements and inverses - 2×2 matrices
↑ ↑ ↑
We have encountered the terms additive identity Matrix Inverse Identity Matrix
elements and additive inverses in relation to numbers.
The identity element for multiplication of matrices is
The additive inverse of a number N is -N because the identity matrix, I because multiplying any matrix
N + −N = Zero
by I leaves the matrix unchanged. If M represents
↑ ↑ ↑ any 2×2 matrix, then
Number Inverse Identity 𝑎 𝑏 1 0 𝑎 𝑏
A B×A B = A B
𝑐 𝑑 0 1 𝑐 𝑑
165
Inverse of a 2×2 matrix Example 8
Show that the matrix, N is singular where
The inverse of a matrix requires applying a set of æ6 4ö
procedures and is not as simple as finding the inverse N =ç ÷.
of a number. In addition, all matrices do not have è 3 2ø
inverses. To determine if a matrix has an inverse we
must examine its determinant. Solution
N = ( 6 ´ 2 ) - ( 4 ´ 3)
The determinant of a 2×2 matrix = 12 - 12
æa bö =0
If M = ç ÷ then M or det M = ad - bc .
èc dø N = 0 Þ N is singular and has no inverse.
If det M or M = 0 , then the matrix does not have an
inverse and is singular.
166
Using matrices to solve a pair of simultaneous Pre-multiply the matrix equation
-1
by A on both
equations sides to isolate the unknown matrix.
æ 5 3 ö æ 5 3 ö
To solve a pair of simultaneous equations using the ç 47 47 ÷ æ 7 -3 ö æ x ö ç 47 47 ÷ æ 11 ö
ç ÷ =ç ÷
7 ÷ çè 4 5 ÷ø çè y ÷ø ç 4 7 ÷ çè 13 ÷ø
matrix method, we must first convert the pair of
ç- 4
equations to the matrix form. ç ÷ ç- ÷
è 47 47 ø è 47 47 ø
This is done by extracting the coefficients of the
variables to form a 2´2 matrix. This matrix of The left-hand side simplifies to:
𝑥 𝑥 𝑥 𝑥
coefficients multiplied by the matrix A𝑦 B should 𝐴 × 𝐴L7 A𝑦 B = 𝐼 A𝑦 B = A𝑦 B
produce the left-hand side of the matrix equation, as
shown in the examples below. 3. Simplify the right-hand side:
æ 5 3 ö
3x + 2 y = 8 4x - 3y = 1 ç 47 47 ÷ æ 11ö æ e11 ö
ç ÷ =ç ÷
5x - 6 y = 4 5 x + 7 y = 12 ç- 4 7 ÷ çè 13 ÷ø è e21 ø
ç ÷
The matrix equation is: The matrix equation is è 47 47 ø
æ3 2öæ x ö æ8ö æ 4 -3 ö æ x ö æ 1 ö 2´2 2 ´1 2 ´1
ç 5 -6 ÷ ç y ÷ = ç 4 ÷ ç 5 7 ÷ ç y ÷ = ç 12 ÷
è øè ø è ø è øè ø è ø æ 5 ö æ 3 ö
e11 = ç ´ 11÷ + ç ´ 13 ÷ = 2
è 47 ø è 47 ø
æ 4 ö æ 7 ö
Using a matrix method, we will solve for x and y in: e21 = ç - ´ 11÷ + ç ´ 13 ÷ = 1
7 x - 3 y = 11 …(1) è 47 ø è 47 ø
4 x + 5 y = 13 …(2)
Equating LHS to RHS gives
æ x ö æ 2ö
1. Rewrite as a matrix equation: ç y ÷ = ç1÷
æ 7 -3 ö æ x ö æ 11ö è ø è ø
\ç ÷ç ÷ = ç ÷ Equating corresponding elements,
è 4 5 ø è y ø è 13 ø x = 2 and y = 1
This is of the form 𝐴𝑋 = 𝐵, where 𝐴, 𝑋 and 𝐵 are
Summary of steps in solving simultaneous
matrices with
𝑥 equations using the matrix method.
7 −3 11
𝐴=A B , 𝑋 = A𝑦 B and 𝐵 = A B
4 5 13
1. Express the pair of equations as a matrix
𝑥 equation.
2. Isolate 𝑋 = A𝑦 B -1
2. Find A , the inverse of A, which is the
In our study of simple equations, we used inverses to 2 ´ 2 matrix in the matrix equation
isolate the variable and solve the equation. We do 3. Pre-multiply both sides of the equation by
likewise when solving matrix equations. To isolate 𝑥
the unknown matrix, 𝑋, we need to determine the A-1 , this simplifies to: A𝑦 B = 𝐴L7 𝐵
inverse of the matrix, 𝐴. 4. Simplify the right-hand side to obtain a
æ 7 -3 ö A = ( 7 ´ 5) - ( -3 ´ 4 ) 2 × 1 matrix.
Let A = ç ÷ , now 5. Equate corresponding elements to obtain
è 4 5ø = 47
the values of the unknowns.
So, the inverse of A is
1 æ 5 - ( -3) ö It should now be noted that so far, we have
A-1 = ç ÷
47 è - ( 4 ) 7 ø encountered three methods to solve a pair of
simultaneous equations. These are:
æ 5 3ö 1. Algebraic methods (elimination and substitution)
ç 47 47 ÷ 2. Graphical method
=ç ÷
ç- 4 7 ÷ 3. Matrix method
ç ÷
è 47 47 ø
In some cases, we are asked to use a specific method
and so it is necessary to be familiar with all three
167
methods. Of course, when we have a choice we select producing three sizes of T-shirts may sell different
the one that is most efficient and easy for us to apply. quantities of each size on a particular day. They may
record their sales in a table after 2 days as such:
Example 10
Express the equations Small Medium Large
2𝑥 + 5𝑦 = 6 Day 1 8 12 3
3𝑥 + 4𝑦 = 8 Day 2 6 10 5
in the form 𝐴𝑋 = 𝐵, where 𝐴, 𝑋 and 𝐵 are matrices.
Hence, solve for 𝑥 and 𝑦 using the matrix method.
Their prices can also be recorded in another table,
such as:
Solution
The equations in a matrix form are: Small Medium Large
æ 2 5ö æ x ö æ6ö Cost $15 $20 $25
çç ÷÷ çç ÷÷ = çç ÷÷
è 3 4ø è y ø è8ø
AX = B If we wish to determine the total sales for each day,
´ A-1 we can set up a pair of matrices whose product will
produce these totals.
A ´ A-1 ´ X = A -1 ´ B
I ´ X = A-1 B We can represent the matrix of quantities sold as
follows: Each cell refers to the number of T-shirts
X = A-1 B sold on a particular day in a given size. Two
possibilities exist, a 2 × 3 or a 3 × 1.
Det A = 2 × 4 − 5 × 3 = −7
æ 4 5ö 8 6
ç- ÷ 8 12 3
7 7 A B or <12 10>
A =ç
-1
÷ 6 10 5
çç 3 - 2 ÷÷ 6 5
è 7 7ø
We can also represent the cost of each size as a
æ 4 5ö
matrix, either a 3 × 1 or a 1 × 3 matrix can be used.
æ xö ç- 7 ÷
7 ÷ æç 6 ö÷
çç ÷÷ = ç ç ÷ This would look like:
è y ø çç 3 - 2 ÷÷ è 8 ø
è 7 7ø 15
æ æ 4 ö æ5 ö ö (15 20 25) or <20>
ç ç - ´ 6÷ + ç ´ 8÷ ÷ 25
7 ø è7 ø ÷
=ç è
ç æ3 ö æ 2 ö÷ Assuming we wish to calculate the total sales on each
ç ç ´ 6÷ + ç - ´ 8÷ ÷
è è7 ø è 7 øø day, we can set up a multiplication of two matrices
æ 24 40 ö such that the product yields the total.
ç- + ÷
=ç 7 7 ÷
Using our rules for matrix multiplication, we can
çç 18 - 16 ÷÷
è 7 7 ø come up with the following product:
æ 2ö 15
ç2 ÷ 8 12 3 < >.
= ç 7÷
A B 20
6 10 5
çç 2 ÷÷ 25
è 7ø
@ @ This product is conformable to multiplication
Hence, 𝑥 = 2 , 𝑦 =
_ _ because a 2 × 3 multiplied by a 3 × 1 results in a
2 × 1 matrix. We now set up the multiplication.
168
120 + 240 + 75 435 needed to know the geometric properties of the
=A B=A B
90 + 200 + 125 415 transformations so that we can locate their images.
This is interpreted as:
In this section, we will learn how to perform
The total sales of T-shirts for day 1 is $435.
geometric transformations using matrices – this
The total sales of T-shirts for day 2 is $415
method relies on algebraic rather than geometric
techniques and can be quite effective. In fact, we do
Example 11 not need to use a Cartesian Plane to locate the image,
A business makes toy trucks and toy cars. The we simply calculate the coordinates of the image
following table is used in calculating the cost of points using the appropriate matrix.
manufacturing each toy.
169
Our knowledge of the geometric properties of these Reflection in the X-axis
transformations will be applied to determine the
matrices for each transformation. (1, 0 ) ⟶ (1, 0) (0, 1 ) ⟶ (0, −1)
Hence, Hence,
Consider a unit square, drawn in the first quadrant 𝑎 𝑏 1 1 𝑎 𝑏 0 0
A BA B = A B A BA B = A B
whose coordinates are (0, 0), (1, 0), (1, 1) and (0, 1). 𝑐 𝑑 0 0 𝑐 𝑑 1 −1
Under a given transformation each point (x, y) will Multiplying Multiplying
𝑎 1 𝑏 0
move to (𝑥 b , 𝑦′) where, A B=A B A B=A B
𝑐 0 𝑑 −1
𝑎 𝑏 𝑥 𝑥b Therefore Therefore
A B A𝑦 B = d b e 𝑎 = 1 and 𝑐 = 0 𝑏 = 0 and 𝑑 = −1
𝑐 𝑑 𝑦
Unit square y
Reflection in the Y-axis
−1 0
The matrix for reflection in the Y-axis is A B
0 1
0 1
The matrix for reflection in the X-axis is A B
1 0
170
Reflection in the line 𝒚 = −𝒙 A rotation about the origin through 1800
(1, 0 ) ⟶ (0, −1) (0, 1 ) ⟶ (−1, 0) (1, 0 ) ⟶ (−1, 0) (0, 1 ) ⟶ (0, −1)
Hence, Hence, Hence, Hence,
𝑎 𝑏 1 0 𝑎 𝑏 0 −1 𝑎 𝑏 1 −1 𝑎 𝑏 0 0
A BA B = A B A BA B = A B A BA B = A B A BA B = A B
𝑐 𝑑 0 −1 𝑐 𝑑 1 0 𝑐 𝑑 0 0 𝑐 𝑑 1 −1
Multiplying Multiplying Multiplying Multiplying
𝑎 0 𝑏 −1 𝑎 −1 𝑏 0
A B=A B A B=A B A B=A B A B=A B
𝑐 −1 𝑑 0 𝑐 0 𝑑 −1
Therefore Therefore Therefore Therefore
𝑎 = 0 and 𝑐 = −1 𝑏 = −1 and 𝑑 = 0 𝑎 = −1 and 𝑐 = 0 𝑏 = 0 and 𝑑 = −1
The matrix for reflection in the line 𝑦 = −𝑥 is The matrix for a rotation about
0 −1 −1 0
A B the origin through 1800 is A B
−1 0 0 −1
0
Note that for a 180 rotation, there is no need to
specify the direction since clockwise or anticlockwise
Matrices for Rotation turns will produce the same image.
171
Example 12 Example 14
The triangle PQR has coordinates P(3, 5), Q(6, 5)
and R(6, 7). The triangle LMN has coordinates L(1, 4), M(3, 4)
Determine the coordinates of the image of triangle and N(1, 6). Determine the coordinates of the image
PQR under a reflection in the 𝑦- axis of triangle LMN under an enlargement with center (0,
0) with scale factor 3.
Solution
Solution
−1 0
Matrix for reflection in the Y axis is A B. Matrix for enlargement with center (0, 0), k=3 is
0 1 3 0
To calculate the image of P, Q and R under the A B.
reflection, pre-multiply as follows: 0 3
To calculate the image of P, Q and R under the
enlargement, pre-multiply as follows:
−1 0 3 −3
A B A B = A B, hence
0 1 5 5 3 0 1 3
tu vwxxyz {|}{
𝑃(3,5) ~⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯€ 𝑃b (−3,5) A B A B = A B, hence
0 3 4 12
tu vwxxyz {|}{
𝐿(1,4) ~⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯€ 𝐿b (3,12)
−1 0 6 −6
A B A B = A B, hence
0 1 5 5 3 0 3 9
tu vwxxyz {|}{
𝑃(6,5) ~⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯€ 𝑄b (−6,5) A B A B = A B, hence
0 3 4 12
tu vwxxyz {|}{
𝑀(3,4) ~⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯€ 𝑀b (9,12)
−1 0 6 −6
A B A B = A B, hence
0 1 7 7 3 0 1 3
tu vwxxyz {|}{ A B A B = A B, hence
𝑃(6,7) ~⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯€ 𝑅b (−6,7) 0 3 6 18
tu vwxxyz {|}{
𝑁(1,6) ~⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯€ 𝑁 b (3,18)
Under the reflection in the Y-axis, triangle PQR is
mapped onto triangle 𝑃′𝑄′𝑅′ where Under the reflection in the Y-axis, triangle LMN is
𝑃b (−3,5), 𝑄b (−6,5) and 𝑅b (−6,7). mapped onto triangle 𝐿′𝑀′𝑁′ where
𝐿b (3,12), 𝑀b (9,12) and 𝑁 b (3,18).
Example 13
172
Solution Solution – Example 15, part (iii)
(i) M is a reflection in the line 𝑦 = −𝑥, The transformation M represents a rotation of 90º
0 −1 clockwise about O. This is deduced by applying
M= A B.
−1 0 geometrical properties of rotation of having
N is an enlargement, center origin, 𝑘 = 2, knowledge of the matrix for the rotation.
2 0
N=A B.
0 2
(3, 5)
(ii) The combined transformation, M followed by
N is NM.
2 0 0 −1
𝑃 = 𝑁𝑀 = A BA B
0 2 −1 0
0 −2
= A B (5, −3)
−2 0
173