What are the properties of matrix multiplication?

Quick Overview

List the properties of matrix multiplication, including which laws of ordinary arithmetic hold and which fail. Tests linear algebra basics: dimension rules, how transposes and inverses act on products, counterexamples, and why the grouping of a chain of products affects its cost.

What are the properties of matrix multiplication?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What are the properties of matrix multiplication? Say which algebraic laws hold, which familiar laws from ordinary number arithmetic do not, and how transposes and inverses behave with products. ```hint Think of composition A product $AB$ applied to a vector means applying $B$ first and then $A$. Ask which properties of composing functions carry over, and which depend on the order of the steps. ``` ### What a Strong Answer Covers - The laws that hold, along with the dimension rule for when a product is defined - Which law from scalar arithmetic fails, backed by a concrete counterexample - How transpose and inverse interact with a product - At least one practical consequence, such as choosing the order in which to evaluate a chain of products ### Follow-up Questions - For matrices of shapes ${10 \times 100}$, ${100 \times 5}$ and ${5 \times 50}$, which grouping of the product is cheapest, and by how much? - If $AB = AC$, can you conclude that $B = C$? - Why does $\operatorname{tr}(AB) = \operatorname{tr}(BA)$ hold even when $AB\neq BA$? - Which pairs of matrices do commute?

Overview: List the properties of matrix multiplication, including which laws of ordinary arithmetic hold and which fail. Tests linear algebra basics: dimension rules, how transposes and inverses act on products, counterexamples, and why the grouping of a chain of products affects its cost.

PracHub logo
General
Nov 24, 2026
easyData ScientistOtherStatistics & Math
0
0

What are the properties of matrix multiplication? Say which algebraic laws hold, which familiar laws from ordinary number arithmetic do not, and how transposes and inverses behave with products.

What a Strong Answer Covers Guidance

  • The laws that hold, along with the dimension rule for when a product is defined
  • Which law from scalar arithmetic fails, backed by a concrete counterexample
  • How transpose and inverse interact with a product
  • At least one practical consequence, such as choosing the order in which to evaluate a chain of products

Follow-up Questions Guidance

  • For matrices of shapes 10×100{10 \times 100} , 100×5{100 \times 5} and 5×50{5 \times 50} , which grouping of the product is cheapest, and by how much?
  • If AB=ACAB = AC , can you conclude that B=CB = C ?
  • Why does tr⁡(AB)=tr⁡(BA)\operatorname{tr}(AB) = \operatorname{tr}(BA) hold even when AB≠BAAB\neq BA ?
  • Which pairs of matrices do commute?