# 周期函数

周期函数是每隔固定间隔便重复取值的函数：若存在非零常数 P，使得对定义域中每个 x 都有 f(x + P) = f(x)，则称函数 f 为周期函数。以 2π 弧度为间隔重复的正弦与余弦三角函数是标准范例，周期函数在科学中广泛用于描述振动、波以及其他呈现周期性的现象。任何不具备周期性的函数都称为非周期函数。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义性质 | 存在某个非零常数 P（称为周期），使得对定义域中所有 x 都有 f(x + P) = f(x)<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup> |
| 基本周期 | 具备该性质的最小正数 P（若存在）；亦称原始周期、基本周期或素周期<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup> |
| 三角范例 | 正弦与余弦的周期为 2π；sin(2x) 的基本周期为 π<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup><sup> • </sup><sup>[2](https://www.allisone.co.jp/note/mathematics/fourier-analysis/intro/periodic_functions_en.html)</sup> |
| 连续情形 | 连续的非恒定实值周期函数存在最小周期 T₀ > 0，且其他任何实周期都是 T₀ 的整数倍<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup> |
| 退化情形 | 常数函数以任何非零实数为周期；狄利克雷函数以任何非零有理数为周期<sup>[4](https://mathworld.wolfram.com/PeriodicFunction.html)</sup><sup> • </sup><sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup> |
| 缩放规则 | 若 f 的周期为 T，则 ψ(x) = f(ax + b)（a ≠ 0）的周期为 T/a<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup> |
| 傅里叶表示 | 2π 周期函数可展开为 f(x) = ½a₀ + Σ(aₙ cos nx + bₙ sin nx)，其系数由在一个周期上的积分给出<sup>[5](https://dlmf.nist.gov/1.8)</sup> |

## 定义与几何意义

若存在某个非零常数 P，使得对定义域中所有 x 值等式 f(x + P) = f(x) 均成立，则函数 f 为周期函数。使该等式成立的非零常数 P 称为函数的一个周期。若具备该性质的最小正数存在，则称为基本周期，亦称原始周期、基本周期或素周期；实际使用中，函数的“周期”通常指其基本周期。周期为 P 的函数在长度为 P 的区间上重复，这些区间有时也称为周期。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup>

从几何上看，周期函数是图像具有平移对称性的函数：f 的图像在沿 x 方向平移距离 P 后保持不变。同一思想可推广到其他几何形状与图案，并可推广到更高维的情形，例如平面的周期性密铺。由于数列可视为定义域为自然数的函数，上述概念经适当调整后也适用于周期数列。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup>

对于实数或整数上的函数，周期性意味着整个图像可由某一特定部分的副本按固定间隔重复构成。当变量为时间时，日常例子比比皆是：钟表的指针与月相呈现周期行为，而周期运动是指系统中各位置均可表示为周期函数（且周期相同）的运动。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup>

## 例子

**三角函数。** 正弦与余弦函数是最常见的周期函数，周期均为 2π，因为 sin(x) = sin(x + 2π)，cos(x) = cos(x + 2π)。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup> 频率加倍则周期减半：sin(2x) 的基本周期为 π。<sup>[2](https://www.allisone.co.jp/note/mathematics/fourier-analysis/intro/periodic_functions_en.html)</sup> 在复变量中，常见的周期函数是 e<sup>ikx</sup> = cos kx + i sin kx。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup>

**奇异例子。** 该定义所容许的函数远不止三角函数一族。狄利克雷函数在有理数输入处取 1、在无理数输入处取 0，它是周期函数，任何非零有理数都是它的周期。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup><sup> • </sup><sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup> 常数函数 f(x) = 0 以任何非零实数为周期，因此对常数函数而言不存在类似最小周期的概念。<sup>[4](https://mathworld.wolfram.com/PeriodicFunction.html)</sup>

**双周期函数。** 对于复变量的函数，非常数函数可以有两个相互独立、且商不为实数的周期；椭圆函数是标准范例。此类函数称为双周期函数。<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup>

## 周期集的结构

函数的周期受到高度约束。若 f 的周期为 T，则 ±nT（n 为自然数）也是周期。<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup> 对于连续的非恒定实值周期函数，存在最小周期 T₀ > 0，其他任何实周期都是 T₀ 的整数倍，于是周期结构归结为单个数的倍数。<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup>

若不具备连续性，这种规律性可能失效。定义在实数上、没有最小正周期的周期函数，要么是常数函数，要么处处不连续；狄利克雷函数的周期恰为非零有理数，它表明周期集可以稠密却不含最小元素。<sup>[6](https://www.onemathematicalcat.org/Dissertation/Section1_4_MoreOnPeriodicFunctions.htm)</sup><sup> • </sup><sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup>

**保持周期性的运算。** 当两个函数具有共同周期时，它们的和、差、积或商仍以该周期为周期。<sup>[7](https://www.cfm.brown.edu/people/dobrush/am36/Mathematica/ch2/periodic.html)</sup> 与仿射变量变换的复合会缩放周期：若 f 的周期为 T，则 ψ(x) = f(ax + b)（a、b 为常数，a ≠ 0）的周期为 T/a。<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup> 当两个周期函数的周期不同时，它们的和未必是周期函数，除非周期可公度，即两周期之比为有理数。<sup>[6](https://www.onemathematicalcat.org/Dissertation/Section1_4_MoreOnPeriodicFunctions.htm)</sup>

## 傅里叶级数

傅里叶级数是研究如何将任意周期函数表示为与其周期一致的三角函数之和的领域。<sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup> 约瑟夫·傅里叶（Joseph Fourier）在其 1822 年出版的《热的解析理论》（*Théorie analytique de la chaleur*）中提出，任何周期函数都可表示为正弦与余弦之和，从而将复杂的热源建模为正弦波与余弦波的叠加。<sup>[8](https://diposit.ub.edu/bitstreams/726d5b6a-e861-495e-9802-5339a20de559/download)</sup>

对于实值或复值的 2π 周期函数，其傅里叶级数及系数为<sup>[5](https://dlmf.nist.gov/1.8)</sup>

\[ f(x) = \frac{1}{2}a_0 + \sum_{n=1}^{\infty}\left(a_n \cos(nx) + b_n \sin(nx)\right), \qquad a_n = \frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\cos(nx)\,dx, \qquad b_n = \frac{1}{\pi}\int_{-\pi}^{\pi} f(x)\sin(nx)\,dx. \]

等价的复形式写作 f(x) = Σ cₙ e<sup>inx</sup>，其中 cₙ = (1/2π) ∫ f(x) e<sup>−inx</sup> dx，积分区间为 [−π, π]。<sup>[5](https://dlmf.nist.gov/1.8)</sup> 对称性可简化系数：若 f 为偶函数，即 f(−x) = f(x)，则对所有 n 有 bₙ = 0；若 f 为奇函数，即 f(−x) = −f(x)，则对所有 n 有 aₙ = 0。<sup>[5](https://dlmf.nist.gov/1.8)</sup>

对于具有一定正则性的函数，收敛性已有充分认识。若 f 在周期 2π 上绝对可积，且在任意有界区间内除有限个点外连续，则级数在每个具有单侧导数的点处收敛于左右极限的平均值 ½f(x−) + ½f(x+)，在连续点处即为 f(x) 本身。在 f(x−) ≠ f(x+) 的点处，收敛是非一致的。<sup>[5](https://dlmf.nist.gov/1.8)</sup> 光滑性会加快收敛：若 f 的周期为 2π，且其 m 阶导数分段连续，则当 n 增大时，系数 aₙ、bₙ、cₙ 的衰减快于 n<sup>−m</sup>。<sup>[5](https://dlmf.nist.gov/1.8)</sup>

## 吉布斯现象

傅里叶级数处理不连续的周期函数时并不完美。尽管保留有限项的傅里叶级数可以将任何光滑周期函数逼近到任意精度，却无法完全刻画跳跃间断：在每个跳跃附近，部分和总是超出真值约跳跃幅度的 9%，增加更多模式并不会减小这一过冲的幅度，只会减小其宽度。这就是吉布斯现象，是光滑正弦与余弦基下任何级数展开的基本性质。<sup>[9](https://projectpythia.org/spectral-analysis-cookbook/notebooks/gibbs-phenomenon/)</sup>

对于幅度为 f(x₀+0) − f(x₀−0) 的跳跃，该效应可以量化：过冲与下冲无法通过增加项数消除，当 N → ∞ 时趋于跳跃幅度的 1.1789797444721675... 倍，该常数等于 (2/π) Si(π)，其中 Si 为正弦积分。<sup>[10](https://www.cfm.brown.edu/people/dobrush/am34/MuPad/mupad34.html)</sup> 在方波情形中，振铃之所以出现，是因为傅里叶系数的幅度仅按 1/k 衰减，而对于连续的三角波，系数按 1/k² 衰减；减小高频系数的幅度可以减弱甚至消除振铃。<sup>[11](https://web.mit.edu/6.003/F09/www/handouts/lec15.pdf)</sup> 当 N → ∞ 时，过冲的宽度趋于零，因此过冲中的能量趋于零，逼近的功率趋于信号的功率。<sup>[12](https://www.emerald.com/books/oa-monograph/20745/chapter/106656751/Fourier-Series)</sup>

历史上，该现象最早由英国数学家亨利·威尔布拉汉（Henry Wilbraham，1825–1883）于 1848 年注意到并加以分析，而“吉布斯现象”一词由美国数学家马克西姆·博谢（Maxime Bocher）于 1906 年引入。<sup>[10](https://www.cfm.brown.edu/people/dobrush/am34/MuPad/mupad34.html)</sup>

## 推广与相关概念

周期性的定义不限于直线上的函数。它适用于定义在阿贝尔群上的函数、周期数列，以及平面与更高维空间中的周期图案。<sup>[3](https://encyclopediaofmath.org/wiki/Period_of_a_function)</sup><sup> • </sup><sup>[1](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)</sup> 较弱的观念放宽了精确重复的要求：准周期函数自然出现在哈密顿力学中，用于描述可积系统的多周期运动；准周期函数理论是殆周期函数理论的基础，在后者中，准周期函数的和与积仍属于该类，且准周期函数的一致极限是殆周期的。<sup>[13](https://encyclopediaofmath.org/wiki/Quasi-periodic_function)</sup>

在应用中，周期性是被测量而非被假定的。周期图测量整个时间序列上不同频率振动的强度；周期性分析已被应用，例如用于研究数百名大学生在一个教学学期内于虚拟学习环境中访问模式的 7 天周期性强度。<sup>[14](https://arxiv.org/abs/2302.09293)</sup> 在信号处理中，傅里叶级数与周期信号相关联，而傅里叶变换是非周期信号更一般的频域表示。<sup>[15](https://ocw.mit.edu/courses/6-071j-introduction-to-electronics-signals-and-measurement-spring-2006/5e8b055b0946eef6ae877e13e1d1371f_02_signals.pdf)</sup>

## References

1. [Periodic Function, Department of Mathematics, UTSA](https://mathresearch.utsa.edu/wiki/index.php?title=Periodic_Function)
2. [Periodic Functions, Fourier Analysis Introduction, allisone.co.jp](https://www.allisone.co.jp/note/mathematics/fourier-analysis/intro/periodic_functions_en.html)
3. [Period of a function, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Period_of_a_function)
4. [Periodic Function, Wolfram MathWorld](https://mathworld.wolfram.com/PeriodicFunction.html)
5. [DLMF §1.8 Fourier Series, NIST](https://dlmf.nist.gov/1.8)
6. [More on Periodic Functions, onemathematicalcat.org](https://www.onemathematicalcat.org/Dissertation/Section1_4_MoreOnPeriodicFunctions.htm)
7. [Periodic extension, Brown University Applied Mathematics](https://www.cfm.brown.edu/people/dobrush/am36/Mathematica/ch2/periodic.html)
8. [Fourier series and periodicity (thesis, Universitat de Barcelona repository)](https://diposit.ub.edu/bitstreams/726d5b6a-e861-495e-9802-5339a20de559/download)
9. [Limitation of the Fourier transform and Fourier series: The Gibbs Phenomenon, Project Pythia](https://projectpythia.org/spectral-analysis-cookbook/notebooks/gibbs-phenomenon/)
10. [Fourier Series, Brown University Applied Mathematics](https://www.cfm.brown.edu/people/dobrush/am34/MuPad/mupad34.html)
11. [MIT 6.003 Signals and Systems, Lecture 15 notes (Fall 2009)](https://web.mit.edu/6.003/F09/www/handouts/lec15.pdf)
12. [Fourier Series, Applied Signal Processing, Emerald Publishing](https://www.emerald.com/books/oa-monograph/20745/chapter/106656751/Fourier-Series)
13. [Quasi-periodic function, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Quasi-periodic_function)
14. [Periodicity Intensity Reveals Insights into Time Series Data, arXiv:2302.09293](https://arxiv.org/abs/2302.09293)
15. [Signals, MIT 6.071 Introduction to Electronics, Spring 2006](https://ocw.mit.edu/courses/6-071j-introduction-to-electronics-signals-and-measurement-spring-2006/5e8b055b0946eef6ae877e13e1d1371f_02_signals.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Harmonic analysis, transforms, and integral equations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/periodic-function

English original: https://www.edgepedia.org/periodic-function
