Solution:
Concept: B2 means B×B. 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 B2.
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.
B2=[1813][1813]=[1×1+1×88×1+3×81×1+1×38×1+3×3]=[1+88+241+38+9]=[932417]
Step 2 — Work out X=B2−4B.
We multiply every element of B by 4 and subtract it from B2 element by element.
X=B2−4B
X=[932417]−[432412]=[9−432−324−417−12]=[5005]
Step 3 — Multiply X by the column of unknowns.
Now we use this X in the second equation and multiply each row of X by the column [ab].
X[ab]=[5005][ab]=[5×a+0×b0×a+5×b]=[5a+00+5b]=[5a5b]
Step 4 — Compare and solve.
This product equals [550], so the first elements give an equation in a and the second elements give an equation in b. We divide each by 5.
5aa=5=55=1
5bb=50=550=10
Check: 5×1=5 and 5×10=50, which is the given column.
Watch out: In X the elements 4 − 4 and 32 − 32 are 0, so each equation has only one unknown. Do not skip the subtraction of 4B.
Therefore, X=[5005], a=1 and b=10.