Solution:
Key idea: A product XY is defined only when the number of columns of X equals the number of rows of Y. If X is m×n and Y is n×q, then XY is m×q: the two inner numbers must match, and the two outer numbers give the order of the product.
Step 1 — Part (a)(i): test AB with A4×5 and B5×3.
We write the orders in the order of multiplication: (4×5)(5×3). The inner numbers are 5 and 5, so they match and AB is defined. The outer numbers give its order, 4×3.
Step 2 — Part (a)(ii): test PQ with P2×1 and Q2×3.
The orders are (2×1)(2×3). The inner numbers are 1 and 2, which differ, so PQ is not defined.
Step 3 — Part (a)(iii): test FE with F2×6 and E6×2.
The product asked for is FE, so F comes first: (2×6)(6×2). The inner numbers are 6 and 6, so FE is defined and its order is 2×2.
Step 4 — Part (a)(iv): test CD with C7×7 and D6×7.
The orders are (7×7)(6×7). The inner numbers are 7 and 6, which differ, so CD is not defined.
Step 5 — Part (a)(v): test QP with Q5×9 and P9×5.
The product is QP, so Q comes first: (5×9)(9×5). The inner numbers are 9 and 9, so QP is defined and its order is 5×5.
Step 6 — Part (a)(vi): test AB with A3×5 and B5×1.
The orders are (3×5)(5×1). The inner numbers are 5 and 5, so AB is defined and its order is 3×1 (a column matrix).
Step 7 — Part (b): find what A needs so that AB is defined.
The matrix B is 5×12, so it has 5 rows. For AB to be defined, the number of columns of A must equal the number of rows of B. So A must have 5 columns, which is choice (i). The number of rows of A can be anything.
Step 8 — Part (c): decide whether matrix multiplication is commutative.
It is not. Even when both AB and BA are defined, they are usually different. For example, take these two 2×2 matrices X and Y:
X=[1000]
Y=[0010]
Multiplying them in both orders (row by column) gives:
XY=[0010]
YX=[0000]
So XY=YX here. One such example is enough to show that the commutative law fails for matrix multiplication in general.
Step 9 — Part (d): decide whether A2 exists for a 4×2 matrix A.
The square A2 means A⋅A, which has orders (4×2)(4×2). The inner numbers are 2 and 4, which differ, so A⋅A is not defined. In general A2 exists only when A is a square matrix.
Note: The printed answer gives 4×5 for (a)(i); a (4×5)(5×3) product has order 4×3.
Therefore, (a) (i) defined, 4×3; (ii) not defined; (iii) defined, 2×2; (iv) not defined; (v) defined, 5×5; (vi) defined, 3×1; (b) (i) 5 columns; (c) no, matrix multiplication is not commutative; (d) no, A2 is not defined because A is not square.