Before you can multiply matrices you have to check whether they are compatible:
A #" " color(red)(1) xx color(blue)(2)" "# matrix and a #" " color(blue)(2) xx color(red)(4)" "# matrix are compatible because the number of columns in the first matrix is the same as the number of rows in the second matrix. This is shown in #color(blue)("blue")#
The answer matrix will be a #" " color(red)(1 xx 4)" "# matrix.
To multiply the matrices:
The values in the row of the first matrix,# [(13,19)] #, must be multiplied by the values in each of the columns of the second matrix.
The products must be added to get the final answer.
#[(13, 19)]*[(color(magenta)(23),color(limegreen)(21),color(darkorange)(19),color(cyan)(17)),(color(magenta)(19),color(limegreen)(13),color(darkorange)(11),color(cyan)(9))]=[color(magenta)(?) " "color(limegreen)(?)" " color(darkorange)(?)" " color(cyan)(?)]#
#[(13, 19)]*[(color(magenta)(23),21,19,17),(color(magenta)(19),13,11,9)]=[color(magenta)(13*23+19*19) " "color(limegreen)(?)" " color(darkorange)(?)" " color(cyan)(?)]#
#[(13, 19)]*[(color(magenta)(23),21,19,17),(color(magenta)(19),13,11,9)]=[color(magenta)(660) " "color(limegreen)(?)" " color(darkorange)(?)" " color(cyan)(?)]#
#[(13, 19)]*[(23,color(limegreen)(21),19,17),(19,color(limegreen)(13),11,9)]=[(660 , color(limegreen)(13*21+19*13) , color(darkorange)(?) color(cyan)(?))]#
#[(13, 19)]*[(23,color(limegreen)(21),19,17),(19,color(limegreen)(13),11,9)]=[(660 , color(limegreen)(520) , color(darkorange)(?)" " color(cyan)(?))]#
#[(13, 19)]*[(23,21,color(darkorange)(19),17),(19,13,color(darkorange)(11),9)]=[(660 , 520 , color(darkorange)(13*19+19*11) color(cyan)(?))]#
#[(13, 19)]*[(23,21,color(darkorange)(19),17),(19,13,color(darkorange)(11),9)]=[(660 , 520 , color(darkorange)(456)" " color(cyan)(?))]#
#[(13,19)]*[(23,21,19,color(cyan)(17)),(19,13,11,color(cyan)(9))]=[(660 , 520 , 456 " " color(cyan)(13*17+19*9))]#
#[(13, 19)]*[(23,21,19,color(cyan)(17)),(19,13,11,color(cyan)(9))]=[(660 , 520 , 456 color(cyan)(392))]#
The final answer is
#[(13, 19)]*[(23,21,19,17),(19,13,11,9)]=[(660 , 520 , 456, 392)]#
The values in the final #1 xx 4# matrix indicate the total amount of money spent on both types of shirts in the months May, June, July and August respectively.
How much more was spent in #color(magenta)("May")# than in #color(cyan)"August"#?
#[(13, 19)]*[(23,21,19,17),(19,13,11,9)]=[color(magenta)(660) , 520 , 456, color(cyan)(392)]#
#$660-$392 = $268#
When multiplying: work across horizontally in the first matrix and vertically in the second matrix.