A matrix is a set of numbers arranged in rows and columns to form a rectangular array. Multiplying a matrix by another matrix is called "matrix multiplication."
Solved Examples
Problem 1: If the matrix A =
Solution:
To find (-1/3) A, we have to multiply every element of A by (-1/3). Then
(-1/3) A= 18 x (-1/3) 15 x (-1/3) -21 x (-1/3)
=
\begin{pmatrix} -6\\ -5\\ 7 \end{pmatrix}
Problem 2: Find the product of A and B:
Solution:
Given
A = \begin{pmatrix} 3 & 2 & -1 \\ 4 & 2 & 0 \end{pmatrix} andB = \begin{pmatrix} 0 & 1 \\ 1 & 2 \\ 3 & 1 \end{pmatrix} Product Matrix
AB = \begin{pmatrix} 3 \cdot 0 + 2 \cdot 1 + (-1) \cdot 3 & 3 \cdot 1 + 2 \cdot 2 + (-1) \cdot 1 \\ 4 \cdot 0 + 2 \cdot 1 + 0 \cdot 3 & 4 \cdot 1 + 2 \cdot 2 + 0 \cdot 1 \end{pmatrix}
AB = \begin{pmatrix} -1 & 6 \\ 2 & 8 \end{pmatrix}
Problem 3: Find the product of the following matrices:
Solution:
Given
A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 2 & 1 \\ 1 & 2 & 5 \end{pmatrix}
B = \begin{pmatrix} 1 & 0 \\ 0 & 1 \\ 2 & 1 \end{pmatrix} Then,
A * B =
\begin{pmatrix} 1 & 2 & 3 \\ 0 & 2 & 1 \\ 1 & 2 & 5 \end{pmatrix} *\begin{pmatrix} 1 & 0 \\ 0 & 1 \\ 2 & 1 \end{pmatrix} =
\begin{pmatrix} 1 + 0 + 6 & 0 + 2 + 3 \\ 0 + 0 + 2 & 0 + 2 + 1 \\ 1 + 0 + 10 & 0 + 2 + 5 \end{pmatrix} =
\begin{pmatrix} 7 & 5 \\ 2 & 3 \\ 11 & 7 \end{pmatrix}
Problem 4: Calculate AB and BA. If
Solution:
Find AB =
\begin{bmatrix} 2(1)+1(5) & 2(-2)+1(3)\\ 3(1)+4(5) & 3(-2)+4(3) \end{bmatrix}
= \begin{bmatrix} 7 & -1\\ 23 & 6 \end{bmatrix} Therefore: AB =
= \begin{bmatrix} 7 & -1\\ 23 & 6 \end{bmatrix} Find BA =
\begin{bmatrix} 1 & 5\\ -2 & 3 \end{bmatrix} \begin{bmatrix} 2 & 3\\ 1 & 4 \end{bmatrix}
= \begin{bmatrix} 1(2)+(-2)(3) & 1(1)+(-2)(4)\\ 5(2)+3(3) & 5(1)+3(4) \end{bmatrix}
\begin{bmatrix} -4 & -7\\ 19 & 17 \end{bmatrix} Thus, AB≠BA
This demonstrates an important property:
Matrix multiplication is generally not commutative.
Problem 5: Solve:
Solution:
AB= \begin{bmatrix} x(1)+2(2) & x(4)+2(-1)\\ 3(1)+y(2) & 3(4)+y(-1) \end{bmatrix} Therefore,
AB= \begin{bmatrix} x+4 & 4x-2\\ 3+2y & 12-y \end{bmatrix}
Problem 6: Solve
Solution:
AB= \begin{bmatrix} 1 & 0\\ 2 & 3 \end{bmatrix} \begin{bmatrix} 2 & 4\\ 1 & 0 \end{bmatrix}
= \begin{bmatrix} 10 & 1\\ 12 & 0 \end{bmatrix} Now multiply by C:
ABC= \begin{bmatrix} 10 & 1\\ 12 & 0 \end{bmatrix} \begin{bmatrix} 1 & 2\\ 3 & 1 \end{bmatrix}
\begin{bmatrix} 10(1)+1(2) & 10(3)+1(1)\\ 12(1)+0(2) & 12(3)+0(1) \end{bmatrix}
\begin{bmatrix} 12 & 12\\ 31 & 36 \end{bmatrix} Therefore,
ABC= \begin{bmatrix} 12 & 12\\ 31 & 36 \end{bmatrix}
Practice Questions
Q1. Given matrices: A =
Q2. Given matrices: C =
Q3. Given matrices: E =
Q4. Given matrices: G =
Q5. Given matrices: I =
Q6. Given matrices: M =