# 向量的协变与逆变

**协变与逆变**描述的是向量的分量在坐标变换下发生变化的两种方式。如果向量的分量按照施加于基向量的变换的逆变换进行变换，则称这些分量是*逆变*的；如果它们按照与基向量相同的方式进行变换，则称它们是*协变*的。只要坐标系不是具有正交归一基的笛卡尔坐标系——在曲线坐标中、在狭义与广义相对论中，以及在整个张量分析中——这一区分就至关重要。<sup>[1](https://people.tamu.edu/~f-narcowich/m603/f02/m603_f02sum.html)</sup>

| 关键事实 | 细节 |
|---|---|
| 逆变律 | 若一组量 \( A^{a} \) 在 \( x \to x'(x) \) 下像坐标微分 \( dx^{a} \) 那样变换，则它构成一个逆变向量<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup> |
| 协变律 | 若一组量 \( A_{a} \) 像标量的导数 \( \partial \varphi / \partial x^{a} \) 那样变换，则它构成一个协变向量<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup> |
| 记号 | 协变量带下标，逆变量带上标<sup>[1](https://people.tamu.edu/~f-narcowich/m603/f02/m603_f02sum.html)</sup> |
| 不变缩并 | \( A^{a} B_{a} \) 在坐标变换下保持不变<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup> |
| 度规联系 | 度规张量在两种类型之间进行转换：\( A_{a} = g_{ab} A^{b} \)<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup> |
| 典型例子 | 坐标微分 \( dx^{i} \) 是逆变的；标量函数的梯度 \( \partial \varphi / \partial x^{i} \) 是协变的<sup>[3](https://farside.ph.utexas.edu/teaching/em/lectures/node111.html)</sup> |
| 区分消失的情形 | 在具有正交归一基的欧几里得空间中，对偶基等于基本身，因此协变分量与逆变分量在数值上重合<sup>[4](https://mathworld.wolfram.com/DualBasis.html)</sup> |

## 为什么有两种变换律

几何向量不依赖于坐标，但它的分量却依赖于坐标。如果基向量被拉伸为原来的 2 倍，那么同一个向量就必须用一半大小的分量来描述，因此分量的变换方式大致与基的变换方式相反。与基向量以相同方式变换的量称为协变量；以相反方式变换的量称为逆变量。<sup>[1](https://people.tamu.edu/~f-narcowich/m603/f02/m603_f02sum.html)</sup> 基向量与分量必须以相反的方式变换，它们共同描述的几何对象才能保持不变。<sup>[5](https://www.acsu.buffalo.edu/~whkinney/SpecialRelativityBootCamp/)</sup>

用线性代数的语言来说，协变对象生活在对偶空间中。向量空间 \( V \) 上的一个线性泛函是一个线性映射 \( L : V \to \mathbb{F} \)，所有这类泛函的集合构成对偶空间 \( V' \)，它本身也是一个向量空间。当 \( V \) 是有限维时，\( V' \) 与 \( V \) 同构，但它确实是一个不同的对象：若 \( S \) 是 \( V \) 中的坐标变换矩阵，则对偶空间中的坐标变换矩阵是 \( (S^{-1})^{T} \)。<sup>[6](https://www.math.brown.edu/streil/papers/LADW/HTML_2026_04-30/Ch8.html)</sup> 这种逆转置的行为，正是基变换下余向量的坐标区别于向量坐标的关键所在。

## 变换律

对于坐标变换 \( x^{\mu} \to y^{\mu}(x^{\alpha}) \)，坐标微分按照新坐标对旧坐标的导数进行变换，其形式为（新坐标）/（旧坐标）；这就是逆变模式。相比之下，度规张量 \( g_{\mu\nu} \) 按照（旧坐标）/（新坐标）形式的导数进行变换，这是协变模式。<sup>[7](https://sites.pitt.edu/~jdnorton/teaching/HPS_0410/chapters/significance_GR_relative/significance_GR_relative_technical.html)</sup> 用张量分析的记号来说，若一个具有分量 \( A_{ij \cdots k} \) 的实体，其每个指标都获得一个因子 \( p_{i'}^{i} \)，则它是协变张量；而若 \( A^{ij \cdots k} \) 的每个指标都获得逆型因子 \( p_{i}^{i'} \)，则它是逆变张量；一个张量可以是混合的，在某些指标上逆变，在另一些指标上协变。<sup>[3](https://farside.ph.utexas.edu/teaching/em/lectures/node111.html)</sup>

两种类型的配对产生与坐标无关的数。缩并 \( A^{a} B_{a} \) 是不变的：\( A^{a} B_{a} = A'^{a} B'_{a} \)。<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup> 这种不变性构成了张量分析主要定理的基础：若两个同类型的张量在一个坐标系中相等，则它们在所有坐标系中都相等。<sup>[3](https://farside.ph.utexas.edu/teaching/em/lectures/node111.html)</sup>

## 度规作为桥梁

度规张量 \( g_{ab} \) 定义了不变线元 \( ds^{2} = g_{ab}\, dx^{a} dx^{b} \)，它把两种描述联系起来。由于 \( dx^{a} \) 是任意的逆变向量，构造 \( g_{ab} dx^{b} \) 便按照协变向量的方式变换，因此度规降低了一个指标：\( A_{a} = g_{ab} A^{b} \)。<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup> 逆度规则以相应方式升高指标。

具体地说，一个位移向量 \( v \) 既可以在原始基 \( B \) 中展开，得到逆变分量 \( v^{i} \)，也可以在倒易基 \( B_{\mathrm{recip}} \) 中展开，得到协变分量 \( v_{i} \)，其中倒易基的基向量满足 \( f^{j} \cdot f_{j} = 1 \) 以及当 \( j \neq k \) 时 \( f^{j} \cdot f_{k} = 0 \)。两组分量通过度规相联系：\( [v]_{B_{\mathrm{recip}}} = g\, [v]_{B} \)，并且倒易基分量按照协变方式变换。<sup>[1](https://people.tamu.edu/~f-narcowich/m603/f02/m603_f02sum.html)</sup>

## 区分何时重要

在具有正交归一基的笛卡尔坐标中，对偶基与基本身重合，\( \vec{e}^{\,j} = \vec{e}_{j} \)，因此协变分量与逆变分量在数值上相等，这一区分可以忽略。<sup>[4](https://mathworld.wolfram.com/DualBasis.html)</sup> 这就是为什么本科线性代数和物理课程可以完全跳过它。<sup>[8](https://people.it.tamu.edu/~fulling/m460/f13/grnotes.pdf)</sup>

在曲线坐标中，两种描述截然分开。那里的坐标基向量既不是单位长度，也不相互正交，因此同一个向量的协变分量与逆变分量在大小上、甚至在物理单位上都可能不同；在环面坐标系中，磁场 \( B \) 的协变环向分量是 \( |B| \) 的将近 \( R \) 倍，并且与其他两个分量具有不同的单位。两组原始分量都不是测量所返回的结果。<sup>[9](https://juliaplasma.github.io/ElectromagneticFields.jl/stable/coordinates/)</sup> 从几何上看，诸如速度这样的向量的逆变分量沿着坐标曲线的切线方向，而诸如标量梯度这样的协变分量则垂直于坐标曲面。<sup>[10](https://stern.lab.uiowa.edu/sites/stern.lab.uiowa.edu/files/2024-08/EQUATIONS%20OF%20LAMINAR%20AND%20TURBULENT%20FLOWS%20IN%20GENERAL%20CURVILINEAR%20COORDINATES.pdf)</sup>

这一区分也影响微分运算。在曲线坐标中，向量的普通微分 \( dA^{a} \) 本身并不是协变量，因为基逐点变化。协变微分加上一个用克里斯托费尔符号写出的修正项，

\[ DA^{a} = dA^{a} + \Gamma^{a}_{\;bc}\, A^{b}\, dx^{c}, \]

而自洽性要求度规的协变导数为零，\( D g_{ab} = 0 \)。<sup>[2](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)</sup>

## 历史渊源

这套术语来自格雷戈里奥·里奇-库尔巴斯托罗（Gregorio Ricci-Curbastro）发展的绝对微分学，他在 1887 年至 1896 年间阐发了这一理论及其记号，并于 1892 年在《数学科学通报》（*Bulletin des Sciences Mathématiques*）上给出了首次论述。<sup>[11](https://mathshistory.st-andrews.ac.uk//Extras/Levi-Civita_Lezioni/)</sup> 系统的阐述出现在 1901 年的论文《绝对微分计算的方法及其应用》（*Méthodes de calcul différentiel absolu et leurs applications*）中，该文由他与学生图利奥·列维-奇维塔（Tullio Levi-Civita）应费利克斯·克莱因（Felix Klein）之邀发表于《数学年刊》（*Mathematische Annalen*），涵盖了在分析、几何与数学物理中的应用。<sup>[11](https://mathshistory.st-andrews.ac.uk//Extras/Levi-Civita_Lezioni/)</sup><sup> • </sup><sup>[12](https://www.treccani.it/enciclopedia/gregorio-ricci-curbastro_%28Dizionario-Biografico%29/)</sup> 这门计算学一直是少数人的专长，直到爱因斯坦的广义相对论发现它是用数学表述新思想的必要工具；爱因斯坦本人称他对引力方程的发现是“高斯、黎曼、克里斯托费尔、里奇和列维-奇维塔所创立的绝对微分学方法的一次真正胜利”。<sup>[11](https://mathshistory.st-andrews.ac.uk//Extras/Levi-Civita_Lezioni/)</sup><sup> • </sup><sup>[13](https://crai.ub.edu/sites/default/files/ext/evirtuals/relativitat/prestatge_06/llibre_01_02.html)</sup> 历史学家指出，这门计算学源于若干传统的相互作用，包括不变量的代数理论、微分不变量理论以及微分几何，而里奇与列维-奇维塔本人在 1901 年的导言中已明确指出了其中的几何联系。<sup>[14](https://link.springer.com/article/10.1007/s00407-024-00336-2)</sup>

## References

1. [Notes, Math 603-601, F. Narcowich, Texas A&M University](https://people.tamu.edu/~f-narcowich/m603/f02/m603_f02sum.html)
2. [Covariant differentiation in curvilinear coordinates, lecture notes, Aarhus University](https://phys.au.dk/~fedorov/backup/GTR/07/note3.htm)
3. [Tensors, electromagnetism lecture notes, University of Texas at Austin](https://farside.ph.utexas.edu/teaching/em/lectures/node111.html)
4. [Dual Basis, Wolfram MathWorld](https://mathworld.wolfram.com/DualBasis.html)
5. [Special Relativity Boot Camp, University at Buffalo](https://www.acsu.buffalo.edu/~whkinney/SpecialRelativityBootCamp/)
6. [Chapter 8: Dual spaces and tensors, *Linear Algebra Done Wrong*, S. Treil, Brown University](https://www.math.brown.edu/streil/papers/LADW/HTML_2026_04-30/Ch8.html)
7. [Covariant and Contravariant Tensors, J. D. Norton, University of Pittsburgh](https://sites.pitt.edu/~jdnorton/teaching/HPS_0410/chapters/significance_GR_relative/significance_GR_relative_technical.html)
8. [General relativity lecture notes, B. Fulling, Texas A&M University](https://people.it.tamu.edu/~fulling/m460/f13/grnotes.pdf)
9. [Coordinates, ElectromagneticFields.jl documentation](https://juliaplasma.github.io/ElectromagneticFields.jl/stable/coordinates/)
10. [Equations of laminar and turbulent flows in general curvilinear coordinates, University of Iowa](https://stern.lab.uiowa.edu/sites/stern.lab.uiowa.edu/files/2024-08/EQUATIONS%20OF%20LAMINAR%20AND%20TURBULENT%20FLOWS%20IN%20GENERAL%20CURVILINEAR%20COORDINATES.pdf)
11. [Levi-Civita: *Lezioni di calcolo differenziale assoluto*, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk//Extras/Levi-Civita_Lezioni/)
12. [Ricci-Curbastro, Gregorio, Dizionario Biografico, Treccani](https://www.treccani.it/enciclopedia/gregorio-ricci-curbastro_%28Dizionario-Biografico%29/)
13. [The Absolute differential calculus: calculus of tensors, Levi-Civita (1923/1927), University of Barcelona](https://crai.ub.edu/sites/default/files/ext/evirtuals/relativitat/prestatge_06/llibre_01_02.html)
14. [Some remarks on the history of Ricci's absolute differential calculus, Archive for History of Exact Sciences](https://link.springer.com/article/10.1007/s00407-024-00336-2)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Oct 15, 2026 · Edited: Sep 19, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Multilinear and tensor algebra › Tensor manipulation and transformations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/covariance-and-contravariance-of-vectors

English original: https://www.edgepedia.org/covariance-and-contravariance-of-vectors
