Meaning and direct answer
Matrices represent linear maps in coordinates. A product combines rows of the left matrix with columns of the right; inner dimensions must match. Transposition exchanges rows and columns, and trace sums the diagonal entries of a square matrix.[1]
Matrices represent linear maps in coordinates. A product combines rows of the left matrix with columns of the right; inner dimensions must match. Transposition exchanges rows and columns, and trace sums the diagonal entries of a square matrix.
Assumptions and limits
A is m×n and B is n×p, giving an m×p product. Addition requires equal sizes. Trace is defined for square matrices. AB and BA may have different sizes or unequal entries.[1]
Why the relation holds
The jth column of B is the image of a basis vector under the right-hand map. A acts on that column, so its ith row dotted with the column produces (AB)ij. Transposition reverses factor order. For compatible rectangular factors, tr(AB)=tr(BA), even though the products need not be equal.[1]
The model visualized
A maps (0,1) to (2,1)
Free with a Quanta account. Your download stays ready after registration.
Two fully worked examples
Seeing factor order
- Given
- A=[[1,2],[0,1]], B=[[2,0],[3,1]].
- Find
- Answer the stated question using valid steps and verify the result.
The jth column of B is the image of a basis vector under the right-hand map. A acts on that column, so its ith row dotted with the column produces (AB)ij. Transposition reverses factor order. For compatible rectangular factors, tr(AB)=tr(BA), even though the products need not be equal.
Substitute the stated data or evaluate the defining relation.
Result: AB=[[8,2],[3,1]].
Check: BA=[[2,4],[3,7]] differs; both traces equal 9.
Rectangular dimensions
- Given
- A=[[1,2,3],[4,5,6]], b=(1,0,−1)ᵀ.
- Find
- Answer the stated question using valid steps and verify the result.
The jth column of B is the image of a basis vector under the right-hand map. A acts on that column, so its ith row dotted with the column produces (AB)ij. Transposition reverses factor order. For compatible rectangular factors, tr(AB)=tr(BA), even though the products need not be equal.
Substitute the stated data or evaluate the defining relation.
Result: The result is a two-dimensional column vector.
Check: A 2×3 matrix times a 3×1 vector gives 2×1.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions
Calculate · Foundation
Compute Ab for A=[[1,0],[2,3]], b=(4,5)ᵀ.
Show hint
A is m×n and B is n×p, giving an m×p product. Addition requires equal sizes. Trace is defined for square matrices. AB and BA may have different sizes or unequal entries.
Learning goal: Compute Ab for A=[[1,0],[2,3]], b=(4,5)ᵀ.
Show solution and calculation
Ab=(4,23)ᵀ.
Rearrange · Foundation
Transpose [[1,2,3],[4,5,6]].
Show hint
A is m×n and B is n×p, giving an m×p product. Addition requires equal sizes. Trace is defined for square matrices. AB and BA may have different sizes or unequal entries.
Learning goal: Transpose [[1,2,3],[4,5,6]].
Show solution and calculation
[[1,4],[2,5],[3,6]], size 3×2.
Interpret · Application
What size is (4×3)(3×2)?
Show hint
A is m×n and B is n×p, giving an m×p product. Addition requires equal sizes. Trace is defined for square matrices. AB and BA may have different sizes or unequal entries.
Learning goal: What size is (4×3)(3×2)?
Show solution and calculation
4×2; the inner dimension 3 is summed over.
Error analysis · Application
Why is (AB)ᵀ=AᵀBᵀ false?
Show hint
A is m×n and B is n×p, giving an m×p product. Addition requires equal sizes. Trace is defined for square matrices. AB and BA may have different sizes or unequal entries.
Learning goal: Why is (AB)ᵀ=AᵀBᵀ false?
Show solution and calculation
The correct order is BᵀAᵀ; otherwise dimensions often fail even to match.
Transfer · Application
Two linear processing steps apply B and then A. Which matrix represents both?
Show hint
A is m×n and B is n×p, giving an m×p product. Addition requires equal sizes. Trace is defined for square matrices. AB and BA may have different sizes or unequal entries.
Learning goal: Two linear processing steps apply B and then A. Which matrix represents both?
Show solution and calculation
AB acts on x as A(Bx); the right-hand factor acts first.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Related next learning steps
Related methods: Inverse Matrix and Linear Systems, Linear systems and matrix rank.
Sources for this explanation
Quanta · Updated November 6, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored a German-English topic with assumptions, reasoning, original examples and five solved exercises.
Cite this reference page
Quanta. Matrix multiplication, transpose and trace. Updated November 6, 2026. https://quanta-study.de/en/formula-sheet/matrixrechnung-produkt-transponierte-spur
When citing a specific scientific statement, also cite the specialist source linked to that statement.