一个有趣的 cos 任意次幂的不定积分的求法
longlongzhu
·
·
个人记录
我们想要计算 \int \cos ^ 3 x \mathop{}\!\mathrm dx,一般的做法是
\int \cos ^ 3 x \mathop{}\!\mathrm dx = \int (1 - \sin ^ 2 x) \mathop{}\!\mathrm d(\sin x) = \sin x - \frac 1 3 \sin ^ 3 x + C
对于更高次幂的积分,可以使用升角降幂等技巧。
现在我们有一种特别的方法。设 y = \mathrm e ^ {\mathrm i x} = \cos x + \mathrm i \sin x,则:
y ^ n = \mathrm e ^ {\mathrm i nx} = \cos nx + \mathrm i \sin nx
\frac 1 {y ^ n} = \mathrm e ^ {-\mathrm i nx} = \cos nx - \mathrm i \sin nx
所以有
y ^ n + \frac 1 {y ^ n} = 2 \cos nx
\cos x = \frac 1 2 \left ( y + \frac 1 y \right )
考虑
\begin {aligned}
\cos ^ 3 x &= \frac 1 {2 ^ 3} \left ( y + \frac 1 y \right ) ^ 3 \\
&= \frac 1 8 \left ( y ^ 3 + 3 y ^ 2 \frac 1 y + 3 y \frac 1 {y ^ 2} + \frac 1 {y ^ 3} \right ) \\
&= \frac 1 8 \left ( y ^ 3 + \frac 1 {y ^ 3} + 3 ( y + \frac 1 y) \right ) \\
&= \frac 1 8 \left ( 2 \cos 3x + 6 \cos x \right ) \\
&= \frac 1 4 \cos 3x + \frac 3 4 \cos x
\end {aligned}
所以
\int \cos ^ 3 x \mathop{}\!\mathrm dx = \frac 1 {12} \sin 3x + \frac 3 4 \sin x + C
可以验证这和上面的答案是一样的。
同样地,我们可以计算 \cos ^ 4 x 的不定积分,具体步骤如下:
\begin {aligned}
\cos ^ 4 x &= \frac 1 {2 ^ 4} \left ( y + \frac 1 y \right ) ^ 4 \\
&= \frac 1 {16} \left ( y ^ 4 + 4 y ^ 3 \frac 1 y + 6 y ^ 2 \frac 1 {y ^ 2} + 4 y \frac 1 {y ^ 3} + \frac 1 {y ^ 4} \right ) \\
&= \frac 1 {16} \left ( y ^ 4 + \frac 1 {y ^ 4} + 4 ( y ^2 + \frac 1 {y ^ 2} ) + 6 \right ) \\
&= \frac 1 {16} ( 2 \cos 4x + 8 \cos 2x + 6 ) \\
&= \frac 1 8 \cos 4x + \frac 1 2 \cos 2x + \frac 3 8
\end {aligned}
因此
\int \cos ^ 4 x \mathop{}\!\mathrm dx = \frac 1 {32} \sin 4x + \frac 1 4 \sin 2x + \frac 3 8 x + C
对于更高次幂的计算,可以以此类推。