How to Multiply Matrices

How to Multiply Matrices

 Read,4 minutes

Matrix multiplication is defined only when the inner dimensions match. An m by n matrix times an n by p matrix gives an m by p matrix.

Rule

Each entry is found by multiplying a row by a column and adding the products.

Matrix Multiplication

Think of this lesson as more than a rule to memorize. Matrix Multiplication is about row-and-column structure and operation rules. A strong student does not rush to the first formula on the page; they pause, identify the structure of the problem, and then choose the tool that matches that structure. That pause is what prevents most mistakes.

Matrices organize numbers by rows and columns. Dimensions matter: a \(2\times3\) matrix has 2 rows and 3 columns, and operations must respect that shape.

Here is the teacher way to approach the topic. First, read the problem slowly and underline the information that is actually given. Next, name the target: are you finding a value, simplifying an expression, comparing two quantities, solving for a variable, or interpreting a graph? Once the target is clear, the calculation becomes much less mysterious because every step has a job.

  • Check dimensions before doing any operation.
  • Work entry by entry, row by row, or row times column.
  • Keep signs organized.
  • Verify the answer has the correct dimensions.

A helpful habit is to say what each number represents before using it. For example, if a number is a denominator, a radius, a slope, a common difference, or a coefficient, it should not be treated like an ordinary loose number. Its role tells you where it belongs in the formula. This is especially important on ACT-style questions because many wrong answer choices come from using the right numbers in the wrong places.

Another good habit is to keep the work organized vertically. Write one clean line for substitution, one line for simplifying, and one line for the final answer. If the problem has units, keep the units attached. If the problem has signs, exponents, or parentheses, copy them carefully from one line to the next. Most errors in this topic are not caused by a hard idea; they are caused by dropping a negative sign, combining unlike terms, using the wrong denominator, or skipping a check.

When you finish, ask a quick reasonableness question. Should the answer be positive or negative? Should it be larger or smaller than the original number? Does it fit the graph, table, shape, or equation? Can you plug it back into the original problem? This final check turns the lesson from a procedure into understanding.

On a test, the goal is not to write the longest solution. The goal is to write enough clear work that you can see the structure, avoid traps, and recover quickly if one line goes wrong. Practice the examples below with that mindset: identify the type of problem, choose the matching rule, show the substitution, simplify carefully, and check the answer before moving on.

Free printable Worksheets

Exercises for Matrix Multiplication

1) Let \(A=\begin{bmatrix} -5 & 6 \\ -2 & -4 \end{bmatrix}\) and \(B=\begin{bmatrix} -1 & -3 \\ 2 & 0 \end{bmatrix}\). Find \(AB\).

2) Let \(A=\begin{bmatrix} -4 & -6 \end{bmatrix}\) and \(B=\begin{bmatrix} 0 \\ 3 \end{bmatrix}\). Find \(AB\).

3) Let \(A=\begin{bmatrix} -3 & -5 & 6 \\ 0 & -2 & -4 \end{bmatrix}\) and \(B=\begin{bmatrix} 1 \\ 4 \\ -6 \end{bmatrix}\). Find \(AB\).

4) Let \(A=\begin{bmatrix} -2 \\ 1 \\ 4 \end{bmatrix}\) and \(B=\begin{bmatrix} 2 & 0 & -2 \end{bmatrix}\). Find \(AB\).

5) Let \(A=\begin{bmatrix} -1 & -3 & -5 \\ 2 & 0 & -2 \end{bmatrix}\) and \(B=\begin{bmatrix} 3 & 1 \\ 6 & 4 \\ -4 & -6 \end{bmatrix}\). Find \(AB\).

6) Let \(A=\begin{bmatrix} 0 & -2 \\ 3 & 1 \\ 6 & 4 \end{bmatrix}\) and \(B=\begin{bmatrix} 4 & 2 & 0 \\ -6 & 5 & 3 \end{bmatrix}\). Find \(AB\).

7) Let \(A=\begin{bmatrix} 1 & -1 \\ 4 & 2 \end{bmatrix}\) and \(B=\begin{bmatrix} 1 & -1 & -3 \\ 4 & 2 & 0 \\ -6 & 5 & 3 \end{bmatrix}\). Find \(AB\).

8) Let \(A=\begin{bmatrix} 2 & 0 & -2 \end{bmatrix}\) and \(B=\begin{bmatrix} 6 & 4 \\ -4 & -6 \\ -1 & -3 \end{bmatrix}\). Find \(AB\).

9) Let \(A=\begin{bmatrix} 3 & 1 & -1 \\ 6 & 4 & 2 \\ -4 & -6 & 5 \end{bmatrix}\) and \(B=\begin{bmatrix} -6 \\ -3 \\ 0 \end{bmatrix}\). Find \(AB\).

10) Let \(A=\begin{bmatrix} 4 & 2 & 0 \\ -6 & 5 & 3 \\ -3 & -5 & 6 \end{bmatrix}\) and \(B=\begin{bmatrix} -5 & 6 \\ -2 & -4 \\ 1 & -1 \end{bmatrix}\). Find \(AB\).

11) Let \(A=\begin{bmatrix} 5 \\ -5 \end{bmatrix}\) and \(B=\begin{bmatrix} -4 & -6 \end{bmatrix}\). Find \(AB\).

12) Let \(A=\begin{bmatrix} 6 & 4 \end{bmatrix}\) and \(B=\begin{bmatrix} 6 & 4 & 2 \\ -4 & -6 & 5 \\ -1 & -3 & -5 \end{bmatrix}\). Find \(AB\).

13) Let \(A=\begin{bmatrix} -6 & 5 & 3 \\ -3 & -5 & 6 \end{bmatrix}\) and \(B=\begin{bmatrix} -2 & -4 & -6 \\ 1 & -1 & -3 \\ 4 & 2 & 0 \end{bmatrix}\). Find \(AB\).

14) Let \(A=\begin{bmatrix} -5 & 6 \\ -2 & -4 \\ 1 & -1 \end{bmatrix}\) and \(B=\begin{bmatrix} -1 \\ 2 \end{bmatrix}\). Find \(AB\).

15) Let \(A=\begin{bmatrix} -4 \end{bmatrix}\) and \(B=\begin{bmatrix} 0 & -2 & -4 \end{bmatrix}\). Find \(AB\).

16) Let \(A=\begin{bmatrix} -3 & -5 & 6 \\ 0 & -2 & -4 \\ 3 & 1 & -1 \end{bmatrix}\) and \(B=\begin{bmatrix} 1 & -1 & -3 \\ 4 & 2 & 0 \\ -6 & 5 & 3 \end{bmatrix}\). Find \(AB\).

17) Let \(A=\begin{bmatrix} -2 & -4 & -6 & 5 \\ 1 & -1 & -3 & -5 \end{bmatrix}\) and \(B=\begin{bmatrix} 2 \\ 5 \\ -5 \\ -2 \end{bmatrix}\). Find \(AB\).

18) Let \(A=\begin{bmatrix} -1 & -3 & -5 & 6 \end{bmatrix}\) and \(B=\begin{bmatrix} -1 & -3 \\ 2 & 0 \\ 5 & 3 \\ -5 & 6 \\ -2 & -4 \end{bmatrix}\). Find \(AB\).

19) Let \(A=\begin{bmatrix} 0 & -2 \\ 3 & 1 \end{bmatrix}\) and \(B=\begin{bmatrix} 4 \\ -6 \end{bmatrix}\). Find \(AB\).

20) Let \(A=\begin{bmatrix} 1 & -1 \\ 4 & 2 \\ -6 & 5 \end{bmatrix}\) and \(B=\begin{bmatrix} 5 & 3 \\ -5 & 6 \end{bmatrix}\). Find \(AB\).

 
1)Let \(A=\begin{bmatrix} -5 & 6 \\ -2 & -4 \end{bmatrix}\) and \(B=\begin{bmatrix} -1 & -3 \\ 2 & 0 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 2 and B is 2 by 2.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 17 & 15 \\ -6 & 6 \end{bmatrix}.}\)
2)Let \(A=\begin{bmatrix} -4 & -6 \end{bmatrix}\) and \(B=\begin{bmatrix} 0 \\ 3 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 1 by 2 and B is 2 by 1.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -18 \end{bmatrix}.}\)
3)Let \(A=\begin{bmatrix} -3 & -5 & 6 \\ 0 & -2 & -4 \end{bmatrix}\) and \(B=\begin{bmatrix} 1 \\ 4 \\ -6 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 3 and B is 3 by 1.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -59 \\ 16 \end{bmatrix}.}\)
4)Let \(A=\begin{bmatrix} -2 \\ 1 \\ 4 \end{bmatrix}\) and \(B=\begin{bmatrix} 2 & 0 & -2 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 1 and B is 1 by 3.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -4 & 0 & 4 \\ 2 & 0 & -2 \\ 8 & 0 & -8 \end{bmatrix}.}\)
5)Let \(A=\begin{bmatrix} -1 & -3 & -5 \\ 2 & 0 & -2 \end{bmatrix}\) and \(B=\begin{bmatrix} 3 & 1 \\ 6 & 4 \\ -4 & -6 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 3 and B is 3 by 2.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -1 & 17 \\ 14 & 14 \end{bmatrix}.}\)
6)Let \(A=\begin{bmatrix} 0 & -2 \\ 3 & 1 \\ 6 & 4 \end{bmatrix}\) and \(B=\begin{bmatrix} 4 & 2 & 0 \\ -6 & 5 & 3 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 2 and B is 2 by 3.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 12 & -10 & -6 \\ 6 & 11 & 3 \\ 0 & 32 & 12 \end{bmatrix}.}\)
7)Let \(A=\begin{bmatrix} 1 & -1 \\ 4 & 2 \end{bmatrix}\) and \(B=\begin{bmatrix} 1 & -1 & -3 \\ 4 & 2 & 0 \\ -6 & 5 & 3 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 2 and B is 3 by 3.}\)
\(\color{red}{Inner dimensions do not match, so AB is undefined.}\)
8)Let \(A=\begin{bmatrix} 2 & 0 & -2 \end{bmatrix}\) and \(B=\begin{bmatrix} 6 & 4 \\ -4 & -6 \\ -1 & -3 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 1 by 3 and B is 3 by 2.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 14 & 14 \end{bmatrix}.}\)
9)Let \(A=\begin{bmatrix} 3 & 1 & -1 \\ 6 & 4 & 2 \\ -4 & -6 & 5 \end{bmatrix}\) and \(B=\begin{bmatrix} -6 \\ -3 \\ 0 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 3 and B is 3 by 1.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -21 \\ -48 \\ 42 \end{bmatrix}.}\)
10)Let \(A=\begin{bmatrix} 4 & 2 & 0 \\ -6 & 5 & 3 \\ -3 & -5 & 6 \end{bmatrix}\) and \(B=\begin{bmatrix} -5 & 6 \\ -2 & -4 \\ 1 & -1 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 3 and B is 3 by 2.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -24 & 16 \\ 23 & -59 \\ 31 & -4 \end{bmatrix}.}\)
11)Let \(A=\begin{bmatrix} 5 \\ -5 \end{bmatrix}\) and \(B=\begin{bmatrix} -4 & -6 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 1 and B is 1 by 2.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -20 & -30 \\ 20 & 30 \end{bmatrix}.}\)
12)Let \(A=\begin{bmatrix} 6 & 4 \end{bmatrix}\) and \(B=\begin{bmatrix} 6 & 4 & 2 \\ -4 & -6 & 5 \\ -1 & -3 & -5 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 1 by 2 and B is 3 by 3.}\)
\(\color{red}{Inner dimensions do not match, so AB is undefined.}\)
13)Let \(A=\begin{bmatrix} -6 & 5 & 3 \\ -3 & -5 & 6 \end{bmatrix}\) and \(B=\begin{bmatrix} -2 & -4 & -6 \\ 1 & -1 & -3 \\ 4 & 2 & 0 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 3 and B is 3 by 3.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 29 & 25 & 21 \\ 25 & 29 & 33 \end{bmatrix}.}\)
14)Let \(A=\begin{bmatrix} -5 & 6 \\ -2 & -4 \\ 1 & -1 \end{bmatrix}\) and \(B=\begin{bmatrix} -1 \\ 2 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 2 and B is 2 by 1.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 17 \\ -6 \\ -3 \end{bmatrix}.}\)
15)Let \(A=\begin{bmatrix} -4 \end{bmatrix}\) and \(B=\begin{bmatrix} 0 & -2 & -4 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 1 by 1 and B is 1 by 3.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 0 & 8 & 16 \end{bmatrix}.}\)
16)Let \(A=\begin{bmatrix} -3 & -5 & 6 \\ 0 & -2 & -4 \\ 3 & 1 & -1 \end{bmatrix}\) and \(B=\begin{bmatrix} 1 & -1 & -3 \\ 4 & 2 & 0 \\ -6 & 5 & 3 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 3 and B is 3 by 3.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -59 & 23 & 27 \\ 16 & -24 & -12 \\ 13 & -6 & -12 \end{bmatrix}.}\)
17)Let \(A=\begin{bmatrix} -2 & -4 & -6 & 5 \\ 1 & -1 & -3 & -5 \end{bmatrix}\) and \(B=\begin{bmatrix} 2 \\ 5 \\ -5 \\ -2 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 4 and B is 4 by 1.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} -4 \\ 22 \end{bmatrix}.}\)
18)Let \(A=\begin{bmatrix} -1 & -3 & -5 & 6 \end{bmatrix}\) and \(B=\begin{bmatrix} -1 & -3 \\ 2 & 0 \\ 5 & 3 \\ -5 & 6 \\ -2 & -4 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 1 by 4 and B is 5 by 2.}\)
\(\color{red}{Inner dimensions do not match, so AB is undefined.}\)
19)Let \(A=\begin{bmatrix} 0 & -2 \\ 3 & 1 \end{bmatrix}\) and \(B=\begin{bmatrix} 4 \\ -6 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 2 by 2 and B is 2 by 1.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 12 \\ 6 \end{bmatrix}.}\)
20)Let \(A=\begin{bmatrix} 1 & -1 \\ 4 & 2 \\ -6 & 5 \end{bmatrix}\) and \(B=\begin{bmatrix} 5 & 3 \\ -5 & 6 \end{bmatrix}\). Find \(AB\).
\(\color{red}{A is 3 by 2 and B is 2 by 2.}\)
\(\color{red}{Row-by-column multiplication gives AB=\begin{bmatrix} 10 & -3 \\ 10 & 24 \\ -55 & 12 \end{bmatrix}.}\)

Matrix Multiplication Practice Quiz