Matrix Multiplication Examples: 46 Problems with Answers

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Matrix Multiplication.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Multiplying matrices A (m×n) and B (n×p) by taking dot products of rows of A with columns of B to produce an m×p result.

Imagine each row of A as a question and each column of B as an answer key. You 'grade' each row against each column by multiplying corresponding entries and summing. This is why column count of A must match row count of B—the question and answer key must have the same length.

Read the full concept explanation →

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Each result entry is the dot product of a row of A with a column of B, and inner dimensions must match.

Common stuck point: The procedure for matrix multiplication is the easy part; the trap is multiplying when inner dimensions disagree. Asking "Does the column count of A equal the row count of B, and am I dotting rows with columns?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Does the column count of A equal the row count of B, and am I dotting rows with columns?

Worked Examples

Example 1

medium
Compute [1234][5678].

Answer

[19224350]

First step

1
Step 1: Entry (1,1): 1⋅5+2⋅7=5+14=19.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan — every worked solution, all subjects

Example 2

hard
Compute [20−1132][14−1].

Example 3

challenge
Use the Fibonacci matrix identity Fn=(Fn+1FnFnFn−1) and Fm+n=FmFn to derive an identity relating Fm+n to Fm,Fm−1,Fn,Fn+1.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Can you multiply a 2×3 matrix by a 2×3 matrix? Why or why not?

Example 2

medium
Compute [1001][3−257].

Example 3

easy
Compute the dot product for the product entry: row (12) times column (34).

Example 4

easy
What are the dimensions of AB if A is 2×3 and B is 3×2?

Example 5

easy
Compute (1001)(5678).

Example 6

easy
Compute (2003)(11).

Example 7

easy
Can you multiply a 2×3 matrix by a 2×3 matrix?

Example 8

easy
Compute (1234)(10).

Example 9

easy
Compute the (1,1) entry of (2103)(4567).

Example 10

easy
Is matrix multiplication commutative in general?

Example 11

medium
Compute (1234)(5678).

Example 12

medium
Compute (2113)(1021).

Example 13

medium
Show that AB≠BA for A=(1101), B=(1011). Compute AB.

Example 14

medium
Compute (123)(456).

Example 15

medium
Compute (23)(14).

Example 16

medium
Compute A2 for A=(0110).

Example 17

medium
Compute (3002)(1234).

Example 18

medium
Compute (1201)(3124).

Example 19

medium
Compute the (2,1) entry of (1234)(5061).

Example 20

challenge
Find a nonzero 2×2 matrix A with A2=0 (the zero matrix). Give one example and verify.

Example 21

challenge
If A=(1101), find A3.

Example 22

challenge
For A=(2002) and any 2×2 matrix B, why does AB=BA? Compute AB for B=(1357).

Example 23

easy
Can a 3×4 matrix be multiplied (on the right) by a 5×2 matrix?

Example 24

easy
Compute (0000)(5678).

Example 25

easy
For A a 3×3 matrix, what are the dimensions of A4?

Example 26

easy
True/false: matrix multiplication is associative — (AB)C=A(BC) whenever defined.

Example 27

medium
Compute (1−120)(3412).

Example 28

medium
Compute (123014)(10011−1).

Example 29

medium
For A=(1101), compute A2.

Example 30

medium
Compute (1234)(0110) and explain the geometric effect.

Example 31

medium
Compute (0110)(1234) and explain.

Example 32

medium
For A=(1234) and B=(0110), compute both AB and BA, showing they differ.

Example 33

medium
Show that (AB)T=BTAT by computing both sides for A=(1234), B=(5006).

Example 34

medium
Compute (200030005)(111).

Example 35

medium
Compute (1111)2.

Example 36

medium
For the rotation matrix R(θ)=(cos⁡θ−sin⁡θsin⁡θcos⁡θ), compute R(θ)R(ϕ).

Example 37

hard
For A=(1101), find a closed form for An.

Example 38

hard
Find A2 for A=(123012001).

Example 39

hard
Find a 2×2 matrix A with A2=−I.

Example 40

hard
Find 2×2 matrices A,B with AB=0 but A,B≠0.

Example 41

hard
Compute (1234)(−213/2−1/2).

Example 42

hard
For the projection matrix P=12(1111), compute P2 and explain.

Example 43

challenge
For Fibonacci matrix F=(1110), compute F3 and identify the entries.

Background Knowledge

These ideas may be useful before you work through the harder examples.

matrix operationsmatrix definition