How do you multiply #((2, 3), (4, 5))# with #((27, 12), (47, 22))#?

2 Answers
Jul 10, 2016

matrix AXB
195 90
343 158

Explanation:

use EXCEL matrix.

matrix A matrix B
2 3 27 12
4 5 47 22
matrix AXB
195 90
343 158

Here is what it would actually look like in Excel:
enter image source here
Notice that if you are not familiar with working with matrix functions in Excel, the method required to define the output range (so more than the top left value is displayed) is not intuitively obvious.

If you use OpenOffice Calc:
Enter the function: =MMULT(B1:C2;B4:C5) followed by Ctrl+Shft+Enter (not just Enter);
also notice the use of the semicolon instead of the comma used by Excel.

Jul 10, 2016

#((2,3),(4,5))xx((27,12),(47,22))=color(brown)(((195,90),(343,158)))#

Explanation:

If #A#, #B#, and #M# are matrices such that
#color(white)("XXX")A xx B = M#
then the value of the entry in row #i#, column #j# of #M# (which we will write as #M_(ij)#
is the dot product of row #i# of #A# times column #j# of #B#

For the given example

#((color(red)(2),color(red)(3)),(color(blue)(4),color(blue)(5)))xx((color(green)(27),color(purple)(12)),(color(green)(47),color(purple)(22)))#)

#=( (color(red)(2)xxcolor(green)(27)+color(red)(3)xxcolor(green)(47),color(white)("XXX"),color(red)(2)xxcolor(purple)(12)+color(red)(3)xxcolor(purple)(22)), (color(blue)(4)xxcolor(green)(27)+color(blue)(5)xxcolor(green)(47),color(white)("XXX"),color(blue)(4)xxcolor(purple)(12)+color(blue)(5)xxcolor(purple)(22)))#

#=((195,90),(343,158))#

Remember the row, column entry in your answer is the calculated using:
the row from the first matrix, and
the column from the second matrix.