Matrix-Matrix Multiplication: Combining Matrices and Unraveling Dot Products

Topics: Calculus

Matrix-Matrix multiplication

A Matrix-Matrix multiplication is a mathematical operation that multiplies the two matrices. The first matrix (the “a” matrix) is multiplied by the second matrix (the “b” matrix). The resulting third matrix iS called a “c’ matrix. Matrix-Matrix multiplication is an operation that combines two matrices together to create a third matrix. The process involves multiplying every element of one matrix by the corresponding element of another, and then adding up all of these products. The result is a new matrix that can be used to describe the combined effect of two original matrices.

A matrix-matrix multiplication can be used to determine the value of one variable from others, or it can be used as a way to multiply two vectors into each other. If you want to find the entries of the product of two matrices, A and B – where A and B are both matrices – then you get the product AB. We are referring to matrices, which are now a special case of vectors, since by taking the matrix with one row, we get back a vector.

Although matrices are typically used to represent vectors, a vector can also be represented by a matrix of unit width. Let us assume that A is a 3 by 4 matrix. So it has three rows, four columns. And here. we are not going to give the values because we will not compute everything. It would take too much time. And let us assume that B is maybe size 4 by 2. So it has it two columns and four rows.

Get quality help now
Writer Lyla
Verified

Proficient in: Calculus

5 (876)

“ Have been using her for a while and please believe when I tell you, she never fail. Thanks Writer Lyla you are indeed awesome ”

+84 relevant experts are online
Hire writer

Let’s say, for example, that we have the following: the second row is 0, 3, 0, 2. So A times B, claimed, will have as its entries the dot products between these rows and these columns. We have two columns and three rows. Let us assume there are three roles. Therefore, we should get 3 x 2 different possibilities. The answer will have size 3 by 2. Very good, but you didn’t got numbers, so we cannot compute all of them. One of the possibilities we can compute is the one that goes here, namely this one in the second column. Thus, we select the second column of B. And in the first row, I take the number 1 and multiply it by 0 to get 0, then I take the number 2 and multiply it by 3 to get 6 plus 0 plus 8, which should result in 14. This entry here is 14. Nice. So here is another way to set it up so that you’ll remember what goes where more easily. To solve this equation, we can place A here. We can put B up here and get the answer here. If we want to find what goes in a given slot, then we look to its left and above it and find a good product between these guys. Understandable? That’s a handy way to remember. First, it tells you what the size of the answer will be. The size will be– well, whatever fits nicely in this box should have the same width as B and the same height as A. Second, it indicates which dot products to compute for each position. So you just look at what’s to the left and above the given position. But there’s a catch: Can you multiply anything by anything? No. There would not be such a question otherwise. To perform the dot product, we need to make sure that we have the same number of entries on both sides of the equation. Otherwise, we can’t multiply this term by that term, plus this term by that term, etc., if we run out of space on one side before the other. So a necessary condition is that the width of A must equal the height of B. OK. Sorry it’s a bit cluttered. [Graph][Graph][Graph]

Cite this page

Matrix-Matrix Multiplication: Combining Matrices and Unraveling Dot Products. (2023, Aug 02). Retrieved from https://paperap.com/matrix-matrix-multiplication-combining-matrices-and-unraveling-dot-products/

Let’s chat?  We're online 24/7