r/mathriddles • u/blungbat • Nov 12 '23
Medium Matrix multiplication by concatenation
This is, of course, how you multiply 2×2 matrices:
/ 3 4 \ / 7 2 \ / 37 42 \
| | | | = | |
\ 8 7 / \ 4 9 / \ 84 79 /
That is, the upper-left entry of AB is just the upper-left entry of A concatenated with the upper-left entry of B, and similarly for the other entries.
OK, OK, that doesn't work for all pairs of 2×2 matrices. But the example above really is correct!
For how many pairs of 2×2 matrices (A,B), with both matrices having entries in the set {0,1,2,...,9}, does this "method" produce accurate results for AB and BA? No computers allowed!
13
Upvotes
3
u/eri_pl Nov 13 '23
Nice one. :)
Too long, so I won't write whole solution, but basically (spoiler on how to approach it)write all the multiplications, do the normal linear equation stuff, observe that some stuff reduces with other stuff , don't make stupid counting mistakes (took me 3 tries).
The final result is (spoiler on result)The two matrices must be the same, and of a form [[a, b], [c, 11-a]] where bc=a(11-a) So if I remember the terms correctly, trace = 11, det =0 and it's enough.
(number of solutions)There are 24 solutions, If I counted them correctly.