Step by step
The question
Question: work out A B and B A.
Is the order important?
A B means A times B.
B A means B times A.
1 Check the sizes
Both are 2 by 2.
The inside numbers are 2 and 2 both ways.
So we can multiply in both orders, and both answers are 2 by 2.
2 Work out AB
Careful!
In A B, the rows come from A and the columns from B.
First we work out every times.
Then we add.
So A B is rows 4, 2 and 3, 3.
3 Work out BA
Now the other order: rows of B, columns of A.
First we work out every times.
Then we add.
So B A is rows 2, 4 and 1, 5.
4 Compare
The two answers are different.
So A B is not the same as B A: with matrices, the order matters!
5 Check
Let's check A B: each entry's products added the other way round.
A B is right.
And B A the same way.
B A is right too.
So the answer is right!
Let's look back.
First: check the sizes.
Then: work out AB.
Then: work out BA.
Then: compare.
Last: check.