← 全部笔记

数学分析

定积分

文章目录

Source and context Original exercise and solution sources not recorded. The problem headings and the existing historical names are retained; they are not newly verified source citations.

Problem guide and solution status

The first two problems use reflection of the interval, followed by addition of two expressions for the same integral. The final family asks for In=∫0∞(1+xn)−1 dxI_n=\int_0^\infty(1+x^n)^{-1}\,dx, with n>1n>1; its tail is integrable by comparison with x−nx^{-n}. The n=2,3n=2,3 calculations are expanded below. The n=4n=4 case below now has a reciprocal-substitution proof; the general formula is derived from the Beta integral and Euler reflection formula. The partial-fraction route for n=4n=4 remains an outline.

For selecting the reflection trick, compare symmetry among integration methods. A definite integral also requires limits at singular endpoints; finding an antiderivative in the companion calculations is only one part of that task.

积分计算:∫0π2ln⁡sin⁡t dt\int_0^{\frac{\pi}{2}}\ln \sin t \, dt

这是一个高等数学中非常经典的定积分问题,通常称为 Euler 积分 (Euler's Integral) 的一种形式。

1. 问题描述

计算定积分: I=∫0π2ln⁡sin⁡t dtI = \int_0^{\frac{\pi}{2}}\ln \sin t \, dt


2. 推导过程 (Derivation)

Convergence before substitution. As t↓0t\downarrow0, log⁡sin⁡t−log⁡t=log⁡(sin⁡t/t)→0\log\sin t-\log t=\log(\sin t/t)\to0. Since ∫0δ∣log⁡t∣ dt<∞\int_0^\delta|\log t|\,dt<\infty, the displayed logarithmic integral converges absolutely. Reflection gives the corresponding endpoint check for log⁡cos⁡t\log\cos t, and scaling gives it for log⁡sin⁡2t\log\sin 2t. Thus the substitutions and addition below are legitimate operations on convergent improper integrals.

步骤 1:利用定积分的对称性

利用定积分性质 ∫0af(x)dx=∫0af(a−x)dx\int_0^a f(x)dx = \int_0^a f(a-x)dx。 令 x=π2−tx = \frac{\pi}{2} - t,则 dx=−dtdx = -dt。当 t=0t=0 时 x=π2x=\frac{\pi}{2};当 t=π2t=\frac{\pi}{2} 时 x=0x=0。

I=∫π20ln⁡sin⁡(π2−x)(−dx)=∫0π2ln⁡cos⁡x dxI = \int_{\frac{\pi}{2}}^0 \ln \sin(\frac{\pi}{2}-x) (-dx) = \int_0^{\frac{\pi}{2}} \ln \cos x \, dx

为了统一变量符号,我们仍记为: I=∫0π2ln⁡cos⁡t dtI = \int_0^{\frac{\pi}{2}} \ln \cos t \, dt

步骤 2:构造两式相加

将原积分与变换后的积分相加: 2I=∫0π2ln⁡sin⁡t dt+∫0π2ln⁡cos⁡t dt=∫0π2(ln⁡sin⁡t+ln⁡cos⁡t) dt=∫0π2ln⁡(sin⁡tcos⁡t) dt\begin{aligned} 2I &= \int_0^{\frac{\pi}{2}}\ln \sin t \, dt + \int_0^{\frac{\pi}{2}} \ln \cos t \, dt \\ &= \int_0^{\frac{\pi}{2}} (\ln \sin t + \ln \cos t) \, dt \\ &= \int_0^{\frac{\pi}{2}} \ln (\sin t \cos t) \, dt \end{aligned}

步骤 3:利用二倍角公式

利用三角恒等式 sin⁡2t=2sin⁡tcos⁡t\sin 2t = 2\sin t \cos t,即 sin⁡tcos⁡t=12sin⁡2t\sin t \cos t = \frac{1}{2}\sin 2t: 2I=∫0π2ln⁡(12sin⁡2t) dt=∫0π2(ln⁡sin⁡2t−ln⁡2) dt=∫0π2ln⁡sin⁡2t dt−∫0π2ln⁡2 dt\begin{aligned} 2I &= \int_0^{\frac{\pi}{2}} \ln \left( \frac{1}{2} \sin 2t \right) \, dt \\ &= \int_0^{\frac{\pi}{2}} (\ln \sin 2t - \ln 2) \, dt \\ &= \int_0^{\frac{\pi}{2}} \ln \sin 2t \, dt - \int_0^{\frac{\pi}{2}} \ln 2 \, dt \end{aligned}

步骤 4:处理常数项与换元

首先计算常数项部分: ∫0π2ln⁡2 dt=π2ln⁡2\int_0^{\frac{\pi}{2}} \ln 2 \, dt = \frac{\pi}{2} \ln 2

接下来处理积分项 J=∫0π2ln⁡sin⁡2t dtJ = \int_0^{\frac{\pi}{2}} \ln \sin 2t \, dt。 令 u=2tu = 2t,则 dt=12dudt = \frac{1}{2}du。积分上限变为 π\pi,下限为 00: J=∫0πln⁡sin⁡u⋅12du=12∫0πln⁡sin⁡u duJ = \int_0^{\pi} \ln \sin u \cdot \frac{1}{2} du = \frac{1}{2} \int_0^{\pi} \ln \sin u \, du

利用 sin⁡u\sin u 在区间 [0,π][0, \pi] 关于 π2\frac{\pi}{2} 对称的性质 (sin⁡u=sin⁡(π−u)\sin u = \sin(\pi - u)): ∫0πln⁡sin⁡u du=∫0π2ln⁡sin⁡u du+∫π2πln⁡sin⁡u du\int_0^{\pi} \ln \sin u \, du = \int_0^{\frac{\pi}{2}} \ln \sin u \, du + \int_{\frac{\pi}{2}}^{\pi} \ln \sin u \, du 因为两部分面积相等,所以: ∫0πln⁡sin⁡u du=2∫0π2ln⁡sin⁡u du=2I\int_0^{\pi} \ln \sin u \, du = 2 \int_0^{\frac{\pi}{2}} \ln \sin u \, du = 2I

将此结果代回 JJ 的表达式: J=12(2I)=IJ = \frac{1}{2} (2I) = I

步骤 5:建立方程求解

回到步骤 3 的方程: 2I=J−π2ln⁡22I = J - \frac{\pi}{2} \ln 2 代入 J=IJ=I: 2I=I−π2ln⁡22I = I - \frac{\pi}{2} \ln 2

移项得最终结果: I=−π2ln⁡2I = -\frac{\pi}{2} \ln 2


3. 结论 (Conclusion)

∫0π2ln⁡sin⁡t dt=−π2ln⁡2\int_0^{\frac{\pi}{2}}\ln \sin t \, dt = -\frac{\pi}{2} \ln 2

同理可得: ∫0π2ln⁡cos⁡t dt=−π2ln⁡2\int_0^{\frac{\pi}{2}}\ln \cos t \, dt = -\frac{\pi}{2} \ln 2

这套逐步推导可与Euler、Frullani与Dirichlet积分的半区间配对法比较:两者都先检验对数奇点可积,再把积分化成自身的线性方程。该专题还将同一思路延伸到Frullani与Dirichlet积分。

积分计算:∫0πxsin⁡x1+cos⁡2xdx\int_0^\pi\frac{x\sin x}{1+\cos^2 x}dx

这是一个利用定积分对称性(King's Property)来消除被积函数中 xx 因子的经典例题。

1. 问题描述

计算定积分: I=∫0πxsin⁡x1+cos⁡2x dxI = \int_0^\pi\frac{x\sin x}{1+\cos^2 x} \, dx


2. 推导过程 (Derivation)

步骤 1:利用定积分的区间变换性质

利用定积分性质 ∫0af(x)dx=∫0af(a−x)dx\int_0^a f(x)dx = \int_0^a f(a-x)dx。 令 t=π−xt = \pi - x,则 x=π−tx = \pi - t,dx=−dtdx = -dt。 当 x=0x=0 时 t=πt=\pi;当 x=πx=\pi 时 t=0t=0。

代入原式: I=∫π0(π−t)sin⁡(π−t)1+cos⁡2(π−t)(−dt)=∫0π(π−t)sin⁡t1+(−cos⁡t)2 dt\begin{aligned} I &= \int_{\pi}^0 \frac{(\pi - t)\sin(\pi - t)}{1 + \cos^2(\pi - t)} (-dt) \\ &= \int_0^\pi \frac{(\pi - t)\sin t}{1 + (-\cos t)^2} \, dt \end{aligned}

整理后(将变量写回 xx): I=∫0π(π−x)sin⁡x1+cos⁡2x dxI = \int_0^\pi \frac{(\pi - x)\sin x}{1 + \cos^2 x} \, dx

步骤 2:两式相加消除 xx

将步骤 1 得到的新表达式展开: I=∫0ππsin⁡x1+cos⁡2x dx−∫0πxsin⁡x1+cos⁡2x dxI = \int_0^\pi \frac{\pi \sin x}{1 + \cos^2 x} \, dx - \int_0^\pi \frac{x \sin x}{1 + \cos^2 x} \, dx 观察发现,右边第二项正是原积分 II。因此: I=π∫0πsin⁡x1+cos⁡2x dx−II = \pi \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx - I 移项合并: 2I=π∫0πsin⁡x1+cos⁡2x dx2I = \pi \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx 即: I=π2∫0πsin⁡x1+cos⁡2x dxI = \frac{\pi}{2} \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx

步骤 3:换元积分求解

现在我们需要计算积分 J=∫0πsin⁡x1+cos⁡2x dxJ = \int_0^\pi \frac{\sin x}{1 + \cos^2 x} \, dx。

令 u=cos⁡xu = \cos x,则 du=−sin⁡x dxdu = -\sin x \, dx,即 sin⁡x dx=−du\sin x \, dx = -du。 积分限变换:

代入积分: J=∫1−1−du1+u2=∫−11du1+u2\begin{aligned} J &= \int_1^{-1} \frac{-du}{1 + u^2} \\ &= \int_{-1}^1 \frac{du}{1 + u^2} \end{aligned}

步骤 4:计算最终结果

被积函数 11+u2\frac{1}{1+u^2} 的原函数是 arctan⁡u\arctan u。 J=[arctan⁡u]−11=arctan⁡(1)−arctan⁡(−1)=π4−(−π4)=π2\begin{aligned} J &= \bigg[ \arctan u \bigg]_{-1}^1 \\ &= \arctan(1) - \arctan(-1) \\ &= \frac{\pi}{4} - \left(-\frac{\pi}{4}\right) \\ &= \frac{\pi}{2} \end{aligned}

将 JJ 的值代回 II 的表达式: I=π2⋅J=π2⋅π2=π24I = \frac{\pi}{2} \cdot J = \frac{\pi}{2} \cdot \frac{\pi}{2} = \frac{\pi^2}{4}


3. 结论 (Conclusion)

∫0πxsin⁡x1+cos⁡2x dx=π24\int_0^\pi\frac{x\sin x}{1+\cos^2 x} \, dx = \frac{\pi^2}{4}

积分计算:∫0∞11+xndx\int_0^\infty \frac{1}{1+x^n} dx 系列

这是一组非常经典的广义积分(Improper Integrals)。虽然 n=2n=2 是基础公式,但 n=3n=3 和 n=4n=4 通常需要繁琐的代数技巧或复变函数知识。

这里总结了 n=2,3,4n=2, 3, 4 的具体推导以及通项公式。


1. 情形一:n=2n=2

问题描述

I2=∫0∞11+x2 dxI_2 = \int_0^\infty \frac{1}{1+x^2} \, dx

推导过程

这是最基本的反正切函数积分公式。 I2=lim⁡b→∞∫0b11+x2 dx=lim⁡b→∞[arctan⁡x]0b=lim⁡b→∞(arctan⁡b−arctan⁡0)=π2−0\begin{aligned} I_2 &= \lim_{b \to \infty} \int_0^b \frac{1}{1+x^2} \, dx \\ &= \lim_{b \to \infty} \bigg[ \arctan x \bigg]_0^b \\ &= \lim_{b \to \infty} (\arctan b - \arctan 0) \\ &= \frac{\pi}{2} - 0 \end{aligned}

结论

∫0∞11+x2 dx=π2\int_0^\infty \frac{1}{1+x^2} \, dx = \frac{\pi}{2}


2. 情形二:n=3n=3

问题描述

I3=∫0∞11+x3 dxI_3 = \int_0^\infty \frac{1}{1+x^3} \, dx

推导过程

步骤 1:部分分式分解 利用 x3+1=(x+1)(x2−x+1)x^3+1 = (x+1)(x^2-x+1),设: 11+x3=Ax+1+Bx+Cx2−x+1\frac{1}{1+x^3} = \frac{A}{x+1} + \frac{Bx+C}{x^2-x+1} 解得 A=13,B=−13,C=23A=\frac{1}{3}, B=-\frac{1}{3}, C=\frac{2}{3}。 11+x3=13(1x+1+2−xx2−x+1)\frac{1}{1+x^3} = \frac{1}{3}\left( \frac{1}{x+1} + \frac{2-x}{x^2-x+1} \right)

Step 2: keep a common finite cutoff. The two terms of the partial-fraction decomposition have divergent integrals on [0,∞)[0,\infty) separately. For b>0b>0, first write ∫0bdx1+x3=13∫0b(1x+1+2−xx2−x+1)dx.\int_0^b\frac{dx}{1+x^3} =\frac13\int_0^b\left(\frac1{x+1}+\frac{2-x}{x^2-x+1}\right)dx. Using 2−x=−12(2x−1)+322-x=-\tfrac12(2x-1)+\tfrac32 gives the antiderivative F(x)=13log⁡(x+1)−16log⁡(x2−x+1)+13arctan⁡ ⁣(2x−13),x≥0.F(x)=\frac13\log(x+1)-\frac16\log(x^2-x+1) +\frac1{\sqrt3}\arctan\!\left(\frac{2x-1}{\sqrt3}\right),\qquad x\ge0. The two logarithms combine into 16log⁡((x+1)2/(x2−x+1))\tfrac16\log((x+1)^2/(x^2-x+1)), which tends to zero as x→∞x\to\infty. Consequently, I3=lim⁡b→∞(F(b)−F(0))=π23+π63=2π33.I_3=\lim_{b\to\infty}\bigl(F(b)-F(0)\bigr) =\frac{\pi}{2\sqrt3}+\frac{\pi}{6\sqrt3} =\frac{2\pi}{3\sqrt3}. This is the partial-fraction method with cancellation performed before taking the improper limit.


3. 情形三:n=4n=4

问题描述

I4=∫0∞11+x4 dxI_4 = \int_0^\infty \frac{1}{1+x^4} \, dx

推导过程

步骤 1:因式分解 利用 Sophie Germain 恒等式: x4+1=(x2+1)2−2x2=(x2−2x+1)(x2+2x+1)x^4+1 = (x^2+1)^2 - 2x^2 = (x^2 - \sqrt{2}x + 1)(x^2 + \sqrt{2}x + 1) 步骤 2:部分分式分解与积分 The factorization reduces the problem to partial fractions with two quadratic denominators. Their coefficients and the common-cutoff limit are not worked out here, so this partial-fraction route remains an outline. The reciprocal-substitution proof immediately below gives a complete evaluation. 另一解:倒数代换。 记 I=I4I=I_4。已知积分收敛,换元 x=1/ux=1/u 得 I=∫0∞x21+x4 dx,2I=∫0∞1+x21+x4 dx.I=\int_0^\infty\frac{x^2}{1+x^4}\,dx,\qquad 2I=\int_0^\infty\frac{1+x^2}{1+x^4}\,dx. 令 t=x−1/xt=x-1/x,它把 (0,∞)(0,\infty) 单调映到 R\mathbb R,且 dt=(1+x−2)dxdt=(1+x^{-2})dx,1+x4=x2(t2+2)1+x^4=x^2(t^2+2)。因此 2I=∫−∞∞dtt2+2=π2.2I=\int_{-\infty}^{\infty}\frac{dt}{t^2+2}=\frac\pi{\sqrt2}. 换元先在有限截断上成立,再由正核和两端收敛取极限。这给出不必求两组部分分式系数的完整解。

计算结果为: I4=π22或π24I_4 = \frac{\pi}{2\sqrt{2}} \quad \text{或} \quad \frac{\pi\sqrt{2}}{4}


4. 通用公式与总结 (Generalization)

对于积分 In=∫0∞11+xn dxI_n = \int_0^\infty \frac{1}{1+x^n} \, dx (n>1n > 1),利用留数定理 (Residue Theorem) 或 Beta 函数,可以得到一个优雅的通项公式:

∫0∞11+xn dx=πnsin⁡(πn)\int_0^\infty \frac{1}{1+x^n} \, dx = \frac{\frac{\pi}{n}}{\sin(\frac{\pi}{n})}

Beta路线的证明。 对实数 n>1n>1,令 t=xnt=x^n,a=1/n∈(0,1)a=1/n\in(0,1),则 In=1n∫0∞ta−11+t dt=1nB(a,1−a)=1nΓ(a)Γ(1−a)=πnsin⁡(π/n).I_n=\frac1n\int_0^\infty\frac{t^{a-1}}{1+t}\,dt =\frac1n B(a,1-a) =\frac1n\Gamma(a)\Gamma(1-a) =\frac\pi{n\sin(\pi/n)}. 第一积分在0的指数为 a−1>−1a-1>-1,在无穷远为 a−2<−1a-2<-1,所以换元合法。用 u=t/(1+t)u=t/(1+t) 可把它化为Beta定义;Beta–Gamma关系和Euler反射公式的证明见Gamma函数的刻画、反射与渐近,此处明确将它们作为依赖。

复分析#4.9 用留数定理计算实积分给出另一类工具,但非整数 nn 的 znz^n 需要先选支,不能把有理函数围道公式直接套用。下列三个特殊值用于检查结果,不承担一般证明。

验证:

相关笔记