Answers
1. A+B
Matrices of the same order are added entry by entry:
A+B=[2+31+54+12+2]=[5654]
2. AB
Each entry is a row of A against a column of B:
AB=[2(3)+4(5)1(3)+2(5)2(1)+4(2)1(1)+2(2)]=[2613105]
3. BA
Now the rows come from B and the columns from A:
BA=[3(2)+1(1)5(2)+2(1)3(4)+1(2)5(4)+2(2)]=[7121424]
4. Is AB=BA?
No. Comparing parts 2 and 3,
[2613105]=[7121424],
and not a single entry agrees. Matrix multiplication is not commutative: the order of the factors is part of the answer. In the context of the question, "passengers routed through A then B" is a different operation from "through B then A".
5. A2
A2=[2142][2142]=[4+42+28+84+4]=[84168]
Every entry is four times the matching entry of A, so
A2=4A.
This can be rewritten as A2−4A=O, that is A(A−4I)=O. Neither factor is the zero matrix — A=O and A−4I=[−214−2]=O — yet their product is. With ordinary numbers that is impossible; with matrices it is routine.