# 换元积分法

**换元积分法**，又称 u-代换或变量代换，是一种通过逆转导数的链式法则来计算积分和原函数的方法：形如 \( f(g(x))\,g'(x) \) 的被积函数被改写为关于新变量 \( u = g(x) \) 的表达式，从而变为 \( f(u)\,du \)，通常更易于积分。<sup>[3](https://mathworld.wolfram.com/IntegrationbySubstitution.html)</sup><sup> • </sup><sup>[12](https://www.khanacademy.org/math/integral-calculus/ic-integration/a/review-applying-u-substitution)</sup> 该方法是微分学中链式法则的对应物，并通过变量代换定理推广到多变量积分，其中变换的雅可比行列式取代了因子 \( g'(x) \)。<sup>[3](https://mathworld.wolfram.com/IntegrationbySubstitution.html)</sup><sup> • </sup><sup>[5](https://encyclopediaofmath.org/wiki/Change_of_variables_in_an_integral)</sup>

| 要点 | 具体内容 |
|---|---|
| 基本公式 | 若 \( u = g(x) \)，则 \( \int f(g(x))\,g'(x)\,dx = \int f(u)\,du \)。<sup>[3](https://mathworld.wolfram.com/IntegrationbySubstitution.html)</sup> |
| 定积分形式 | \( \int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du \)；积分上下限随变量一同改变。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup> |
| 标准假设 | 对于定积分公式，要求 \( f \) 连续，\( \phi \) 连续可微且 \( \phi(\alpha)=a \)、\( \phi(\beta)=b \)；这些假设可以大幅放宽。<sup>[4](https://encyclopediaofmath.org/wiki/Integration_by_substitution)</sup> |
| 多变量形式 | 对于一一的 \( C^1 \) 映射 \( \Phi \)，\( \int_\Omega f(\Phi(y))\,J\Phi(y)\,dy = \int_{\Phi(\Omega)} f(z)\,dz \)，其中 \( J\Phi \) 为雅可比行列式的绝对值。<sup>[5](https://encyclopediaofmath.org/wiki/Change_of_variables_in_an_integral)</sup> |
| 一一对应要求 | 即便在一维情形下，到新变量的坐标变换也必须是一一的，变换才能正确成立。<sup>[6](https://math.jhu.edu/~brown/courses/f19/Documents/MultivariableCalculus.pdf)</sup> |
| 命名的应用 | 欧拉代换将涉及 \( \sqrt{ax^2+bx+c} \) 的积分化为有理函数的积分；变量代换公式可变换概率密度函数。<sup>[7](https://encyclopediaofmath.org/index.php?title=Euler_substitutions)</sup><sup> • </sup><sup>[10](https://www.numerade.com/notes/directory/school/4689/courses/316752/files/2543584)</sup> |

## 基本方法

微积分基本定理将定积分的计算归结为求原函数，但原函数并不总是容易求得。当被积函数是链式法则求导的结果时，代换法便能发挥作用。<sup>[2](https://www2.math.uconn.edu/ClassHomePages/Math1071/Textbook2/sec_Ch5Sec5.html)</sup> 这项工作在很大程度上是模式识别：被积函数本身提示了该怎么做，解题者寻找一个复合函数 \( f(g(x)) \) 并伴有因子 \( g'(x) \)。<sup>[2](https://www2.math.uconn.edu/ClassHomePages/Math1071/Textbook2/sec_Ch5Sec5.html)</sup>

OpenStax 的《微积分》第二卷所述步骤如下。第一步，在被积函数中选取一个表达式 \( g(x) \) 令其等于 \( u \)，选取时使 \( g'(x) \) 也是被积函数的一部分。第二步，将 \( u = g(x) \) 和 \( du = g'(x)\,dx \) 代入积分。第三步，对 \( u \) 计算所得积分；若无法计算，则返回并另选一个表达式作为 \( u \)。第四步，将 \( u \) 替换回 \( g(x) \)，以 \( x \) 表示结果。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup>

一个演算示例展示了具体操作。为计算 \( \int 6x(3x^2+4)^4\,dx \)，取 \( u = 3x^2+4 \)，于是 \( du = 6x\,dx \) 已存在于被积函数中。积分变为 \( \int u^4\,du = u^5/5 + C \)，代回后得 \( (3x^2+4)^5/5 + C \)。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup> 当导数仅以常数倍的形式出现时，通过代数方法调整该常数因子；在计算 \( \int_0^1 x^2(1+2x^3)^5\,dx \) 时，取 \( u = 1+2x^3 \) 得 \( du = 6x^2\,dx \)，因此在改写积分之前，微分方程两边同乘 \( 1/6 \)。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup>

## 定积分

用代换法计算定积分时，积分上下限须随被积函数一同改变：变量变了，上下限也随之改变。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup> 由此得到的定理表述为：若 \( u = g(x) \)，\( g' \) 在 \([a,b]\) 上连续，\( f \) 在 \( u = g(x) \) 的值域上连续，则

\[ \int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du. \]

其依据来自不定积分的代换法则：若 \( F \) 是 \( f \) 的一个原函数，则 \( \int f(g(x))g'(x)\,dx = F(g(x)) + C \)，而在 \( x=a \) 与 \( x=b \) 之间计算 \( F(g(x)) \) 等同于在 \( u=g(a) \) 与 \( u=g(b) \) 之间计算 \( F(u) \)。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup>

还有一种替代做法可以避免转换上下限：先求出关于 \( u \) 的原函数，再将 \( u \) 替换为原来的 \( x \) 表达式，然后用原始上下限计算。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup><sup> • </sup><sup>[2](https://www2.math.uconn.edu/ClassHomePages/Math1071/Textbook2/sec_Ch5Sec5.html)</sup> 对于某个给定的积分，代换也可能只是所需多种技巧之一；例如三角函数可能需要先用三角恒等式改写后才能应用代换。<sup>[1](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)</sup>

## 精确假设

《数学百科全书》将定积分公式表述为 \( \int_a^b f(x)\,dx = \int_\alpha^\beta f(\phi(x))\,\phi'(x)\,dx \)，例如当 \( f:[a,b]\to\mathbb{R} \) 连续、\( \phi:[\alpha,\beta]\to[a,b] \) 连续可微且 \( \phi(\alpha)=a \)、\( \phi(\beta)=b \) 时成立。这些假设可以大幅放宽。<sup>[4](https://encyclopediaofmath.org/wiki/Integration_by_substitution)</sup> 在不定积分情形下，相应的表述为：当 \( F \) 表示 \( f \) 的一个原函数时，复合函数 \( F \circ \phi \) 是 \( (f \circ \phi)\,\phi' \) 的一个原函数；这直接来自链式法则。<sup>[4](https://encyclopediaofmath.org/wiki/Integration_by_substitution)</sup>

初等课程常常隐含而不明说的一个假设是单射性。正如约翰斯·霍普金斯大学的多变量微积分讲义所指出的，即便在一维情形下，到新变量的坐标变换也必须是一一的，变换才能正确成立。<sup>[6](https://math.jhu.edu/~brown/courses/f19/Documents/MultivariableCalculus.pdf)</sup>

## 多维变量代换

一维公式通过变量代换定理推广到多维积分。按《数学百科全书》的表述，设 \( U \) 和 \( V \) 为 \( \mathbb{R}^n \) 中的开集，\( \Phi: U \to V \) 为微分同胚（即光滑、可逆且逆也光滑的坐标变换），\( f: V \to \mathbb{R} \) 连续。则对任意紧集 \( \Omega \subset U \)，

\[ \int_\Omega f(\Phi(y))\,J\Phi(y)\,dy = \int_{\Phi(\Omega)} f(z)\,dz, \]

其中 \( J\Phi(y) \) 是偏导数构成的 \( n \times n \) 矩阵 \( D\Phi|_y \) 的雅可比行列式的绝对值。<sup>[5](https://encyclopediaofmath.org/wiki/Change_of_variables_in_an_integral)</sup> 新南威尔士大学的课程讲义以相同的结构给出二变量版本：\( F \) 须为 \( C^1 \)、雅可比行列式非零且一一对应，因子 \( \left|\partial(x,y)/\partial(u,v)\right| \) 乘在变换后的被积函数上。<sup>[8](https://web.maths.unsw.edu.au/~potapov/2111_course_notes/Integration_002c-general-change-of-variables.html)</sup>

雅可比因子有几何解读：在变换 \( T \) 下，\( uv \) 平面中面积为 \( \Delta u\,\Delta v \) 的小矩形被映到一个区域，其面积按雅可比行列式的绝对值缩放，这正是该因子必须出现在公式中的原因。<sup>[6](https://math.jhu.edu/~brown/courses/f19/Documents/MultivariableCalculus.pdf)</sup> 同一讲义还指出两种情形在侧重点上的差异：在单变量微积分中，代换的目的是简化被积函数，而在多变量微积分中，一般而言其目的是简化积分区域。<sup>[6](https://math.jhu.edu/~brown/courses/f19/Documents/MultivariableCalculus.pdf)</sup> 柱坐标和球坐标等标准多变量代换都是该定理的实例。<sup>[8](https://web.maths.unsw.edu.au/~potapov/2111_course_notes/Integration_002c-general-change-of-variables.html)</sup>

## 命名的代换与应用

**欧拉代换。** 形如 \( \int R(x,\sqrt{ax^2+bx+c})\,dx \) 的积分（其中 \( R \) 为其变量的有理函数）可通过以欧拉命名的三类代换化为有理函数的积分：第一类适用于 \( a > 0 \)，令 \( \sqrt{ax^2+bx+c} = \pm x\sqrt{a} \pm t \)；第二类适用于二次式的根 \( x_1, x_2 \) 为实数的情形，令 \( \sqrt{ax^2+bx+c} = \pm t(x-x_1) \)；第三类适用于 \( c > 0 \)，令 \( \sqrt{ax^2+bx+c} = \pm\sqrt{c} \pm xt \)。在每种情形下，\( x \) 和根式都可用新变量 \( t \) 有理地表示。<sup>[7](https://encyclopediaofmath.org/index.php?title=Euler_substitutions)</sup>

**概率论。** 代换公式直接应用于概率密度函数的变换：若密度为 \( f(x) \) 的随机量以 \( y = y(x) \) 重新参数化，则 \( y \) 的密度获得因子 \( dx/dy \)，恰如积分公式所要求的那样。<sup>[10](https://www.numerade.com/notes/directory/school/4689/courses/316752/files/2543584)</sup> 一篇 2025 年的 arXiv 文章将变量代换技术描述为研究生概率论与统计学课程中的标准工具，并证明推导学生 t 分布的概率密度函数需要四次应用该技术。<sup>[11](https://arxiv.org/abs/2609.30529)</sup> 在应用场景中，概率密度函数的定积分给出概率；例如，一个记忆实验模型通过代换计算回忆概率，得出回忆材料 0% 至 87.5% 之间的概率约为 86.5%。<sup>[9](https://www.math.ucdavis.edu/~morris/16B/sec6.1.pdf)</sup>

## 历史

多重积分的代换法则由莱昂哈德·欧拉（Leonhard Euler）确立，他引入了二重积分并于 1770 年建立了代换法则；其《积分学原理》（*Institutiones calculi integralis*，1768）详尽描述了不定积分的方法，几乎穷尽了结果可用初等函数表示的各种情形，而“欧拉代换”这一术语——用于某些无理微分的有理化——记录了他的贡献。<sup>[13](https://mathshistory.st-andrews.ac.uk/DSB/Euler.pdf)</sup> 英文短语“integration by substitution”于 1837 年出现在约翰·福布斯（John Forbes）的《微分与积分学理论》一书中，该书将其与分析法积分、分部积分并列，作为将积分学的一般原理推广到复杂函数的诸种方式之一。<sup>[14](https://mathshistory.st-andrews.ac.uk/Miller/mathword/i/)</sup>

## References

1. [Substitution, Calculus Volume 2, OpenStax](https://openstax.org/books/calculus-volume-2/pages/1-5-substitution)
2. [Substitution, Section 5.5, University of Connecticut Calculus textbook](https://www2.math.uconn.edu/ClassHomePages/Math1071/Textbook2/sec_Ch5Sec5.html)
3. [Integration by Substitution, Wolfram MathWorld](https://mathworld.wolfram.com/IntegrationbySubstitution.html)
4. [Integration by substitution, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Integration_by_substitution)
5. [Change of variables in an integral, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Change_of_variables_in_an_integral)
6. [Changing Variables in Integration, Multivariable Calculus notes, Johns Hopkins University](https://math.jhu.edu/~brown/courses/f19/Documents/MultivariableCalculus.pdf)
7. [Euler substitutions, Encyclopedia of Mathematics](https://encyclopediaofmath.org/index.php?title=Euler_substitutions)
8. [Integration, general change of variables, MATH2111, UNSW](https://web.maths.unsw.edu.au/~potapov/2111_course_notes/Integration_002c-general-change-of-variables.html)
9. [Integration by Substitution, Section 6.1, University of California, Davis course notes](https://www.math.ucdavis.edu/~morris/16B/sec6.1.pdf)
10. [Transforming Probability Density Functions Using Integration by Substitution, University of Cambridge Probability notes (via Numerace)](https://www.numerade.com/notes/directory/school/4689/courses/316752/files/2543584)
11. [The importance of the change-of-variables integration technique in deriving the PDFs of important probability distributions, arXiv](https://arxiv.org/abs/2609.30529)
12. [u-substitution review, Khan Academy](https://www.khanacademy.org/math/integral-calculus/ic-integration/a/review-applying-u-substitution)
13. [Leonhard Euler, Dictionary of Scientific Biography, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/DSB/Euler.pdf)
14. [Earliest Known Uses of Some of the Words of Mathematics (I), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Miller/mathword/i/)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Integrals and integration theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/integration-by-substitution

English original: https://www.edgepedia.org/integration-by-substitution
