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. To multiply a matrix by a number k, multiply every element of the matrix by k. After that, matrices of the same order are added or subtracted element by element. Two matrices are equal only when they have the same order and every element of one equals the element in the same position (same row, same column) of the other. So one matrix equation gives one ordinary equation for each position.
Step 1 — Work out A2.
A2 means A×A. 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.
A2=[2−107][2−107]=[2×2+0×(−1)(−1)×2+7×(−1)2×0+0×7(−1)×0+7×7]=[4+0−2−70+00+49]=[4−9049]
Step 2 — Work out 9A+mI.
We multiply every element of A by 9; mI has m on the leading diagonal and 0 elsewhere.
9A+mI=9[2−107]+[m00m]=[18−9063]+[m00m]=[18+m−9+00+063+m]=[m+18−90m+63]
Step 3 — Compare row 1, column 1.
Since A2=9A+mI, the elements in row 1, column 1 are equal: we subtract 18 from both sides.
m+18m=4=4−18=−14
Step 4 — Check the other positions.
Row 2, column 2 gives m+63=49, so m=−14 again, and the off-diagonal elements (0 and −9) already agree. So m=−14 works in all four positions.
Check: We put m=−14 back into the right side.
9A+mI=[18−9063]+[−1400−14]=[4−9049]
Watch out: mI adds m only on the leading diagonal, so only the two diagonal positions involve m.
Therefore, m=−14.