University Calculus · Calculus II大学微积分 · 微积分 II

Unit B2: Integration Techniques II: Trig and Partial Fractions第 B2 单元:积分技巧 II:三角与部分分式

Trigonometric integrals, trigonometric and rationalizing substitutions, and the full partial fraction algorithm, assembled into a working strategy for integration.三角积分(trigonometric integrals)、三角换元与有理化换元,以及完整的部分分式(partial fractions)算法,整合为一套实用的积分(integral)策略。

Calculus II微积分 II Single-Variable单变量 Integrals & Series积分与级数 MIT 18.01 / GT 1552 / Princeton MAT 104
Read me first.学习须知。 This unit completes the standard toolkit for closed-form integration. Master the parity rules for trigonometric integrals, the three trigonometric substitutions keyed to quadratic radicals, and the partial fraction algorithm in all its cases (distinct linear, repeated linear, and irreducible quadratic). The final sections fold these into a decision strategy and close with the theoretical boundary, the existence of integrals with no elementary antiderivative.本单元补全了求闭合形式原函数(antiderivative)的标准工具箱。重点掌握:三角积分的奇偶策略、与二次根号对应的三类三角换元,以及部分分式算法的所有情形(不同线性因子、重复线性因子和不可约二次因子)。最后两节将这些技巧整合为决策流程,并以理论边界收尾——即存在没有初等原函数的积分。

Trigonometric Integrals三角积分

Key idea.核心思想。 An integral of the form $\int \sin^m x \cos^n x\,dx$ is handled by reserving one factor for the differential and converting the rest with the Pythagorean identity $\sin^2 x + \cos^2 x = 1$. If at least one of the exponents is odd, peel off a single factor of the function with the odd power. If both exponents are even, descend with the half-angle identities until an odd power or a directly integrable form appears.对于 $\int \sin^m x \cos^n x\,dx$ 形式的积分,方法是预留一个因子作为微分,并用勾股恒等式 $\sin^2 x + \cos^2 x = 1$ 转化其余因子。若至少有一个指数为奇数,则从奇数幂函数中剥离一个因子;若两个指数均为偶数,则用半角公式(half-angle identities)降幂,直到出现奇数幂或可直接积分的形式。
Pythagorean and half-angle identities勾股恒等式与半角公式
$$\sin^2 x + \cos^2 x = 1, \qquad \sin^2 x = \frac{1-\cos 2x}{2}, \qquad \cos^2 x = \frac{1+\cos 2x}{2}.$$

The strategy splits into cases by the parities of $m$ (the power of sine) and $n$ (the power of cosine).策略按 $m$(正弦次数)和 $n$(余弦次数)的奇偶性分情况处理。

Reduction strategy for $\int \sin^m x \cos^n x\,dx$$\int \sin^m x \cos^n x\,dx$ 的降幂策略
$$\text{$n$ odd: } u=\sin x,\quad \text{$m$ odd: } u=\cos x,\quad \text{both even: } \text{use half-angle.}$$

A parallel set of substitutions governs $\int \tan^m x \sec^n x\,dx$, where the identity $\sec^2 x = 1 + \tan^2 x$ replaces the Pythagorean identity, and the pairing $\tfrac{d}{dx}\tan x = \sec^2 x$, $\tfrac{d}{dx}\sec x = \sec x \tan x$ supplies the differential. The logic is identical in both families: one factor is set aside to become $du$, and the even remainder is rewritten in the new variable using the relevant Pythagorean identity.$\int \tan^m x \sec^n x\,dx$ 有一套平行的换元策略,恒等式 $\sec^2 x = 1 + \tan^2 x$ 取代了勾股恒等式,而 $\tfrac{d}{dx}\tan x = \sec^2 x$、$\tfrac{d}{dx}\sec x = \sec x \tan x$ 提供微分因子。两类积分的逻辑相同:预留一个因子充当 $du$,剩余的偶数幂用相关恒等式改写为新变量。

Reduction strategy for $\int \tan^m x \sec^n x\,dx$$\int \tan^m x \sec^n x\,dx$ 的降幂策略
$$\text{$n$ even: } u=\tan x,\quad \text{$m$ odd: } u=\sec x.$$
Worked Example 1.1: an odd power of sine例题 1.1:正弦奇数次幂

Evaluate $\int \sin^3 x \cos^2 x\,dx$. Sine has the odd power, so reserve one factor of $\sin x$ and convert the remaining $\sin^2 x = 1 - \cos^2 x$.

$$\int \sin^3 x \cos^2 x\,dx = \int (1-\cos^2 x)\cos^2 x \,\sin x\,dx.$$

Let $u = \cos x$, so $du = -\sin x\,dx$. Then

$$-\int (1-u^2)u^2\,du = -\int (u^2 - u^4)\,du = -\frac{u^3}{3} + \frac{u^5}{5} + C.$$ $$= \frac{\cos^5 x}{5} - \frac{\cos^3 x}{3} + C.$$

计算 $\int \sin^3 x \cos^2 x\,dx$。正弦是奇数次幂,故保留一个 $\sin x$ 因子,将剩余的 $\sin^2 x = 1 - \cos^2 x$ 转化。

$$\int \sin^3 x \cos^2 x\,dx = \int (1-\cos^2 x)\cos^2 x \,\sin x\,dx.$$

令 $u = \cos x$,则 $du = -\sin x\,dx$,代入得

$$-\int (1-u^2)u^2\,du = -\int (u^2 - u^4)\,du = -\frac{u^3}{3} + \frac{u^5}{5} + C.$$ $$= \frac{\cos^5 x}{5} - \frac{\cos^3 x}{3} + C.$$
Worked Example 1.2: both powers even例题 1.2:两个指数均为偶数

Evaluate $\int \cos^2 x\,dx$ using the half-angle identity.

$$\int \cos^2 x\,dx = \int \frac{1+\cos 2x}{2}\,dx = \frac{x}{2} + \frac{\sin 2x}{4} + C.$$

For $\int \sin^2 x \cos^2 x\,dx$, write $\sin^2 x \cos^2 x = \tfrac14 \sin^2 2x = \tfrac18(1 - \cos 4x)$, giving $\tfrac{x}{8} - \tfrac{\sin 4x}{32} + C$.

用半角公式计算 $\int \cos^2 x\,dx$。

$$\int \cos^2 x\,dx = \int \frac{1+\cos 2x}{2}\,dx = \frac{x}{2} + \frac{\sin 2x}{4} + C.$$

对于 $\int \sin^2 x \cos^2 x\,dx$,写成 $\sin^2 x \cos^2 x = \tfrac14 \sin^2 2x = \tfrac18(1 - \cos 4x)$,得 $\tfrac{x}{8} - \tfrac{\sin 4x}{32} + C$。

Worked Example 1.3: secant and tangent例题 1.3:正割与正切

Evaluate $\int \tan^3 x \sec^3 x\,dx$. The tangent power is odd, so reserve one factor of $\sec x \tan x$ for the differential and convert $\tan^2 x = \sec^2 x - 1$.

$$\int \tan^2 x \sec^2 x \,(\sec x \tan x)\,dx = \int (\sec^2 x - 1)\sec^2 x\,(\sec x \tan x)\,dx.$$

Let $u = \sec x$, $du = \sec x \tan x\,dx$:

$$\int (u^2-1)u^2\,du = \frac{u^5}{5} - \frac{u^3}{3} + C = \frac{\sec^5 x}{5} - \frac{\sec^3 x}{3} + C.$$

计算 $\int \tan^3 x \sec^3 x\,dx$。正切次数为奇数,故预留一个 $\sec x \tan x$ 因子作为微分,并将 $\tan^2 x = \sec^2 x - 1$ 代入转化。

$$\int \tan^2 x \sec^2 x \,(\sec x \tan x)\,dx = \int (\sec^2 x - 1)\sec^2 x\,(\sec x \tan x)\,dx.$$

令 $u = \sec x$,$du = \sec x \tan x\,dx$:

$$\int (u^2-1)u^2\,du = \frac{u^5}{5} - \frac{u^3}{3} + C = \frac{\sec^5 x}{5} - \frac{\sec^3 x}{3} + C.$$
Worked Example 1.4: both powers odd, the economical choice例题 1.4:两个指数均为奇数,选择最简便的换元

Evaluate $\int \sin^3 x \cos^3 x\,dx$. Both powers are odd, so either substitution works and the labour is the same. Reserve a factor of $\cos x$ and let $u = \sin x$, $du = \cos x\,dx$, converting $\cos^2 x = 1 - \sin^2 x$.

$$\int \sin^3 x \,(1-\sin^2 x)\,\cos x\,dx = \int u^3(1-u^2)\,du = \int (u^3 - u^5)\,du.$$ $$= \frac{u^4}{4} - \frac{u^6}{6} + C = \frac{\sin^4 x}{4} - \frac{\sin^6 x}{6} + C.$$

Reserving $\sin x$ instead and letting $u=\cos x$ would give $\tfrac{\cos^6 x}{6} - \tfrac{\cos^4 x}{4} + C$. The two answers differ only by a constant, because $\sin^2 x + \cos^2 x = 1$ ties them together; both are correct antiderivatives.

计算 $\int \sin^3 x \cos^3 x\,dx$。两个次数均为奇数,因此两种换元均可行,计算量相同。预留一个 $\cos x$ 因子,令 $u = \sin x$,$du = \cos x\,dx$,将 $\cos^2 x = 1 - \sin^2 x$ 代入。

$$\int \sin^3 x \,(1-\sin^2 x)\,\cos x\,dx = \int u^3(1-u^2)\,du = \int (u^3 - u^5)\,du.$$ $$= \frac{u^4}{4} - \frac{u^6}{6} + C = \frac{\sin^4 x}{4} - \frac{\sin^6 x}{6} + C.$$

若改为预留 $\sin x$ 并令 $u=\cos x$,则得 $\tfrac{\cos^6 x}{6} - \tfrac{\cos^4 x}{4} + C$。两个结果只差一个常数,因为 $\sin^2 x + \cos^2 x = 1$ 将它们联系在一起;两者均是正确的原函数(antiderivative)。

Worked Example 1.5: an even secant power, no odd factor available例题 1.5:正割偶数次幂,无奇数因子可用

Evaluate $\int \sec^4 x\,dx$. The secant power is even, so reserve one $\sec^2 x$ for the differential of $\tan x$ and convert the remaining $\sec^2 x = 1 + \tan^2 x$.

$$\int \sec^2 x \,\sec^2 x\,dx = \int (1 + \tan^2 x)\,\sec^2 x\,dx.$$

Let $u = \tan x$, $du = \sec^2 x\,dx$:

$$\int (1 + u^2)\,du = u + \frac{u^3}{3} + C = \tan x + \frac{\tan^3 x}{3} + C.$$

The harder relatives $\int \sec x\,dx = \ln|\sec x + \tan x| + C$ and $\int \sec^3 x\,dx = \tfrac12\big(\sec x \tan x + \ln|\sec x + \tan x|\big) + C$ are the base cases reached by the secant reduction formula when no parity trick applies.

计算 $\int \sec^4 x\,dx$。正割次数为偶数,故预留一个 $\sec^2 x$ 作为 $\tan x$ 的微分,并将剩余的 $\sec^2 x = 1 + \tan^2 x$ 代入。

$$\int \sec^2 x \,\sec^2 x\,dx = \int (1 + \tan^2 x)\,\sec^2 x\,dx.$$

令 $u = \tan x$,$du = \sec^2 x\,dx$:

$$\int (1 + u^2)\,du = u + \frac{u^3}{3} + C = \tan x + \frac{\tan^3 x}{3} + C.$$

更难的基本型 $\int \sec x\,dx = \ln|\sec x + \tan x| + C$ 以及 $\int \sec^3 x\,dx = \tfrac12\big(\sec x \tan x + \ln|\sec x + \tan x|\big) + C$,是正割递推公式在没有奇偶技巧可用时达到的基础情形。

Common error.常见错误。 A frequent slip is dropping the sign on $du$. For $\int \sin^3 x\cos^2 x\,dx$, choosing $u=\cos x$ forces $du = -\sin x\,dx$; omitting the minus flips the sign of the whole result. A second classic mistake is trying $u=\tan x$ on $\int \tan^2 x\,dx$ directly, when there is no spare $\sec^2 x$ to become $du$. Instead use $\tan^2 x = \sec^2 x - 1$ to get $\int(\sec^2 x - 1)\,dx = \tan x - x + C$. Commit a factor to the differential only after confirming its derivative is actually present in the integrand.高频错误是遗漏 $du$ 中的负号。对于 $\int \sin^3 x\cos^2 x\,dx$,选择 $u=\cos x$ 必然导致 $du = -\sin x\,dx$;漏掉负号会使整个结果变号。另一个经典错误是直接对 $\int \tan^2 x\,dx$ 令 $u=\tan x$,但此时没有多余的 $\sec^2 x$ 充当 $du$。应改用 $\tan^2 x = \sec^2 x - 1$,得 $\int(\sec^2 x - 1)\,dx = \tan x - x + C$。只有在确认被积函数中确实存在所需导数时,才能将某个因子提交给微分。
To evaluate $\int \sin^5 x\,dx$, which substitution is most natural?计算 $\int \sin^5 x\,dx$,最自然的换元是哪个?
1.1
$u = \sin x$, since sine appears$u = \sin x$,因为被积函数含正弦
$u = \cos x$, after reserving one factor of $\sin x$$u = \cos x$,预留一个 $\sin x$ 因子后换元
Half-angle, since the power is large用半角公式,因为次数较高
$u = \tan x$$u = \tan x$
Correct. With an odd power of sine, peel off one $\sin x$ for $du = -\sin x\,dx$ and convert the even remainder $\sin^4 x = (1-\cos^2 x)^2$ into $\cos x$.正确。正弦为奇数次幂时,剥离一个 $\sin x$ 充当 $du = -\sin x\,dx$,将偶数次余项 $\sin^4 x = (1-\cos^2 x)^2$ 转化为 $\cos x$。
Reserve one factor of $\sin x$ for the differential and let $u=\cos x$; the remaining even power converts cleanly via $\sin^2 x = 1-\cos^2 x$.预留一个 $\sin x$ 因子充当微分,令 $u=\cos x$;剩余的偶数次幂通过 $\sin^2 x = 1-\cos^2 x$ 可以干净地转化。
For $\int \tan^4 x \sec^4 x\,dx$, the efficient substitution is:对于 $\int \tan^4 x \sec^4 x\,dx$,最有效的换元是:
1.2
$u = \sec x$$u = \sec x$
Half-angle identities半角公式
$u = \tan x$, reserving one $\sec^2 x$$u = \tan x$,预留一个 $\sec^2 x$
Integration by parts分部积分
Correct. The secant power is even, so reserve $\sec^2 x\,dx = du$ with $u=\tan x$ and convert the remaining $\sec^2 x = 1+\tan^2 x$.正确。正割次数为偶数,令 $u=\tan x$,预留 $\sec^2 x\,dx = du$,将剩余的 $\sec^2 x = 1+\tan^2 x$ 代入。
When the secant power is even, set $u=\tan x$, reserve one $\sec^2 x$ for $du$, and rewrite the rest with $\sec^2 x = 1 + \tan^2 x$.正割次数为偶数时,令 $u=\tan x$,预留一个 $\sec^2 x$ 充当 $du$,其余部分用 $\sec^2 x = 1 + \tan^2 x$ 改写。

Trigonometric Substitution三角换元

Key idea.核心思想。 When an integrand contains a quadratic radical such as $\sqrt{a^2 - x^2}$, $\sqrt{a^2 + x^2}$, or $\sqrt{x^2 - a^2}$, a trigonometric substitution turns the radical into a single trig function via a Pythagorean identity, removing the square root. Choose the substitution so that the identity matching the sign pattern applies, then convert back using a reference right triangle.当被积函数含有形如 $\sqrt{a^2 - x^2}$、$\sqrt{a^2 + x^2}$ 或 $\sqrt{x^2 - a^2}$ 的二次根号时,三角换元(trigonometric substitution)利用勾股恒等式将根号化为单个三角函数,从而消去平方根。选择与符号模式匹配的恒等式对应的换元,积分后再用参考直角三角形将结果换回 $x$。
The three standard substitutions三种标准换元
$$\sqrt{a^2 - x^2}:\ x = a\sin\theta, \qquad \sqrt{a^2 + x^2}:\ x = a\tan\theta, \qquad \sqrt{x^2 - a^2}:\ x = a\sec\theta.$$

Each choice collapses the radical because $1 - \sin^2\theta = \cos^2\theta$, $1 + \tan^2\theta = \sec^2\theta$, and $\sec^2\theta - 1 = \tan^2\theta$. The differential and the radical both rewrite in $\theta$, and after integrating you return to $x$ by reading the right triangle whose sides encode the substitution.每种换元均能消去根号,原理是 $1 - \sin^2\theta = \cos^2\theta$、$1 + \tan^2\theta = \sec^2\theta$ 以及 $\sec^2\theta - 1 = \tan^2\theta$。微分和根号均用 $\theta$ 改写,积分完成后,通过读取编码了换元关系的参考直角三角形将结果还原为 $x$。

Worked Example 2.1: a sine substitution例题 2.1:正弦换元

Evaluate $\displaystyle\int \frac{dx}{\sqrt{a^2 - x^2}}$. Let $x = a\sin\theta$, so $dx = a\cos\theta\,d\theta$ and $\sqrt{a^2 - x^2} = a\cos\theta$ for $-\tfrac{\pi}{2} \le \theta \le \tfrac{\pi}{2}$.

$$\int \frac{a\cos\theta\,d\theta}{a\cos\theta} = \int d\theta = \theta + C = \arcsin\!\frac{x}{a} + C.$$

计算 $\displaystyle\int \frac{dx}{\sqrt{a^2 - x^2}}$。令 $x = a\sin\theta$,则 $dx = a\cos\theta\,d\theta$,在 $-\tfrac{\pi}{2} \le \theta \le \tfrac{\pi}{2}$ 范围内 $\sqrt{a^2 - x^2} = a\cos\theta$。

$$\int \frac{a\cos\theta\,d\theta}{a\cos\theta} = \int d\theta = \theta + C = \arcsin\!\frac{x}{a} + C.$$
Worked Example 2.2: a tangent substitution with a triangle return例题 2.2:正切换元并用三角形还原

Evaluate $\displaystyle\int \frac{dx}{x^2\sqrt{x^2 + 4}}$. Let $x = 2\tan\theta$, $dx = 2\sec^2\theta\,d\theta$, $\sqrt{x^2+4} = 2\sec\theta$.

$$\int \frac{2\sec^2\theta\,d\theta}{4\tan^2\theta\cdot 2\sec\theta} = \frac14 \int \frac{\sec\theta}{\tan^2\theta}\,d\theta = \frac14 \int \frac{\cos\theta}{\sin^2\theta}\,d\theta.$$

With $w = \sin\theta$ this is $-\tfrac{1}{4\sin\theta} + C$. The reference triangle has opposite $x$, adjacent $2$, hypotenuse $\sqrt{x^2+4}$, so $\sin\theta = x/\sqrt{x^2+4}$ and

$$\int \frac{dx}{x^2\sqrt{x^2+4}} = -\frac{\sqrt{x^2+4}}{4x} + C.$$

计算 $\displaystyle\int \frac{dx}{x^2\sqrt{x^2 + 4}}$。令 $x = 2\tan\theta$,$dx = 2\sec^2\theta\,d\theta$,$\sqrt{x^2+4} = 2\sec\theta$。

$$\int \frac{2\sec^2\theta\,d\theta}{4\tan^2\theta\cdot 2\sec\theta} = \frac14 \int \frac{\sec\theta}{\tan^2\theta}\,d\theta = \frac14 \int \frac{\cos\theta}{\sin^2\theta}\,d\theta.$$

令 $w = \sin\theta$,积分为 $-\tfrac{1}{4\sin\theta} + C$。参考直角三角形对边为 $x$,邻边为 $2$,斜边为 $\sqrt{x^2+4}$,故 $\sin\theta = x/\sqrt{x^2+4}$,从而

$$\int \frac{dx}{x^2\sqrt{x^2+4}} = -\frac{\sqrt{x^2+4}}{4x} + C.$$
Worked Example 2.3: a sine substitution producing an area例题 2.3:正弦换元求圆的面积

Evaluate $\displaystyle\int \sqrt{a^2 - x^2}\,dx$, the integral behind the area of a circle. Let $x = a\sin\theta$, $dx = a\cos\theta\,d\theta$, and $\sqrt{a^2 - x^2} = a\cos\theta$ on $-\tfrac{\pi}{2}\le\theta\le\tfrac{\pi}{2}$ where $\cos\theta\ge 0$.

$$\int a\cos\theta \cdot a\cos\theta\,d\theta = a^2\int \cos^2\theta\,d\theta = a^2\left(\frac{\theta}{2} + \frac{\sin 2\theta}{4}\right) + C.$$

Now $\sin 2\theta = 2\sin\theta\cos\theta = 2\cdot\tfrac{x}{a}\cdot\tfrac{\sqrt{a^2-x^2}}{a}$, and $\theta = \arcsin(x/a)$, so

$$\int \sqrt{a^2 - x^2}\,dx = \frac{a^2}{2}\arcsin\frac{x}{a} + \frac{x\sqrt{a^2 - x^2}}{2} + C.$$

Evaluated from $-a$ to $a$ this gives $\tfrac{a^2}{2}\cdot\pi = \tfrac{\pi a^2}{2}$, the area of the upper half disk of radius $a$, a good sanity check.

计算 $\displaystyle\int \sqrt{a^2 - x^2}\,dx$,这是圆面积背后的积分(integral)。令 $x = a\sin\theta$,$dx = a\cos\theta\,d\theta$,在 $-\tfrac{\pi}{2}\le\theta\le\tfrac{\pi}{2}$ 范围内 $\cos\theta\ge 0$,故 $\sqrt{a^2 - x^2} = a\cos\theta$。

$$\int a\cos\theta \cdot a\cos\theta\,d\theta = a^2\int \cos^2\theta\,d\theta = a^2\left(\frac{\theta}{2} + \frac{\sin 2\theta}{4}\right) + C.$$

注意 $\sin 2\theta = 2\sin\theta\cos\theta = 2\cdot\tfrac{x}{a}\cdot\tfrac{\sqrt{a^2-x^2}}{a}$,且 $\theta = \arcsin(x/a)$,故

$$\int \sqrt{a^2 - x^2}\,dx = \frac{a^2}{2}\arcsin\frac{x}{a} + \frac{x\sqrt{a^2 - x^2}}{2} + C.$$

从 $-a$ 到 $a$ 积分得 $\tfrac{a^2}{2}\cdot\pi = \tfrac{\pi a^2}{2}$,恰好是半径为 $a$ 的上半圆面积,可作为验证。

Worked Example 2.4: a secant substitution例题 2.4:正割换元

Evaluate $\displaystyle\int \frac{\sqrt{x^2 - 9}}{x}\,dx$ for $x > 3$. Let $x = 3\sec\theta$, $dx = 3\sec\theta\tan\theta\,d\theta$, and $\sqrt{x^2 - 9} = 3\tan\theta$ on $0 \le \theta < \tfrac{\pi}{2}$.

$$\int \frac{3\tan\theta}{3\sec\theta}\,3\sec\theta\tan\theta\,d\theta = 3\int \tan^2\theta\,d\theta = 3\int (\sec^2\theta - 1)\,d\theta = 3(\tan\theta - \theta) + C.$$

From the triangle, $\tan\theta = \tfrac{\sqrt{x^2-9}}{3}$ and $\theta = \operatorname{arcsec}(x/3) = \arccos(3/x)$, giving

$$\int \frac{\sqrt{x^2-9}}{x}\,dx = \sqrt{x^2 - 9} - 3\arccos\frac{3}{x} + C.$$

计算 $x > 3$ 时的 $\displaystyle\int \frac{\sqrt{x^2 - 9}}{x}\,dx$。令 $x = 3\sec\theta$,$dx = 3\sec\theta\tan\theta\,d\theta$,在 $0 \le \theta < \tfrac{\pi}{2}$ 范围内 $\sqrt{x^2 - 9} = 3\tan\theta$。

$$\int \frac{3\tan\theta}{3\sec\theta}\,3\sec\theta\tan\theta\,d\theta = 3\int \tan^2\theta\,d\theta = 3\int (\sec^2\theta - 1)\,d\theta = 3(\tan\theta - \theta) + C.$$

由三角形可读出 $\tan\theta = \tfrac{\sqrt{x^2-9}}{3}$,$\theta = \operatorname{arcsec}(x/3) = \arccos(3/x)$,故

$$\int \frac{\sqrt{x^2-9}}{x}\,dx = \sqrt{x^2 - 9} - 3\arccos\frac{3}{x} + C.$$
Common error.常见错误。 The radical simplifies to a trig function only up to sign. Writing $\sqrt{a^2 - a^2\sin^2\theta} = a|\cos\theta|$ is exact; the absolute value is dropped only because the standard range $-\tfrac{\pi}{2}\le\theta\le\tfrac{\pi}{2}$ keeps $\cos\theta\ge 0$. For the secant case $\sqrt{x^2 - a^2} = a|\tan\theta|$, and the sign depends on whether $x>a$ or $x<-a$; mishandling this is the usual source of a wrong sign in the final answer. A second error is forgetting to convert $\theta$ back to $x$ through the reference triangle, leaving the answer trapped in $\theta$. Always finish by reading every trig function of $\theta$ off the triangle.根号化简为三角函数时只精确到符号。写出 $\sqrt{a^2 - a^2\sin^2\theta} = a|\cos\theta|$ 是严格的;去掉绝对值只是因为标准区间 $-\tfrac{\pi}{2}\le\theta\le\tfrac{\pi}{2}$ 保证 $\cos\theta\ge 0$。正割情形下 $\sqrt{x^2 - a^2} = a|\tan\theta|$,符号取决于 $x>a$ 还是 $x<-a$;处理不当是最终答案符号出错的主要来源。第二个错误是忘记通过参考直角三角形将 $\theta$ 换回 $x$,使答案滞留在 $\theta$ 中。务必在最后通过三角形读出 $\theta$ 的每个三角函数值。
Going deeper: completing the square first深入探究:先配方

A radical like $\sqrt{x^2 + 2x + 5}$ has no obvious $a^2 \pm u^2$ form until you complete the square: $x^2 + 2x + 5 = (x+1)^2 + 4$. With $u = x+1$ this becomes $\sqrt{u^2 + 4}$, a tangent substitution. In general $ax^2 + bx + c$ is rewritten as $a\big[(x + \tfrac{b}{2a})^2 + \tfrac{4ac - b^2}{4a^2}\big]$, and the sign of $4ac - b^2$ decides which of the three trig substitutions applies. Completing the square is the universal preprocessing step that maps any quadratic radical onto one of the three templates.

To see it through, evaluate $\displaystyle\int \frac{dx}{\sqrt{x^2 + 2x + 5}}$. After $u = x+1$ the integral is $\int \frac{du}{\sqrt{u^2 + 4}}$, a tangent substitution $u = 2\tan\theta$, $du = 2\sec^2\theta\,d\theta$, $\sqrt{u^2+4} = 2\sec\theta$:

$$\int \frac{2\sec^2\theta}{2\sec\theta}\,d\theta = \int \sec\theta\,d\theta = \ln|\sec\theta + \tan\theta| + C.$$

Reading the triangle gives $\sec\theta = \tfrac{\sqrt{u^2+4}}{2}$, $\tan\theta = \tfrac{u}{2}$, so the answer is $\ln\big|\sqrt{u^2+4} + u\big| + C'$, that is $\ln\big(\sqrt{x^2+2x+5} + x + 1\big) + C'$, where the additive constant $-\ln 2$ has been absorbed into $C'$. This is exactly the inverse hyperbolic sine $\operatorname{arcsinh}\big(\tfrac{x+1}{2}\big)$ up to a constant, which explains why these integrals are sometimes tabulated with $\operatorname{arcsinh}$ and $\operatorname{arccosh}$ instead of logarithms.

像 $\sqrt{x^2 + 2x + 5}$ 这样的根号,在配方之前看不出 $a^2 \pm u^2$ 的形式:$x^2 + 2x + 5 = (x+1)^2 + 4$。令 $u = x+1$,变为 $\sqrt{u^2 + 4}$,用正切换元。一般地,$ax^2 + bx + c$ 改写为 $a\big[(x + \tfrac{b}{2a})^2 + \tfrac{4ac - b^2}{4a^2}\big]$,$4ac - b^2$ 的符号决定使用三种三角换元中的哪一种。配方是将任意二次根号映射到三种模板之一的通用预处理步骤。

完整演示:计算 $\displaystyle\int \frac{dx}{\sqrt{x^2 + 2x + 5}}$。令 $u = x+1$,积分(integral)变为 $\int \frac{du}{\sqrt{u^2 + 4}}$,用正切换元 $u = 2\tan\theta$,$du = 2\sec^2\theta\,d\theta$,$\sqrt{u^2+4} = 2\sec\theta$:

$$\int \frac{2\sec^2\theta}{2\sec\theta}\,d\theta = \int \sec\theta\,d\theta = \ln|\sec\theta + \tan\theta| + C.$$

由三角形读出 $\sec\theta = \tfrac{\sqrt{u^2+4}}{2}$,$\tan\theta = \tfrac{u}{2}$,故结果为 $\ln\big|\sqrt{u^2+4} + u\big| + C'$,即 $\ln\big(\sqrt{x^2+2x+5} + x + 1\big) + C'$,其中加法常数 $-\ln 2$ 已并入 $C'$。这等价于(相差一个常数)反双曲正弦 $\operatorname{arcsinh}\big(\tfrac{x+1}{2}\big)$,解释了为何某些积分表用 $\operatorname{arcsinh}$ 和 $\operatorname{arccosh}$ 代替对数来列表。

Which substitution suits $\int \sqrt{x^2 - 9}\,dx$?$\int \sqrt{x^2 - 9}\,dx$ 应用哪种换元?
2.1
$x = 3\sin\theta$$x = 3\sin\theta$
$x = 3\tan\theta$$x = 3\tan\theta$
$x = 3\sec\theta$$x = 3\sec\theta$
$x = 9\sin\theta$$x = 9\sin\theta$
Correct. The form $\sqrt{x^2 - a^2}$ with $a=3$ calls for $x = 3\sec\theta$, since $\sec^2\theta - 1 = \tan^2\theta$ removes the radical.正确。$\sqrt{x^2 - a^2}$($a=3$)对应正割换元 $x = 3\sec\theta$,因为 $\sec^2\theta - 1 = \tan^2\theta$ 可消去根号。
The pattern is $\sqrt{x^2 - a^2}$ with $a=3$, which matches the secant substitution $x = a\sec\theta$.此处形式是 $\sqrt{x^2 - a^2}$($a=3$),对应正割换元 $x = a\sec\theta$。
After completing the square, $\sqrt{3 - 2x - x^2}$ becomes which radical?配方后,$\sqrt{3 - 2x - x^2}$ 变为哪种根号形式?
2.2
$\sqrt{4 - (x+1)^2}$$\sqrt{4 - (x+1)^2}$
$\sqrt{(x+1)^2 - 4}$$\sqrt{(x+1)^2 - 4}$
$\sqrt{(x+1)^2 + 4}$$\sqrt{(x+1)^2 + 4}$
$\sqrt{4 - (x-1)^2}$$\sqrt{4 - (x-1)^2}$
Correct. $3 - 2x - x^2 = -(x^2 + 2x) + 3 = -\big[(x+1)^2 - 1\big] + 3 = 4 - (x+1)^2$, a sine substitution.正确。$3 - 2x - x^2 = -(x^2 + 2x) + 3 = -\big[(x+1)^2 - 1\big] + 3 = 4 - (x+1)^2$,对应正弦换元。
Factor out the negative: $-(x^2+2x-3) = -[(x+1)^2 - 4] = 4 - (x+1)^2$.提取负号:$-(x^2+2x-3) = -[(x+1)^2 - 4] = 4 - (x+1)^2$。

Partial Fractions: Linear Factors部分分式:线性因子

Key idea.核心思想。 A proper rational function (numerator degree strictly less than denominator degree) decomposes into a sum of simpler fractions, one for each factor of the denominator. When the denominator factors into distinct linear pieces, each contributes a single term with a constant numerator, and each such term integrates to a logarithm.真分式(proper rational function,分子次数严格小于分母次数)可分解为若干简单分式之和,分母的每个因子对应一项。当分母分解为不同的线性因子时,每个因子贡献一个常数分子的项,每项积分后得到对数。
Distinct linear factors不同线性因子
$$\frac{P(x)}{(x - r_1)(x - r_2)\cdots(x - r_k)} = \frac{A_1}{x - r_1} + \frac{A_2}{x - r_2} + \cdots + \frac{A_k}{x - r_k}.$$

The constants $A_i$ are found by clearing denominators and matching coefficients, or by the cover-up method: multiply through by $(x - r_i)$ and evaluate at $x = r_i$. If the rational function is improper, first divide to extract a polynomial part, leaving a proper remainder to decompose.常数 $A_i$ 通过通分后比较系数求得,或用覆盖法(cover-up method):将等式两边乘以 $(x - r_i)$ 后令 $x = r_i$ 求值。若有理函数是假分式,须先做多项式除法提取多项式部分,将真分式余项再作分解。

Each piece integrates to a logarithm每一项积分为对数
$$\int \frac{A}{x - r}\,dx = A\ln|x - r| + C.$$
Worked Example 3.1: two distinct linear factors例题 3.1:两个不同线性因子

Evaluate $\displaystyle\int \frac{5x - 4}{x^2 - x - 2}\,dx$. Factor the denominator: $x^2 - x - 2 = (x-2)(x+1)$. Set

$$\frac{5x-4}{(x-2)(x+1)} = \frac{A}{x-2} + \frac{B}{x+1}, \qquad 5x - 4 = A(x+1) + B(x-2).$$

At $x = 2$: $6 = 3A$, so $A = 2$. At $x = -1$: $-9 = -3B$, so $B = 3$. Therefore

$$\int \left(\frac{2}{x-2} + \frac{3}{x+1}\right)dx = 2\ln|x-2| + 3\ln|x+1| + C.$$

计算 $\displaystyle\int \frac{5x - 4}{x^2 - x - 2}\,dx$。分解分母:$x^2 - x - 2 = (x-2)(x+1)$,设

$$\frac{5x-4}{(x-2)(x+1)} = \frac{A}{x-2} + \frac{B}{x+1}, \qquad 5x - 4 = A(x+1) + B(x-2).$$

令 $x = 2$:$6 = 3A$,故 $A = 2$。令 $x = -1$:$-9 = -3B$,故 $B = 3$。因此

$$\int \left(\frac{2}{x-2} + \frac{3}{x+1}\right)dx = 2\ln|x-2| + 3\ln|x+1| + C.$$
Worked Example 3.2: an improper rational function例题 3.2:假分式

Evaluate $\displaystyle\int \frac{x^2 + 1}{x^2 - 1}\,dx$. The fraction is improper, so divide: $\frac{x^2+1}{x^2-1} = 1 + \frac{2}{x^2-1}$. Now decompose the proper remainder over $(x-1)(x+1)$:

$$\frac{2}{(x-1)(x+1)} = \frac{1}{x-1} - \frac{1}{x+1}.$$ $$\int \left(1 + \frac{1}{x-1} - \frac{1}{x+1}\right)dx = x + \ln|x-1| - \ln|x+1| + C.$$

计算 $\displaystyle\int \frac{x^2 + 1}{x^2 - 1}\,dx$。分式是假分式,先做除法:$\frac{x^2+1}{x^2-1} = 1 + \frac{2}{x^2-1}$。再将真分式余项在 $(x-1)(x+1)$ 上展开:

$$\frac{2}{(x-1)(x+1)} = \frac{1}{x-1} - \frac{1}{x+1}.$$ $$\int \left(1 + \frac{1}{x-1} - \frac{1}{x+1}\right)dx = x + \ln|x-1| - \ln|x+1| + C.$$
Worked Example 3.3: three distinct factors by cover-up例题 3.3:用覆盖法处理三个不同因子

Evaluate $\displaystyle\int \frac{x^2 + 1}{x(x-1)(x+2)}\,dx$. The fraction is proper (degree 2 over degree 3), so set

$$\frac{x^2+1}{x(x-1)(x+2)} = \frac{A}{x} + \frac{B}{x-1} + \frac{C}{x+2}.$$

Cover-up at each root. At $x=0$: $A = \dfrac{0+1}{(0-1)(0+2)} = \dfrac{1}{-2} = -\tfrac12$. At $x=1$: $B = \dfrac{1+1}{(1)(1+2)} = \dfrac{2}{3}$. At $x=-2$: $C = \dfrac{4+1}{(-2)(-2-1)} = \dfrac{5}{6}$.

$$\int \left(\frac{-1/2}{x} + \frac{2/3}{x-1} + \frac{5/6}{x+2}\right)dx = -\frac12\ln|x| + \frac23\ln|x-1| + \frac56\ln|x+2| + C.$$

计算 $\displaystyle\int \frac{x^2 + 1}{x(x-1)(x+2)}\,dx$。分式为真分式(分子次数 2 低于分母次数 3),设

$$\frac{x^2+1}{x(x-1)(x+2)} = \frac{A}{x} + \frac{B}{x-1} + \frac{C}{x+2}.$$

在每个根处应用覆盖法。$x=0$:$A = \dfrac{0+1}{(0-1)(0+2)} = \dfrac{1}{-2} = -\tfrac12$。$x=1$:$B = \dfrac{1+1}{(1)(1+2)} = \dfrac{2}{3}$。$x=-2$:$C = \dfrac{4+1}{(-2)(-2-1)} = \dfrac{5}{6}$。

$$\int \left(\frac{-1/2}{x} + \frac{2/3}{x-1} + \frac{5/6}{x+2}\right)dx = -\frac12\ln|x| + \frac23\ln|x-1| + \frac56\ln|x+2| + C.$$
Worked Example 3.4: a definite integral with logarithms例题 3.4:含对数的定积分

Evaluate $\displaystyle\int_3^4 \frac{dx}{x^2 - 4}$. Factor $x^2 - 4 = (x-2)(x+2)$ and decompose $\dfrac{1}{(x-2)(x+2)} = \dfrac{1/4}{x-2} - \dfrac{1/4}{x+2}$.

$$\int_3^4 \frac{dx}{x^2-4} = \frac14\Big[\ln|x-2| - \ln|x+2|\Big]_3^4 = \frac14\ln\frac{x-2}{x+2}\bigg|_3^4.$$ $$= \frac14\left(\ln\frac{2}{6} - \ln\frac{1}{5}\right) = \frac14\ln\frac{2/6}{1/5} = \frac14\ln\frac{5}{3}.$$

Because the interval $[3,4]$ avoids the poles at $\pm 2$, the integrand stays continuous and the answer is a genuine number, here $\tfrac14\ln\tfrac53 \approx 0.1277$.

计算 $\displaystyle\int_3^4 \frac{dx}{x^2 - 4}$。分解 $x^2 - 4 = (x-2)(x+2)$,再展开 $\dfrac{1}{(x-2)(x+2)} = \dfrac{1/4}{x-2} - \dfrac{1/4}{x+2}$。

$$\int_3^4 \frac{dx}{x^2-4} = \frac14\Big[\ln|x-2| - \ln|x+2|\Big]_3^4 = \frac14\ln\frac{x-2}{x+2}\bigg|_3^4.$$ $$= \frac14\left(\ln\frac{2}{6} - \ln\frac{1}{5}\right) = \frac14\ln\frac{2/6}{1/5} = \frac14\ln\frac{5}{3}.$$

由于区间 $[3,4]$ 远离极点 $\pm 2$,被积函数保持连续,答案为具体数值,此处 $\tfrac14\ln\tfrac53 \approx 0.1277$。

Common error.常见错误。 Partial fractions apply only to a proper rational function. Trying to decompose $\dfrac{x^2+1}{x^2-1}$ directly as $\tfrac{A}{x-1}+\tfrac{B}{x+1}$ fails, because the degrees are equal; you must divide first to peel off the polynomial part $1$. A second error is mismatching the template: a linear denominator factor takes a constant numerator, never a linear one. Writing $\tfrac{Ax+B}{x-2}$ for a simple linear factor over-counts the unknowns and gives an inconsistent system. Count the factors, give each its correct numerator shape, and only then solve.部分分式分解(partial fractions)只适用于真分式。对 $\dfrac{x^2+1}{x^2-1}$ 直接写 $\tfrac{A}{x-1}+\tfrac{B}{x+1}$ 是错的,因为分子分母次数相等,必须先做除法提取多项式部分 $1$。另一个错误是套错模板:线性分母因子对应常数分子,绝不是线性分子。对简单线性因子写出 $\tfrac{Ax+B}{x-2}$ 会引入多余的未知数,导致方程组矛盾。先数清因子,给每个因子配上正确的分子形式,再解方程。
In $\dfrac{3x+1}{(x-1)(x+2)} = \dfrac{A}{x-1} + \dfrac{B}{x+2}$, the cover-up method gives $A$ equal to:在 $\dfrac{3x+1}{(x-1)(x+2)} = \dfrac{A}{x-1} + \dfrac{B}{x+2}$ 中,覆盖法给出 $A$ 等于:
3.1
$-\tfrac{5}{3}$$-\tfrac{5}{3}$
$1$$1$
$3$$3$
$\tfrac{4}{3}$$\tfrac{4}{3}$
Correct. Cover $(x-1)$ and set $x=1$: $A = \dfrac{3(1)+1}{1+2} = \dfrac{4}{3}$.正确。遮住 $(x-1)$ 并令 $x=1$:$A = \dfrac{3(1)+1}{1+2} = \dfrac{4}{3}$。
Multiply by $(x-1)$ and evaluate at $x=1$: $A = \dfrac{3+1}{1+2} = \dfrac{4}{3}$.两边乘以 $(x-1)$ 后令 $x=1$:$A = \dfrac{3+1}{1+2} = \dfrac{4}{3}$。

Partial Fractions: Repeated and Quadratic部分分式:重复因子与二次因子

Key idea.核心思想。 A repeated linear factor $(x - r)^m$ contributes one term for every power from $1$ to $m$. An irreducible quadratic factor $x^2 + px + q$ (with negative discriminant) contributes a term with a linear numerator $Bx + C$, which splits into a logarithm and an arctangent piece. A repeated irreducible quadratic stacks such terms over each power.重复线性因子 $(x - r)^m$ 对应从 $1$ 到 $m$ 的每个幂次各贡献一项。不可约二次因子 $x^2 + px + q$(判别式为负)贡献一个线性分子 $Bx + C$ 的项,积分后分裂为对数项和反正切项。重复的不可约二次因子则按每个幂次叠加此类项。
Repeated and irreducible quadratic templates重复因子与不可约二次因子模板
$$\frac{P(x)}{(x-r)^m} = \frac{A_1}{x-r} + \frac{A_2}{(x-r)^2} + \cdots + \frac{A_m}{(x-r)^m},$$ $$\frac{P(x)}{x^2 + px + q} = \frac{Bx + C}{x^2 + px + q}, \quad p^2 - 4q < 0.$$
The arctangent that quadratic factors produce二次因子产生的反正切
$$\int \frac{dx}{x^2 + a^2} = \frac{1}{a}\arctan\frac{x}{a} + C.$$
Worked Example 4.1: a repeated linear factor例题 4.1:重复线性因子

Decompose $\displaystyle\frac{x}{(x+1)^2}$. Write $\dfrac{x}{(x+1)^2} = \dfrac{A}{x+1} + \dfrac{B}{(x+1)^2}$, so $x = A(x+1) + B$. At $x = -1$: $-1 = B$. Matching the $x$ coefficient: $A = 1$. Then

$$\int \frac{x}{(x+1)^2}\,dx = \int \left(\frac{1}{x+1} - \frac{1}{(x+1)^2}\right)dx = \ln|x+1| + \frac{1}{x+1} + C.$$

分解 $\displaystyle\frac{x}{(x+1)^2}$。设 $\dfrac{x}{(x+1)^2} = \dfrac{A}{x+1} + \dfrac{B}{(x+1)^2}$,则 $x = A(x+1) + B$。令 $x = -1$:$-1 = B$。比较 $x$ 的系数:$A = 1$。于是

$$\int \frac{x}{(x+1)^2}\,dx = \int \left(\frac{1}{x+1} - \frac{1}{(x+1)^2}\right)dx = \ln|x+1| + \frac{1}{x+1} + C.$$
Worked Example 4.2: an irreducible quadratic factor例题 4.2:不可约二次因子

Evaluate $\displaystyle\int \frac{2x + 3}{x^2 + 4}\,dx$. The denominator is irreducible. Split the numerator into a piece proportional to the derivative $2x$ of the denominator and a constant:

$$\int \frac{2x}{x^2+4}\,dx + \int \frac{3}{x^2+4}\,dx = \ln(x^2+4) + \frac{3}{2}\arctan\frac{x}{2} + C.$$

计算 $\displaystyle\int \frac{2x + 3}{x^2 + 4}\,dx$。分母不可约,将分子拆分为与分母导数 $2x$ 成比例的部分和一个常数:

$$\int \frac{2x}{x^2+4}\,dx + \int \frac{3}{x^2+4}\,dx = \ln(x^2+4) + \frac{3}{2}\arctan\frac{x}{2} + C.$$
Worked Example 4.3: a mixed linear and quadratic decomposition例题 4.3:线性因子与二次因子混合分解

Evaluate $\displaystyle\int \frac{x^2 + 2x + 4}{(x-1)(x^2+1)}\,dx$. The denominator has one linear factor and one irreducible quadratic, so

$$\frac{x^2+2x+4}{(x-1)(x^2+1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}, \quad x^2+2x+4 = A(x^2+1) + (Bx+C)(x-1).$$

At $x=1$: $7 = 2A$, so $A = \tfrac72$. Match $x^2$ coefficients: $1 = A + B$, so $B = 1 - \tfrac72 = -\tfrac52$. Match constants: $4 = A - C$, so $C = A - 4 = -\tfrac12$. Thus

$$\int \left(\frac{7/2}{x-1} + \frac{-\tfrac52 x - \tfrac12}{x^2+1}\right)dx = \frac72\ln|x-1| - \frac54\ln(x^2+1) - \frac12\arctan x + C.$$

The quadratic term split as $-\tfrac52\int\tfrac{x}{x^2+1}\,dx - \tfrac12\int\tfrac{dx}{x^2+1}$, the first piece giving a logarithm and the second an arctangent, exactly the two outputs an irreducible quadratic always produces.

计算 $\displaystyle\int \frac{x^2 + 2x + 4}{(x-1)(x^2+1)}\,dx$。分母含一个线性因子和一个不可约二次因子,设

$$\frac{x^2+2x+4}{(x-1)(x^2+1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}, \quad x^2+2x+4 = A(x^2+1) + (Bx+C)(x-1).$$

令 $x=1$:$7 = 2A$,故 $A = \tfrac72$。比较 $x^2$ 系数:$1 = A + B$,故 $B = -\tfrac52$。比较常数项:$4 = A - C$,故 $C = -\tfrac12$。因此

$$\int \left(\frac{7/2}{x-1} + \frac{-\tfrac52 x - \tfrac12}{x^2+1}\right)dx = \frac72\ln|x-1| - \frac54\ln(x^2+1) - \frac12\arctan x + C.$$

二次项拆为 $-\tfrac52\int\tfrac{x}{x^2+1}\,dx - \tfrac12\int\tfrac{dx}{x^2+1}$,第一项给出对数,第二项给出反正切,这正是不可约二次因子必然产生的两类输出。

Worked Example 4.4: completing the square inside a quadratic factor例题 4.4:对二次因子配方

Evaluate $\displaystyle\int \frac{dx}{x^2 + 2x + 5}$. The denominator is irreducible (discriminant $4 - 20 < 0$). Complete the square: $x^2 + 2x + 5 = (x+1)^2 + 4$. With $u = x+1$,

$$\int \frac{du}{u^2 + 4} = \frac12\arctan\frac{u}{2} + C = \frac12\arctan\frac{x+1}{2} + C.$$

If the numerator had been linear, say $\int\tfrac{x}{x^2+2x+5}\,dx$, you would first write $x = \tfrac12(2x+2) - 1$ to align part of the numerator with the derivative $2x+2$ of the denominator, producing a logarithm plus this arctangent.

计算 $\displaystyle\int \frac{dx}{x^2 + 2x + 5}$。分母不可约(判别式 $4 - 20 < 0$),配方得 $x^2 + 2x + 5 = (x+1)^2 + 4$。令 $u = x+1$:

$$\int \frac{du}{u^2 + 4} = \frac12\arctan\frac{u}{2} + C = \frac12\arctan\frac{x+1}{2} + C.$$

若分子为线性,例如 $\int\tfrac{x}{x^2+2x+5}\,dx$,则先将 $x$ 写成 $\tfrac12(2x+2) - 1$,使分子一部分与分母的导数 $2x+2$ 对齐,产生一个对数项加上此反正切。

Common error.常见错误。 A repeated factor needs a term for every power, not just the highest. For $\dfrac{x}{(x+1)^2}$ the correct template is $\dfrac{A}{x+1} + \dfrac{B}{(x+1)^2}$; writing only $\dfrac{B}{(x+1)^2}$ cannot represent the general numerator and the system has no solution. Likewise, an irreducible quadratic always carries a full linear numerator $Bx + C$, even when you expect $C=0$. Omitting the $Bx$ term, or trying to factor an irreducible quadratic over the reals, are the two failures that derail these problems.重复因子需要对每个幂次各写一项,而不只是最高幂次。对 $\dfrac{x}{(x+1)^2}$,正确模板是 $\dfrac{A}{x+1} + \dfrac{B}{(x+1)^2}$;只写 $\dfrac{B}{(x+1)^2}$ 无法表达一般分子,方程组无解。同样,不可约二次因子必须携带完整的线性分子 $Bx + C$,即使预期 $C=0$ 也不例外。漏写 $Bx$ 项,或试图对不可约二次式在实数范围内因式分解,是导致这类问题失败的两个典型原因。
Going deeper: why every proper rational function integrates in closed form深入探究:为什么每个真分式都有初等原函数

By the fundamental theorem of algebra, any real polynomial factors over the reals into linear factors $(x-r)$ and irreducible quadratics $x^2 + px + q$. The partial fraction theorem then guarantees that a proper rational function is a finite sum of terms of exactly four shapes:

$$\frac{A}{(x-r)^k}, \qquad \frac{Bx + C}{(x^2+px+q)^k}.$$

Each shape integrates in closed form. Powers of linear factors give powers and logarithms: $\int (x-r)^{-1}\,dx = \ln|x-r|$ and $\int (x-r)^{-k}\,dx = \tfrac{(x-r)^{1-k}}{1-k}$ for $k>1$. For the quadratic term, complete the square so that $x^2 + px + q = (x + \tfrac{p}{2})^2 + a^2$ with $a^2 = q - \tfrac{p^2}{4} > 0$, and split the numerator into a multiple of the derivative $2x + p$ plus a constant:

$$\int \frac{Bx + C}{x^2 + px + q}\,dx = \frac{B}{2}\ln(x^2+px+q) + \left(C - \frac{Bp}{2}\right)\cdot\frac{1}{a}\arctan\frac{x + p/2}{a} + \text{const}.$$

The first piece is a logarithm because the numerator was engineered to be the denominator's derivative; the leftover constant numerator over $(x+\tfrac{p}{2})^2 + a^2$ is precisely the arctangent template. Higher powers $\int \tfrac{dx}{(u^2+a^2)^k}$ are handled by the reduction formula

$$\int \frac{du}{(u^2+a^2)^k} = \frac{u}{2a^2(k-1)(u^2+a^2)^{k-1}} + \frac{2k-3}{2a^2(k-1)}\int \frac{du}{(u^2+a^2)^{k-1}},$$

which steps every multiplicity down to the base arctangent. Hence every proper rational function has an elementary antiderivative, a result with no analogue for general elementary integrands.

由代数基本定理,任何实系数多项式在实数范围内均可分解为线性因子 $(x-r)$ 和不可约二次式 $x^2 + px + q$ 的乘积。部分分式定理随即保证:真分式是有限个以下四种形式之和:

$$\frac{A}{(x-r)^k}, \qquad \frac{Bx + C}{(x^2+px+q)^k}.$$

每种形式都有初等原函数(antiderivative)。线性因子的幂次给出幂函数和对数:$\int (x-r)^{-1}\,dx = \ln|x-r|$,$k>1$ 时 $\int (x-r)^{-k}\,dx = \tfrac{(x-r)^{1-k}}{1-k}$。对二次项,配方使 $x^2 + px + q = (x + \tfrac{p}{2})^2 + a^2$(其中 $a^2 = q - \tfrac{p^2}{4} > 0$),再将分子拆为分母导数 $2x + p$ 的倍数加一个常数:

$$\int \frac{Bx + C}{x^2 + px + q}\,dx = \frac{B}{2}\ln(x^2+px+q) + \left(C - \frac{Bp}{2}\right)\cdot\frac{1}{a}\arctan\frac{x + p/2}{a} + \text{const}.$$

第一项为对数,因为分子被设计成与分母的导数成比例;剩下的常数分子除以 $(x+\tfrac{p}{2})^2 + a^2$ 恰好是反正切模板。更高幂次 $\int \tfrac{dx}{(u^2+a^2)^k}$ 由递推公式处理:

$$\int \frac{du}{(u^2+a^2)^k} = \frac{u}{2a^2(k-1)(u^2+a^2)^{k-1}} + \frac{2k-3}{2a^2(k-1)}\int \frac{du}{(u^2+a^2)^{k-1}},$$

它将每个幂次逐步降至基础反正切情形。因此每个真分式都有初等原函数,这一结论对一般初等被积函数并不成立。

The correct partial fraction form for $\dfrac{1}{(x-1)(x^2+1)}$ is:$\dfrac{1}{(x-1)(x^2+1)}$ 正确的部分分式形式是:
4.1
$\dfrac{A}{x-1} + \dfrac{B}{x^2+1}$$\dfrac{A}{x-1} + \dfrac{B}{x^2+1}$
$\dfrac{A}{x-1} + \dfrac{B}{x+1} + \dfrac{C}{x^2}$$\dfrac{A}{x-1} + \dfrac{B}{x+1} + \dfrac{C}{x^2}$
$\dfrac{A}{x-1} + \dfrac{Bx + C}{x^2+1}$$\dfrac{A}{x-1} + \dfrac{Bx + C}{x^2+1}$
$\dfrac{Ax+B}{x-1} + \dfrac{C}{x^2+1}$$\dfrac{Ax+B}{x-1} + \dfrac{C}{x^2+1}$
Correct. The linear factor gets a constant numerator; the irreducible quadratic $x^2+1$ gets a linear numerator $Bx + C$.正确。线性因子对应常数分子;不可约二次因子 $x^2+1$ 对应线性分子 $Bx + C$。
An irreducible quadratic factor must carry a linear numerator $Bx+C$, while the linear factor carries a constant $A$.不可约二次因子必须携带线性分子 $Bx+C$,线性因子携带常数 $A$。
$\displaystyle\int \frac{dx}{x^2 + 9}$ equals:$\displaystyle\int \frac{dx}{x^2 + 9}$ 等于:
4.2
$\dfrac{1}{9}\arctan\dfrac{x}{3} + C$$\dfrac{1}{9}\arctan\dfrac{x}{3} + C$
$\dfrac{1}{3}\arctan\dfrac{x}{3} + C$$\dfrac{1}{3}\arctan\dfrac{x}{3} + C$
$3\arctan\dfrac{x}{3} + C$$3\arctan\dfrac{x}{3} + C$
$\ln(x^2+9) + C$$\ln(x^2+9) + C$
Correct. With $a = 3$, $\int \frac{dx}{x^2+a^2} = \frac{1}{a}\arctan\frac{x}{a} + C = \frac{1}{3}\arctan\frac{x}{3} + C$.正确。取 $a = 3$,$\int \frac{dx}{x^2+a^2} = \frac{1}{a}\arctan\frac{x}{a} + C = \frac{1}{3}\arctan\frac{x}{3} + C$。
Use $\int \frac{dx}{x^2+a^2} = \frac{1}{a}\arctan\frac{x}{a}+C$ with $a=3$, giving the factor $\tfrac13$, not $\tfrac19$.用 $\int \frac{dx}{x^2+a^2} = \frac{1}{a}\arctan\frac{x}{a}+C$($a=3$),系数为 $\tfrac13$,而非 $\tfrac19$。

Rationalizing Substitutions有理化换元

Key idea.核心思想。 Some integrands are not rational but become rational after a clever substitution. A root like $\sqrt[n]{ax + b}$ is removed by setting $u$ equal to the root; a rational function of $\sin x$ and $\cos x$ is rationalized by the Weierstrass substitution $t = \tan(x/2)$, which turns the whole integrand into a rational function of $t$.某些被积函数本身不是有理式,但经过巧妙换元后即变为有理式。根号 $\sqrt[n]{ax + b}$ 可通过令 $u$ 等于该根号消去;关于 $\sin x$ 和 $\cos x$ 的有理函数则可用 Weierstrass 换元(Weierstrass substitution)有理化,即令 $t = \tan(x/2)$,将整个被积函数转化为 $t$ 的有理函数。
Root substitution根号换元
$$u = \sqrt[n]{ax+b} \ \Longrightarrow\ x = \frac{u^n - b}{a}, \quad dx = \frac{n u^{n-1}}{a}\,du.$$
Weierstrass (half-angle) substitutionWeierstrass 半角换元
$$t = \tan\frac{x}{2}: \quad \sin x = \frac{2t}{1+t^2}, \quad \cos x = \frac{1-t^2}{1+t^2}, \quad dx = \frac{2}{1+t^2}\,dt.$$
Worked Example 5.1: removing a root例题 5.1:消去根号

Evaluate $\displaystyle\int \frac{dx}{1 + \sqrt{x}}$. Let $u = \sqrt{x}$, so $x = u^2$ and $dx = 2u\,du$.

$$\int \frac{2u}{1+u}\,du = 2\int \left(1 - \frac{1}{1+u}\right)du = 2u - 2\ln|1+u| + C.$$ $$= 2\sqrt{x} - 2\ln(1 + \sqrt{x}) + C.$$

计算 $\displaystyle\int \frac{dx}{1 + \sqrt{x}}$。令 $u = \sqrt{x}$,则 $x = u^2$,$dx = 2u\,du$。

$$\int \frac{2u}{1+u}\,du = 2\int \left(1 - \frac{1}{1+u}\right)du = 2u - 2\ln|1+u| + C.$$ $$= 2\sqrt{x} - 2\ln(1 + \sqrt{x}) + C.$$
Worked Example 5.2: the Weierstrass substitution例题 5.2:Weierstrass 换元

Evaluate $\displaystyle\int \frac{dx}{1 + \sin x}$. With $t = \tan(x/2)$ the integrand rationalizes:

$$\int \frac{\frac{2}{1+t^2}\,dt}{1 + \frac{2t}{1+t^2}} = \int \frac{2\,dt}{1 + t^2 + 2t} = \int \frac{2\,dt}{(1+t)^2} = -\frac{2}{1+t} + C.$$ $$= -\frac{2}{1 + \tan(x/2)} + C.$$

计算 $\displaystyle\int \frac{dx}{1 + \sin x}$。令 $t = \tan(x/2)$,被积函数有理化:

$$\int \frac{\frac{2}{1+t^2}\,dt}{1 + \frac{2t}{1+t^2}} = \int \frac{2\,dt}{1 + t^2 + 2t} = \int \frac{2\,dt}{(1+t)^2} = -\frac{2}{1+t} + C.$$ $$= -\frac{2}{1 + \tan(x/2)} + C.$$
Worked Example 5.3: a higher-index root例题 5.3:更高指数的根号

Evaluate $\displaystyle\int \frac{dx}{\sqrt{x} + \sqrt[3]{x}}$. The two roots share the least common index $6$, so set $u = x^{1/6}$, giving $x = u^6$, $dx = 6u^5\,du$, $\sqrt{x} = u^3$, $\sqrt[3]{x} = u^2$.

$$\int \frac{6u^5}{u^3 + u^2}\,du = 6\int \frac{u^5}{u^2(u+1)}\,du = 6\int \frac{u^3}{u+1}\,du.$$

Polynomial-divide $\dfrac{u^3}{u+1} = u^2 - u + 1 - \dfrac{1}{u+1}$:

$$6\int \left(u^2 - u + 1 - \frac{1}{u+1}\right)du = 6\left(\frac{u^3}{3} - \frac{u^2}{2} + u - \ln|u+1|\right) + C.$$ $$= 2\sqrt{x} - 3\sqrt[3]{x} + 6\sqrt[6]{x} - 6\ln\big(\sqrt[6]{x} + 1\big) + C.$$

计算 $\displaystyle\int \frac{dx}{\sqrt{x} + \sqrt[3]{x}}$。两个根号的最小公共指数为 $6$,故令 $u = x^{1/6}$,得 $x = u^6$,$dx = 6u^5\,du$,$\sqrt{x} = u^3$,$\sqrt[3]{x} = u^2$。

$$\int \frac{6u^5}{u^3 + u^2}\,du = 6\int \frac{u^5}{u^2(u+1)}\,du = 6\int \frac{u^3}{u+1}\,du.$$

多项式除法:$\dfrac{u^3}{u+1} = u^2 - u + 1 - \dfrac{1}{u+1}$:

$$6\int \left(u^2 - u + 1 - \frac{1}{u+1}\right)du = 6\left(\frac{u^3}{3} - \frac{u^2}{2} + u - \ln|u+1|\right) + C.$$ $$= 2\sqrt{x} - 3\sqrt[3]{x} + 6\sqrt[6]{x} - 6\ln\big(\sqrt[6]{x} + 1\big) + C.$$
Worked Example 5.4: Weierstrass on a cosine integrand例题 5.4:对余弦被积函数使用 Weierstrass 换元

Evaluate $\displaystyle\int \frac{dx}{2 + \cos x}$. With $t = \tan(x/2)$, $\cos x = \tfrac{1-t^2}{1+t^2}$ and $dx = \tfrac{2}{1+t^2}\,dt$:

$$\int \frac{\frac{2}{1+t^2}}{2 + \frac{1-t^2}{1+t^2}}\,dt = \int \frac{2\,dt}{2(1+t^2) + (1-t^2)} = \int \frac{2\,dt}{t^2 + 3}.$$ $$= \frac{2}{\sqrt3}\arctan\frac{t}{\sqrt3} + C = \frac{2}{\sqrt3}\arctan\!\left(\frac{\tan(x/2)}{\sqrt3}\right) + C.$$

The Weierstrass substitution converts any rational function of $\sin x$ and $\cos x$ into a rational function of $t$, which then falls to partial fractions, so it is the universal fallback for trigonometric rational integrands.

计算 $\displaystyle\int \frac{dx}{2 + \cos x}$。令 $t = \tan(x/2)$,$\cos x = \tfrac{1-t^2}{1+t^2}$,$dx = \tfrac{2}{1+t^2}\,dt$:

$$\int \frac{\frac{2}{1+t^2}}{2 + \frac{1-t^2}{1+t^2}}\,dt = \int \frac{2\,dt}{2(1+t^2) + (1-t^2)} = \int \frac{2\,dt}{t^2 + 3}.$$ $$= \frac{2}{\sqrt3}\arctan\frac{t}{\sqrt3} + C = \frac{2}{\sqrt3}\arctan\!\left(\frac{\tan(x/2)}{\sqrt3}\right) + C.$$

Weierstrass 换元可将任何关于 $\sin x$ 和 $\cos x$ 的有理函数化为 $t$ 的有理函数,再利用部分分式(partial fractions)完成积分,因此它是三角有理被积函数的万能后备方案。

Common error.常见错误。 The Weierstrass substitution is valid on intervals where $\tan(x/2)$ is defined, so it silently excludes the odd multiples of $\pi$. On a definite integral that straddles $x = \pi$, applying it blindly can give a discontinuous antiderivative and a wrong value; split the interval or use a different method there. A separate slip with root substitutions is forgetting to rewrite $dx$: setting $u = \sqrt[n]{ax+b}$ also changes the differential to $\tfrac{n u^{n-1}}{a}\,du$, and omitting this factor corrupts the whole integral.Weierstrass 换元仅在 $\tan(x/2)$ 有定义的区间上成立,因此它悄悄排除了 $\pi$ 的奇数倍点。若定积分的区间跨越 $x = \pi$,盲目套用可能给出不连续的原函数和错误数值;应在此处分割区间或改用其他方法。根号换元另一个高频错误是忘记改写 $dx$:令 $u = \sqrt[n]{ax+b}$ 时,微分也随之变为 $\tfrac{n u^{n-1}}{a}\,du$,遗漏此因子会破坏整个积分。
Under $t = \tan(x/2)$, the factor $dx$ becomes:令 $t = \tan(x/2)$,因子 $dx$ 变为:
5.1
$\dfrac{2}{1+t^2}\,dt$$\dfrac{2}{1+t^2}\,dt$
$\dfrac{1}{1+t^2}\,dt$$\dfrac{1}{1+t^2}\,dt$
$(1+t^2)\,dt$$(1+t^2)\,dt$
$2t\,dt$$2t\,dt$
Correct. From $x = 2\arctan t$ we get $dx = \dfrac{2}{1+t^2}\,dt$.正确。由 $x = 2\arctan t$ 微分得 $dx = \dfrac{2}{1+t^2}\,dt$。
Since $x = 2\arctan t$, differentiating gives $dx = \dfrac{2}{1+t^2}\,dt$.由于 $x = 2\arctan t$,对其微分即得 $dx = \dfrac{2}{1+t^2}\,dt$。

A Strategy for Integration积分策略

Key idea.核心思想。 Unlike differentiation, integration has no mechanical algorithm: it is a matter of recognizing which technique applies. A reliable decision order is to simplify first, then look for an obvious substitution, then classify the integrand (rational, root, trig, product) and apply the matching method, falling back on parts or trig substitution when a radical or product resists.与求导(derivative)不同,积分(integral)没有机械算法,而是识别适用技巧的过程。可靠的决策顺序是:先化简,再寻找显然的换元,然后分类被积函数(有理式、根号、三角式、乘积)并应用对应方法;当根号或乘积抵抗时,退而使用分部积分或三角换元。
Decision checklist决策清单
$$\text{simplify} \to \text{$u$-substitution} \to \text{classify} \to \{\text{parts, trig sub, partial fractions}\}.$$

Classify by structure. A product of a polynomial with an exponential, logarithm, or inverse trig function suggests integration by parts. A rational function suggests partial fractions. A quadratic radical suggests trig substitution after completing the square. Powers of trig functions suggest the parity rules of Section 1. A stray root suggests a rationalizing substitution. When nothing fits, try manipulating the integrand algebraically, since many integrals only reveal their structure after rewriting.按结构分类:多项式与指数函数、对数或反三角函数的乘积提示分部积分;有理函数提示部分分式;二次根号提示配方后用三角换元;三角函数的幂次提示第 1 节的奇偶规则;孤立的根号提示有理化换元。若无规律可循,尝试代数变形,因为许多积分只有在改写后才显现出可用的结构。

Worked Example 6.1: choosing the method例题 6.1:选择方法

Consider $\displaystyle\int \frac{x}{\sqrt{1 - x^2}}\,dx$. There is a quadratic radical, which would suggest trig substitution, but first check for a plain $u$-substitution: the numerator $x$ is, up to a constant, the derivative of $1 - x^2$ inside the radical. Let $u = 1 - x^2$, $du = -2x\,dx$:

$$-\frac12\int u^{-1/2}\,du = -u^{1/2} + C = -\sqrt{1 - x^2} + C.$$

The lesson: always test the cheaper substitution before committing to trig substitution.

考虑 $\displaystyle\int \frac{x}{\sqrt{1 - x^2}}\,dx$。含二次根号,本能地想到三角换元,但先验证是否有简单的 $u$ 换元:分子 $x$ 恰好(相差一个常数)是根号内 $1 - x^2$ 的导数。令 $u = 1 - x^2$,$du = -2x\,dx$:

$$-\frac12\int u^{-1/2}\,du = -u^{1/2} + C = -\sqrt{1 - x^2} + C.$$

结论:在决定使用三角换元之前,务必先检验更简单的换元是否可行。

Worked Example 6.2: a multi-step integrand例题 6.2:多步处理的被积函数

Evaluate $\displaystyle\int \frac{x^3}{\sqrt{x^2 + 1}}\,dx$. The integrand mixes a polynomial and a radical. Substitute $u = x^2 + 1$, so $x^2 = u - 1$ and $x\,dx = \tfrac12\,du$:

$$\int \frac{x^2 \cdot x}{\sqrt{x^2+1}}\,dx = \frac12\int \frac{u-1}{\sqrt{u}}\,du = \frac12\int \left(u^{1/2} - u^{-1/2}\right)du.$$ $$= \frac12\left(\frac{2}{3}u^{3/2} - 2u^{1/2}\right) + C = \frac13(x^2+1)^{3/2} - (x^2+1)^{1/2} + C.$$

计算 $\displaystyle\int \frac{x^3}{\sqrt{x^2 + 1}}\,dx$。被积函数混合了多项式和根号。令 $u = x^2 + 1$,则 $x^2 = u - 1$,$x\,dx = \tfrac12\,du$:

$$\int \frac{x^2 \cdot x}{\sqrt{x^2+1}}\,dx = \frac12\int \frac{u-1}{\sqrt{u}}\,du = \frac12\int \left(u^{1/2} - u^{-1/2}\right)du.$$ $$= \frac12\left(\frac{2}{3}u^{3/2} - 2u^{1/2}\right) + C = \frac13(x^2+1)^{3/2} - (x^2+1)^{1/2} + C.$$
Worked Example 6.3: an integrand that needs rewriting first例题 6.3:需先改写的被积函数

Evaluate $\displaystyle\int \frac{dx}{1 + e^x}$. No standard pattern fits until you rewrite. Multiply top and bottom by $e^{-x}$:

$$\int \frac{e^{-x}}{e^{-x} + 1}\,dx.$$

Now the numerator is, up to sign, the derivative of the denominator. Let $u = e^{-x} + 1$, $du = -e^{-x}\,dx$:

$$-\int \frac{du}{u} = -\ln|u| + C = -\ln(e^{-x} + 1) + C = x - \ln(e^x + 1) + C,$$

using $-\ln(e^{-x}+1) = -\ln\big(e^{-x}(1 + e^x)\big) = x - \ln(1+e^x)$. The lesson of the strategy section is exactly this: many integrals only reveal a usable substitution after an algebraic rewrite.

计算 $\displaystyle\int \frac{dx}{1 + e^x}$。改写前没有标准模式可用。分子分母同乘 $e^{-x}$:

$$\int \frac{e^{-x}}{e^{-x} + 1}\,dx.$$

此时分子(相差一个符号)恰好是分母的导数。令 $u = e^{-x} + 1$,$du = -e^{-x}\,dx$:

$$-\int \frac{du}{u} = -\ln|u| + C = -\ln(e^{-x} + 1) + C = x - \ln(e^x + 1) + C,$$

利用 $-\ln(e^{-x}+1) = -\ln\big(e^{-x}(1 + e^x)\big) = x - \ln(1+e^x)$。这正是积分策略的核心:许多积分只有在代数改写后才显现出可用的换元。

Worked Example 6.4: parts versus substitution例题 6.4:分部积分还是换元?

Evaluate $\displaystyle\int x\arctan x\,dx$. A product of a polynomial with an inverse trig function points to integration by parts, with $u = \arctan x$, $dv = x\,dx$, so $du = \tfrac{dx}{1+x^2}$, $v = \tfrac{x^2}{2}$:

$$\frac{x^2}{2}\arctan x - \frac12\int \frac{x^2}{1 + x^2}\,dx = \frac{x^2}{2}\arctan x - \frac12\int \left(1 - \frac{1}{1+x^2}\right)dx.$$ $$= \frac{x^2}{2}\arctan x - \frac{x}{2} + \frac12\arctan x + C.$$

The leftover $\int \tfrac{x^2}{1+x^2}\,dx$ was improper as a rational function, so the strategy looped back to the divide-first rule of Section 3 before finishing with an arctangent.

计算 $\displaystyle\int x\arctan x\,dx$。多项式与反三角函数的乘积提示分部积分,令 $u = \arctan x$,$dv = x\,dx$,则 $du = \tfrac{dx}{1+x^2}$,$v = \tfrac{x^2}{2}$:

$$\frac{x^2}{2}\arctan x - \frac12\int \frac{x^2}{1 + x^2}\,dx = \frac{x^2}{2}\arctan x - \frac12\int \left(1 - \frac{1}{1+x^2}\right)dx.$$ $$= \frac{x^2}{2}\arctan x - \frac{x}{2} + \frac12\arctan x + C.$$

剩余的 $\int \tfrac{x^2}{1+x^2}\,dx$ 是假分式,策略返回第 3 节的"先除法"规则,最终以反正切收尾。

Common error.常见错误。 The most common strategic mistake is reaching for a heavy tool before checking for a cheap substitution. Faced with $\int \tfrac{x}{\sqrt{1-x^2}}\,dx$, students often launch a trig substitution $x = \sin\theta$, which works but is slower than spotting that $x\,dx$ is half of $d(1-x^2)$. The discipline is to simplify, then test a plain $u$-substitution, and only then classify and apply parts, trig substitution, or partial fractions. Skipping the cheap check wastes effort and invites algebra errors.最常见的策略性错误是在检验简单换元之前就动用重型工具。面对 $\int \tfrac{x}{\sqrt{1-x^2}}\,dx$,学生往往直接令 $x = \sin\theta$ 进行三角换元,虽然有效,但远不如发现 $x\,dx$ 就是 $d(1-x^2)$ 的一半来得快。正确的做法是:先化简,再检验普通的 $u$ 换元,最后才对被积函数分类并使用分部积分、三角换元或部分分式。跳过简单检验既浪费精力,又容易引入代数错误。
For $\displaystyle\int x\,e^{x^2}\,dx$, the first technique to try is:对于 $\displaystyle\int x\,e^{x^2}\,dx$,首先尝试的技巧是:
6.1
Integration by parts分部积分
The substitution $u = x^2$令 $u = x^2$ 换元
Partial fractions部分分式
Trigonometric substitution三角换元
Correct. Since $x$ is a constant multiple of the derivative of $x^2$, the substitution $u = x^2$ gives $\tfrac12 e^{x^2} + C$ immediately, with no need for parts.正确。由于 $x$ 是 $x^2$ 导数的常数倍,令 $u = x^2$ 换元即可立即得到 $\tfrac12 e^{x^2} + C$,无需分部积分。
Always test for a $u$-substitution first: here $u=x^2$ makes $x\,dx = \tfrac12\,du$ and the integral becomes $\tfrac12\int e^u\,du$.务必先尝试 $u$ 换元:此处令 $u=x^2$,使 $x\,dx = \tfrac12\,du$,积分化为 $\tfrac12\int e^u\,du$。

Going Deeper深入探究

Key idea.核心思想。 The techniques of this unit are not an exhaustive toolbox but a finite set that handles a structured family of integrands. Two deeper facts frame their scope: reduction formulas extend the trig and quadratic methods to arbitrary powers, and Liouville's theorem proves that some elementary integrands, such as $e^{-x^2}$, have no elementary antiderivative at all.本单元的技巧不是一个无所不包的工具箱,而是处理一类有结构的被积函数的有限方法集。两个更深层次的事实界定了它们的适用范围:递推公式将三角和二次方法推广至任意次幂,而刘维尔定理(Liouville's theorem)则证明某些初等被积函数(如 $e^{-x^2}$)根本没有初等原函数(antiderivative)。
A reduction formula for powers of cosine余弦次幂的递推公式
$$\int \cos^n x\,dx = \frac{\cos^{n-1}x \sin x}{n} + \frac{n-1}{n}\int \cos^{n-2}x\,dx.$$

Reduction formulas, derived by integration by parts, let a high power be ground down to a base case ($\int dx$ or $\int \cos x\,dx$) by repeated application. The same idea produces reduction formulas for $\sec^n x$, $\tan^n x$, and the repeated quadratic denominators of Section 4, which is why the partial fraction method terminates even for high multiplicities.递推公式由分部积分导出,通过反复应用可将高次幂降至基础情形($\int dx$ 或 $\int \cos x\,dx$)。同样的思路也给出 $\sec^n x$、$\tan^n x$ 以及第 4 节重复二次分母的递推公式,这正是部分分式方法在高重数时仍能终止的原因。

Going deeper: deriving the cosine reduction formula深入探究:推导余弦递推公式

Write $\cos^n x = \cos^{n-1}x \cdot \cos x$ and integrate by parts with $u = \cos^{n-1}x$, $dv = \cos x\,dx$, so $du = -(n-1)\cos^{n-2}x \sin x\,dx$ and $v = \sin x$:

$$\int \cos^n x\,dx = \cos^{n-1}x \sin x + (n-1)\int \cos^{n-2}x \sin^2 x\,dx.$$

Replace $\sin^2 x = 1 - \cos^2 x$:

$$= \cos^{n-1}x \sin x + (n-1)\int \cos^{n-2}x\,dx - (n-1)\int \cos^n x\,dx.$$

The term $\int \cos^n x\,dx$ reappears on the right. Collecting it on the left gives $n\int \cos^n x\,dx = \cos^{n-1}x \sin x + (n-1)\int \cos^{n-2}x\,dx$, which is the stated formula after dividing by $n$.

将 $\cos^n x = \cos^{n-1}x \cdot \cos x$ 分部积分,令 $u = \cos^{n-1}x$,$dv = \cos x\,dx$,则 $du = -(n-1)\cos^{n-2}x \sin x\,dx$,$v = \sin x$:

$$\int \cos^n x\,dx = \cos^{n-1}x \sin x + (n-1)\int \cos^{n-2}x \sin^2 x\,dx.$$

代入 $\sin^2 x = 1 - \cos^2 x$:

$$= \cos^{n-1}x \sin x + (n-1)\int \cos^{n-2}x\,dx - (n-1)\int \cos^n x\,dx.$$

右边重新出现 $\int \cos^n x\,dx$,将其移至左边,得 $n\int \cos^n x\,dx = \cos^{n-1}x \sin x + (n-1)\int \cos^{n-2}x\,dx$,除以 $n$ 即得所述公式。

Going deeper: the tangent reduction formula, derived深入探究:推导正切递推公式

The tangent reduction needs no integration by parts, only the Pythagorean identity. Split off two factors and substitute $\tan^2 x = \sec^2 x - 1$:

$$\int \tan^n x\,dx = \int \tan^{n-2}x\,(\sec^2 x - 1)\,dx = \int \tan^{n-2}x\,\sec^2 x\,dx - \int \tan^{n-2}x\,dx.$$

In the first integral let $u = \tan x$, $du = \sec^2 x\,dx$, so it equals $\tfrac{\tan^{n-1}x}{n-1}$. Therefore

$$\int \tan^n x\,dx = \frac{\tan^{n-1}x}{n-1} - \int \tan^{n-2}x\,dx,$$

which steps the power down by two each time until it reaches $\int \tan x\,dx = \ln|\sec x| + C$ (odd $n$) or $\int dx = x + C$ (even $n$). For example, $\int \tan^3 x\,dx = \tfrac{\tan^2 x}{2} - \int \tan x\,dx = \tfrac{\tan^2 x}{2} - \ln|\sec x| + C$. Every reduction formula in this unit works the same way: an identity exposes a self-similar copy of the original integral, which is then solved algebraically.

正切递推公式无需分部积分,只需勾股恒等式。分离两个因子并代入 $\tan^2 x = \sec^2 x - 1$:

$$\int \tan^n x\,dx = \int \tan^{n-2}x\,(\sec^2 x - 1)\,dx = \int \tan^{n-2}x\,\sec^2 x\,dx - \int \tan^{n-2}x\,dx.$$

第一个积分令 $u = \tan x$,$du = \sec^2 x\,dx$,得 $\tfrac{\tan^{n-1}x}{n-1}$。因此

$$\int \tan^n x\,dx = \frac{\tan^{n-1}x}{n-1} - \int \tan^{n-2}x\,dx,$$

每次将次数降低 2,直到 $\int \tan x\,dx = \ln|\sec x| + C$($n$ 为奇数)或 $\int dx = x + C$($n$ 为偶数)。例如 $\int \tan^3 x\,dx = \tfrac{\tan^2 x}{2} - \int \tan x\,dx = \tfrac{\tan^2 x}{2} - \ln|\sec x| + C$。本单元所有递推公式的原理相同:某个恒等式将原积分的一个自相似副本暴露出来,再代数求解即得。

Common error.常见错误。 A reduction formula is a recurrence, not a closed form. Quoting $\int \cos^n x\,dx = \tfrac{\cos^{n-1}x\sin x}{n} + \tfrac{n-1}{n}\int\cos^{n-2}x\,dx$ as if the integral on the right were the answer leaves the problem half done; you must apply it repeatedly down to the base case. A second trap is using it for $n=1$ or $n=0$, where the derivation divides by $n$ or assumes a spare factor that is not there. Treat $\int\cos x\,dx$ and $\int dx$ as the explicit base cases and stop the recursion there.递推公式是递推关系,不是封闭形式。将 $\int \cos^n x\,dx = \tfrac{\cos^{n-1}x\sin x}{n} + \tfrac{n-1}{n}\int\cos^{n-2}x\,dx$ 中右侧的积分当作答案,只做了一半;必须反复应用直到基础情形。另一个陷阱是对 $n=1$ 或 $n=0$ 使用该公式,此时推导过程要除以 $n$ 或假设存在实际上没有的多余因子。将 $\int\cos x\,dx$ 和 $\int dx$ 视为明确的基础情形,在此处终止递推。
Going deeper: nonelementary integrals and Liouville's theorem深入探究:非初等积分与刘维尔定理

Every technique here produces an elementary antiderivative, a function built from polynomials, roots, exponentials, logarithms, and trig functions and their inverses. It is tempting to assume every continuous function has such an antiderivative, but this is false. Liouville's theorem, made effective by the Risch algorithm, shows that

$$\int e^{-x^2}\,dx, \qquad \int \frac{\sin x}{x}\,dx, \qquad \int \frac{dx}{\ln x}$$

have no elementary closed form. These integrals are perfectly well defined (they name genuine functions, such as the error function and the logarithmic integral), but no finite combination of elementary operations expresses them. The methods of this unit therefore solve a large but proper subset of integration problems, and recognizing when an integral falls outside that subset is itself a mark of fluency.

The distinction is between an indefinite and a definite integral. Although $\int e^{-x^2}\,dx$ has no elementary antiderivative, the definite integral over the whole line is exactly computable by a multivariable trick: squaring $I = \int_{-\infty}^{\infty} e^{-x^2}\,dx$ and switching to polar coordinates gives $I^2 = \int_0^{2\pi}\int_0^\infty e^{-r^2}r\,dr\,d\theta = \pi$, so $I = \sqrt\pi$. The reduction and parity methods of this unit also power the Wallis formulas, the closed forms for $\int_0^{\pi/2}\sin^n x\,dx$, which are the workhorse of probability and Fourier analysis. So even where a single antiderivative is out of reach, the techniques here remain the right starting point for the definite integrals that occur in practice.

本处每种技巧都给出初等原函数,即由多项式、根号、指数函数、对数以及三角函数及其反函数构成的函数。人们容易以为每个连续函数都有这样的原函数,但这是错误的。刘维尔定理(由 Risch 算法实现有效化)表明

$$\int e^{-x^2}\,dx, \qquad \int \frac{\sin x}{x}\,dx, \qquad \int \frac{dx}{\ln x}$$

均没有初等封闭形式。这些积分(integral)定义完全良好(它们命名了真实的函数,如误差函数和对数积分),但无法用有限个初等运算表达。本单元的方法因此只解决了一个大而真实的积分子集,而识别一个积分何时超出该子集本身就是数学流畅度的标志。

不定积分与定积分之间存在重要区别。虽然 $\int e^{-x^2}\,dx$ 没有初等原函数,但全直线上的定积分可用多变量技巧精确计算:对 $I = \int_{-\infty}^{\infty} e^{-x^2}\,dx$ 取平方并转换为极坐标,得 $I^2 = \int_0^{2\pi}\int_0^\infty e^{-r^2}r\,dr\,d\theta = \pi$,故 $I = \sqrt\pi$。本单元的递推和奇偶方法还支撑了 Wallis 公式,即 $\int_0^{\pi/2}\sin^n x\,dx$ 的封闭形式,这是概率论和傅里叶分析的基本工具。因此即便在单个原函数无法企及之处,本单元的技巧仍是处理实践中出现的定积分的正确起点。

Which integral has no elementary antiderivative?哪个积分没有初等原函数(antiderivative)?
7.1
$\int \dfrac{dx}{x^2+1}$$\int \dfrac{dx}{x^2+1}$
$\int x\ln x\,dx$$\int x\ln x\,dx$
$\int \dfrac{x}{\sqrt{x^2+1}}\,dx$$\int \dfrac{x}{\sqrt{x^2+1}}\,dx$
$\int e^{-x^2}\,dx$$\int e^{-x^2}\,dx$
Correct. By Liouville's theorem, $e^{-x^2}$ has no elementary antiderivative; the other three integrate to arctangent, a parts result, and a root respectively.正确。由刘维尔定理,$e^{-x^2}$ 没有初等原函数;其余三个分别积分为反正切、分部积分结果和根号形式。
The first three are elementary (arctangent, integration by parts, and a $u$-substitution). The Gaussian $e^{-x^2}$ is the standard nonelementary example.前三个均有初等原函数(分别为反正切、分部积分和 $u$ 换元)。高斯函数 $e^{-x^2}$ 是非初等的标准例子。

Flashcards记忆卡片

0 / 12 flipped0 / 12 已翻转
Reduce $\int \sin^m x \cos^n x\,dx$ when $n$ is odd当 $n$ 为奇数时,如何处理 $\int \sin^m x \cos^n x\,dx$
Reserve one $\cos x$ for the differential and set $u = \sin x$; convert the even remainder with $\cos^2 x = 1 - \sin^2 x$.预留一个 $\cos x$ 充当微分,令 $u = \sin x$;用 $\cos^2 x = 1 - \sin^2 x$ 转化偶数次余项。
Half-angle identities for even powers偶数次幂的半角公式
$\sin^2 x = \dfrac{1-\cos 2x}{2}$, $\quad \cos^2 x = \dfrac{1+\cos 2x}{2}$.
Substitution for $\sqrt{a^2 - x^2}$$\sqrt{a^2 - x^2}$ 的换元
$x = a\sin\theta$, so the radical becomes $a\cos\theta$ via $1 - \sin^2\theta = \cos^2\theta$.$x = a\sin\theta$,利用 $1 - \sin^2\theta = \cos^2\theta$,根号化为 $a\cos\theta$。
Substitution for $\sqrt{a^2 + x^2}$$\sqrt{a^2 + x^2}$ 的换元
$x = a\tan\theta$, using $1 + \tan^2\theta = \sec^2\theta$.$x = a\tan\theta$,利用 $1 + \tan^2\theta = \sec^2\theta$。
Substitution for $\sqrt{x^2 - a^2}$$\sqrt{x^2 - a^2}$ 的换元
$x = a\sec\theta$, using $\sec^2\theta - 1 = \tan^2\theta$.$x = a\sec\theta$,利用 $\sec^2\theta - 1 = \tan^2\theta$。
Distinct linear partial fractions不同线性因子的部分分式
$\dfrac{P(x)}{(x-r_1)\cdots(x-r_k)} = \sum \dfrac{A_i}{x - r_i}$; find $A_i$ by cover-up at $x = r_i$.$\dfrac{P(x)}{(x-r_1)\cdots(x-r_k)} = \sum \dfrac{A_i}{x - r_i}$;令 $x = r_i$ 用覆盖法求 $A_i$。
Repeated linear factor $(x-r)^m$重复线性因子 $(x-r)^m$
Contributes $\dfrac{A_1}{x-r} + \dfrac{A_2}{(x-r)^2} + \cdots + \dfrac{A_m}{(x-r)^m}$, one term per power.对应 $\dfrac{A_1}{x-r} + \dfrac{A_2}{(x-r)^2} + \cdots + \dfrac{A_m}{(x-r)^m}$,每个幂次一项。
Irreducible quadratic factor不可约二次因子
$\dfrac{Bx + C}{x^2 + px + q}$ with $p^2 - 4q < 0$; splits into a logarithm plus an arctangent.$\dfrac{Bx + C}{x^2 + px + q}$($p^2 - 4q < 0$);积分后分裂为对数加反正切。
The arctangent template反正切模板
$\displaystyle\int \dfrac{dx}{x^2 + a^2} = \dfrac{1}{a}\arctan\dfrac{x}{a} + C$.
Weierstrass substitutionWeierstrass 换元
$t = \tan\dfrac{x}{2}$: $\ \sin x = \dfrac{2t}{1+t^2}$, $\cos x = \dfrac{1-t^2}{1+t^2}$, $dx = \dfrac{2}{1+t^2}\,dt$.
First step for an improper rational function假分式的第一步
Divide to extract a polynomial part, then apply partial fractions to the proper remainder.先做除法提取多项式部分,再对真分式余项应用部分分式分解。
A nonelementary integral非初等积分
$\displaystyle\int e^{-x^2}\,dx$ has no elementary antiderivative (Liouville's theorem).$\displaystyle\int e^{-x^2}\,dx$ 没有初等原函数(刘维尔定理)。

Unit Quiz单元测验

To evaluate $\int \cos^3 x\,dx$, the right move is:计算 $\int \cos^3 x\,dx$,正确的做法是:
Q1
Half-angle, since cosine is even-natured用半角公式,因为余弦"天性"为偶函数
Reserve one $\cos x$ and set $u = \sin x$预留一个 $\cos x$,令 $u = \sin x$
$u = \cos x$ directly直接令 $u = \cos x$
Trig substitution $x = \sin\theta$三角换元 $x = \sin\theta$
Correct. With an odd power of cosine, reserve one $\cos x$ for $du$ and convert $\cos^2 x = 1 - \sin^2 x$, so $u = \sin x$.正确。余弦次数为奇数,预留一个 $\cos x$ 充当 $du$,将 $\cos^2 x = 1 - \sin^2 x$ 代入,令 $u = \sin x$。
The cosine power is odd, so peel off one $\cos x = du$ with $u = \sin x$ and convert the even remainder.余弦次数为奇数,剥离一个 $\cos x = du$,令 $u = \sin x$,转化偶数次余项。
The radical $\sqrt{4 + 9x^2}$ is cleared by which substitution?用哪种换元可消去根号 $\sqrt{4 + 9x^2}$?
Q2
$3x = 2\tan\theta$$3x = 2\tan\theta$
$3x = 2\sin\theta$$3x = 2\sin\theta$
$3x = 2\sec\theta$$3x = 2\sec\theta$
$x = 2\tan\theta$$x = 2\tan\theta$
Correct. Writing $4 + 9x^2 = 4 + (3x)^2$ matches $a^2 + u^2$ with $a = 2$, $u = 3x$, so $3x = 2\tan\theta$.正确。将 $4 + 9x^2 = 4 + (3x)^2$ 匹配 $a^2 + u^2$($a = 2$,$u = 3x$),故 $3x = 2\tan\theta$。
The form is $a^2 + u^2$ with $u = 3x$ and $a = 2$, calling for the tangent substitution $3x = 2\tan\theta$.形式为 $a^2 + u^2$,其中 $u = 3x$,$a = 2$,对应正切换元 $3x = 2\tan\theta$。
In $\dfrac{x+5}{x^2(x-3)}$, the correct decomposition template is:$\dfrac{x+5}{x^2(x-3)}$ 正确的部分分式模板是:
Q3
$\dfrac{A}{x^2} + \dfrac{B}{x-3}$$\dfrac{A}{x^2} + \dfrac{B}{x-3}$
$\dfrac{Ax+B}{x^2} + \dfrac{C}{x-3}$$\dfrac{Ax+B}{x^2} + \dfrac{C}{x-3}$
$\dfrac{A}{x} + \dfrac{B}{x^2} + \dfrac{C}{x-3}$$\dfrac{A}{x} + \dfrac{B}{x^2} + \dfrac{C}{x-3}$
$\dfrac{A}{x} + \dfrac{B}{x-3}$$\dfrac{A}{x} + \dfrac{B}{x-3}$
Correct. The repeated linear factor $x^2$ contributes both $\dfrac{A}{x}$ and $\dfrac{B}{x^2}$, plus $\dfrac{C}{x-3}$ for the simple factor.正确。重复线性因子 $x^2$ 同时贡献 $\dfrac{A}{x}$ 和 $\dfrac{B}{x^2}$,加上简单因子的 $\dfrac{C}{x-3}$。
A repeated factor $x^2$ needs one term per power: $\dfrac{A}{x} + \dfrac{B}{x^2}$, alongside $\dfrac{C}{x-3}$.重复因子 $x^2$ 每个幂次需一项:$\dfrac{A}{x} + \dfrac{B}{x^2}$,加上 $\dfrac{C}{x-3}$。
$\displaystyle\int \frac{2x}{x^2 + 1}\,dx$ equals:$\displaystyle\int \frac{2x}{x^2 + 1}\,dx$ 等于:
Q4
$2\arctan x + C$$2\arctan x + C$
$\arctan(x^2+1) + C$$\arctan(x^2+1) + C$
$\dfrac{1}{x^2+1} + C$$\dfrac{1}{x^2+1} + C$
$\ln(x^2+1) + C$$\ln(x^2+1) + C$
Correct. The numerator is the derivative of the denominator, so the integral is $\ln(x^2+1) + C$ by the substitution $u = x^2+1$.正确。分子恰好是分母的导数,令 $u = x^2+1$ 换元,积分(integral)结果为 $\ln(x^2+1) + C$。
Since $2x$ is exactly $\frac{d}{dx}(x^2+1)$, this is $\int \frac{du}{u} = \ln(x^2+1) + C$, not an arctangent.由于 $2x$ 恰好是 $\frac{d}{dx}(x^2+1)$,积分为 $\int \frac{du}{u} = \ln(x^2+1) + C$,而非反正切。
Which integrand is best suited to the Weierstrass substitution $t = \tan(x/2)$?哪个被积函数最适合 Weierstrass 换元 $t = \tan(x/2)$?
Q5
$\dfrac{1}{x^2 - 4}$$\dfrac{1}{x^2 - 4}$
$\dfrac{1}{2 + \cos x}$$\dfrac{1}{2 + \cos x}$
$\sqrt{1 - x^2}$$\sqrt{1 - x^2}$
$x^2 e^x$$x^2 e^x$
Correct. A rational function of $\sin x$ and $\cos x$, such as $\dfrac{1}{2 + \cos x}$, is rationalized by $t = \tan(x/2)$.正确。关于 $\sin x$ 和 $\cos x$ 的有理函数,如 $\dfrac{1}{2 + \cos x}$,可用 $t = \tan(x/2)$ 有理化。
The half-angle substitution targets rational functions of $\sin x$ and $\cos x$; only $\dfrac{1}{2+\cos x}$ has that form.半角换元针对关于 $\sin x$ 和 $\cos x$ 的有理函数;只有 $\dfrac{1}{2+\cos x}$ 具有该形式。
Before applying partial fractions to $\dfrac{x^3}{x^2 - 4}$, you should first:对 $\dfrac{x^3}{x^2 - 4}$ 应用部分分式之前,应先:
Q6
Complete the square配方
Use a trig substitution用三角换元
Divide, since the fraction is improper做除法,因为这是假分式
Set $u = x^2 - 4$令 $u = x^2 - 4$
Correct. The numerator degree exceeds the denominator degree, so polynomial division must extract a polynomial part before decomposing the proper remainder.正确。分子次数超过分母次数,须先做多项式除法提取多项式部分,再对真分式余项分解。
Partial fractions require a proper fraction; since degree $3 >$ degree $2$, divide first to get $x + \dfrac{4x}{x^2-4}$.部分分式要求真分式;由于次数 $3 >$ 次数 $2$,先做除法得 $x + \dfrac{4x}{x^2-4}$。

Readiness Checklist掌握清单

Tap each item you can do without notes.点击每项您无需参考笔记就能完成的内容。 0 / 8 mastered0 / 8 已掌握