Matrix Multiplication
Question 11 mark
\mathbf{A}=\begin{pmatrix}4&-1\\-3&0\end{pmatrix}
Work out -2\mathbf{A}
Hint
Multiply every entry of \mathbf{A} by -2, taking care with the signs.
Worked solution
- Each entry is multiplied by -2
- -2\times4=-8 and -2\times(-1)=2
- -2\times(-3)=6 and -2\times0=0
- Answer: \begin{pmatrix}-8&2\\6&0\end{pmatrix}
Question 21 mark
\mathbf{A}=\begin{pmatrix}3&-2\\5&4\end{pmatrix} \mathbf{B}=\begin{pmatrix}1&6\\-3&2\end{pmatrix}
Select the matrix \mathbf{A}\mathbf{B}.
Hint
Each entry of \mathbf{A}\mathbf{B} is a row of \mathbf{A} times a column of \mathbf{B}, with the products added.
Worked solution
- Top left: row 1 of \mathbf{A} \times column 1 of \mathbf{B}: 3(1)+(-2)(-3)=3+6=9
- Top right: row 1 \times column 2: 3(6)+(-2)(2)=18-4=14
- Bottom left: row 2 \times column 1: 5(1)+4(-3)=5-12=-7
- Bottom right: row 2 \times column 2: 5(6)+4(2)=30+8=38
- Order matters: \mathbf{B}\mathbf{A} is a different matrix.
- Answer: \begin{pmatrix}9&14\\-7&38\end{pmatrix}
Question 31 mark
\mathbf{A} and \mathbf{B} are any 2\times2 matrices.
\mathbf{I} is the 2\times2 identity matrix.
Which statement is always true?
Hint
Remember what the identity matrix looks like, and that the order of a matrix product matters.
Worked solution
- \mathbf{I}=\begin{pmatrix}1&0\\0&1\end{pmatrix}: 1s on the leading diagonal, 0s elsewhere
- Multiplying any matrix by \mathbf{I} leaves it unchanged, so \mathbf{A}\mathbf{I}=\mathbf{A}
- \mathbf{A}\mathbf{B} and \mathbf{B}\mathbf{A} are usually different
- \mathbf{A}^2 means \mathbf{A}\mathbf{A}, worked out row by column
- Answer: \mathbf{A}\mathbf{I}=\mathbf{A}
Question 42 marks
\begin{pmatrix}6&-1\\-2&3\end{pmatrix}\begin{pmatrix}4\\5\end{pmatrix}=\begin{pmatrix}x\\y\end{pmatrix}
Work out the values of x and y.
x=
1 mark
y=
1 mark
Hint
Each entry of the answer is a row of the 2\times2 matrix times the column, with the two products added.
Worked solution
x=
- Top row of the matrix times the column: 6(4)+(-1)(5)
- =24-5
- Answer: x=19
y=
- Bottom row of the matrix times the column: -2(4)+3(5)
- =-8+15
- Answer: y=7
Question 52 marks
\mathbf{A}=\begin{pmatrix}2&-3\\1&4\end{pmatrix}
Work out \mathbf{A}^2
Hint
\mathbf{A}^2 means \mathbf{A}\times\mathbf{A}: multiply rows of the first \mathbf{A} by columns of the second.
Worked solution
- \mathbf{A}^2=\begin{pmatrix}2&-3\\1&4\end{pmatrix}\begin{pmatrix}2&-3\\1&4\end{pmatrix}
- Top left: 2(2)+(-3)(1)=1
- Top right: 2(-3)+(-3)(4)=-18
- Bottom left: 1(2)+4(1)=6
- Bottom right: 1(-3)+4(4)=13
- (Squaring each entry, or doubling \mathbf{A}, is not the same.)
- Answer: \begin{pmatrix}1&-18\\6&13\end{pmatrix}
Question 62 marks
k is a constant.
k\begin{pmatrix}2&1\\-1&3\end{pmatrix}\begin{pmatrix}1&-2\\4&0\end{pmatrix}=\begin{pmatrix}-18&12\\-33&-6\end{pmatrix}
Work out the value of k.
Hint
Multiply the two matrices first, then compare one entry of your answer with the matrix on the right.
Worked solution
- Multiply the matrices, row by column:
- \begin{pmatrix}2&1\\-1&3\end{pmatrix}\begin{pmatrix}1&-2\\4&0\end{pmatrix}=\begin{pmatrix}6&-4\\11&2\end{pmatrix}
- Top left: 6k=-18, so k=-3
- Check another entry: -3\times(-4)=12 ✓
- Answer: k=-3
Question 72 marks
p and q are constants.
\begin{pmatrix}4&-3\\p&2\end{pmatrix}\begin{pmatrix}5\\q\end{pmatrix}=\begin{pmatrix}26\\11\end{pmatrix}
Work out the value of q.
1 mark
Work out the value of p.
1 mark
Hint
Multiply out the left-hand side to get one equation from each row; the top row has only one unknown. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- Top row times the column: 4(5)+(-3)q=26
- 20-3q=26, so -3q=6
- Answer: q=-2
Part (b)
- Bottom row times the column: 5p+2q=11
- With q=-2: 5p-4=11, so 5p=15
- Answer: p=3
Question 82 marks
\mathbf{A}=\begin{pmatrix}2&1\\5&3\end{pmatrix} \mathbf{B}=\begin{pmatrix}3&-1\\-5&k\end{pmatrix}
\mathbf{A}\mathbf{B}=\mathbf{I}, where \mathbf{I} is the 2\times 2 identity matrix.
Work out the value of k.
Hint
Write down \mathbf{I}, then use a row of \mathbf{A} times the column of \mathbf{B} that contains k.
Worked solution
- \mathbf{I}=\begin{pmatrix}1&0\\0&1\end{pmatrix} (1s on the leading diagonal, 0s elsewhere).
- Top right of \mathbf{A}\mathbf{B}: row 1 \times column 2: 2(-1)+1(k)=k-2
- This must equal the top right of \mathbf{I}, which is 0: k-2=0
- Check with the bottom right: 5(-1)+3k=-5+6=1 ✓
- Answer: k=2
Question 92 marks
k is a constant.
\begin{pmatrix}2&-1\\3&k\end{pmatrix}\begin{pmatrix}4&1\\5&-2\end{pmatrix}=\begin{pmatrix}3&4\\-8&11\end{pmatrix}
Work out the value of k.
Hint
k is in the bottom row, so multiply the bottom row of the first matrix by a column of the second.
Worked solution
- Bottom row \times column 1: 3(4)+k(5)=12+5k
- This is the bottom-left entry: 12+5k=-8
- 5k=-20
- Check bottom right: 3(1)+(-4)(-2)=3+8=11 ✓
- Answer: k=-4
Question 102 marks
\mathbf{A}=\begin{pmatrix}3&1\\4&3\end{pmatrix}
\mathbf{B} is a 2\times2 matrix such that \mathbf{A}\mathbf{B}=5\mathbf{I}, where \mathbf{I} is the identity matrix.
Which of these is \mathbf{B}?
Hint
Write 5\mathbf{I} as a matrix, then multiply \mathbf{A} by each option until you find the one that gives it.
Worked solution
- 5\mathbf{I}=\begin{pmatrix}5&0\\0&5\end{pmatrix}
- Try \begin{pmatrix}3&-1\\-4&3\end{pmatrix}
- Top row: 3(3)+1(-4)=5 and 3(-1)+1(3)=0
- Bottom row: 4(3)+3(-4)=0 and 4(-1)+3(3)=5
- So \mathbf{A}\mathbf{B}=\begin{pmatrix}5&0\\0&5\end{pmatrix}=5\mathbf{I}
- (The second option gives -5\mathbf{I}.)
- Answer: \begin{pmatrix}3&-1\\-4&3\end{pmatrix}
Question 113 marks
The matrix \begin{pmatrix}4&3\\3&2\end{pmatrix} maps the point P onto the point (5,\,3)
Work out the coordinates of P.
Hint
Let P be (x,\,y): the matrix times the column \begin{pmatrix}x\\y\end{pmatrix} equals the image as a column.
Worked solution
- \begin{pmatrix}4&3\\3&2\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}5\\3\end{pmatrix}
- So 4x+3y=5 and 3x+2y=3
- Multiply the first by 2: 8x+6y=10
- Multiply the second by 3: 9x+6y=9
- Subtract: x=-1
- 4(-1)+3y=5, so 3y=9 and y=3
- Answer: P=(-1,\,3)
Question 123 marks
a and b are constants.
\begin{pmatrix}a&3\\-1&2\end{pmatrix}\begin{pmatrix}2&b\\1&4\end{pmatrix}=\begin{pmatrix}-5&-8\\0&3\end{pmatrix}
Work out the value of a.
2 marks
Work out the value of b.
1 mark
Hint
Multiply out the left-hand side in terms of a and b, then choose entries that contain only one unknown.
Worked solution
Part (a)
- Top left: row 1 \times column 1: 2a+3(1)=2a+3
- 2a+3=-5, so 2a=-8
- Answer: a=-4
Part (b)
- Bottom right: row 2 \times column 2: -1(b)+2(4)=8-b
- 8-b=3, so b=5
- Check top right: ab+3(4)=-20+12=-8 ✓
- Answer: b=5
Question 133 marks
\mathbf{A}=\begin{pmatrix}1&k\\2&-1\end{pmatrix} \mathbf{B}=\begin{pmatrix}2&6\\6&-4\end{pmatrix}
k is a constant and \mathbf{A}\mathbf{B}=\mathbf{B}\mathbf{A}
Work out the value of k.
Hint
Work out both \mathbf{A}\mathbf{B} and \mathbf{B}\mathbf{A} in terms of k, then make one pair of matching entries equal.
Worked solution
- \mathbf{A}\mathbf{B}=\begin{pmatrix}2+6k&6-4k\\-2&16\end{pmatrix}
- \mathbf{B}\mathbf{A}=\begin{pmatrix}14&2k-6\\-2&6k+4\end{pmatrix}
- Top left: 2+6k=14, so 6k=12 and k=2
- Check top right: 6-4(2)=-2 and 2(2)-6=-2 ✓
- Answer: k=2
Question 143 marks
a is a constant.
\begin{pmatrix}a&4\\1&a\end{pmatrix}\begin{pmatrix}a\\-2\end{pmatrix}=\begin{pmatrix}17\\5\end{pmatrix}
Work out the value of a.
Hint
The top row gives two possible values of a; use the bottom row to decide which one is right.
Worked solution
- Top row: a(a)+4(-2)=a^2-8
- a^2-8=17, so a^2=25 and a=5 or a=-5
- Bottom row: 1(a)+a(-2)=-a
- -a=5, so a=-5
- Check the top row: (-5)^2-8=17 ✓
- Answer: a=-5
Question 153 marks
x is a positive number and k is a constant.
\begin{pmatrix}x&3\\-2&x\end{pmatrix}\begin{pmatrix}4\\x\end{pmatrix}=k\begin{pmatrix}1\\1\end{pmatrix}
Work out the value of x.
Hint
The right-hand side has two equal entries, so the two entries on the left-hand side must be equal too.
Worked solution
- Top row: 4x+3x=7x
- Bottom row: -2(4)+x(x)=x^2-8
- Both equal k, so x^2-8=7x
- x^2-7x-8=0
- (x-8)(x+1)=0, so x=8 or x=-1
- x is positive
- Answer: x=8
Question 16Challenge5 marks
\mathbf{A}=\begin{pmatrix}1&2\\1&3\end{pmatrix} \mathbf{B}=\begin{pmatrix}0&-1\\1&0\end{pmatrix}
A point P is transformed by matrix \mathbf{A}.
The image is then transformed by matrix \mathbf{B}.
Which matrix represents the single transformation \mathbf{A} followed by \mathbf{B}?
2 marks
The final image of P is (-1,\,2)
Work out the coordinates of P.
3 marks
Hint
The matrix for the transformation done first goes on the right of the product. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathbf{A} acts first, so it goes on the right: the matrix is \mathbf{B}\mathbf{A}
- \mathbf{B}\mathbf{A}=\begin{pmatrix}0&-1\\1&0\end{pmatrix}\begin{pmatrix}1&2\\1&3\end{pmatrix}
- Top row: 0(1)+(-1)(1)=-1 and 0(2)+(-1)(3)=-3
- Bottom row: 1(1)+0(1)=1 and 1(2)+0(3)=2
- (\mathbf{A}\mathbf{B} would be \begin{pmatrix}2&-1\\3&-1\end{pmatrix}, which means \mathbf{B} first, then \mathbf{A}.)
- Answer: \begin{pmatrix}-1&-3\\1&2\end{pmatrix}
Part (b)
- Let P=(x,\,y): \begin{pmatrix}-1&-3\\1&2\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}-1\\2\end{pmatrix}
- So -x-3y=-1 and x+2y=2
- Add the equations: -y=1, so y=-1
- x+2(-1)=2, so x=4
- Check: \mathbf{A} maps (4,\,-1) to (2,\,1), and \mathbf{B} maps (2,\,1) to (-1,\,2) ✓
- Answer: P=(4,\,-1)
Question 17Challenge5 marks
\mathbf{A}=\begin{pmatrix}4&-1\\6&3\end{pmatrix} \mathbf{B}=\begin{pmatrix}p&q\\-2&r\end{pmatrix}
\mathbf{A}\mathbf{B}=k\mathbf{I}, where \mathbf{I} is the identity matrix and p, q, r and k are constants.
Work out the value of k.
2 marks
Work out the value of q.
Give your answer as a fraction in its simplest form.
2 marks
Work out the value of r.
Give your answer as a fraction in its simplest form.
1 mark
Hint
Multiply out \mathbf{A}\mathbf{B} and compare it with \begin{pmatrix}k&0\\0&k\end{pmatrix}: start with the entry that contains only one unknown.
Worked solution
Part (a)
- \mathbf{A}\mathbf{B}=\begin{pmatrix}4p+2&4q-r\\6p-6&6q+3r\end{pmatrix}
- k\mathbf{I}=\begin{pmatrix}k&0\\0&k\end{pmatrix}
- Bottom left: 6p-6=0, so p=1
- Top left: k=4p+2=4+2
- Answer: k=6
Part (b)
- Top right: 4q-r=0, so r=4q
- Bottom right: 6q+3r=k=6
- Substitute r=4q: 6q+12q=6, so 18q=6
- Answer: q=\dfrac{1}{3}
Part (c)
- r=4q=4\times\dfrac{1}{3}
- Check: \mathbf{A}\begin{pmatrix}1&\frac{1}{3}\\-2&\frac{4}{3}\end{pmatrix}=\begin{pmatrix}6&0\\0&6\end{pmatrix} ✓
- Answer: r=\dfrac{4}{3}
Question 18Challenge5 marks
\mathbf{A}=\begin{pmatrix}a&1\\0&a\end{pmatrix}, where a is a constant.
Which matrix is \mathbf{A}^2?
2 marks
\mathbf{A}^3=\begin{pmatrix}-8&12\\0&-8\end{pmatrix}
Work out the value of a.
3 marks
Hint
\mathbf{A}^3 is \mathbf{A}^2 multiplied by \mathbf{A}. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- \mathbf{A}^2=\begin{pmatrix}a&1\\0&a\end{pmatrix}\begin{pmatrix}a&1\\0&a\end{pmatrix}
- Top left: a(a)+1(0)=a^2
- Top right: a(1)+1(a)=2a
- Bottom row: 0(a)+a(0)=0 and 0(1)+a(a)=a^2
- Answer: \begin{pmatrix}a^2&2a\\0&a^2\end{pmatrix}
Part (b)
- \mathbf{A}^3=\mathbf{A}^2\mathbf{A}=\begin{pmatrix}a^2&2a\\0&a^2\end{pmatrix}\begin{pmatrix}a&1\\0&a\end{pmatrix}
- =\begin{pmatrix}a^3&3a^2\\0&a^3\end{pmatrix}
- Top left: a^3=-8, so a=\sqrt[3]{-8}=-2 (a cube root, not a square root)
- Check top right: 3(-2)^2=12 ✓
- Answer: a=-2
Question 19Challenge5 marks
a and b are positive integers.
\begin{pmatrix}a&b\\2&1\end{pmatrix}\begin{pmatrix}a\\b\end{pmatrix}=\begin{pmatrix}25\\10\end{pmatrix}
Work out the value of a.
4 marks
Work out the value of b.
1 mark
Hint
Multiply out to get one equation from each row, then substitute the linear equation into the other one. Answer part (a) before attempting part (b).
Worked solution
Part (a)
- Top row: a(a)+b(b)=a^2+b^2, so a^2+b^2=25
- Bottom row: 2a+b=10, so b=10-2a
- Substitute: a^2+(10-2a)^2=25
- a^2+100-40a+4a^2=25
- 5a^2-40a+75=0, so a^2-8a+15=0
- (a-3)(a-5)=0, so a=3 or a=5
- a=5 gives b=0, which is not positive
- Answer: a=3
Part (b)
- b=10-2(3)=4
- Check: 3^2+4^2=25 ✓
- Answer: b=4
Question 20Challenge6 marks
\mathbf{A}=\begin{pmatrix}a&2\\1&b\end{pmatrix}, where a and b are integers.
\mathbf{A}^2=\begin{pmatrix}11&2\\1&6\end{pmatrix}
Work out the value of a.
3 marks
Write down the value of b.
1 mark
\mathbf{A}^2-\mathbf{A}=k\mathbf{I}, where \mathbf{I} is the identity matrix and k is an integer.
Work out the value of k.
2 marks
Hint
Multiply \mathbf{A} by itself row-by-column, then compare entries: the diagonal entries give two possibilities each, and an off-diagonal entry tells you which pair works.
Worked solution
Part (a)
- \mathbf{A}^2=\mathbf{A}\mathbf{A}=\begin{pmatrix}a&2\\1&b\end{pmatrix}\begin{pmatrix}a&2\\1&b\end{pmatrix}=\begin{pmatrix}a^2+2&2a+2b\\a+b&2+b^2\end{pmatrix}
- (Not \begin{pmatrix}a^2&4\\1&b^2\end{pmatrix}: you can't square each entry.)
- Top left: a^2+2=11, so a^2=9 and a=3 or a=-3
- Bottom right: 2+b^2=6, so b^2=4 and b=2 or b=-2
- Bottom left: a+b=1 (top right 2a+2b=2 says the same).
- The only pair that adds to 1 is a=3, b=-2
- Answer: a=3
Part (b)
- From part (a), a+b=1 with a=3, so b=-2 (and b^2=4 ✓).
- Answer: b=-2
Part (c)
- \mathbf{A}=\begin{pmatrix}3&2\\1&-2\end{pmatrix}
- \mathbf{A}^2-\mathbf{A}=\begin{pmatrix}11-3&2-2\\1-1&6-(-2)\end{pmatrix}=\begin{pmatrix}8&0\\0&8\end{pmatrix}
- \begin{pmatrix}8&0\\0&8\end{pmatrix}=8\begin{pmatrix}1&0\\0&1\end{pmatrix}=8\mathbf{I}
- Answer: k=8