📚 2 Integrals of periodic functions | 周期函数的积分
Periodic functions are at the heart of many real-world phenomena, from sound waves to electrical currents. In IB Mathematics, understanding how to integrate these functions efficiently unlocks shortcuts for definite integrals and lays the groundwork for Fourier analysis. This article explores the key properties, common techniques, and typical pitfalls when working with integrals of periodic functions.
周期函数是许多现实世界现象的核心,从声波到电流。在 IB 数学中,理解如何高效地积分周期函数可以为核心定积分提供捷径,并为傅里叶分析打下基础。本文探讨处理周期函数积分时的关键性质、常用技巧和典型误区。
1. Definition of Periodic Functions | 周期函数的定义
main. The smallest such T is called the fundamental period. Classic examples include sin x and cos x with period 2π, and tan x with period π. Constant functions are also periodic, with any positive number serving as a period.
如果存在正常数 T,使得定义域内的所有 x 都满足 f(x + T) = f(x),则函数 f(x) 被称为周期函数。最小的这类 T 称为基本周期。经典例子包括周期为 2π 的 sin x 和 cos x,以及周期为 π 的 tan x。常数函数也是周期函数,任何正数都可以作为其周期。
Recognising the period is the first step before attempting any integration. If you misidentify the period, you may apply formulas incorrectly and arrive at wrong limits or wrong average values. Visualising the graph can often help confirm the fundamental period.
在进行积分之前,第一步就要识别周期。如果错误地识别了周期,可能会错误地应用公式,得到错误的积分限或错误的平均值。通过观察图像通常有助于确认基本周期。
2. Integral over One Period | 一个周期上的积分
For a periodic function with period T, the definite integral over one full period, ∫0T f(x) dx, plays a central role. This value is independent of the starting point. In other words, no matter where you begin, the net area under one complete cycle is constant.
对于周期为 T 的周期函数,一个完整周期上的定积分 ∫0T f(x) dx 扮演着核心角色。这个值与起点无关。也就是说,无论你从哪里开始,一个完整周期内的净面积是恒定的。
This invariance can be proved using a simple substitution: let u = x − a, then ∫aa+T f(x) dx = ∫0T just a phase-shifted version of f, and f repeats every T, the value remains the same as ∫0T f(u) du. This property is extremely useful when the original limits are messy.
这个不变性可以通过一个简单的换元来证明:令 u = x − a,则 ∫aa+T f(x) dx = ∫0T f(u + a) du。由于 f(u + a) 只是 f 的一个相移版本,且 f 每 T 重复一次,该值保持与 ∫0T f(u) du 相同。当原始积分限较为杂乱时,这个性质非常有用。
3. Property: Integral over an Interval of Length T | 性质:在长度为 T 的区间上的积分
More generally, for any real number a, we have the identity:
更一般地,对于任意实数 a,我们有以下恒等式:
∫aa+T f(x) dx = ∫0T f(x) dx
This means that sliding the integration window by any amount does not change the integral, provided the window length equals exactly one period. The proof relies on splitting the integral at multiples of T and using periodicity to recombine the pieces.
这意味着只要积分窗口的长度恰好等于一个周期,无论将窗口滑动多少,积分值都不会改变。证明依赖于在 T 的整数倍处拆分积分,并利用周期性重新组合各部分。
This property is frequently used in physics to compute work done over a complete cycle or the total charge delivered in one AC cycle. In exams, it often saves you from having to antidifferentiate a complicated expression if you can shift the interval to symmetric or simpler bounds.
该性质在物理学中常被用来计算一个完整周期内所做的功,或一个交流电周期内传递的总电荷。在考试中,如果你能将积分区间平移到对称或更简单的界限,这往往可以让你免去对复杂表达式的逆微分的计算。
4. Average Value of a Periodic Function | 周期函数的平均值
The average value of a periodic function over one period is defined as:
周期函数在一个周期上的平均值定义为:
Average = (1/T) ∫0T f(x) dx
Because of the shift-invariance property, you can compute the average over any interval of length T. For sinusoidal signals, this average is often zero, which is why we use root‑mean‑square values to describe effective magnitudes.
由于平移不变性,你可以在任何长度为 T 的区间上计算平均值。对于正弦信号,这个平均值通常为零,因此我们使用均方根值来描述有效大小。
In IB questions, you might be asked to find the average temperature over a day modelled by a trigonometric function, or the average power consumed by an alternating current. Recognising that the function is periodic allows you to restrict the calculation to one fundamental period and use standard integrals.
在 IB 考题中,你可能会被要求通过一个三角函数模型求一天的平均温度,或求交流电消耗的平均功率。识别出函数是周期函数后,你就可以将计算限制在一个基本周期上,并利用标准积分来求解。
5. Integrals of Sine and Cosine Functions | 正弦和余弦函数的积分
For integer n ≠ 0, the definite integrals of sin(nx) and cos(nx) over any interval of length 2π/|n| (the natural period) are zero:
对于整数 n ≠ 0,sin(nx) 和 cos(nx) 在任何长度为 2π/|n|(自然周期)的区间上的定积分为零:
∫02π sin(nx) dx = 0, ∫02π cos(nx) dx = 0
This is because the positive and negative halves of the wave exactly cancel over a complete period. The same is true for combinations like sin²x or sin x cos x when integrated over an appropriate period, though their average values are not necessarily zero.
这是因为在一个完整周期内,波的正负部分恰好抵消。对于各种组合如 sin²x 或 sin x cos x,在合适的周期上积分时同样具有此性质,尽管它们的平均值未必为零。
y property forms the backbone of Fourier series. In IB, you may encounter integrals like ∫−ππ sin(3x) cos(5x) dx. By rewriting the product as a sum of sines and using periodicity, the integral evaluates to zero without lengthy working.
这种正交性质构成了傅里叶级数的基础。在 IB 课程中,你可能会遇到诸如 ∫−ππ sin(3x) cos(5x) dx 的积分。通过将乘积写成正弦和的形式并利用周期性,无需冗长计算,积分值就为零。
6. Using Symmetry and Odd/Even Properties | 利用对称性和奇偶性
zero. For an even function, f(−x) = f(x), you can simplify the integral over [−L, L] to 2∫0L f(x) dx.
许多周期函数还呈现出对称性。如果一个周期函数是奇函数,即 f(−x) = −f(x),那么它在关于原点对称的任意区间上的积分为零。对于偶函数,即 f(−x) = f(x),可以将积分 ∫−LL f(x) dx 简化为 2∫0L f(x) dx。
When dealing with periodic functions, you can often choose an integration interval that best exploits symmetry. For instance, integrating sin x from −π to π gives zero instantly because sin is odd and the interval is symmetric. This trick avoids the need to split the integral into positive and negative regions.
在处理周期函数时,你通常可以选择一个最能利用对称性的积分区间。例如,对 sin x 从 −π 到 π 积分会立即得到零,因为 sin 是奇函数且区间对称。这个技巧省去了将积分拆分为正值和负值区域的麻烦。
Be careful: shifting the interval by half a period can turn an odd function into something not odd on the new interval. Always check the function's parity with respect to the actual bounds you intend to use.
请注意:将区间平移半个周期可能会使一个奇函数在新区间内不再是奇函数。对于你打算使用的实际积分限,一定要检查函数的奇偶性。
7. Periodically Extended Functions | 周期延拓函数
Sometimes a function is defined only on a limited domain, for example on [0, L], and then extended periodically to the whole real line. The integral of this extended function over any interval of length L equals the original integral on [0, L].
有时一个函数仅在有限区间上有定义,例如在 [0, L] 上,然后被周期性地延拓到整个实数轴。这个延拓函数在任何长度为 L 的区间上的积分,等于其在 [0, L] 上的原始积分。
This concept is essential when dealing with Fourier series, where a function defined on [−L, L] is repeated with period 2L. The Fourier coefficients are computed using integrals over one period, and the periodicity of the extension guarantees that the series converges to a periodic function everywhere.
该概念在处理傅里叶级数时至关重要,此时定义在 [−L, L] 上的函数以 2L 为周期重复。傅里叶系数利用一个周期上的积分来计算,而延拓的周期性确保了该级数处处收敛于一个周期函数。
In IB-level problems, you may be asked to sketch the periodic extension of a piecewise function and then evaluate an integral over multiple periods. Simply multiplying the single-period integral by the number of periods suffices, thanks to the periodic nature.
在 IB 级别的题目中,你可能会被要求画出一个分段函数的周期延拓,然后计算多个周期上的积分。鉴于其周期性,直接将单个周期上的积分乘以周期数目即可。
8. Connection to Fourier Series | 与傅里叶级数的联系
Fourier series express a periodic function as an infinite sum of sines and cosines. The coefficients are determined by integrals over one period:
傅里叶级数将一个周期函数表示为无穷多个正弦和余弦之和。其系数由在一个周期上的积分确定:
an = (2/T) ∫0T f(x) cos(2πnx/T) dx
bn = (2/T) ∫0T f(x) sin(2πnx/T) dx
These formulas rely entirely on the properties of periodic integrals. The orthogonality of {1, cos(nx), sin(nx)} over a common period ensures that each coefficient extracts exactly one frequency component from the signal.
这些公式完全依赖于周期积分的性质。集合 {1, cos(nx), sin(nx)} 在一个共同周期上的正交性确保了每个系数都从信号中恰好提取出一个频率分量。
might simply be asked to use these orthogonality relations to simplify an integral like ∫02π f(x) cos(kx) dx when f itself is a combination of sines and cosines.
虽然完整的傅里叶展开可能出现在 HL 选修主题或进阶数学中,但在标准 IB 解题中,你可能会被要求使用这些正交关系来简化类似 ∫02π f(x) cos(kx) dx 的积分,其中 f 本身是正弦和余弦的组合。
9. Techniques for Evaluating Integrals of Periodic Functions | 周期函数积分的计算技巧
Several strategies can dramatically shorten integration work with periodic functions:
以下几种策略可以显著缩短周期函数的积分计算:
- Shift to a convenient interval: If the integrand is T‑periodic, choose an interval that makes antiderivatives easy, e.g. [−π, π] for sin and cos instead of [1, 1+2π].
- 利用平移至方便区间: 若被积函数是 T 周期的,选择一个让逆微分变简单的区间,例如对 sin 和 cos 选择 [−π, π] 而非 [1, 1+2π]。
- Exploit identities: iple angles. For example, sin²x = (1 − cos 2x)/2 makes the integral over a period trivial.
- 利用恒等式: 将乘积化为和差,或将幂次化为多倍角。例如,sin²x = (1 − cos 2x)/2 使得一个周期上的积分变得平凡。
- Split the interval: Break an integral spanning several periods into one period times the number of periods, plus a remainder. The remainder can be handled separately.
- 拆分区间: 将一个跨越多个周期的积分拆分为一个周期乘以周期数加上余项。余项可单独处理。
In many cases, you don' integer), and the average value is known, the integral is simply k × T × (average value).
在许多情况下,你甚至不需要求出逆微分:如果区间长度恰好是 kT(k 为整数),且已知平均值,则积分就是 k × T × (平均值)。
10. Worked Examples | 例题演示
Example 1: Evaluate ∫02π sin²x dx.
例 1: 计算 ∫02π sin²x dx。
Using the identity sin²x = (1 − cos 2x)/2, the integral becomes ∫02π (1/2) dx − (1/2)∫02π iod π, so over 2π (two periods) it integrates to zero. Hence the result is (1/2) × 2π = π.
利用恒等式 sin²x = (1 − cos 2x)/2,该积分化为 ∫02π (1/2) dx − (1/2)∫02π cos 2x dx。第二项为零,因为 cos 2x 周期为 π,在 2π(两个周期)上积分为零。因此结果为 (1/2) × 2π = π。
Example 2: Compute ∫π3π cos x dx without finding an antiderivative.
例 2: 不求出逆微分,计算 ∫π3π cos x dx。
interval is 2π, which is exactly the period of cos x. By the shift-invariance property, ∫π3π cos x dx = ∫02π cos x dx = 0. Instant answer.
该区间的长度为 2π,恰好是 cos x 的周期。根据平移不变性,∫π3π cos x dx = ∫02π cos x dx = 0。立即可得答案。
Example 3: Show that ∫02π sin(3x) sin(5x) dx = 0.
例 3: 证明 ∫02π sin(3x) sin(5x) dx = 0。
x − cos 8x]. Both cosine terms have periods π/4 and π/8 respectively, but over 2π they complete several full cycles, so their integrals are zero. Thus the whole integral vanishes.
利用恒等式 sin A sin B = ½[cos(A−B) − cos(A+B)]。被积函数化为 ½[cos(−2x) − cos(8x)] = ½[cos 2x − cos 8x]。两个余弦项分别有周期 π/4 和 π/8,但在 2π 区间内它们完成了若干个完整周期,因此它们的积分为零。于是整个积分为零。
11. Common Mistakes and Precautions | 常见错误与注意事项
One frequent error is assuming that an integral over an interval of length not equal to an integer multiple of the period can be simplified using the shift property. This only works if the interval length is exactly T, 2T, 3T, etc. If the interval is, say, 3.5T, you must split it into whole periods plus a fractional part and integrate the fractional part normally.
一个常见错误是误以为对于长度不等于周期整数倍的区间,也可以使用平移性质来进行简化。只有当区间长度恰好为 T、2T、3T 等时才适用。如果区间长度,比如是 3.5T,你必须将其拆分为整数个周期加上一个零头,并对零头部分进行常规积分。
π, not 2π. Always recalculate the period when the function involves a horizontal scaling.
另一个错误是混淆了经过变换的函数的周期。对于 f(x) = sin(2x),周期是 π,而不是 2π。当函数涉及水平缩放时,一定要重新计算其周期。
Students also sometimes treat the average value as zero for functions like sin²x without checking. While sin x averages to zero, sin²x averages to ½. Never assume zero mean without verifying.
学生有时也会不经验证就认为像 sin²x 这样的函数平均值为零。尽管 sin x 的平均值为零,sin²x 的平均值却是 ½。切勿未经核实就假定均值为零。
12. Summary | 总结
Integrals of periodic functions are a powerful tool in calculus because they often reduce to simple arithmetic. Key takeaways:
周期函数的积分是微积分中的强大工具,因为它们常常可以简化为简单的算术。关键要点如下:
- The integral over a full period is independent of the starting point.
- 一个完整周期上的积分与起点无关。
- You can shift the integration window to a more convenient interval without changing the result.
-
Published by TutorHao | IB Mathematics Revision Series | aleveler.com
广告 / SponsoredIBDP国际文凭计算机科学学生用书 高级及标准水平 Computer Science for the IB Diplo…计算机 备考教辅 · 正版现货 · 与本文内容相关查看详情 / View on Taobao参考价 ¥524.0
更多咨询请联系16621398022(同微信)
备考资讯每日更新,关注不错过考纲变化 · 科目分析 · 学习方法
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图公众号:tutorhao