By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Matrix multiplication is a fundamental operation in linear algebra that combines two matrices to produce another matrix. It's used to perform operations such as matrix-vector multiplication, matrix addition, and matrix inversion.
Matrix multiplication is a crucial tool in many fields, including data analysis, machine learning, computer graphics, and physics. For example, in data analysis, matrix multiplication is used to perform operations such as data transformation, feature extraction, and dimensionality reduction.
A matrix is a two-dimensional array of numbers. The dimensions of a matrix are denoted by m x n, where m is the number of rows and n is the number of columns. For matrix multiplication to be possible, the number of columns in the first matrix must be equal to the number of rows in the second matrix.
m x n
m
n
The rules for matrix multiplication are as follows:
The formula for matrix multiplication is given by:
$$C_{ij} = \sum_{k=1}^{n} A_{ik}B_{kj}$$
where C is the resulting matrix, A is the first matrix, B is the second matrix, i is the row index of the resulting matrix, j is the column index of the resulting matrix, and k is the column index of the first matrix and the row index of the second matrix.
C
A
B
i
j
k
To approach matrix multiplication problems, follow these steps:
Given the matrices:
$$A = \begin{bmatrix} 1 & 2 \ 3 & 4 \end{bmatrix}$$
$$B = \begin{bmatrix} 5 & 6 \ 7 & 8 \end{bmatrix}$$
Find the product matrix C using matrix multiplication.
To find the product matrix C, we need to calculate each element of the matrix using the formula:
For the first element C_{11}, we have:
C_{11}
$$C_{11} = A_{11}B_{11} + A_{12}B_{21} = (1)(5) + (2)(7) = 5 + 14 = 19$$
Similarly, we can calculate the other elements of the matrix:
$$C_{12} = A_{11}B_{12} + A_{12}B_{22} = (1)(6) + (2)(8) = 6 + 16 = 22$$
$$C_{21} = A_{21}B_{11} + A_{22}B_{21} = (3)(5) + (4)(7) = 15 + 28 = 43$$
$$C_{22} = A_{21}B_{12} + A_{22}B_{22} = (3)(6) + (4)(8) = 18 + 32 = 50$$
The resulting matrix is:
$$C = \begin{bmatrix} 19 & 22 \ 43 & 50 \end{bmatrix}$$
$$A = \begin{bmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{bmatrix}$$
$$B = \begin{bmatrix} 10 & 11 & 12 \ 13 & 14 & 15 \ 16 & 17 & 18 \end{bmatrix}$$
$$C_{11} = A_{11}B_{11} + A_{12}B_{21} + A_{13}B_{31} = (1)(10) + (2)(13) + (3)(16) = 10 + 26 + 48 = 84$$
$$C_{12} = A_{11}B_{12} + A_{12}B_{22} + A_{13}B_{32} = (1)(11) + (2)(14) + (3)(17) = 11 + 28 + 51 = 90$$
$$C_{13} = A_{11}B_{13} + A_{12}B_{23} + A_{13}B_{33} = (1)(12) + (2)(15) + (3)(18) = 12 + 30 + 54 = 96$$
$$C_{21} = A_{21}B_{11} + A_{22}B_{21} + A_{23}B_{31} = (4)(10) + (5)(13) + (6)(16) = 40 + 65 + 96 = 201$$
$$C_{22} = A_{21}B_{12} + A_{22}B_{22} + A_{23}B_{32} = (4)(11) + (5)(14) + (6)(17) = 44 + 70 + 102 = 216$$
$$C_{23} = A_{21}B_{13} + A_{22}B_{23} + A_{23}B_{33} = (4)(12) + (5)(15) + (6)(18) = 48 + 75 + 108 = 231$$
$$C_{31} = A_{31}B_{11} + A_{32}B_{21} + A_{33}B_{31} = (7)(10) + (8)(13) + (9)(16) = 70 + 104 + 144 = 318$$
$$C_{32} = A_{31}B_{12} + A_{32}B_{22} + A_{33}B_{32} = (7)(11) + (8)(14) + (9)(17) = 77 + 112 + 153 = 342$$
$$C_{33} = A_{31}B_{13} + A_{32}B_{23} + A_{33}B_{33} = (7)(12) + (8)(15) + (9)(18) = 84 + 120 + 162 = 366$$
$$C = \begin{bmatrix} 84 & 90 & 96 \ 201 & 216 & 231 \ 318 & 342 & 366 \end{bmatrix}$$
One common mistake is to multiply matrices with incorrect dimensions. For example, trying to multiply a 2x3 matrix with a 3x4 matrix will result in an error.
Another common mistake is to calculate the elements of the resulting matrix incorrectly. For example, forgetting to multiply the corresponding elements of the rows of the first matrix and the columns of the second matrix.
A third common mistake is to interpret the resulting matrix incorrectly. For example, forgetting to check if the resulting matrix meets the requirements of the problem.
The best way to master matrix multiplication is to practice, practice, practice. Start with simple examples and gradually move on to more complex ones.
If you're struggling with matrix multiplication, use a calculator or software to check your work.
Always check your work by recalculating the elements of the resulting matrix.
Graphing calculators such as the TI-84 or Desmos can be used to perform matrix multiplication.
Statistical software such as R or Python libraries like NumPy/SciPy can be used to perform matrix multiplication.
Symbolic math tools such as Wolfram Alpha or Symbolab can be used to perform matrix multiplication.
Matrix multiplication is used in data analysis to perform operations such as data transformation, feature extraction, and dimensionality reduction.
Matrix multiplication is used in machine learning to perform operations such as neural network training and prediction.
Matrix multiplication is used in computer graphics to perform operations such as 3D transformations and projections.
What is the result of multiplying the matrices:
A) $\begin{bmatrix} 19 & 22 \ 43 & 50 \end{bmatrix}$ B) $\begin{bmatrix} 20 & 24 \ 46 & 52 \end{bmatrix}$ C) $\begin{bmatrix} 21 & 26 \ 49 & 56 \end{bmatrix}$ D) $\begin{bmatrix} 22 & 28 \ 52 & 60 \end{bmatrix}$
The correct answer is A) $\begin{bmatrix} 19 & 22 \ 43 & 50 \end{bmatrix}$ because the result of multiplying the matrices is:
$$C = \begin{bmatrix} 1(5) + 2(7) & 1(6) + 2(8) \ 3(5) + 4(7) & 3(6) + 4(8) \end{bmatrix} = \begin{bmatrix} 19 & 22 \ 43 & 50 \end{bmatrix}$$
The distractors are tempting because they are close to the correct answer, but they are not correct. For example, option B) $\begin{bmatrix} 20 & 24 \ 46 & 52 \end{bmatrix}$ is tempting because it is close to the correct answer, but it is not correct because the result of multiplying the matrices is not $\begin{bmatrix} 20 & 24 \ 46 & 52 \end{bmatrix}$.
A) $\begin{bmatrix} 84 & 90 & 96 \ 201 & 216 & 231 \ 318 & 342 & 366 \end{bmatrix}$ B) $\begin{bmatrix} 85 & 91 & 97 \ 202 & 217 & 232 \ 319 & 343 & 367 \end{bmatrix}$ C) $\begin{bmatrix} 86 & 92 & 98 \ 203 & 218 & 233 \ 320 & 344 & 368 \end{bmatrix}$ D) $\begin{bmatrix} 87 & 93 & 99 \ 204 & 219 & 234 \end{bmatrix}$
The correct answer is A) $\begin{bmatrix} 84 & 90 & 96 \ 201 & 216 & 231 \ 318 & 342 & 366 \end{bmatrix}$ because the result of multiplying the matrices is:
$$C = \begin{bmatrix} 1(10) + 2(13) + 3(16) & 1(11) + 2(14) + 3(17) & 1(12) + 2(15) + 3(18) \ 4(10) + 5(13) + 6(16) & 4(11) + 5(14) + 6(17) & 4(12) + 5(15) + 6(18) \ 7(10) + 8(13) + 9(16) & 7(11) + 8(14) + 9(17) & 7(12) + 8(15) + 9(18) \end{bmatrix} = \begin{bmatrix} 84 & 90 & 96 \ 201 & 216 & 231 \ 318 & 342 & 366 \end{bmatrix}$$
The distractors are tempting because they are close to the correct answer, but they are not correct. For example, option B) $\begin{bmatrix} 85 & 91 & 97 \ 202 & 217 & 232 \ 319 & 343 & 367 \end{bmatrix}$ is tempting because it is close to the correct answer, but it is not correct because the result of multiplying the matrices is not $\begin{bmatrix} 85 & 91 & 97 \ 202 & 217 & 232 \ 319 & 343 & 367 \end{bmatrix}$.
To master matrix multiplication, you need to have a good understanding of linear algebra, including vectors, matrices, and operations such as addition, subtraction, and multiplication.
To learn matrix multiplication, you can use resources such as textbooks, online courses, and practice problems. Some recommended resources include:
Once you have a good understanding of matrix multiplication, you can move on to advanced topics such as:
Linear independence is a fundamental concept in linear algebra that deals with the independence of vectors. It is closely related to matrix multiplication and is used to determine the rank of a matrix.
Eigenvalues and eigenvectors are fundamental concepts in linear algebra that deal with the properties of matrices. They are closely related to matrix multiplication and are used to determine the stability of a system.
Singular value decomposition is a fundamental concept in linear algebra that deals with the decomposition of a matrix into three matrices. It is closely related to matrix multiplication and is used to determine the rank of a matrix.
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.