How to Multiply Matrices?

in maths •  7 years ago 

A Matrix is an array of numbers:
1.png

A Matrix
(This one has 2 Rows and 3 Columns)
To multiply a matrix by a single number is easy:
2.png

We call the number ("2" in this case) a scalar, so this is called "scalar multiplication".

The "Dot Product" is where we multiply matching members, then sum up:

(1, 2, 3) • (7, 9, 11) = 1×7 + 2×9 + 3×11
= 58

We match the 1st members (1 and 7), multiply them, likewise for the 2nd members (2 and 9) and the 3rd members (3 and 11), and finally sum them up.

Want to see another example? Here it is for the 1st row and 2nd column:
3.png

(1, 2, 3) • (8, 10, 12) = 1×8 + 2×10 + 3×12
= 64
We can do the same thing for the 2nd row and 1st column:

(4, 5, 6) • (7, 9, 11) = 4×7 + 5×9 + 6×11
= 139

And for the 2nd row and 2nd column:

(4, 5, 6) • (8, 10, 12) = 4×8 + 5×10 + 6×12
= 154

And we get:4.png

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thanks for information