# 偶函数与奇函数

**偶函数**是定义域内每个 \( x \) 都满足 \( f(-x) = f(x) \) 的函数，**奇函数**则是满足 \( f(-x) = -f(x) \) 的函数。这两种性质合称**奇偶性**，分别描述偶函数关于 y 轴的镜像对称，以及奇函数关于原点的 180 度旋转对称。许多函数两者皆不满足。

| 关键事实 | 详情 |
|---|---|
| 定义 | 偶函数：\( f(-x) = f(x) \)；奇函数：\( f(-x) = -f(x) \)，对定义域内所有 \( x \) 成立<sup>[1](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)</sup> |
| 图像对称性 | 偶函数图像关于 y 轴互为镜像；奇函数图像把 \( (x, y) \) 映为 \( (-x, -y) \)，即关于原点旋转 180 度<sup>[1](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)</sup> |
| 定义域要求 | 定义要求定义域关于 0 对称，即只要 \( x \) 在定义域内，\( -x \) 也在定义域内<sup>[1](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)</sup> |
| 标准例子 | \( x^2 \)、\( |x| \) 和 \( \cos x \) 是偶函数；\( x^3 \)、\( \sin x \) 和 \( \tan x \) 是奇函数<sup>[2](https://clp.math.uky.edu/clp3/sec_2d_integrals.html)</sup> |
| 乘积 | 偶乘偶为偶，奇乘奇为偶，偶乘奇为奇<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup> |
| 分解 | 对称定义域上的每个函数都可分解为 \( f = f_e + f_o \)，其中 \( f_e(x) = \frac{f(x)+f(-x)}{2} \)，\( f_o(x) = \frac{f(x)-f(-x)}{2} \)<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup> |
| 积分 | 在 \( [-a, a] \) 上，偶函数的积分等于 \( 2\int_0^a f(x)\,dx \)，奇函数的积分等于 0<sup>[2](https://clp.math.uky.edu/clp3/sec_2d_integrals.html)</sup> |

## 定义与对称性

两个定义都以**对称定义域**为前提：集合 \( D \) 满足只要 \( x \in D \)，就有 \( -x \in D \)。常见的例子有 \( \mathbb{R} \)、区间 \( (-a, a) \) 和 \( [-a, a] \)，以及 \( \mathbb{R} \setminus \{0\} \)；像 \( [0, +\infty) \) 这样的半直线不是对称的。没有这个条件，表达式 \( f(-x) \) 甚至无法求值，也就无从贴上偶或奇的标签。定义在 \( [0, 1] \) 这类单侧定义域上的函数，不应仅仅因为定义式在那里恰好在空真意义下成立就被称为偶函数。<sup>[1](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)</sup>

从几何上看，两个条件含义不同。偶函数的图像关于 y 轴反射后不变：若 \( (x, y) \) 在图像上，则 \( (-x, y) \) 也在图像上。奇函数的图像关于原点旋转 180 度后不变：\( (x, y) \) 总伴随 \( (-x, -y) \)。奇函数也称为反对称函数。<sup>[1](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)</sup><sup> • </sup><sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup> 单说*对称*一词含义更广，因为图像可以关于 y 轴和原点之外的点或直线对称。<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup>

## 例子与检验

代数检验的方法是计算 \( f(-x) \)，再与 \( f(x) \) 和 \( -f(x) \) 比较。对 \( f(x) = x^3 - 4x \)，代入得 \( f(-x) = -x^3 + 4x = -(x^3 - 4x) = -f(x) \)，所以该函数是奇函数。<sup>[4](https://math.libretexts.org/Courses/Cosumnes_River_College/Corequisite_Codex/10%3A_Graphing_Functions/10.02%3A_Symmetry)</sup> 同样的检验表明 \( x \sin(2x) \) 是偶函数，因为两个奇因子相乘得到偶的乘积。<sup>[5](https://www.maths.tcd.ie/~vdots/teaching/files/1S11-1314/1S11L4.pdf)</sup>

**标准例子。** 幂函数 \( f(x) = x^n \) 在 \( n \) 为偶数且 \( n \neq 0 \) 时是偶函数，在 \( n \) 为奇数时是奇函数；奇次根函数 \( f(x) = x^{1/n} \) 在 \( n \) 为奇数时是奇函数。<sup>[6](https://openstax.org/books/calculus-volume-1/pages/1-key-concepts)</sup> 在超越函数中，\( \cos x \) 是偶函数，\( \sin x \) 和 \( \tan x \) 是奇函数，而 \( e^x \) 两者皆不是。<sup>[2](https://clp.math.uky.edu/clp3/sec_2d_integrals.html)</sup><sup> • </sup><sup>[7](https://chem.libretexts.org/Courses/DePaul_University/Thermodynamics_and_Introduction_to_Quantum_Mechanics_%28Southern%29/10%3A_Appendix-_Mathematics_for_Physical_Chemistry/10.01%3A_Before_We_Begin.../10.1.02%3A_Odd_and_Even_Functions)</sup> 绝对值 \( |x| \) 是偶函数，每个常函数也都是偶函数。<sup>[1](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)</sup>

许多函数两者皆不是。仿射函数 \( l(x) = x - 1 \) 既不满足 \( l(-x) = l(x) \)，也不满足 \( l(-x) = -l(x) \)，因此没有奇偶性。<sup>[8](https://www.sciencedirect.com/topics/mathematics/even-and-odd-function)</sup>

**奇函数的一个推论。** 任何在 0 处有定义的奇函数都必须满足 \( f(0) = 0 \)，因为 \( f(0) = -f(0) \)。<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup> 这就是为什么只要原点在定义域内，奇函数的图像就经过原点。

## 奇偶性的代数

奇偶性在乘法下的表现就像符号一样。两个偶函数的乘积是偶函数，两个奇函数的乘积是偶函数，偶函数与奇函数的乘积是奇函数，因此可以把偶当作 \( (+) \)，奇当作 \( (-) \)。<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup> 例如，\( \cos(\omega_k n) \cdot \sin(\omega_l n) \) 是奇函数，因为它是偶信号乘以奇信号。<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup>

和与差遵循平行的规则，但有一个限定条件。非零偶函数的和与差是偶函数，非零奇函数的和与差是奇函数，非零偶函数与非零奇函数的和两者皆不是。非零这一限定很重要，因为零函数既是偶函数又是奇函数，而且事实上它是唯一同时具有两种性质的函数；没有这个限定，“两个偶函数之和是偶函数”这样的说法就会遇到反例 \( h(x) = k(x) = 0 \)。<sup>[9](https://files.eric.ed.gov/fulltext/EJ1382575.pdf)</sup><sup> • </sup><sup>[10](https://www.youtube.com/watch?v=uuQGhP-TzPQ)</sup>

## 奇偶分解

定义域关于 0 对称的每个函数都可以写成偶部与奇部之和：<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup>

\[ f_e(x) = \frac{f(x) + f(-x)}{2}, \qquad f_o(x) = \frac{f(x) - f(-x)}{2}. \]

由构造可知 \( f_e \) 是偶函数，\( f_o \) 是奇函数，两式相加即还原 \( f(x) \)。<sup>[3](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)</sup> 例如，\( e^x \) 分解为偶的双曲余弦 \( \cosh x \) 与奇的双曲正弦 \( \sinh x \)。<sup>[7](https://chem.libretexts.org/Courses/DePaul_University/Thermodynamics_and_Introduction_to_Quantum_Mechanics_%28Southern%29/10%3A_Appendix-_Mathematics_for_Physical_Chemistry/10.01%3A_Before_We_Begin.../10.1.02%3A_Odd_and_Even_Functions)</sup>

## 对称区间上的积分

奇偶性可以简化以原点为中心的区间上的定积分。设 \( a > 0 \)：<sup>[2](https://clp.math.uky.edu/clp3/sec_2d_integrals.html)</sup>

\[ \int_{-a}^{a} f(x)\,dx = 2\int_0^{a} f(x)\,dx \quad \text{若 } f \text{ 为偶函数}, \]

\[ \int_{-a}^{a} f(x)\,dx = 0 \quad \text{若 } f \text{ 为奇函数}. \]

奇函数的情形成立，是因为来自 \( x \) 与 \( -x \) 的贡献恰好抵消。同一原理可推广到二重积分：若积分区域在某次反射下不变，则在该反射下为奇的被积函数积分为零，而为偶的被积函数可在半个区域上计算再乘以二。<sup>[2](https://clp.math.uky.edu/clp3/sec_2d_integrals.html)</sup>

## 傅里叶级数

奇偶性决定傅里叶级数中哪些项得以保留。傅里叶余弦级数

\[ f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty} a_n \cos\frac{n\pi}{L}x, \]

描述偶函数，而傅里叶正弦级数

\[ f(x) = \sum_{n=1}^{\infty} b_n \sin\frac{n\pi}{L}x, \]

描述奇函数。<sup>[11](https://math.libretexts.org/Bookshelves/Differential_Equations/Partial_Differential_Equations_%28Walet%29/04%3A_Fourier_Series/4.06%3A_Fourier_series_for_even_and_odd_functions)</sup> 原因正是上面的积分规则：对偶函数 \( f \)，乘积 \( f(t) \sin(n\omega t) \) 是奇函数，所以每个正弦系数 \( b_n \) 都为零，只剩余弦项；对奇函数 \( f \)，每个 \( a_n \) 都为零，只剩正弦项。<sup>[12](https://webhome.phy.duke.edu/~schol/phy361/faqs/faq9/node10.html)</sup>

这种结构常被有意利用。仅在 \( [0, L] \) 上给定的函数可以延拓到 \( [-L, L] \) 上：或作为偶函数延拓，这迫使 \( f'(0) = 0 \)，得到余弦级数；或作为奇函数延拓，这迫使 \( f(0) = 0 \)，得到正弦级数。选择哪种延拓取决于所处理问题的边界条件。<sup>[11](https://math.libretexts.org/Bookshelves/Differential_Equations/Partial_Differential_Equations_%28Walet%29/04%3A_Fourier_Series/4.06%3A_Fourier_series_for_even_and_odd_functions)</sup>

## 物理学中的宇称

同一套词汇进入量子力学后成为**宇称**。一维波函数若满足 \( \psi(-x) = \psi(x) \) 则为偶，若满足 \( \psi(-x) = -\psi(x) \) 则为奇；它们分别是宇称算符的本征态，本征值分别为 \( +1 \) 和 \( -1 \)。<sup>[13](https://universalcurriculum.org/learn?content=4646&path=all&unit=4646)</sup> 在物理规律具有反射对称性的系统中，任何具有确定且非简并能量的态都具有偶宇称或奇宇称。<sup>[14](https://www.feynmanlectures.caltech.edu/III_17.html)</sup> 当势 \( V(x) \) 是偶函数时，束缚态构成奇函数与偶函数交替的序列。<sup>[15](https://www.qm.mattleifer.info/doku.php?id=general_considerations)</sup> 奇宇称的算符连接宇称相反的态，在同宇称的态之间矩阵元为零，这一选择定则广泛应用于光谱学。<sup>[13](https://universalcurriculum.org/learn?content=4646&path=all&unit=4646)</sup>

## References

1. [Even and odd functions, General Theory of Functions, Let's Prove](https://letsprove.org/courses/general-theory-of-functions/units/properties-of-real-functions/lessons/even-and-odd-functions)
2. [Double Integrals, CLP texts, University of Kentucky](https://clp.math.uky.edu/clp3/sec_2d_integrals.html)
3. [Even and Odd Functions, Julius O. Smith III, CCRMA lecture notes](https://cmp.felk.cvut.cz/cmp/courses/dzo/resources/lecture_dft_mathematics_smith/Even_Odd_Functions.html)
4. [Symmetry, Mathematics LibreTexts, Cosumnes River College](https://math.libretexts.org/Courses/Cosumnes_River_College/Corequisite_Codex/10%3A_Graphing_Functions/10.02%3A_Symmetry)
5. [1S11 Calculus, Lecture 4, Vladimir Dotsenko, Trinity College Dublin](https://www.maths.tcd.ie/~vdots/teaching/files/1S11-1314/1S11L4.pdf)
6. [Ch. 1 Key Concepts, Calculus Volume 1, OpenStax](https://openstax.org/books/calculus-volume-1/pages/1-key-concepts)
7. [Odd and Even Functions, Chemistry LibreTexts, DePaul University](https://chem.libretexts.org/Courses/DePaul_University/Thermodynamics_and_Introduction_to_Quantum_Mechanics_%28Southern%29/10%3A_Appendix-_Mathematics_for_Physical_Chemistry/10.01%3A_Before_We_Begin.../10.1.02%3A_Odd_and_Even_Functions)
8. [Even and Odd Function, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/mathematics/even-and-odd-function)
9. [Analysis of the Mathematics Function Chapter in a Malaysian Foundation Level Textbook, Mathematics Teaching-Research Journal](https://files.eric.ed.gov/fulltext/EJ1382575.pdf)
10. [Even and Odd Function (Symmetries / Parity), Matemóvil video description](https://www.youtube.com/watch?v=uuQGhP-TzPQ)
11. [Fourier series for even and odd functions, Mathematics LibreTexts (Walet), University of Manchester](https://math.libretexts.org/Bookshelves/Differential_Equations/Partial_Differential_Equations_%28Walet%29/04%3A_Fourier_Series/4.06%3A_Fourier_series_for_even_and_odd_functions)
12. [Why does the Fourier series depend on the parity of the function?, Kate Scholberg, Duke University Physics](https://webhome.phy.duke.edu/~schol/phy361/faqs/faq9/node10.html)
13. [Parity symmetry in quantum mechanics, Universal Curriculum](https://universalcurriculum.org/learn?content=4646&path=all&unit=4646)
14. [The Feynman Lectures on Physics Vol. III Ch. 17: Symmetry and Conservation Laws](https://www.feynmanlectures.caltech.edu/III_17.html)
15. [Symmetry and the Parity Operator, Quantum Mechanics lecture notes, Matt Leifer](https://www.qm.mattleifer.info/doku.php?id=general_considerations)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Real analysis

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/even-and-odd-functions

English original: https://www.edgepedia.org/even-and-odd-functions
