when multiplying two matrices, two sizes must be m x n and n x p and the resulting size is m x p.
![]() |
| 2 x 3 ( m x n) and 3 x 2 ( n x p ) results to a 2 x 2 ( m x p) matrix. |
you just multiply the 1st row to its corresponding column member and get the sum. then you get your first entry which in this case is 58.
(1 2 3) x (7 9 11) = (1 x 7) + (2 x 9) + (3 x 11) = 58
then just do the same thing again but do it with the first row then the second column.
(1 2 3) x (8 10 12) = (1 x 8) + (2 x 10) + (3 x 12) = 64
then just repeat it with the second row and 1st column then second row and 2nd column and you get the final matrix:
FIN!

