Matrices as Functions
引入
8:02
含参数、向量与矩阵的函数
看这个过山车。在任意时刻,车厢都有两个事实:它在哪里,以及它朝哪个方向运动。单一方程无法同时容纳两者。这颗星球运行的……
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| input/ˈɪnpʊt/ | 输入 | shū rù |
| output/ˈaʊtpʊt/ | 输出 | shū chū |
| composition/ˌkɒmpəˈzɪʃn/ | 复合 | fù hé |
| inverse function/ɪnˈvɜːs ˈfʌŋkʃn/ | 反函数 | fǎn hán shù |
矩阵是一个函数
- 你用过输入一个数、输出一个数的函数。
- 矩阵输入一个向量,输出一个向量——它也是一个函数。
- 它的“规则”是:把输入向量乘以这个矩阵。
- 这样看矩阵,就能把它和你对函数的所有认识联系起来。
输入进,输出出
- 输入(input)是一个向量;矩阵处理它;输出(output)是一个新向量。
- $\begin{bmatrix}2&0\\0&3\end{bmatrix}$ 把 $\langle 4, 5\rangle$ 送到 $\langle 8, 15\rangle$——它把每个方向拉伸。
- 把矩阵想成一台机器:向量从顶部进,变换后的向量从底部出。
- 一整片输入区域映射到一整片输出区域。

Viewing a 2 × 2 matrix as a function, its 输入 and 输出 are both…
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A matrix-as-function takes an 输入 vector and returns an 输出 vector — a function from the plane to the plane.
The matrix $\begin{bmatrix}2&0\\0&3\end{bmatrix}$ (input $\to$ output) sends $\langle 4, 5\rangle$ 到 $\langle 8, ?\rangle$. What is the output $y$?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Row 2 is $\langle0, 3\rangle$, so the output $y = 3\cdot5 = 15$; the whole output is $\langle8, 15\rangle$.
从平面到平面的函数
- 输入是平面上的所有向量;输出也是平面上的向量。
- 所以一个 $2\times2$ 矩阵是一个一次性重塑整个平面的函数。
- 把两个串起来——一个的输出成为下一个的输入——是一个复合(composition)。
- 复合的矩阵就是两个矩阵的乘积。
Chaining two matrix functions (one after another) is a composition, and its matrix is the product.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Just like composing ordinary functions, chaining matrix functions multiplies their matrices.
反转函数
- 如果一个函数能被撤销,它的撤销就是反函数(inverse function)。
- 对一个矩阵函数,反函数恰好是逆矩阵。
- 它只有在行列式非零时才存在——和之前一样的条件。
- 先作用一个矩阵、再作用它的逆,让每个向量回到它出发的地方。
A matrix as a function
A matrix takes an input vector and returns an output vector - a function on vectors.
The inverse function of a matrix function is given by…
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The inverse matrix undoes the function — it exists only when the determinant is non-zero.
Select 所有 true statements about matrices as functions.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The output is a vector, not a number. The other three are correct.
函数视角为什么有帮助
- 它让你重新运用函数的概念:定义域、值域、复合、反函数。
- “复合即相乘”解释了为什么变换顺序很重要。
- 行列式检验变成了“这个函数有反函数吗?”
- 这是从预备微积分中的函数通往线性代数的桥梁。
并非每个矩阵函数都能被反转。如果行列式为零,矩阵会把平面压到一条线或一个点上——许多输入对应同一个输出,所以没有反函数。要能反转,行列式必须非零。
设 $f(\vec{x}) = \begin{bmatrix}2&0\\0&3\end{bmatrix}\vec{x}$。
- 输入 $\langle1,1\rangle$ → 输出 $\langle2,3\rangle$。
- 输入 $\langle4,5\rangle$ → 输出 $\langle8,15\rangle$。
- 行列式 $= 2\cdot3 - 0 = 6 \ne 0$,所以 $f$ 有一个反函数,它按 $\tfrac12$ 和 $\tfrac13$ 收缩。
矩阵是一个函数,它的输入和输出都是向量——它是一个从平面到平面的映射。把矩阵函数串联起来就是复合,复合的矩阵是这些矩阵的乘积。反函数是逆矩阵,它只有在行列式非零时才存在。
根据给定数据作答:求第一个输出项
- 行分别为 (4, 0) 和 (0, 2) 的矩阵作用于 (3, 1)。
- 求第一个输出项。
The matrix with rows (4, 0) and (0, 2) is applied to the input (3, 1). What is the first entry of the output?
4 times 3 is 12.
The matrix with rows (4, 0) and (0, 2) is applied to (3, 1). What is the first output entry?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The first diagonal entry scales the first input. Other options — 15 (the lesson output); 2 (the second output entry).
出了什么问题?只有网站团队能看到这些信息。