Solution:
Concept: The product AB exists only when the number of columns of A equals the number of rows of B. The element in row i, column j of AB is found by multiplying the elements of row i of A by the matching elements of column j of B and adding the results. If A is m×n and B is n×p, then AB is m×p. The unit matrix of order 2 × 2 is I=[1001].
Given: A, B and I are all 2 × 2, so every product below is possible and is a 2 × 2 matrix.
Step 1 — Part (i): find AB.
We multiply each row of the first matrix by each column of the second: multiply the matching elements and add. The working below first writes each element as a sum of products, then works out the products, then adds them. The figure marks two of the elements.
AB=[052−2][13−12]=[0×1+2×35×1+(−2)×30×(−1)+2×25×(−1)+(−2)×2]=[0+65−60+4−5−4]=[6−14−9]

Step 2 — Part (ii): find BA.
Now B comes first, so we multiply the rows of B by the columns of A.
BA=[13−12][052−2]=[1×0+(−1)×53×0+2×51×2+(−1)×(−2)3×2+2×(−2)]=[0−50+102+26−4]=[−51042]
Step 3 — Part (iii): find AI.
We multiply the rows of A by the columns of I. Each column of I picks out one column of A.
AI=[052−2][1001]=[0×1+2×05×1+(−2)×00×0+2×15×0+(−2)×1]=[0+05+00+20−2]=[052−2]
So AI is A itself: multiplying by the unit matrix leaves a matrix unchanged.
Note: AB and BA are different matrices here, which shows that matrix multiplication is, in general, not commutative.
Watch out: Matrix multiplication depends on the order of the matrices: in general AB=BA, so keep each product in the order written.
Therefore, (i) AB=[6−14−9]; (ii) BA=[−51042]; (iii) AI=[052−2], the matrix A itself.