Evaluate Q - P. See picture in comments
ah matrix multiplication! Here is a general outline of how you would do it - First check the size of both the matrices. In order to multiply two matrices together you have to follow this rule. Given Matrix A and B, the number of columns in Matrix A must be the same as the number of rows in matrix B. Then only you can multiply them two together! this rule applies for all matrices when multiplying them together. Whoops, I see its MATRIX SUBTRACTION not multiplication. In that case! The rule for adding/subtracting 2 matrices is, that they both must have the same size. I.e same number of rows and columns in the 2 matrices. Lets go ahead and evaluate it. Now since its Q - P you want to take the first element from Q and subtract it from P, just like normal subtraction. Do this for each entry in the matrix, doesnt matter where you start but make sure that the position of the element that you are subtracting from is the same position. Q - P = | 6-8 , 8-(-2) | | 0-19 , 12-6| |10-1 , -4-(-13) |
evaluate each element ! let me know if your stuck.
Join our real-time social learning platform and learn together with your friends!