乘法二进制
章节大纲
-
Mr. Hwan writes the following matrices on the board and asks his students to multiply them.
::Hwan先生在董事会上写了以下矩阵,要求学生们增加这些矩阵。When they are done multiplying, Mr. Hwan asks, "What element is in the first row, second column of your answer?"
::当他们完成乘法时, 许先生问道, “答案的第一行,第二列中是什么元素?”Wanda says that because the two matrices do not have the same dimensions they can't be multiplied. Therefore , there is no answer.
::Wanda说,因为这两个矩阵的尺寸不同,所以不能乘以。因此,没有答案。Xavier says that the product is a 2 x 1 matrix so there is no element in the first row, second column.
::Xavier说产品是一个 2 x 1 矩阵, 因此第一行第二列中没有元素 。Zach says that the element requested is 8.
::Zach说,所要求的要素是8。Who is correct?
::谁是正确的?Multiplying Two Matrices
::乘法二进制To multiply matrices together we will be multiplying each element in each row of the first matrix by each element in each column in the second matrix. Each of these products will be added together to get the result for a particular row and column as shown below.
::为了将矩阵相乘,我们将将第一个矩阵每一行的每个元素乘以第二矩阵每一列的每个元素,其中每种产品将加在一起,以获得以下特定行和列的结果。
::[abcd]=[ae+bgaf+bhce+dgcf+dh] [efgh]=[ae+bgaf+bhce+dgcf+dh]Let's multiply the following matrices.
::让我们乘以以下矩阵。By following the rule given above, we get:
::根据上述规则,我们得到:In order to multiply these two matrices we need to extend the pattern given in the guidance to apply to a matrix and a matrix. It is important to note that matrices do not need to have the same dimensions in order to multiply them together. However, there are limitations that will be introduced later. All matrix multiplication problems in this section are possible.
::为了将这两个矩阵乘以倍增,我们需要扩大指南中给出的模式,以适用于3x2矩阵和2x2矩阵,必须指出,矩阵不必具有相同的维度才能将它们相乘,不过,有些限制将在以后提出,本节中所有矩阵的乘法问题都是可能的。Now, let’s multiply each of the rows in the first matrix by each of the columns in the second matrix to get:
::现在,让我们把第一个矩阵中的每行乘以第二个矩阵中的每列,然后得出:Sometimes, not only are the matrices different dimensions, but the result has dimensions other than either of the original matrices as is the case in this problem . Multiply the matrices row by column to get:
::有时,不仅矩阵的维度不同,结果的维度也不同于最初的矩阵的维度,这个问题中的情况就是如此。Examples
::实例Example 1
::例1Earlier, you were asked to find the student that had the correct matrix.
::早些时候,你被要求找到 拥有正确矩阵的学生When the two matrices are multiplied, the resulting matrix is:
::当两个矩阵乘以两个矩阵时,由此产生的矩阵如下:The matrices can be multiplied, but there is no first row, second column in the resulting matrix. The element 8 is in the second row, first column. Therefore Xavier is right.
::矩阵可以乘以, 但生成的矩阵中没有第一行第二列。 元素 8 在第二行第一列。 因此, Xavier 是对的 。Example 2
::例2Multiply the following matrices.
::乘以下列矩阵。Example 3
::例3Multiply the following matrices.
::乘以下列矩阵。 [-325]-[-2-14]
Example 4
::例4Multiply the following matrices.
::[5-2]][14-3-7]Review
::回顾Multiply the matrices together.
::将矩阵乘在一起。- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
- .
Review (Answers)
::回顾(答复)Click to see the answer key or go to the Table of Contents and click on the Answer Key under the 'Other Versions' option.
::单击可查看答题键, 或转到目录中, 单击“ 其他版本” 选项下的答题键 。 -