Unit B1: Integration Techniques I: Substitution and Parts单元 B1:积分技巧 I:换元法与分部积分
The two foundational antidifferentiation methods of Calculus II, substitution and integration by parts, presented with theorem, derivation, and worked example.微积分 II 中两种最基础的求原函数方法——换元法(substitution)与分部积分法(integration by parts)——附定理、推导与例题讲解。
antiderivative)。我们将换元法理解为链式法则(Chain Rule)的逆运算,将分部积分法理解为乘积法则(Product Rule)的逆运算,最终将二者结合使用。每道例题请先自己动手推导,再打开解答,并通过对结果求导来验证答案。
Review of Substitution换元法复习
substitution)是链式法则(Chain Rule)的逆运算。若被积函数中含有内层函数 $u=g(x)$ 及其导数 $g'(x)$ 的常数倍,则将 $g(x)$ 换为 $u$、将 $g'(x)\,dx$ 换为 $du$,可将积分化为单变量 $u$ 的积分。The method works when the integrand decomposes as an outer function evaluated at an inner function, multiplied by the inner derivative up to a constant. In practice one chooses $u$ to be the inner function, computes $du$, and checks that the remaining factors are accounted for by $du$ (constants may be absorbed freely, since $\int c\,h\,dx = c\int h\,dx$).
当被积函数可分解为"外层函数作用在内层函数上,再乘以内层函数导数的常数倍"时,此方法适用。实际操作中,令 $u$ 为内层函数,计算 $du$,再检查剩余因子是否均由 $du$ 涵盖(常数可自由提取,因为 $\int c\,h\,dx = c\int h\,dx$)。
Three signals reliably point to a substitution. First, a composition: an integrand of the form $f(g(x))$ where $g$ is more than a bare $x$, such as $e^{x^2}$, $\sin(3x+1)$, or $\sqrt{1-x^2}$. Second, a visible derivative: a factor that is, up to a constant, $g'(x)$ for that same inner function. Third, the $u'/u$ shape, an integrand that is a fraction whose numerator is the derivative of its denominator, which always integrates to a logarithm. When you spot one of these, name the inner function $u$, differentiate to get $du$, and rewrite every piece of the integrand in terms of $u$ and $du$ before integrating. The discipline of converting the integral completely, leaving no stray $x$, is what separates a clean substitution from a stalled one.
以下三种信号可靠地指向换元法。其一,复合结构:被积函数形如 $f(g(x))$,其中 $g$ 不是单纯的 $x$,例如 $e^{x^2}$、$\sin(3x+1)$ 或 $\sqrt{1-x^2}$。其二,可见的导数:被积函数中含有某个因子,它在相差常数倍的意义下恰好是内层函数的导数 $g'(x)$。其三,$u'/u$ 形式:被积函数是一个分式,分子恰好是分母的导数,此类积分必然给出对数结果。发现上述任一信号后,命内层函数为 $u$,求微分得 $du$,并将被积函数的每一部分改写为 $u$ 和 $du$ 的表达式再进行积分。完整转换、不留残余 $x$ 的规范操作,是区分成功换元与失败换元的关键。
Both of these are worth memorizing as the output of a substitution rather than as isolated facts. For $\int\tan x\,dx=\int \frac{\sin x}{\cos x}\,dx$, the choice $u=\cos x$ gives $du=-\sin x\,dx$, so the integral becomes $-\int du/u=-\ln|u|+C$. The $\sec x$ result comes from the standard trick of multiplying numerator and denominator by $\sec x+\tan x$, after which the numerator is exactly the derivative of the denominator. Recognizing an integrand as $u'/u$ is one of the most productive patterns in all of integration: it always produces a logarithm of the absolute value of the denominator.
这两个结果都值得作为"换元法的输出"来记忆,而非孤立的结论。对于 $\int\tan x\,dx=\int \frac{\sin x}{\cos x}\,dx$,令 $u=\cos x$,则 $du=-\sin x\,dx$,积分变为 $-\int du/u=-\ln|u|+C$。$\sec x$ 的结果来自一个标准技巧:分子分母同乘 $\sec x+\tan x$,此后分子恰好是分母的导数。认识到 $u'/u$ 型被积函数是积分中最高效的模式之一:它必然产生分母绝对值的对数。
Mechanics of the substitution and the role of constants换元法的操作细节与常数的作用
The phrase "up to a constant multiple" deserves emphasis. If the integrand contains $g'(x)$ scaled by some constant $c$, that constant simply factors out: $\int f(g(x))\,c\,g'(x)\,dx=c\int f(u)\,du$. What substitution cannot do is repair a factor that is a non-constant function of $x$ left over after $du$ is accounted for. If, after writing $du=g'(x)\,dx$, some stray $x$ remains that cannot be rewritten in terms of $u$, the substitution has failed and a different $u$, or a different method entirely, is needed.
"相差常数倍"这一表述值得特别强调。若被积函数中含有被常数 $c$ 缩放的 $g'(x)$,该常数只需直接提到积分号外:$\int f(g(x))\,c\,g'(x)\,dx=c\int f(u)\,du$。换元法无法修补的情况是:写出 $du=g'(x)\,dx$ 后,仍有无法用 $u$ 表示的残余 $x$ 因子。若出现这种情况,说明换元失败,需要选取不同的 $u$ 或改用完全不同的方法。
Worked Example 1.1: a linear inner function例题 1.1:线性内层函数
Evaluate $\displaystyle\int x\,e^{x^2}\,dx$. Let $u=x^2$, so $du=2x\,dx$ and $x\,dx=\tfrac12\,du$.
$$\int x\,e^{x^2}\,dx=\frac12\int e^{u}\,du=\frac12 e^{u}+C=\frac12 e^{x^2}+C.$$The factor $x$ outside the exponential is exactly what the substitution consumes, up to the constant $\tfrac12$.
求 $\displaystyle\int x\,e^{x^2}\,dx$。令 $u=x^2$,则 $du=2x\,dx$,故 $x\,dx=\tfrac12\,du$。
$$\int x\,e^{x^2}\,dx=\frac12\int e^{u}\,du=\frac12 e^{u}+C=\frac12 e^{x^2}+C.$$指数外的因子 $x$ 恰好被换元消耗,相差常数 $\tfrac12$。
Worked Example 1.2: rational integrand例题 1.2:有理型被积函数
Evaluate $\displaystyle\int \frac{\ln x}{x}\,dx$. Let $u=\ln x$, so $du=\tfrac{1}{x}\,dx$.
$$\int \frac{\ln x}{x}\,dx=\int u\,du=\frac{u^2}{2}+C=\frac{(\ln x)^2}{2}+C.$$The deciding observation is that the factor $\tfrac{1}{x}$ is precisely $\tfrac{d}{dx}\ln x$. The whole integrand is therefore $u\,du$ in disguise, and the answer is a power of $u$. Differentiating $\tfrac12(\ln x)^2$ by the chain rule returns $(\ln x)\cdot\tfrac1x$, confirming the result.
求 $\displaystyle\int \frac{\ln x}{x}\,dx$。令 $u=\ln x$,则 $du=\tfrac{1}{x}\,dx$。
$$\int \frac{\ln x}{x}\,dx=\int u\,du=\frac{u^2}{2}+C=\frac{(\ln x)^2}{2}+C.$$关键观察在于:因子 $\tfrac{1}{x}$ 恰好是 $\tfrac{d}{dx}\ln x$。因此整个被积函数本质上是 $u\,du$,答案是 $u$ 的幂次。对 $\tfrac12(\ln x)^2$ 用链式法则求导得 $(\ln x)\cdot\tfrac1x$,验证了结果。
Worked Example 1.3: a root in the inner function例题 1.3:内层函数含根号
Evaluate $\displaystyle\int \frac{x}{\sqrt{4-x^2}}\,dx$. Let $u=4-x^2$, so $du=-2x\,dx$, which gives $x\,dx=-\tfrac12\,du$. The integrand's $\sqrt{4-x^2}$ becomes $\sqrt{u}=u^{1/2}$:
$$\int \frac{x}{\sqrt{4-x^2}}\,dx=-\frac12\int u^{-1/2}\,du=-\frac12\cdot 2u^{1/2}+C=-\sqrt{4-x^2}+C.$$Differentiating $-\sqrt{4-x^2}$ returns $\tfrac{x}{\sqrt{4-x^2}}$, which checks. Note that the bare $x$ in the numerator is essential: without it, the integral $\int \tfrac{dx}{\sqrt{4-x^2}}=\arcsin(x/2)+C$ is a different problem entirely, solved by a trigonometric substitution rather than this algebraic one.
求 $\displaystyle\int \frac{x}{\sqrt{4-x^2}}\,dx$。令 $u=4-x^2$,则 $du=-2x\,dx$,故 $x\,dx=-\tfrac12\,du$。被积函数中的 $\sqrt{4-x^2}$ 变为 $\sqrt{u}=u^{1/2}$:
$$\int \frac{x}{\sqrt{4-x^2}}\,dx=-\frac12\int u^{-1/2}\,du=-\frac12\cdot 2u^{1/2}+C=-\sqrt{4-x^2}+C.$$对 $-\sqrt{4-x^2}$ 求导得 $\tfrac{x}{\sqrt{4-x^2}}$,验证正确。注意分子中单独出现的 $x$ 是必不可少的:若没有它,$\int \tfrac{dx}{\sqrt{4-x^2}}=\arcsin(x/2)+C$ 是完全不同的问题,需用三角换元法而非此代数换元法求解。
Worked Example 1.4: rewriting before substituting例题 1.4:换元前先改写
Evaluate $\displaystyle\int \tan^{2}x\,\sec^{2}x\,dx$. The factor $\sec^2 x$ is the derivative of $\tan x$, which signals $u=\tan x$, $du=\sec^2 x\,dx$:
$$\int \tan^{2}x\,\sec^{2}x\,dx=\int u^{2}\,du=\frac{u^3}{3}+C=\frac{\tan^{3}x}{3}+C.$$The art is in reading the integrand for a function paired with its own derivative. Here $\tan x$ and $\sec^2 x$ form exactly such a pair, so the integral collapses to a power rule in $u$.
求 $\displaystyle\int \tan^{2}x\,\sec^{2}x\,dx$。因子 $\sec^2 x$ 是 $\tan x$ 的导数,提示令 $u=\tan x$,$du=\sec^2 x\,dx$:
$$\int \tan^{2}x\,\sec^{2}x\,dx=\int u^{2}\,du=\frac{u^3}{3}+C=\frac{\tan^{3}x}{3}+C.$$核心在于识别被积函数中某个函数与其自身导数配对的结构。这里 $\tan x$ 与 $\sec^2 x$ 恰好构成这样一对,积分因此化为 $u$ 的幂次法则。
Worked Example 1.5: a definite integral with converted limits例题 1.5:转换积分限的定积分
Evaluate $\displaystyle\int_0^{2} x\,e^{x^2}\,dx$ using the change-of-variables rule for definite integrals. Let $u=x^2$, $du=2x\,dx$, so $x\,dx=\tfrac12\,du$. Convert the limits: when $x=0$, $u=0$; when $x=2$, $u=4$. The entire problem is then carried out in $u$:
$$\int_0^{2} x\,e^{x^2}\,dx=\frac12\int_0^{4} e^{u}\,du=\frac12\bigl[e^{u}\bigr]_0^{4}=\frac{e^{4}-1}{2}.$$Because the limits were converted to $u$-values, there is no back-substitution to $x$. The alternative, finding the indefinite antiderivative $\tfrac12 e^{x^2}$ and evaluating at $x=2$ and $x=0$, gives the same $\tfrac12(e^4-1)$, but converting the limits is cleaner and removes a step where errors creep in.
利用定积分的换元公式求 $\displaystyle\int_0^{2} x\,e^{x^2}\,dx$。令 $u=x^2$,$du=2x\,dx$,故 $x\,dx=\tfrac12\,du$。转换积分限:当 $x=0$ 时 $u=0$;当 $x=2$ 时 $u=4$。整个计算在 $u$ 变量下进行:
$$\int_0^{2} x\,e^{x^2}\,dx=\frac12\int_0^{4} e^{u}\,du=\frac12\bigl[e^{u}\bigr]_0^{4}=\frac{e^{4}-1}{2}.$$因为积分限已转换为 $u$ 的值,无需将结果回代为 $x$。另一种方法是求不定原函数(antiderivative)$\tfrac12 e^{x^2}$,再代入 $x=2$ 和 $x=0$,结果相同,均为 $\tfrac12(e^4-1)$,但转换积分限更简洁,也少了一步容易出错的环节。
Going deeper: why substitution is exactly the chain rule reversed深入探讨:为何换元法恰好是链式法则的逆运算
Let $F$ be an antiderivative of $f$, so $F'=f$. By the chain rule,
$$\frac{d}{dx}\,F\bigl(g(x)\bigr)=F'\bigl(g(x)\bigr)\,g'(x)=f\bigl(g(x)\bigr)\,g'(x).$$Integrating both sides recovers $\int f(g(x))g'(x)\,dx=F(g(x))+C=\int f(u)\,du$ with $u=g(x)$. Thus the substitution rule is not a separate axiom; it is the antiderivative form of the chain rule.
For a definite integral the same identity, combined with the fundamental theorem of calculus, gives the change-of-variables rule with transformed limits. If $g$ is continuously differentiable on $[a,b]$ and $f$ is continuous on the range of $g$, then
$$\int_a^b f\bigl(g(x)\bigr)\,g'(x)\,dx=\int_{g(a)}^{g(b)} f(u)\,du.$$The proof is one line: let $F'=f$, so by the chain rule $F\circ g$ is an antiderivative of $(f\circ g)\,g'$, and the fundamental theorem gives $\bigl[F(g(x))\bigr]_a^b=F(g(b))-F(g(a))=\bigl[F(u)\bigr]_{g(a)}^{g(b)}$. The practical payoff is that once the limits are converted to $u$-values there is no need to revert to $x$ at the end.
设 $F$ 是 $f$ 的原函数,即 $F'=f$。由链式法则(Chain Rule):
两边积分即得 $\int f(g(x))g'(x)\,dx=F(g(x))+C=\int f(u)\,du$(其中 $u=g(x)$)。因此换元法不是一条独立的公理,而是链式法则在求原函数层面的体现。
对于定积分,同一等式结合微积分基本定理(FTC),给出带换元积分限的变量替换公式。若 $g$ 在 $[a,b]$ 上连续可微,$f$ 在 $g$ 的值域上连续,则
证明只需一行:令 $F'=f$,由链式法则知 $F\circ g$ 是 $(f\circ g)\,g'$ 的原函数,再由微积分基本定理得 $\bigl[F(g(x))\bigr]_a^b=F(g(b))-F(g(a))=\bigl[F(u)\bigr]_{g(a)}^{g(b)}$。实际意义在于:一旦积分限转换为 $u$ 的值,最终无需回代为 $x$。
Integration by Parts分部积分法
integration by parts)是乘积法则(Product Rule)的逆运算。它将乘积 $u\,dv$ 的积分转化为(理想情况下更简单的)$v\,du$ 的积分,适用于被积函数是不同类型函数之积的情形,例如多项式乘指数函数,或孤立的对数函数。To apply the formula one splits the integrand into a part $u$ to be differentiated and a part $dv$ to be integrated, computes $du$ and $v$, and writes down $uv-\int v\,du$. The split is well chosen when $\int v\,du$ is easier than the original. The mnemonic LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) ranks candidates for $u$: the function earlier in the list is usually the better choice for $u$.
应用公式时,将被积函数拆分为待微分部分 $u$ 和待积分部分 $dv$,计算 $du$ 和 $v$,写出 $uv-\int v\,du$。当 $\int v\,du$ 比原式更简单时,拆分是合理的。记忆口诀 LIATE(对数、反三角、代数、三角、指数)给出 $u$ 候选的优先级:排在前面的函数通常是更好的 $u$ 选择。
The logic behind LIATE is worth internalizing rather than memorizing blindly. A good $u$ becomes simpler when differentiated, and a good $dv$ stays manageable when integrated. Logarithms and inverse trig functions have no elementary antiderivative that is simpler than themselves, so they make poor choices for $dv$ and are placed first as preferred $u$. Exponentials and the basic trig functions integrate to something of the same size, so they are happy as $dv$ and sit last. Polynomials shrink in degree under differentiation, so they belong in the middle as natural $u$ candidates whenever the other factor integrates cleanly. When two orderings both look plausible, the test is simply which one makes $\int v\,du$ easier than the integral you started with.
LIATE 背后的逻辑值得内化,而不只是死记。好的 $u$ 经微分后变得更简单;好的 $dv$ 积分后仍可操控。对数和反三角函数没有比自身更简单的初等原函数,因此不宜作为 $dv$,排在最前作为优先 $u$。指数和基本三角函数积分后规模不变,适合作为 $dv$,排在最后。多项式经微分后次数降低,只要另一个因子可以干净地积分,多项式就自然是中间位置的 $u$ 候选。当两种选法看起来都合理时,检验标准很简单:哪一种使 $\int v\,du$ 比原式更简单。
Notice also that $v$ is any one antiderivative of $dv$, and the constant of integration in $v$ may be chosen freely. Usually the simplest choice ($+0$) is best, but occasionally a clever shift of the constant in $v$ cancels an awkward boundary term, a trick that streamlines several standard integrals.
另需注意,$v$ 是 $dv$ 的任意一个原函数,$v$ 中的积分常数可自由选取。通常选最简形式(即 $+0$)最合适,但偶尔巧妙地移动 $v$ 中的常数可以消去麻烦的边界项,这一技巧可以简化若干标准积分。
Worked Example 2.1: polynomial times exponential例题 2.1:多项式乘指数函数
Evaluate $\displaystyle\int x\,e^{x}\,dx$. Take $u=x$ (algebraic, differentiates to a constant) and $dv=e^{x}\,dx$, so $du=dx$ and $v=e^{x}$.
$$\int x\,e^{x}\,dx=x e^{x}-\int e^{x}\,dx=x e^{x}-e^{x}+C=(x-1)e^{x}+C.$$求 $\displaystyle\int x\,e^{x}\,dx$。令 $u=x$(代数型,微分后为常数),$dv=e^{x}\,dx$,则 $du=dx$,$v=e^{x}$。
$$\int x\,e^{x}\,dx=x e^{x}-\int e^{x}\,dx=x e^{x}-e^{x}+C=(x-1)e^{x}+C.$$Worked Example 2.2: the logarithm trick例题 2.2:对数函数技巧
Evaluate $\displaystyle\int \ln x\,dx$. There is no obvious product, so take $u=\ln x$ and $dv=dx$, giving $du=\tfrac{1}{x}\,dx$ and $v=x$.
$$\int \ln x\,dx=x\ln x-\int x\cdot\frac{1}{x}\,dx=x\ln x-\int 1\,dx=x\ln x-x+C.$$The same idea handles every isolated function whose derivative is simpler than itself. The hidden $dv=dx$ supplies $v=x$, and the integrand $v\,du$ becomes elementary.
求 $\displaystyle\int \ln x\,dx$。没有明显的乘积结构,令 $u=\ln x$,$dv=dx$,则 $du=\tfrac{1}{x}\,dx$,$v=x$。
$$\int \ln x\,dx=x\ln x-\int x\cdot\frac{1}{x}\,dx=x\ln x-\int 1\,dx=x\ln x-x+C.$$同样的思路适用于所有"导数比自身更简单"的孤立函数。隐含的 $dv=dx$ 提供 $v=x$,被积量 $v\,du$ 随即变为初等形式。
Worked Example 2.3: inverse trig by parts例题 2.3:反三角函数的分部积分
Evaluate $\displaystyle\int \arctan x\,dx$. As with $\ln x$, take $u=\arctan x$ and $dv=dx$, so $du=\tfrac{1}{1+x^2}\,dx$ and $v=x$:
$$\int \arctan x\,dx=x\arctan x-\int \frac{x}{1+x^2}\,dx.$$The residual integral is a substitution, $w=1+x^2$, $dw=2x\,dx$, giving $\int\tfrac{x}{1+x^2}\,dx=\tfrac12\ln(1+x^2)$. Therefore
$$\int \arctan x\,dx=x\arctan x-\frac12\ln(1+x^2)+C.$$This is the canonical example of an integral that needs parts to start and substitution to finish. The Inverse-trig "I" in LIATE outranks everything else, which is exactly why $\arctan x$ becomes $u$.
求 $\displaystyle\int \arctan x\,dx$。与 $\ln x$ 同理,令 $u=\arctan x$,$dv=dx$,则 $du=\tfrac{1}{1+x^2}\,dx$,$v=x$:
$$\int \arctan x\,dx=x\arctan x-\int \frac{x}{1+x^2}\,dx.$$剩余积分用换元法,令 $w=1+x^2$,$dw=2x\,dx$,得 $\int\tfrac{x}{1+x^2}\,dx=\tfrac12\ln(1+x^2)$。因此
$$\int \arctan x\,dx=x\arctan x-\frac12\ln(1+x^2)+C.$$这是"分部积分开头、换元收尾"的典型例子。LIATE 中反三角函数("I")优先级最高,这正是 $\arctan x$ 成为 $u$ 的原因。
Worked Example 2.4: a polynomial times a sine例题 2.4:多项式乘正弦函数
Evaluate $\displaystyle\int x\sin x\,dx$. By LIATE the algebraic factor $x$ becomes $u$ and $dv=\sin x\,dx$, so $du=dx$ and $v=-\cos x$:
$$\int x\sin x\,dx=-x\cos x-\int(-\cos x)\,dx=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x+C.$$The sign bookkeeping is where most slips occur: $v=-\cos x$ carries a minus that then meets the minus in $-\int v\,du$, producing the $+\int\cos x\,dx$. Differentiating $-x\cos x+\sin x$ returns $-\cos x+x\sin x+\cos x=x\sin x$, which confirms the answer.
求 $\displaystyle\int x\sin x\,dx$。按 LIATE,代数因子 $x$ 作为 $u$,$dv=\sin x\,dx$,则 $du=dx$,$v=-\cos x$:
$$\int x\sin x\,dx=-x\cos x-\int(-\cos x)\,dx=-x\cos x+\int\cos x\,dx=-x\cos x+\sin x+C.$$符号追踪是最容易出错的地方:$v=-\cos x$ 带有一个负号,与 $-\int v\,du$ 中的负号相遇,产生 $+\int\cos x\,dx$。对 $-x\cos x+\sin x$ 求导得 $-\cos x+x\sin x+\cos x=x\sin x$,验证正确。
Going deeper: deriving the formula from the product rule深入探讨:从乘积法则推导分部积分公式
Let $u(x)$ and $v(x)$ be differentiable. The product rule gives
$$\frac{d}{dx}\bigl(u v\bigr)=u\,\frac{dv}{dx}+v\,\frac{du}{dx}.$$Integrate both sides with respect to $x$. The left side integrates to $uv$, so
$$uv=\int u\,dv+\int v\,du \quad\Longrightarrow\quad \int u\,dv=uv-\int v\,du.$$设 $u(x)$ 和 $v(x)$ 均可微。由乘积法则(Product Rule):
两边对 $x$ 积分,左边积分得 $uv$,因此
$$uv=\int u\,dv+\int v\,du \quad\Longrightarrow\quad \int u\,dv=uv-\int v\,du.$$Repeated Integration by Parts多次分部积分
In the cyclic case two applications of parts return a multiple of the original integral $I$ on the right side. Collecting the $I$ terms and dividing solves for $I$ without ever reducing it to an elementary antiderivative directly.
在循环型情形中,两次分部积分后右侧出现原积分 $I$ 的倍数。收集 $I$ 项后除以系数,即可直接解出 $I$,无需将其化为某个初等原函数。
The two patterns are distinguished by what happens to the polynomial-or-non-polynomial factor under repeated differentiation. If you are differentiating a polynomial, each pass lowers its degree by one, so a degree-$n$ polynomial terminates after exactly $n+1$ rows. If instead both factors merely cycle under differentiation and integration (as $e^{ax}$ and $\sin bx$ do), the integral never terminates by attrition; it must be closed algebraically when the original integral reappears. Recognizing which pattern you are in before you start saves a great deal of wasted work.
两种模式的区分在于:反复微分后,多项式(或非多项式)因子发生了什么变化。若微分的是多项式,每次次数降一,$n$ 次多项式恰好在 $n+1$ 行后终止。若两个因子在微分和积分下只是循环(如 $e^{ax}$ 和 $\sin bx$),积分永远不会自然终止,必须在原积分重现时代数求解。在动手之前先判断属于哪种模式,可以避免大量徒劳的计算。
Worked Example 3.1: degree-two polynomial例题 3.1:二次多项式
Evaluate $\displaystyle\int x^2 e^{x}\,dx$. First take $u=x^2$, $dv=e^{x}\,dx$:
$$\int x^2 e^{x}\,dx=x^2 e^{x}-2\int x e^{x}\,dx.$$From Worked Example 2.1, $\int x e^{x}\,dx=(x-1)e^{x}+C$. Hence
$$\int x^2 e^{x}\,dx=x^2 e^{x}-2(x-1)e^{x}+C=(x^2-2x+2)e^{x}+C.$$求 $\displaystyle\int x^2 e^{x}\,dx$。先令 $u=x^2$,$dv=e^{x}\,dx$:
$$\int x^2 e^{x}\,dx=x^2 e^{x}-2\int x e^{x}\,dx.$$由例题 2.1,$\int x e^{x}\,dx=(x-1)e^{x}+C$。故
$$\int x^2 e^{x}\,dx=x^2 e^{x}-2(x-1)e^{x}+C=(x^2-2x+2)e^{x}+C.$$Worked Example 3.2: the cyclic case例题 3.2:循环型情形
Evaluate $\displaystyle I=\int e^{x}\sin x\,dx$. Take $u=e^{x}$, $dv=\sin x\,dx$, so $v=-\cos x$:
$$I=-e^{x}\cos x+\int e^{x}\cos x\,dx.$$Apply parts again to the new integral with $u=e^{x}$, $dv=\cos x\,dx$, $v=\sin x$:
$$\int e^{x}\cos x\,dx=e^{x}\sin x-\int e^{x}\sin x\,dx=e^{x}\sin x-I.$$Substitute and solve: $I=-e^{x}\cos x+e^{x}\sin x-I$, so $2I=e^{x}(\sin x-\cos x)$ and
$$I=\frac{e^{x}(\sin x-\cos x)}{2}+C.$$The constant $C$ is reinstated only at the very end. While solving algebraically for $I$ we treat $I$ as a single unknown quantity and the bare antiderivatives without their constants; the family of antiderivatives is recovered by appending $+C$ once $I$ is isolated.
求 $\displaystyle I=\int e^{x}\sin x\,dx$。令 $u=e^{x}$,$dv=\sin x\,dx$,则 $v=-\cos x$:
$$I=-e^{x}\cos x+\int e^{x}\cos x\,dx.$$对新积分再次应用分部积分,令 $u=e^{x}$,$dv=\cos x\,dx$,$v=\sin x$:
$$\int e^{x}\cos x\,dx=e^{x}\sin x-\int e^{x}\sin x\,dx=e^{x}\sin x-I.$$代入并求解:$I=-e^{x}\cos x+e^{x}\sin x-I$,故 $2I=e^{x}(\sin x-\cos x)$,从而
$$I=\frac{e^{x}(\sin x-\cos x)}{2}+C.$$积分常数 $C$ 仅在最后代数解出 $I$ 之后加回。求解过程中,将 $I$ 视为单一未知量,原函数不携带常数;求出 $I$ 后再补上 $+C$ 即得全体原函数。
Worked Example 3.3: the general $e^{ax}\cos(bx)$ pattern例题 3.3:一般 $e^{ax}\cos(bx)$ 型
Evaluate $\displaystyle I=\int e^{2x}\cos(3x)\,dx$, an instance of the boxed formula with $a=2$, $b=3$. Take $u=e^{2x}$, $dv=\cos(3x)\,dx$, so $v=\tfrac13\sin(3x)$:
$$I=\frac{1}{3}e^{2x}\sin(3x)-\frac{2}{3}\int e^{2x}\sin(3x)\,dx.$$Apply parts again to the new integral with $u=e^{2x}$, $dv=\sin(3x)\,dx$, $v=-\tfrac13\cos(3x)$:
$$\int e^{2x}\sin(3x)\,dx=-\frac{1}{3}e^{2x}\cos(3x)+\frac{2}{3}\int e^{2x}\cos(3x)\,dx=-\frac{1}{3}e^{2x}\cos(3x)+\frac{2}{3}I.$$Substitute back: $I=\tfrac13 e^{2x}\sin(3x)-\tfrac23\bigl(-\tfrac13 e^{2x}\cos(3x)+\tfrac23 I\bigr)$, which is $I=\tfrac13 e^{2x}\sin(3x)+\tfrac29 e^{2x}\cos(3x)-\tfrac49 I$. Collecting, $\tfrac{13}{9}I=\tfrac19 e^{2x}\bigl(3\sin(3x)+2\cos(3x)\bigr)$, so
$$I=\frac{e^{2x}\bigl(2\cos(3x)+3\sin(3x)\bigr)}{13}+C,$$which matches the closed form $\tfrac{e^{ax}(a\cos bx+b\sin bx)}{a^2+b^2}$ with $a^2+b^2=4+9=13$. Memorizing the closed form is convenient, but reconstructing it by two passes of parts is a reliable fallback when the formula slips.
求 $\displaystyle I=\int e^{2x}\cos(3x)\,dx$,这是方框公式中 $a=2$、$b=3$ 的特例。令 $u=e^{2x}$,$dv=\cos(3x)\,dx$,则 $v=\tfrac13\sin(3x)$:
$$I=\frac{1}{3}e^{2x}\sin(3x)-\frac{2}{3}\int e^{2x}\sin(3x)\,dx.$$对新积分再次应用分部积分,令 $u=e^{2x}$,$dv=\sin(3x)\,dx$,$v=-\tfrac13\cos(3x)$:
$$\int e^{2x}\sin(3x)\,dx=-\frac{1}{3}e^{2x}\cos(3x)+\frac{2}{3}\int e^{2x}\cos(3x)\,dx=-\frac{1}{3}e^{2x}\cos(3x)+\frac{2}{3}I.$$代入:$I=\tfrac13 e^{2x}\sin(3x)-\tfrac23\bigl(-\tfrac13 e^{2x}\cos(3x)+\tfrac23 I\bigr)$,即 $I=\tfrac13 e^{2x}\sin(3x)+\tfrac29 e^{2x}\cos(3x)-\tfrac49 I$。整理得 $\tfrac{13}{9}I=\tfrac19 e^{2x}\bigl(3\sin(3x)+2\cos(3x)\bigr)$,故
$$I=\frac{e^{2x}\bigl(2\cos(3x)+3\sin(3x)\bigr)}{13}+C,$$与封闭公式 $\tfrac{e^{ax}(a\cos bx+b\sin bx)}{a^2+b^2}$($a^2+b^2=4+9=13$)吻合。记住封闭公式固然方便,但用两次分部积分重新推导是忘记公式时的可靠备用方法。
Worked Example 3.4: a degree-two polynomial against a cosine例题 3.4:二次多项式乘余弦函数
Evaluate $\displaystyle\int x^2 \cos x\,dx$. This is the polynomial-attrition pattern, not the cyclic one: each pass lowers the degree of $x^2$. Take $u=x^2$, $dv=\cos x\,dx$, $v=\sin x$:
$$\int x^2\cos x\,dx=x^2\sin x-2\int x\sin x\,dx.$$From Worked Example 2.4, $\int x\sin x\,dx=-x\cos x+\sin x$. Substitute:
$$\int x^2\cos x\,dx=x^2\sin x-2\bigl(-x\cos x+\sin x\bigr)+C=x^2\sin x+2x\cos x-2\sin x+C.$$Two applications suffice because the degree dropped from $2$ to $1$ to $0$. A differentiation check returns $2x\sin x+x^2\cos x+2\cos x-2x\sin x-2\cos x=x^2\cos x$, as required. Contrast this with Worked Example 3.2, where neither factor was a polynomial and the integral instead had to be closed algebraically.
求 $\displaystyle\int x^2 \cos x\,dx$。这是多项式消耗型而非循环型:每次次数降一。令 $u=x^2$,$dv=\cos x\,dx$,$v=\sin x$:
$$\int x^2\cos x\,dx=x^2\sin x-2\int x\sin x\,dx.$$由例题 2.4,$\int x\sin x\,dx=-x\cos x+\sin x$。代入:
$$\int x^2\cos x\,dx=x^2\sin x-2\bigl(-x\cos x+\sin x\bigr)+C=x^2\sin x+2x\cos x-2\sin x+C.$$两次应用即足,因为次数从 $2$ 降到 $1$ 再到 $0$。验证:对结果求导得 $2x\sin x+x^2\cos x+2\cos x-2x\sin x-2\cos x=x^2\cos x$,正确。对比例题 3.2——该例中两个因子都不是多项式,积分必须代数求解。
Tabular Integration表格积分法
where the first column lists $p$ and its successive derivatives (differentiate down to $0$) and the second column lists successive antiderivatives $G_1,G_2,\dots$ of $g$. Multiply along the diagonals and alternate the signs $+,-,+,-,\dots$ The method is exactly repeated parts; the table merely automates the choice $u=$ polynomial at every step.
其中第一列列出 $p$ 及其各阶导数(逐步微分至 $0$),第二列列出 $g$ 的逐次原函数 $G_1,G_2,\dots$。沿对角线相乘并交替使用符号 $+,-,+,-,\dots$。该方法本质上是多次分部积分;表格只是在每一步自动选取 $u=$ 多项式。
Two reading rules keep the table honest. First, the signs alternate starting with $+$ on the top diagonal, so the $k$-th term carries the sign $(-1)^{k}$ if the first term is counted as $k=0$. Second, each diagonal product pairs an entry of the derivative column with the antiderivative one row below it; the very last derivative entry (the $0$) has no partner and contributes nothing. When the derivative column truly reaches $0$, the table is complete and no leftover integral remains. When it does not reach $0$, you stop at a convenient row and append the integral of the product of the last row's entries, with the running sign, as a residual.
两条读表规则确保表格的正确性。其一,符号从最顶对角线的 $+$ 开始交替,第 $k$ 项(从 $k=0$ 计数)的符号为 $(-1)^k$。其二,每条对角线乘积将微分列的某一项与其下一行的原函数配对;最后一条微分列条目(即 $0$)没有对应的配对项,不贡献任何内容。当微分列真正达到 $0$ 时,表格完成,无剩余积分。若无法达到 $0$,可在方便的行处停止,将最后一行两列条目之积乘以当前符号作为剩余积分附加。
Worked Example 4.1: tabular method on a cubic例题 4.1:三次多项式的表格法
Evaluate $\displaystyle\int x^3 \sin x\,dx$. Differentiate $x^3$ in the left column and integrate $\sin x$ in the right column:
$$\begin{array}{c|cc}\text{sign}&D\;(x^3)&I\;(\sin x)\\\hline +&x^3&-\cos x\\ -&3x^2&-\sin x\\ +&6x&\cos x\\ -&6&\sin x\\ +&0&\end{array}$$Multiply along the diagonals with the leading signs:
$$\int x^3\sin x\,dx=-x^3\cos x+3x^2\sin x+6x\cos x-6\sin x+C.$$求 $\displaystyle\int x^3 \sin x\,dx$。左列对 $x^3$ 逐次微分,右列对 $\sin x$ 逐次积分:
$$\begin{array}{c|cc}\text{符号}&D\;(x^3)&I\;(\sin x)\\\hline +&x^3&-\cos x\\ -&3x^2&-\sin x\\ +&6x&\cos x\\ -&6&\sin x\\ +&0&\end{array}$$沿对角线相乘并加上各项符号:
$$\int x^3\sin x\,dx=-x^3\cos x+3x^2\sin x+6x\cos x-6\sin x+C.$$Worked Example 4.2: when tabular still helps without a vanishing column例题 4.2:微分列不消失时表格法仍然有效
For $\displaystyle\int x^2 e^{2x}\,dx$ the left column terminates at $0$ after two derivatives, and antiderivatives of $e^{2x}$ are $\tfrac12 e^{2x},\tfrac14 e^{2x},\tfrac18 e^{2x}$. Diagonals give
$$\int x^2 e^{2x}\,dx=\frac{x^2}{2}e^{2x}-\frac{2x}{4}e^{2x}+\frac{2}{8}e^{2x}+C=\frac{e^{2x}}{4}\bigl(2x^2-2x+1\bigr)+C.$$The care point here is that each step down the right column integrates the previous antiderivative, not the original $e^{2x}$. Because $\int e^{2x}\,dx=\tfrac12 e^{2x}$, every descent multiplies in another $\tfrac12$, producing $\tfrac12,\tfrac14,\tfrac18$. A common slip is to write $e^{2x},e^{2x},e^{2x}$ down the column, forgetting that integrating $e^{2x}$ repeatedly accumulates factors of $\tfrac12$.
对于 $\displaystyle\int x^2 e^{2x}\,dx$,左列经两次微分后归零,$e^{2x}$ 的逐次原函数为 $\tfrac12 e^{2x},\tfrac14 e^{2x},\tfrac18 e^{2x}$。沿对角线计算:
$$\int x^2 e^{2x}\,dx=\frac{x^2}{2}e^{2x}-\frac{2x}{4}e^{2x}+\frac{2}{8}e^{2x}+C=\frac{e^{2x}}{4}\bigl(2x^2-2x+1\bigr)+C.$$注意:右列每向下一步,是对上一个原函数再次积分,而非对原始 $e^{2x}$ 积分。由于 $\int e^{2x}\,dx=\tfrac12 e^{2x}$,每次下降都累积一个 $\tfrac12$ 因子,得到 $\tfrac12,\tfrac14,\tfrac18$。常见错误是在右列全部写成 $e^{2x},e^{2x},e^{2x}$,忘记了重复积分会积累 $\tfrac12$ 因子。
Worked Example 4.3: a residual integral that does not vanish例题 4.3:含不消失剩余积分的情形
Tabular integration also handles cases where the derivative column never reaches $0$, provided you stop and pick up a residual integral. Consider $\displaystyle\int x\,\sec^2 x\,dx$. Differentiate $x$ (reaching $0$ after one step) and integrate $\sec^2 x$ to $\tan x$:
$$\begin{array}{c|cc}\text{sign}&D\;(x)&I\;(\sec^2 x)\\\hline +&x&\tan x\\ -&1&\ldots\end{array}$$The first diagonal gives $+x\tan x$. The next row pairs the derivative $1$ with the antiderivative $\tan x$ under the running sign $-$, leaving the residual $-\int 1\cdot\tan x\,dx$. Since $\int\tan x\,dx=-\ln|\cos x|$, we obtain
$$\int x\sec^2 x\,dx=x\tan x-\int \tan x\,dx=x\tan x+\ln|\cos x|+C.$$Here the polynomial $x$ does terminate, so a single diagonal plus one residual integral finishes the job. The lesson is that tabular bookkeeping is valid even when the second column does not integrate to itself.
表格积分法也能处理微分列无法归零的情形,只需在合适处停止并附加剩余积分。考虑 $\displaystyle\int x\,\sec^2 x\,dx$。对 $x$ 微分(一步后归零),对 $\sec^2 x$ 积分得 $\tan x$:
$$\begin{array}{c|cc}\text{符号}&D\;(x)&I\;(\sec^2 x)\\\hline +&x&\tan x\\ -&1&\ldots\end{array}$$第一条对角线给出 $+x\tan x$。下一行将导数 $1$ 与原函数 $\tan x$ 在符号 $-$ 下配对,留下剩余积分 $-\int 1\cdot\tan x\,dx$。由于 $\int\tan x\,dx=-\ln|\cos x|$,得到
$$\int x\sec^2 x\,dx=x\tan x-\int \tan x\,dx=x\tan x+\ln|\cos x|+C.$$这里多项式 $x$ 确实终止,因此一条对角线加一个剩余积分即可完成。这说明即使右列不是自积分型,表格记账方法依然有效。
Definite Integrals by Parts定积分的分部积分
definite integral),将积分限带入分部积分公式。边界项 $uv$ 在端点处取值,剩余积分保持相同的积分限。无需将变量回代为原变量。The same LIATE guidance applies to the choice of $u$ and $dv$. Evaluate the boundary term as a number and then handle the residual definite integral, applying parts again or substitution as needed.
$u$ 和 $dv$ 的选取仍遵循 LIATE 原则。将边界项化为数值,再处理剩余定积分,视需要再次应用分部积分法或换元法。
A subtle point arises when the residual integral itself requires a substitution. If you change variables inside $\int_a^b v\,du$, you must either convert the limits to the new variable or revert to the original variable before substituting the original limits. The boundary term $[uv]_a^b$, by contrast, is always evaluated in the original variable $x$ at the original endpoints, because $u$ and $v$ are functions of $x$. Mixing the two conventions is the most common source of error in definite-integral problems that combine parts with substitution.
一个微妙之处在于:当剩余积分本身需要换元时,在 $\int_a^b v\,du$ 内部换元后,必须将积分限转换为新变量,或者回代原变量后再代入原来的端点值。相比之下,边界项 $[uv]_a^b$ 始终在原变量 $x$ 下、在原端点处求值,因为 $u$ 和 $v$ 都是 $x$ 的函数。将两种做法混用,是结合分部积分与换元法的定积分问题中最常见的错误根源。
Worked Example 5.1: a definite parts integral例题 5.1:定积分的分部积分
Evaluate $\displaystyle\int_0^{1} x e^{x}\,dx$. With $u=x$, $dv=e^{x}\,dx$, $du=dx$, $v=e^{x}$:
$$\int_0^{1} x e^{x}\,dx=\Bigl[x e^{x}\Bigr]_0^{1}-\int_0^{1} e^{x}\,dx=\bigl(1\cdot e\bigr)-\Bigl[e^{x}\Bigr]_0^{1}=e-(e-1)=1.$$求 $\displaystyle\int_0^{1} x e^{x}\,dx$。令 $u=x$,$dv=e^{x}\,dx$,则 $du=dx$,$v=e^{x}$:
$$\int_0^{1} x e^{x}\,dx=\Bigl[x e^{x}\Bigr]_0^{1}-\int_0^{1} e^{x}\,dx=\bigl(1\cdot e\bigr)-\Bigl[e^{x}\Bigr]_0^{1}=e-(e-1)=1.$$Worked Example 5.2: logarithm on an interval例题 5.2:区间上的对数积分
Evaluate $\displaystyle\int_1^{e} \ln x\,dx$. Using $\int\ln x\,dx=x\ln x-x$ from Worked Example 2.2:
$$\int_1^{e}\ln x\,dx=\Bigl[x\ln x-x\Bigr]_1^{e}=\bigl(e\cdot 1-e\bigr)-\bigl(1\cdot 0-1\bigr)=0-(-1)=1.$$At the upper limit $x=e$ we used $\ln e=1$, and at the lower limit $x=1$ we used $\ln 1=0$. The area under $\ln x$ from $1$ to $e$ is therefore exactly one square unit, a clean result that is easy to sanity-check against the graph: $\ln x$ rises from $0$ to $1$ across an interval of width $e-1\approx 1.718$, so an area near $1$ is plausible.
求 $\displaystyle\int_1^{e} \ln x\,dx$。利用例题 2.2 中的 $\int\ln x\,dx=x\ln x-x$:
$$\int_1^{e}\ln x\,dx=\Bigl[x\ln x-x\Bigr]_1^{e}=\bigl(e\cdot 1-e\bigr)-\bigl(1\cdot 0-1\bigr)=0-(-1)=1.$$在上限 $x=e$ 处用 $\ln e=1$,在下限 $x=1$ 处用 $\ln 1=0$。因此 $\ln x$ 在 $1$ 到 $e$ 的面积恰好是一个平方单位,这是一个优美的结果:$\ln x$ 在宽度为 $e-1\approx 1.718$ 的区间上从 $0$ 升至 $1$,面积约为 $1$ 是合理的。
Worked Example 5.3: parts combined with a substitution and converted limits例题 5.3:分部积分结合换元与积分限转换
Evaluate $\displaystyle\int_0^{1} \arctan x\,dx$. Take $u=\arctan x$, $dv=dx$, so $du=\tfrac{1}{1+x^2}\,dx$, $v=x$:
$$\int_0^{1}\arctan x\,dx=\Bigl[x\arctan x\Bigr]_0^{1}-\int_0^{1}\frac{x}{1+x^2}\,dx.$$The boundary term is $1\cdot\arctan 1-0=\tfrac{\pi}{4}$. For the residual, substitute $w=1+x^2$, $dw=2x\,dx$; the limits become $w(0)=1$ and $w(1)=2$:
$$\int_0^{1}\frac{x}{1+x^2}\,dx=\frac12\int_1^{2}\frac{dw}{w}=\frac12\bigl[\ln w\bigr]_1^{2}=\frac12\ln 2.$$Therefore $\displaystyle\int_0^{1}\arctan x\,dx=\frac{\pi}{4}-\frac12\ln 2\approx 0.4388$. The boundary term stayed in $x$ at the original endpoints, while the residual integral switched cleanly to $w$ with its own limits $1$ and $2$. This is the disciplined way to combine the two methods.
求 $\displaystyle\int_0^{1} \arctan x\,dx$。令 $u=\arctan x$,$dv=dx$,则 $du=\tfrac{1}{1+x^2}\,dx$,$v=x$:
$$\int_0^{1}\arctan x\,dx=\Bigl[x\arctan x\Bigr]_0^{1}-\int_0^{1}\frac{x}{1+x^2}\,dx.$$边界项为 $1\cdot\arctan 1-0=\tfrac{\pi}{4}$。对剩余积分,令 $w=1+x^2$,$dw=2x\,dx$;积分限变为 $w(0)=1$,$w(1)=2$:
$$\int_0^{1}\frac{x}{1+x^2}\,dx=\frac12\int_1^{2}\frac{dw}{w}=\frac12\bigl[\ln w\bigr]_1^{2}=\frac12\ln 2.$$因此 $\displaystyle\int_0^{1}\arctan x\,dx=\frac{\pi}{4}-\frac12\ln 2\approx 0.4388$。边界项始终在原变量 $x$ 下于原端点处求值,而剩余积分干净地切换至 $w$,使用各自的积分限 $1$ 和 $2$。这是规范结合两种方法的做法。
Choosing a Method方法选择
A practical test: differentiate part of the integrand and look for the rest. If a chunk is the derivative of another chunk, substitution wins. If no such pairing exists but the integrand is a product of functions from different LIATE classes, parts wins. Some integrals need both, applied in sequence.
实用检验方法:对被积函数的一部分求导,看是否能在其余部分中找到它。若某一块是另一块的导数,换元法胜出。若不存在这样的配对,但被积函数是来自不同 LIATE 类别函数的乘积,则分部积分法胜出。有些积分需要两种方法按顺序联用。
It also pays to scan for a few preliminary moves that are neither substitution nor parts but that turn an intractable integrand into a routine one. Algebraic simplification (cancelling a common factor, splitting a fraction into partial pieces, or completing a square), a trigonometric identity (such as $\sin^2 x=\tfrac{1-\cos 2x}{2}$), or simply rewriting a root as a fractional power can all reveal the structure that substitution or parts then exploits. The strategic order is: simplify first, look for a substitution second, and reach for parts when the integrand is an irreducible product of unlike functions.
同样值得在动手前扫描几种预处理手段——它们既不是换元也不是分部积分,却能将棘手的被积函数化为常规形式。代数化简(约去公因子、将分式拆分为部分分式、配方)、三角恒等式(如 $\sin^2 x=\tfrac{1-\cos 2x}{2}$),或将根号改写为分数幂,都能揭示换元法或分部积分法可以利用的结构。策略顺序是:先化简,再寻找换元,当被积函数是不同类型函数的不可约乘积时再用分部积分。
Worked Example 6.1: substitution then parts例题 6.1:先换元后分部积分
Evaluate $\displaystyle\int \cos(\sqrt{x})\,dx$. Substitute $t=\sqrt{x}$, so $x=t^2$ and $dx=2t\,dt$:
$$\int\cos(\sqrt{x})\,dx=\int \cos t\,(2t)\,dt=2\int t\cos t\,dt.$$Now use parts with $u=t$, $dv=\cos t\,dt$: $\int t\cos t\,dt=t\sin t+\cos t$. Therefore
$$\int\cos(\sqrt{x})\,dx=2\bigl(\sqrt{x}\sin\sqrt{x}+\cos\sqrt{x}\bigr)+C.$$求 $\displaystyle\int \cos(\sqrt{x})\,dx$。令 $t=\sqrt{x}$,则 $x=t^2$,$dx=2t\,dt$:
$$\int\cos(\sqrt{x})\,dx=\int \cos t\,(2t)\,dt=2\int t\cos t\,dt.$$再用分部积分,令 $u=t$,$dv=\cos t\,dt$:$\int t\cos t\,dt=t\sin t+\cos t$。因此
$$\int\cos(\sqrt{x})\,dx=2\bigl(\sqrt{x}\sin\sqrt{x}+\cos\sqrt{x}\bigr)+C.$$Worked Example 6.2: recognizing a pure substitution disguised as a product例题 6.2:识别伪装成乘积的纯换元积分
Evaluate $\displaystyle\int x^3\,e^{x^2}\,dx$. This looks like parts, but write $x^3=x^2\cdot x$ and substitute $u=x^2$, $du=2x\,dx$:
$$\int x^3 e^{x^2}\,dx=\frac12\int u\,e^{u}\,du=\frac12\bigl(u-1\bigr)e^{u}+C=\frac12\bigl(x^2-1\bigr)e^{x^2}+C,$$where the inner $\int u e^{u}\,du$ is finished by parts. Substitution first removed the awkward $x^2$ in the exponent.
求 $\displaystyle\int x^3\,e^{x^2}\,dx$。看似分部积分,但将 $x^3=x^2\cdot x$,令 $u=x^2$,$du=2x\,dx$:
$$\int x^3 e^{x^2}\,dx=\frac12\int u\,e^{u}\,du=\frac12\bigl(u-1\bigr)e^{u}+C=\frac12\bigl(x^2-1\bigr)e^{x^2}+C,$$其中内层 $\int u e^{u}\,du$ 用分部积分收尾。先换元消去了指数中麻烦的 $x^2$。
Worked Example 6.3: simplify first, then integrate例题 6.3:先化简再积分
Evaluate $\displaystyle\int \frac{x^2}{x^2+1}\,dx$. Neither substitution nor parts attacks this directly, but algebraic division does: $\tfrac{x^2}{x^2+1}=1-\tfrac{1}{x^2+1}$. Now each piece is standard:
$$\int \frac{x^2}{x^2+1}\,dx=\int 1\,dx-\int \frac{1}{x^2+1}\,dx=x-\arctan x+C.$$The lesson generalizes: when the degree of the numerator is at least the degree of the denominator, divide first. The leftover proper fraction is then a substitution, a partial-fraction problem, or a recognizable arctangent form.
求 $\displaystyle\int \frac{x^2}{x^2+1}\,dx$。换元法和分部积分法都无法直接处理,但多项式除法可以:$\tfrac{x^2}{x^2+1}=1-\tfrac{1}{x^2+1}$。每一项都是标准形式:
$$\int \frac{x^2}{x^2+1}\,dx=\int 1\,dx-\int \frac{1}{x^2+1}\,dx=x-\arctan x+C.$$这个方法可以推广:当分子次数不低于分母次数时,先做多项式除法。剩余的真分式再通过换元法、部分分式分解,或可识别的反正切形式处理。
Worked Example 6.4: a trig identity unlocks the integral例题 6.4:三角恒等式打开积分
Evaluate $\displaystyle\int \sin^2 x\,dx$. Parts cycles back on itself here, but the power-reduction identity $\sin^2 x=\tfrac{1-\cos 2x}{2}$ flattens the problem:
$$\int \sin^2 x\,dx=\int \frac{1-\cos 2x}{2}\,dx=\frac{x}{2}-\frac{\sin 2x}{4}+C.$$The $\int\cos 2x\,dx=\tfrac12\sin 2x$ is itself a linear substitution. Recognizing that an identity, not a technique, was the right first move is exactly the judgment this section is meant to build.
求 $\displaystyle\int \sin^2 x\,dx$。分部积分在这里会循环,但降幂公式 $\sin^2 x=\tfrac{1-\cos 2x}{2}$ 可以将问题展开:
$$\int \sin^2 x\,dx=\int \frac{1-\cos 2x}{2}\,dx=\frac{x}{2}-\frac{\sin 2x}{4}+C.$$其中 $\int\cos 2x\,dx=\tfrac12\sin 2x$ 本身是一个线性换元。认识到应先用恒等式而非技巧,正是本节要培养的判断力。
Going Deeper深入探讨
reduction formula),将高次积分化为低次积分;同一等式也是带积分余项的泰勒定理(Taylor's theorem)的基础。这些联系说明分部积分法是一种结构性工具,而不只是计算手段。A reduction formula lets a high-power integral be computed by descending in steps of two (or one) until a base case is reached. Such formulas are derived by a single, carefully arranged application of integration by parts.
递推公式使高次幂积分可以每步降低两次(或一次)直到达到基础情形来计算。这类公式由一次精心安排的分部积分推导而来。
The value of a reduction formula is that it converts an unbounded family of integrals, one for each power $n$, into a single recursive rule plus a base case. Once derived, it is applied mechanically: substitute the current $n$, peel off the boundary term, and recurse on the smaller integral. This is the same logic that powers tabular integration and Taylor's theorem, both of which are repeated parts organized so the bookkeeping is automatic. The three examples below, the $\sin^n$ recursion, the $x^n e^x$ recursion, and the integral-remainder form of Taylor's theorem, are three faces of one idea: integration by parts, iterated with foresight, is a structural tool for generating exact identities, not just a method for grinding out a single antiderivative.
递推公式的价值在于:它将无穷族积分(每个次数 $n$ 对应一个)转化为一条递推规则加一个基础情形。一旦推导出来,就可以机械地应用:代入当前的 $n$,剥去边界项,对更小的积分递推。这与表格积分法和泰勒定理的逻辑相同,两者都是将多次分部积分组织成自动记账的形式。以下三个例子——$\sin^n$ 递推、$x^n e^x$ 递推以及泰勒定理的积分余项形式——是同一思想的三个面向:有预见性地迭代分部积分,是生成精确等式的结构性工具,而不只是推导单个原函数的方法。
Worked Example 7.1: applying the reduction formula to $\sin^4 x$例题 7.1:将递推公式应用于 $\sin^4 x$
Use the boxed reduction formula to evaluate $\displaystyle\int \sin^4 x\,dx$. With $n=4$:
$$\int \sin^4 x\,dx=-\frac{\sin^3 x\cos x}{4}+\frac{3}{4}\int \sin^2 x\,dx.$$Now apply it again with $n=2$, using $\int \sin^0 x\,dx=\int 1\,dx=x$:
$$\int \sin^2 x\,dx=-\frac{\sin x\cos x}{2}+\frac{1}{2}x.$$Substitute back to assemble the final answer:
$$\int \sin^4 x\,dx=-\frac{\sin^3 x\cos x}{4}-\frac{3\sin x\cos x}{8}+\frac{3x}{8}+C.$$The reduction formula turned a fourth-power integral into a finite descent: $n=4\to n=2\to n=0$, two applications and a trivial base case. Without it, one would face several nested rounds of parts or a sequence of double-angle identities.
用方框中的递推公式求 $\displaystyle\int \sin^4 x\,dx$。取 $n=4$:
$$\int \sin^4 x\,dx=-\frac{\sin^3 x\cos x}{4}+\frac{3}{4}\int \sin^2 x\,dx.$$再用 $n=2$ 应用一次,利用基础情形 $\int \sin^0 x\,dx=\int 1\,dx=x$:
$$\int \sin^2 x\,dx=-\frac{\sin x\cos x}{2}+\frac{1}{2}x.$$回代得最终答案:
$$\int \sin^4 x\,dx=-\frac{\sin^3 x\cos x}{4}-\frac{3\sin x\cos x}{8}+\frac{3x}{8}+C.$$递推公式将四次幂积分化为有限下降:$n=4\to n=2\to n=0$,两次应用加一个平凡的基础情形。若没有它,需要面对多轮嵌套的分部积分或一系列二倍角恒等式。
Worked Example 7.2: the $x^n e^{x}$ reduction formula例题 7.2:$x^n e^{x}$ 的递推公式
Reduction formulas are not limited to trigonometric powers. A single application of parts to $\int x^n e^{x}\,dx$ with $u=x^n$, $dv=e^{x}\,dx$ gives
$$\int x^n e^{x}\,dx=x^n e^{x}-n\int x^{n-1}e^{x}\,dx.$$The recursion drops the exponent by one each time, terminating at $\int x^0 e^{x}\,dx=e^{x}$. Apply it to $\int x^3 e^{x}\,dx$: with $n=3$, then $n=2$, then $n=1$,
$$\int x^3 e^{x}\,dx=x^3 e^{x}-3\Bigl(x^2 e^{x}-2\bigl(x e^{x}-e^{x}\bigr)\Bigr)+C=\bigl(x^3-3x^2+6x-6\bigr)e^{x}+C.$$This is the same answer the tabular method of Section 4 produces, which is no coincidence: tabular integration is precisely this reduction recursion written as a table. The reduction formula makes the underlying recursion explicit and easy to prove by induction.
递推公式不仅适用于三角函数幂次。对 $\int x^n e^{x}\,dx$ 做一次分部积分,令 $u=x^n$,$dv=e^{x}\,dx$,得
$$\int x^n e^{x}\,dx=x^n e^{x}-n\int x^{n-1}e^{x}\,dx.$$每次递推指数降一,在 $\int x^0 e^{x}\,dx=e^{x}$ 处终止。对 $\int x^3 e^{x}\,dx$ 应用($n=3$、$n=2$、$n=1$):
$$\int x^3 e^{x}\,dx=x^3 e^{x}-3\Bigl(x^2 e^{x}-2\bigl(x e^{x}-e^{x}\bigr)\Bigr)+C=\bigl(x^3-3x^2+6x-6\bigr)e^{x}+C.$$这与第四节表格法的结果相同,绝非巧合:表格积分法正是将此递推写成表格形式。递推公式使底层递推显式化,易于用数学归纳法证明。
Going deeper: deriving the $\sin^n$ reduction formula深入探讨:推导 $\sin^n$ 递推公式
Write $\sin^n x=\sin^{n-1}x\cdot\sin x$ and apply parts with $u=\sin^{n-1}x$, $dv=\sin x\,dx$, so $du=(n-1)\sin^{n-2}x\cos x\,dx$ and $v=-\cos x$:
$$\int\sin^n x\,dx=-\sin^{n-1}x\cos x+(n-1)\int \sin^{n-2}x\cos^2 x\,dx.$$Replace $\cos^2 x=1-\sin^2 x$:
$$\int\sin^n x\,dx=-\sin^{n-1}x\cos x+(n-1)\int\sin^{n-2}x\,dx-(n-1)\int\sin^{n}x\,dx.$$Move the last term to the left and divide by $n$ to obtain the reduction formula stated above.
将 $\sin^n x=\sin^{n-1}x\cdot\sin x$,应用分部积分,令 $u=\sin^{n-1}x$,$dv=\sin x\,dx$,则 $du=(n-1)\sin^{n-2}x\cos x\,dx$,$v=-\cos x$:
$$\int\sin^n x\,dx=-\sin^{n-1}x\cos x+(n-1)\int \sin^{n-2}x\cos^2 x\,dx.$$将 $\cos^2 x=1-\sin^2 x$ 代入:
$$\int\sin^n x\,dx=-\sin^{n-1}x\cos x+(n-1)\int\sin^{n-2}x\,dx-(n-1)\int\sin^{n}x\,dx.$$将最后一项移到左侧并除以 $n$,即得上方方框中的递推公式。
Going deeper: Taylor's theorem with integral remainder深入探讨:带积分余项的泰勒定理
Starting from the fundamental theorem $f(x)=f(a)+\int_a^{x} f'(t)\,dt$ and applying parts repeatedly with $dv=dt$ (choosing the antiderivative $v=-(x-t)$ so the boundary terms telescope) produces
$$f(x)=\sum_{k=0}^{n}\frac{f^{(k)}(a)}{k!}(x-a)^k+\frac{1}{n!}\int_a^{x}(x-t)^{n}f^{(n+1)}(t)\,dt.$$The integral on the right is the exact remainder. Thus repeated integration by parts is the engine behind Taylor's theorem with the integral form of the remainder.
It is worth seeing the first step in full, because it shows where the unusual antiderivative $v=-(x-t)$ comes from. In $\int_a^{x} f'(t)\,dt$ regard $t$ as the variable of integration with $x$ fixed, and apply parts with $u=f'(t)$ and $dv=dt$. The clever move is to take $v=-(x-t)$ rather than the obvious $v=t$; both are antiderivatives of $dt$ in $t$ (since $\tfrac{d}{dt}[-(x-t)]=1$), but the shifted choice makes the boundary term vanish at the upper limit. Then $du=f''(t)\,dt$ and
$$\int_a^{x} f'(t)\,dt=\Bigl[-(x-t)f'(t)\Bigr]_a^{x}+\int_a^{x}(x-t)f''(t)\,dt=(x-a)f'(a)+\int_a^{x}(x-t)f''(t)\,dt,$$because the boundary term is $0$ at $t=x$ and $(x-a)f'(a)$ at $t=a$. This recovers the degree-one Taylor polynomial plus a remainder of the same shape with one higher derivative. Choosing $v=-\tfrac{(x-t)^2}{2}$ on the next pass yields the quadratic term, and in general $v=-\tfrac{(x-t)^{k}}{k}$ at the $k$-th step. Each application advances the polynomial by one term and raises the power of $(x-t)$ and the order of the derivative inside the remainder by one, giving the boxed formula by induction. The factorial $\tfrac{1}{n!}$ accumulates from the constants generated at each step.
从微积分基本定理(FTC)出发:$f(x)=f(a)+\int_a^{x} f'(t)\,dt$,反复应用分部积分(令 $dv=dt$,选取原函数 $v=-(x-t)$ 使边界项可相消),得到
右边的积分是精确余项。因此多次分部积分是带积分余项形式的泰勒定理的驱动引擎。
第一步值得完整展开,因为它揭示了不寻常的原函数 $v=-(x-t)$ 的来源。在 $\int_a^{x} f'(t)\,dt$ 中,将 $t$ 视为积分变量($x$ 固定),令 $u=f'(t)$,$dv=dt$,应用分部积分。巧妙之处在于选取 $v=-(x-t)$ 而非显然的 $v=t$;两者都是关于 $t$ 的 $dt$ 的原函数(因为 $\tfrac{d}{dt}[-(x-t)]=1$),但移位选择使边界项在上限处消失。于是 $du=f''(t)\,dt$,且
$$\int_a^{x} f'(t)\,dt=\Bigl[-(x-t)f'(t)\Bigr]_a^{x}+\int_a^{x}(x-t)f''(t)\,dt=(x-a)f'(a)+\int_a^{x}(x-t)f''(t)\,dt,$$因为边界项在 $t=x$ 处为 $0$,在 $t=a$ 处为 $(x-a)f'(a)$。这恢复了一次泰勒多项式加上同形状但导数阶数更高一阶的余项。下一步选 $v=-\tfrac{(x-t)^2}{2}$ 给出二次项,一般地,第 $k$ 步选 $v=-\tfrac{(x-t)^{k}}{k}$。每次应用使多项式向前推进一项,并将余项中 $(x-t)$ 的幂次和导数阶数各提高一,由归纳法得到方框中的公式。阶乘 $\tfrac{1}{n!}$ 由每步产生的常数积累而来。
Flashcards闪卡
Chain Rule)的逆运算。Product Rule)的逆运算。Unit Quiz单元测验
Readiness Checklist掌握清单
Tap each item you can do without notes. 点击你无需笔记即可完成的项目。0 / 8 mastered0 / 8 已掌握
- State the substitution rule and explain why it is the chain rule reversed.陈述换元法公式,并解释为何它是链式法则的逆运算。
- Choose a correct $u$ for a substitution and carry the constant factors through cleanly.为换元选取正确的 $u$,并干净地处理常数因子。
- State the integration by parts formula and derive it from the product rule.陈述分部积分公式,并从乘积法则推导它。
- Apply LIATE to pick $u$ and $dv$ for a product integrand.用 LIATE 准则为乘积型被积函数选取 $u$ 和 $dv$。
- Evaluate an integral that requires integration by parts more than once, including the cyclic case.求解需要多次分部积分的积分,包括循环型情形。
- Use tabular integration on a polynomial times an exponential or trig factor.对多项式乘指数或三角因子使用表格积分法。
- Compute a definite integral by parts, carrying the limits without back-substitution.用分部积分法计算定积分,保留积分限而无需回代。
- Decide between substitution and parts, and combine them when an integral needs both.在换元法和分部积分法之间做出选择,并在积分需要时联合使用两种方法。