Kronecker Product Explained with Worked Examples

The Kronecker product replaces each entry of by the block . If is and is , the product is .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Kronecker product means

The result is a large block matrix made of scaled copies of . Unlike ordinary matrix multiplication, there is no size restriction, but the order matters: is generally different from (though they have the same entries rearranged).

The eigenvalues of are all the products of an eigenvalue of and one of , so the trace and determinant follow: and for square matrices of sizes and .

It appears in image processing, quantum computing and in solving matrix equations such as . It also relates to the determinant of a product through the mixed product rule . The determinant of the result follows a rule similar to the determinant of a product, and the eigenvalues of each factor come from the 2 × 2 method.

What is it used for?

The Kronecker product builds a large matrix from two small ones by replacing every entry of the first with a scaled copy of the second.

How to use kronecker product

  1. Take each entry of in turn.
  2. Replace it by that entry times the whole matrix .
  3. Assemble the blocks in the same arrangement as .
  4. Check the size is .

Graph

Entries in a 2 × 2 matrix, another 2 × 2 and their Kronecker productA: 4B: 4A ⊗ B: 1600.511.522.533.54024681012141618Entries in a 2 × 2 matrix, another 2 × 2 and their Kronecker productxyGraph with x from 0 to 4 and y from 0 to 18. Shows bars (3); point A: 4 at (1, 4); point B: 4 at (2, 4); point A ⊗ B: 16 at (3, 16).

The product has (2 × 2) rows and (2 × 2) columns, so 16 entries.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: a 4 × 4 product

Find for , .

Worked example
Answer
(0102102003043040)\begin{pmatrix}0&1&0&2\\1&0&2&0\\0&3&0&4\\3&0&4&0\end{pmatrix}
  1. Blocks

Example 2: the determinant

Find for the same and .

Worked example
Answer
44
  1. det A = −2, det B = −1
  2. Both are 2 × 2

Example 3: eigenvalues

If has eigenvalues 1, 2 and has eigenvalues 3, 4, find the eigenvalues of .

Worked example
Answer
3, 4, 6, 83,\ 4,\ 6,\ 8
  1. All products

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A 2 × 2, B 2 × 2

size of A ⊗ B

4 × 4.

A 2 × 3, B 3 × 2

rows

6.

A = (1 2; 3 4), B = (2 0; 0 1)

tr(A ⊗ B) = tr A × tr B

15.

same

det(A ⊗ B) = (detA)²(detB)²

16.

Word problems

A ⊗ B replaces each aᵢⱼ by the block aᵢⱼB, giving an mp × nq matrix. tr(A ⊗ B) = trA trB and, for n × n and m × m matrices, det(A ⊗ B) = (det A)ᵐ(det B)ⁿ.

Size

2 × 2 with 2 × 2.

  1. 2·2 by 2·2
  2. Check: ✓4

Rows

2 × 3 with 3 × 2.

  1. 2 × 3
  2. Check: ✓6

Trace Higher

5 × 3.

  1. 15
  2. Check: ✓15

Determinant Higher

Both 2 × 2.

  1. (−2)² × 2²
  2. Check: ✓16

Common mistakes

A ⊗ B = B ⊗ A

equal ✗

generally not equal ✓

Block order.

Size m × n

m + p ✗

mp ✓

Multiply.

Entry-wise product

Hadamard ✗

Kronecker block ✓

Different.

tr(A ⊗ B) = tr A + tr B

sum ✗

product ✓

Formula.

Exam tips

  1. Block aᵢⱼB.
  2. Size mp × nq.
  3. tr = trA trB.
  4. Eigenvalues multiply.
  5. Not commutative.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Rows of A ⊗ B: A 3 × 2, B 4 × 5 Foundation

12

2. Columns of A ⊗ B: A 3 × 2, B 4 × 5 Foundation

10

3. tr(A ⊗ B): trA = 3, trB = 4 Foundation

12

4. Entry (1,3) of A ⊗ B for A = (2 3; 1 4), B = (1 5; 0 2): a₁₂ b₁₁ Higher

3

5. Entry (1,4): a₁₂ b₁₂ Higher

15

6. det(A ⊗ B): A, B both 2 × 2 with det 3 and 2 Higher

36

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Kronecker product
A ⊗ B.
Block matrix
Matrix of blocks.
Trace
Sum of the diagonal.
Determinant
Scales with powers.
Eigenvalues
Products λᵢμⱼ.
Hadamard product
Entry-wise.

Frequently asked questions

What is the Kronecker product?

The block matrix with blocks aᵢⱼB.

What size is A ⊗ B?

mp × nq.

What is tr(A ⊗ B)?

tr A × tr B.

What are its eigenvalues?

All products λᵢμⱼ.

Which page covers matrix products?

matrix product entry.

Which page covers trace and determinant?

trace and determinant from eigenvalues.

More in Vectors and matrices and the formula sheets.