矩阵
引入
8:02
含参数、向量与矩阵的函数
看这个过山车。在任意时刻,车厢都有两个事实:它在哪里,以及它朝哪个方向运动。单一方程无法同时容纳两者。这颗星球运行的……
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| matrix/ˈmeɪtrɪks/ | 矩阵 | jǔ zhèn |
| entry/ˈentri/ | 元素 | yuán sù |
| scalar/ˈskeɪlə/ | 标量 | biāo liàng |
| matrix multiplication/ˈmeɪtrɪks ˌmʌltɪplɪˈkeɪʃn/ | 矩阵乘法 | jǔ zhèn chéng fǎ |
网格里的数字
- 有时一个数不够,你有一整张表的数。
- 一张价目表、一组坐标、一个方程组:全都是数字网格。
- 矩阵就是这样的网格,被当作一个数学对象来处理。
- 这样处理后,整张表就能一次性地相加、缩放和相乘。

什么是矩阵
- 矩阵(matrix)是一个由行和列排成的矩形数字网格。
- 它的大小写成 行 × 列:$\begin{bmatrix}1&2\\3&4\end{bmatrix}$ 是一个 $2 \times 2$ 矩阵。
- 里面的每个数是一个元素,由它的行和列定位。
- 只有一行或一列的矩阵,表现得像一个向量。

A matrix is…
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A matrix arranges numbers in a rectangular grid; its size is given as rows × columns.
A matrix with 2 rows and 3 columns is called a 2 × ____ matrix.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Dimensions are always rows first, then columns: 2 rows, 3 columns is a "2 × 3" matrix.
相加与缩放
- 把两个相同大小的矩阵相加,就把对应位置的元素相加。
- $\begin{bmatrix}1&2\\3&4\end{bmatrix} + \begin{bmatrix}5&0\\1&1\end{bmatrix} = \begin{bmatrix}6&2\\4&5\end{bmatrix}$.
- 把一个矩阵乘以一个标量(scalar),就缩放每一个元素:$2\begin{bmatrix}1&2\\3&4\end{bmatrix} = \begin{bmatrix}2&4\\6&8\end{bmatrix}$。
- 这些都逐个元素地进行,就像对普通的数一样。
To multiply a matrix by a scalar, you…
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Scalar multiplication scales every entry: $2\begin{bmatrix}1&2\\3&4\end{bmatrix} = \begin{bmatrix}2&4\\6&8\end{bmatrix}$.
Select 所有 true statements about matrices.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
A matrix can have just one entry, but it is a matrix rather than a single number. The other three statements are correct.
矩阵乘法
- 矩阵乘法(matrix multiplication)不一样:它把行与列结合起来。
- 乘积的每个元素把第一个矩阵的一行与第二个矩阵的一列配对,相乘再相加。
- 第一个矩阵的列数必须等于第二个矩阵的行数。
- 顺序重要:$AB$ 通常不等于 $BA$。
A matrix transforms the plane
A 2x2 matrix moves every point of the plane; this one shears it sideways.
矩阵乘法 multiplies matching entries of the two matrices.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
False. Each entry of the product combines a row of the first matrix with a column of the second (row-by-column dot products), not matching entries.
矩阵乘法不是逐个元素进行的。要求出 $AB$ 的一个元素,取 $A$ 的一整行和 $B$ 的一整列,把对应的数相乘,再相加。此外,大小必须对上:($A$ 的列数)$=$($B$ 的行数),否则乘积不存在。

行乘列,一次求一个元素:
- 上面的元素:行 $(1, 2)$ 与列 $(5, 6)$ → $5 + 12 = 17$。
- 下面的元素:行 $(3, 4)$ 与列 $(5, 6)$ → $15 + 24 = 39$。
矩阵是一个矩形的数字网格,大小为 行 × 列。把相同大小的矩阵逐个元素相加;一个标量缩放每一个元素。矩阵乘法是行乘列(不是逐个元素),需要内侧的大小对上,并且依赖顺序。
根据数据作答:求左上角的数值
- 将行分别为(1, 2)和(3, 4)的矩阵与行分别为(5, 0)和(1, 1)的矩阵相加。
- 给出和矩阵的左上角元素。
Add the matrix with rows (1, 2) and (3, 4) to the matrix with rows (5, 0) and (1, 1). What is the top-left entry of the sum?
1 plus 5 is 6.
Add the matrices with rows (1, 2), (3, 4) and (5, 0), (1, 1). What is the top-left entry of the sum?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Entry-by-entry addition gives 6.
出了什么问题?只有网站团队能看到这些信息。