Lesson 4: Order matters: the rules of matrix algebra
Why
SkillsOrder matters: AB and BAMatrix algebra properties
Worked example
(a) Show that for any matrices and .
(b) For and , show that .
Step 1: Expand with the distributive laws
The right distributive law splits the first bracket, then the left distributive law splits each product. Every matrix keeps its side, so and stay separate.
Step 2: Find directly
, so .
Step 3: Find the four products
, , and .
Step 4: Compare
, which agrees with (a). But
equals only when , and these matrices do not commute.
Answer
, while . They differ because .
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
Expand brackets with the distributive laws, keeping every product in order.
Combine and only if you know the matrices commute.
A single counterexample is enough to show that a general statement is false.
Watch out for
Writing for .