How do you multiply #((2, 3), (4, 5))# with #((27, 12), (47, 22))#?
2 Answers
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:
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.
Explanation:
If
then the value of the entry in row
is the dot product of row
For the given example
#=( (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.