Vector field tools
引入
7:27
电磁学
电路理论把场隐藏在它的方框里;这门课要打开这些方框,计算其中的场。课程采用双重验证。高斯定律和安培定律等对称性方法能快速给出答案,直接积分则用来验证。接着,每个波和波导的结果都要在自由空间和截止条件下检查其极限。
英文讲解 · 可切换中英文字幕
本课内容
| English | 释义 | 拼音 |
|---|---|---|
| gradient/ˈɡreɪdɪənt/ | 梯度 | tī dù |
| divergence/daɪˈvɜːdʒəns/ | 散度 | sàn dù |
| curl/kɜːl/ | 旋度 | xuán dù |
| Stokes' theorem/stəʊks ˈθɪərəm/ | 斯托克斯定理 | sī tuō kè sī dìng lǐ |
| divergence theorem/daɪˈvɜːdʒəns ˈθɪərəm/ | 散度定理 | sàn dù dìng lǐ |
| flux/flʌks/ | 通量 | tōng liàng |
| Gauss's law/ˈɡaʊsɪz lɔː/ | 高斯定律 | gāo sī dìng lǜ |
一个 −130 dBm 的信号
- 手机的 GPS 接收器可处理接近 −130 dBm 的信号,约为十分之一飞瓦。针对这类信号的设计始于场的形态。
- 三个算符描述了这种形态:一个量上升的快慢(梯度)、场从一点向外流出的程度(散度),以及场旋转的程度(旋度)。本课将用坐标表示它们,并将每个算符与麦克斯韦方程组背后的积分定理联系起来。
梯度:最陡的上升方向
- 梯度将标量场(例如电势 $V(x, y, z)$)转化为一个指向上升方向的向量,其长度等于最陡的坡度:
- 电场指向电势下降的方向:$\mathbf{E} = -\nabla V$。它始终与等势面垂直。
- 例题:$V = 3x^2y$ 伏特(x、y 的单位为米)。$\nabla V = (6xy,\ 3x^2,\ 0)$;在 $(1, 2, 0)$ 处,它为 $(12, 3, 0)$ V/m,因此该处为 $\mathbf{E} = (-12, -3, 0)$ V/m。
$V = x^2 + 4yz$ volts (x, y, z in m). The $y$-component of $\mathbf{E} = -\nabla V$ at $(1, 2, 3)$, in V/m?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$\partial V/\partial y = 4z = 12$ at $z = 3$, so $E_y = -12$ V/m: the field points down the slope of $V$.
散度:单位体积的流出量
- 散度是某点处单位体积内的净流出量:
- 正值表示源,负值表示汇。对于电场,它衡量该处的电荷密度。
F = (x², y², z²). What is ∇·F at (1, 2, 3)?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$\nabla \cdot \mathbf{F} = 2x + 2y + 2z = 2 + 4 + 6 = 12$.
旋度:单位面积的环流
- 旋度 $\nabla \times \mathbf{F}$ 衡量场围绕某点、单位面积的环流程度。它的方向是旋转轴的方向(右手定则)。用分量表示:
- **检验:**在场中放一个微小的叶轮。如果它转动,旋度就不为零。静电场的旋度为零;电流周围的磁场以及 $\mathbf{B}$ 发生变化的地方的电场,其旋度不为零。

- **例题:**对于 $\mathbf{F} = (-y, x, 0)$,只有 $z$ 部分不为零:$\partial F_y/\partial x - \partial F_x/\partial y = 1 - (-1) = 2$。对于 $\mathbf{F} = (y, 0, 0)$:$0 - 1 = -1$。场线为直线时,旋度仍可能不为零。
A static electric field has zero curl everywhere.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
With no changing magnetic field, $\nabla \times \mathbf{E} = 0$, which is why a potential $V$ exists with $\mathbf{E} = -\nabla V$.
$\mathbf{F} = (x^2 y,\ 3x,\ 0)$. The $z$-component of $\nabla \times \mathbf{F}$ at $(1, 1, 0)$?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$\partial F_y/\partial x - \partial F_x/\partial y = 3 - x^2 = 3 - 1 = 2$.
斯托克斯定理
- 斯托克斯定理是散度定理对应旋度的形式:沿闭合回路的环流等于该回路所围成的任意曲面上旋度的总和:
- **用旋流检验:**沿单位圆,$\mathbf{F}$ 的方向与路径一致,长度为 1,因此环流为 $1 \times 2\pi = 2\pi$。各处的旋度都是 2,乘以圆盘面积 $\pi$,结果也为 $2\pi$。
- 利用 $\mathbf{F} = \mathbf{B}$,安培定律由此将穿过曲面的电流与其边界周围的场联系起来。
The swirl $\mathbf{F} = (-y, x, 0)$ has curl 2 along $z$. Its circulation round a circle of radius 3 in the $xy$-plane (anticlockwise), to two decimals?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Stokes: curl × area $= 2 \times \pi \times 3^2 = 18\pi = 56.55$. Directly: $|\mathbf{F}| = 3$ along a path of length $6\pi$, also $18\pi$.
散度定理
- 散度定理 指出:穿过闭合表面的总通量等于该表面所包围体积内散度的总和:
- 它允许你通过计算边界上的通量来统计源的数量,高斯定律正是基于此原理。
The divergence theorem equates
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Outflow through the boundary equals the sources inside. The loop-and-flux version is Stokes's theorem, for curl.
例题:从坐标求散度
- $\mathbf{F} = (3x^{2}, 0, 0)$:$\nabla \cdot \mathbf{F} = \dfrac{\partial (3x^{2})}{\partial x} = 6x$。在 $(2, 0, 0)$ 处,即每单位体积为 12。
- 在 $(-2, 0, 0)$ 处,场仍沿 $+x$ 方向,因为 $3x^{2} \ge 0$,但散度为 −12。符号由场的变化方式决定,而非指向。
F = (3x², 0, 0). At x = −2 the field points along +x. What is the divergence there?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
$6x = -12$. The field is shrinking as $x$ increases there, so more flows in than out: a sink, even though the field points along $+x$.
例题:用两种方法计算立方体的通量
- 该场从单位立方体 $[0, 1]^{3}$ 向外的通量,按体积计算为:$\displaystyle\int_{0}^{1} 6x\,dx = 3$($y$ 和 $z$ 的积分结果各为 1)。
- 按表面计算:只有面 $x = 1$ 有通量,$3 \times 1 \times 1 = 3$。面 $x = 0$ 上 $F = 0$,其余四个面与场的方向平行。两种方法都得到 3。

A field can point right and still have negative divergence
$\oint_S\mathbf{F}\cdot d\mathbf{A}=\int_V\nabla\cdot\mathbf{F}\,dV,\quad \mathbf{F}=(3x^2,0,0)$
Start with the worked unit cube and recover total outward flux 3 by both surface and volume routes. Move the box to negative x, where the field still points right but more enters than leaves. A box centred on zero has cancelling source and sink contributions. Compare the local probes at x = 2 and x = −2 to distinguish field direction from divergence sign.
F = (3x², 0, 0). What is the total flux out of the unit cube [0,1]³?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$\int_{0}^{1} 6x\,dx = 3$ by volume; by surface, only the $x = 1$ face carries flux, $3 \times 1 = 3$.
对称性决定曲面选择
- 球对称源适用球面,面积元为 $r^{2}\sin\theta\,d\theta\,d\phi$。长直源适用圆柱面,面积元为 $r\,d\phi\,dl$。
- 在合适的曲面上场恒定,故通量积分简化为场 × 面积。若无对称性,则无捷径,需直接积分。
- **例题:点电荷。**在半径为 $r$ 的球面上,$E = q/(4\pi\varepsilon_0 r^2)$ 恒定且垂直于球面。通量为 $= E \times 4\pi r^2 = q/\varepsilon_0$,对任意 $r$ 都成立:$r^2$ 被消去,这就是高斯定律。
Match each source to the Gaussian surface its symmetry calls for.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The surface must keep the field constant (or zero) over each part. A cube's field has no such surface.
三个常见误区
- 由场的方向求散度。这取决于场的变化,而非其指向。
- 消去 $r^{2}$。球面的面积元包含 $r^{2}$,可抵消 $\dfrac{1}{r^{2}}$ 的场。
- 无对称性时的高斯定律。若无场恒定的曲面,则“场 × 面积”不成立。
On a sphere of radius r around a point charge, the flux is the same for every r.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The field falls as $\dfrac{1}{r^{2}}$ while the area grows as $4\pi r^{2}$; the two cancel, leaving $\dfrac{q}{\varepsilon_{0}}$ for every sphere.
复习要点
| 散度 $\nabla \cdot \mathbf{F}$ | 旋度 $\nabla \times \mathbf{F}$ | |
|---|---|---|
| 衡量的量 | 单位体积的流出量 | 单位面积的环流 |
| 结果 | 一个数 | 一个向量:旋转轴的方向 |
| 非零的情况 | 电荷:源和汇 | 电流、变化的 $\mathbf{B}$ |
| 积分定理 | 散度定理(高斯) | 斯托克斯定理(安培) |
- 梯度指向上升方向:$\mathbf{E} = -\nabla V$。
- 散度定理:穿出表面的通量 = 内部散度之和。斯托克斯定理:沿回路的环流 = 曲面上旋度之和。
- 对称性决定曲面的选择;通过两种方法计算来验证。
出了什么问题?只有网站团队能看到这些信息。