# 单调函数

单调函数（monotonic function，或称 monotone function）是一种保持或颠倒序关系的实函数：只要一个输入大于另一个输入，输出就朝一个固定方向变化，因此当 \(\Delta x = x' - x > 0\) 时，增量 \( f(x') - f(x) \) 恒为非负或恒为非正。<sup>[1](https://encyclopediaofmath.org/wiki/Monotone_function)</sup> 单调性足够强，可以保证处处存在单侧极限、间断点至多可数、在闭区间上黎曼可积，并且几乎处处可微。

| 关键事实 | 细节 |
|---|---|
| 定义 | \( x < y \) 蕴含 \( f(x) \le f(y) \)（递增）或 \( f(x) \ge f(y) \)（递减）；严格版本要求严格不等式<sup>[2](https://www.jirka.org/ra/html/sec_monotonefunc.html)</sup><sup> • </sup><sup>[1](https://encyclopediaofmath.org/wiki/Monotone_function)</sup> |
| 单侧极限 | 对递增函数，在每个内点 \( c \) 处，\( f(c^-) = \sup\{f(x) : x < c\} \)，\( f(c^+) = \inf\{f(x) : x > c\} \)<sup>[3](https://people.math.harvard.edu/~nate/teaching/UPenn/2009/spring/math_360/lectures/week_8/lecture_14/lecture_14.pdf)</sup> |
| 间断点 | 全为第一类跳跃间断；至多可数，且可在某区间中稠密<sup>[4](http://pirate.shu.edu/~wachsmut/ira/cont/disconti.html)</sup><sup> • </sup><sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup> |
| 可微性 | 勒贝格定理：几乎处处可微；不可微集的勒贝格测度为零，但不必可数（康托尔函数）<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup> |
| 积分 | 在每个闭区间 \([a,b]\) 上黎曼可积；对递增的 \( f \)，\( \int f'(x)\,dx \le f(b) - f(a) \)<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup><sup> • </sup><sup>[6](https://faculty.fiu.edu/~meziani/Lecture19.pdf)</sup> |
| 有界变差 | 在 \([a,b]\) 上的全变差等于 \( |f(b) - f(a)| \)；有界变差函数恰为两个单调函数之差<sup>[7](https://raw.org/book/analysis/monotone-bv-and-convex-functions/)</sup><sup> • </sup><sup>[8](https://sites.ualberta.ca/~rjia/Math418/Notes/chap2.pdf)</sup> |

## 定义与变体

标准定义是序陈述。函数 \( f : S \to \mathbb{R} \) 称为递增的，若 \( x < y \) 蕴含 \( f(x) \le f(y) \)；称为严格递增的，若 \( f(x) < f(y) \)；递减与严格递减则颠倒不等号。函数若为其中之一，则称为单调的。<sup>[2](https://www.jirka.org/ra/html/sec_monotonefunc.html)</sup> 等价地，用增量形式说，当 \( \Delta x > 0 \) 时，增量 \( \Delta f(x) = f(x') - f(x) \) 从不改变符号；若只要 \( \Delta x > 0 \) 就有它严格大于（或严格小于）零，则函数是严格单调的。<sup>[1](https://encyclopediaofmath.org/wiki/Monotone_function)</sup> “非减”与“非增”这两个说法明确允许取等值，而“弱单调”“弱递增”“弱递减”则用来强调同一种可能性。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/04%3A_Function_Limits_and_Continuity/4.05%3A_Monotone_Function)</sup><sup> • </sup><sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup>

**严格性与单射性。** 在其定义域上为单射的单调函数是严格单调的。<sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/04%3A_Function_Limits_and_Continuity/4.05%3A_Monotone_Function)</sup> 熟悉的例子可以区分这些变体：\( f(x) = x^3 \) 在整个 \( \mathbb{R} \) 上严格递增，而 \( f(x) = x^2 \) 在 \( \mathbb{R} \) 上根本不是单调的，因为它先减后增；它只在每个半直线 \( (-\infty, 0] \) 或 \( [0, \infty) \) 上单调。<sup>[7](https://raw.org/book/analysis/monotone-bv-and-convex-functions/)</sup>

## 基本性质

单调性迫使单侧极限在定义域内部处处存在。对 \( (a, b) \) 上的递增函数，\( f(c^-) = \sup_{a < t < c} f(t) \le f(c) \le \inf_{c < t < b} f(t) = f(c^+) \)；对递减函数，上确界与下确界的公式互换角色。<sup>[3](https://people.math.harvard.edu/~nate/teaching/UPenn/2009/spring/math_360/lectures/week_8/lecture_14/lecture_14.pdf)</sup><sup> • </sup><sup>[10](https://math.libretexts.org/Bookshelves/Analysis/A_Primer_of_Real_Analysis_(Sloughter)/05%3A_Limits_and_Continuity/5.02%3A_Monotonic_Functions)</sup>

保序思想超出了实函数范围。“单调”一词也用于把定义域的子集映射到余域的非减值上的集合函数；在决策论中，预序空间上的实函数 \( f \) 称为单调的，当 \( x \preceq y \) 蕴含 \( f(x) \le f(y) \)；若逆命题也成立，则 \( f \) 是德布鲁（Debreu，1954）意义上的效用函数。<sup>[11](https://mathworld.wolfram.com/MonotonicFunction.html)</sup><sup> • </sup><sup>[12](https://link.springer.com/article/10.1007/s11238-022-09904-w)</sup>

## 间断点与正则性

**只有跳跃。** 开区间上单调函数的每个间断点都是第一类的：单侧极限 \( f(p^-) \) 与 \( f(p^+) \) 存在，但彼此不同，或与 \( f(p) \) 不同。<sup>[4](http://pirate.shu.edu/~wachsmut/ira/cont/disconti.html)</sup><sup> • </sup><sup>[9](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/04%3A_Function_Limits_and_Continuity/4.05%3A_Monotone_Function)</sup>

**至多可数，可能稠密。** 间断点集至多可数。标准证明给每个间断点 \( x \) 指派一个位于 \( f(x^-) \) 与 \( f(x^+) \) 之间的互不相交的跳跃区间；在每个区间内选一个有理数，就把间断点集单射入 \( \mathbb{Q} \)。<sup>[7](https://raw.org/book/analysis/monotone-bv-and-convex-functions/)</sup> 在有界值域上，另一种证明按跳跃幅度大于 \( 1/n \) 把间断点分成有限集 \( E_n \)，因为该值域内长度超过 \( 1/n \) 的互不相交区间只有有限多个。<sup>[6](https://faculty.fiu.edu/~meziani/Lecture19.pdf)</sup> 给定 \( (a,b) \) 的任意可数子集 \( E \)（甚至可以稠密），可以构造一个单调函数，恰在 \( E \) 的每一点间断、在其他点都不间断，并具有适当的指定跳跃 \( f(x_n^+) - f(x_n^-) = c_n \)。<sup>[3](https://people.math.harvard.edu/~nate/teaching/UPenn/2009/spring/math_360/lectures/week_8/lecture_14/lecture_14.pdf)</sup> 单调函数可以在诸如有理数集这样的稠密集上间断。<sup>[2](https://www.jirka.org/ra/html/sec_monotonefunc.html)</sup>

**勒贝格可微性定理。** 单调函数 \( f : (a,b) \to \mathbb{R} \) 几乎处处可微：导数不存在的点集具有勒贝格测度零。<sup>[13](https://faculty.fiu.edu/~meziani/Lecture20.pdf)</sup> 其证明不妨设 \( f \) 递增，使用维塔利覆盖引理，并把无界的 \( (a,b) \) 写成有界区间的递增并来处理。<sup>[8](https://sites.ualberta.ca/~rjia/Math418/Notes/chap2.pdf)</sup><sup> • </sup><sup>[14](https://faculty.etsu.edu/gardnerr/5210/Beamer-Proofs/Proofs-6-2.pdf)</sup> 对 \([a,b]\) 上的递增 \( f \)，导数 \( f' \) 可测且可积，并且

\[ \int_a^b f'(x)\,dx \le f(b) - f(a). \]

<sup>[8](https://sites.ualberta.ca/~rjia/Math418/Notes/chap2.pdf)</sup><sup> • </sup><sup>[6](https://faculty.fiu.edu/~meziani/Lecture19.pdf)</sup> 该不等式可以是严格的。\([0,1]\) 上的康托尔–勒贝格函数 \( \varphi \) 递增且几乎处处 \( \varphi' = 0 \)，所以 \( \int \varphi' = 0 \)，而 \( \varphi(1) - \varphi(0) = 1 \)；这表明没有绝对连续性时微积分基本定理失效，也表明单调函数的不可微集一般不能从测度零改进为可数。<sup>[6](https://faculty.fiu.edu/~meziani/Lecture19.pdf)</sup><sup> • </sup><sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup>

## 定量结论

单调性给出精确的定量陈述。\([a,b]\) 上单调 \( f \) 的每个分割和中，各项同号，展开后相邻项相消，所以 \( f \) 是有界变差的，全变差为 \( V_a^b(f) = |f(b) - f(a)| \)。<sup>[7](https://raw.org/book/analysis/monotone-bv-and-convex-functions/)</sup> 闭区间上的单调函数黎曼可积。<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup> 其间断点集可数且可能稠密，并且 \( \int f' \le f(b) - f(a) \)，两边之差由康托尔函数的差距 1 所示。<sup>[6](https://faculty.fiu.edu/~meziani/Lecture19.pdf)</sup>

## 与其他函数类的关系

这些函数类形成一个有用的嵌套层级。\([a,b]\) 上的每个单调函数都是有界变差的，所以 \( \mathrm{BV}([a,b]) \) 包含单调函数。<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup> 反向包含也成立：函数 \( f : [a,b] \to \mathbb{R} \) 有有界变差，当且仅当它可以写成 \( f = g - h \)，其中 \( g \) 与 \( h \) 是定义在 \([a,b]\) 上的两个递增单调函数。<sup>[8](https://sites.ualberta.ca/~rjia/Math418/Notes/chap2.pdf)</sup><sup> • </sup><sup>[7](https://raw.org/book/analysis/monotone-bv-and-convex-functions/)</sup> 因此每个有界变差函数都几乎处处可微。<sup>[8](https://sites.ualberta.ca/~rjia/Math418/Notes/chap2.pdf)</sup>

绝对连续是更强的性质，它修复了积分不等式。康托尔函数说明为什么不可微集的测度零界不能改进为可数。<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup>

## 分析与概率中的单调性

在概率论中，随机变量 \( X \) 的累积分布函数 \( F_X(x) = \mathrm{Prob}(X \le x) \) 是单调递增的，这是分布函数继承的基本正则性。<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup>

在泛函分析与凸优化中，这一概念推广为单调算子。卡楚罗夫斯基（Kachurovskii）定理表明，巴拿赫空间上的凸函数以单调算子为导数。<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup> 通过循环单调关系，这一联系更为深刻：根据罗卡费拉尔（Rockafellar）1966年的刻画，函数 \( \Phi : \mathbb{R}^d \to \mathbb{R} \) 是凸的（定义域非空），当且仅当其次微分是极大循环单调关系 \( \Gamma \subseteq \mathbb{R}^d \times \mathbb{R}^d \)。<sup>[15](https://raw.githubusercontent.com/mlresearch/v300/main/assets/bao26a/bao26a.pdf)</sup>

## 跨学科应用

**经济学。** 米尔格罗姆与罗伯茨（Milgrom and Roberts，1994）精确刻画了优化问题的解何时随参数单调变化：给定定义在格 \( X \) 上的函数 \( f \) 和带偏序的参数集 \( T \)，集合 \( \arg\max_{x \in S} f(x,t) \) 随 \( (t, S) \) 单调上升，当且仅当 \( f \) 关于 \( x \) 具有拟超模性质，并在 \( (x; t) \) 上表现出单交叉。<sup>[16](https://lonessmith.com/wp-content/uploads/2023/06/Milgrom-MonotoneComparativeStatics-1994.pdf)</sup> 他们展示了该框架如何应用于竞争厂商、垄断者、伯特兰寡头、消费者行为与增长、博弈论以及一般均衡分析等悠久理论体系。<sup>[16](https://lonessmith.com/wp-content/uploads/2023/06/Milgrom-MonotoneComparativeStatics-1994.pdf)</sup> 后来的工作细化了分工：单交叉条件是从每条链出发最优集单调反应的充分必要条件，而拟超模性仅在要求在所有可想象意义上都单调时才必要。<sup>[17](https://link.springer.com/article/10.1007/s00199-011-0677-8)</sup> 在经验方面，单调比较静态的似然比计量检验利用了因变量的极端条件分位数随解释变量单调递增这一预测；它是一种针对中间条件分位数序限制的渐近“卡方混合”检验，无需假设均衡选择规则即可实施。<sup>[18](https://eml.berkeley.edu/~fechenique/published/mcs_advances.pdf)</sup> 广义单调性分析把这些方法推广到缺乏超模结构的模型，寻找产生单调性的参数变动，并应用于约束优化、非超模博弈、加总以及单调比较动态。<sup>[19](https://faculty.wcas.northwestern.edu/bhs675/081215-GMA%201.pdf)</sup>

**单调变换。** 在经济学中，效用函数的单调变换是与严格递增函数的复合，它保持偏好的序数性质；正单调变换保持序，负单调变换颠倒序。<sup>[5](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)</sup> 在更广泛的决策论中，三类单调量对预序空间进行分类：严格单调量（里希特–佩莱格）、单射单调量与效用函数，它们被组织成多效用表示，其基数衡量预序的复杂度。<sup>[12](https://link.springer.com/article/10.1007/s11238-022-09904-w)</sup>

**计算机科学。** 有限偏序域上的布尔 \( k \)-单调函数在任意上升链上至多交替取值 0 与 1 共 \( k \) 次，推广了经典单调（1-单调）布尔函数。<sup>[20](https://theoryofcomputing.org/articles/v015a001/v015a001.pdf)</sup> 等价地，偏序上的 \( f : X \to \mathbb{R} \) 是 \( k \)-单调的，若没有 \( k+1 \) 个点的链具有符号交替的差值；\( k = 1 \) 即恢复非减单调函数。<sup>[21](https://drops.dagstuhl.de/storage/00lipics/lipics-vol317-approx-random2024/LIPIcs.APPROX-RANDOM.2024.37/LIPIcs.APPROX-RANDOM.2024.37.pdf)</sup> 性质检验研究表明，当 \( k \ge 3 \) 时，在超立方体 \( \{0,1\}^d \) 上检验 \( k \)-单调性与检验单调性之间存在分离。<sup>[20](https://theoryofcomputing.org/articles/v015a001/v015a001.pdf)</sup>

## 近期进展

单调性已成为机器学习中一种重要的归纳偏置，涌现出一批关于在训练模型中强制实施它的会议工作。ICLR 2024 一篇关于可扩展单调神经网络的论文把一元单调性形式化为 \( x \le x' \Rightarrow f(x) \le f(x') \)（对可微 \( f \)，等价于 \( \partial f / \partial x \ge 0 \)），并定义了 \([0,1]^d\) 上多元函数的部分单调性，即函数在固定其他坐标时关于每个坐标非减。<sup>[22](https://proceedings.iclr.cc/paper_files/paper/2024/file/96e35b532b4932a86cce8c929ff3f960-Paper-Conference.pdf)</sup> 2025 年 PMLR 一篇论文把约束单调神经网络推进到具有输入–输出单调性约束、超越有界激活的 MLP 通用逼近，并将单调性描述为需要透明且稳健模型的应用中的常见要求。<sup>[23](https://proceedings.mlr.press/v267/sartor25a.html)</sup>

**架构与算法。** 2024 年在 PMLR 提出的平滑最小–最大（Smooth Min-Max，SMM）单调网络可以端到端训练，使用无约束梯度优化，不同于等渗回归与提升决策树，并避免了格方法的维数灾难；在实验中，它们与最小–最大网络、等渗回归、XGBoost、表达能力强的利普希茨单调网络以及分层格层相比表现良好。<sup>[24](https://raw.githubusercontent.com/mlresearch/v235/main/assets/igel24a/igel24a.pdf)</sup> 同一路线建立在西尔（Sill，1997）以及丹尼尔斯与韦利科娃（Daniels and Velikova，2010）的逼近定理之上：任何连续、有界、具有有界偏导数、把 \([0,1]^d \) 映射到 \( \mathbb{R} \) 的单调函数，都可由单调最小–最大网络一致逼近。<sup>[24](https://raw.githubusercontent.com/mlresearch/v235/main/assets/igel24a/igel24a.pdf)</sup>

**多元推广。** 经典等渗回归保持一元拟合曲线非减，但不能推广到多元响应，因为单调性不易推广。布雷尼耶等渗回归（BrenierIR）利用循环单调回归函数与坎托罗维奇最优传输处理这一问题，其灵感来自布雷尼耶定理，用 scipy 端到端实现，并被建议用于校准多类分类器。<sup>[15](https://raw.githubusercontent.com/mlresearch/v300/main/assets/bao26a/bao26a.pdf)</sup> 在理论方面，2024 年的工作给出了定义域 \( \{0,1\}^d \)、\( [n]^d \) 与 \( \mathbb{R}^d \) 上 \( k \)-单调布尔函数的近乎最优的基于样本的检验与学习界。<sup>[21](https://drops.dagstuhl.de/storage/00lipics/lipics-vol317-approx-random2024/LIPIcs.APPROX-RANDOM.2024.37/LIPIcs.APPROX-RANDOM.2024.37.pdf)</sup>

## References

1. [Monotone function, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Monotone_function)
2. [Monotone functions and continuity, Basic Analysis (Jirka)](https://www.jirka.org/ra/html/sec_monotonefunc.html)
3. [Lecture 14: Monotonic Functions, Harvard/UPenn Math 360](https://people.math.harvard.edu/~nate/teaching/UPenn/2009/spring/math_360/lectures/week_8/lecture_14/lecture_14.pdf)
4. [Real Analysis 6.3: Discontinuous Functions, MathCS.org](http://pirate.shu.edu/~wachsmut/ira/cont/disconti.html)
5. [Monotone Functions, UTSA Department of Mathematics](https://mathresearch.utsa.edu/wiki/index.php?title=Monotone_Functions)
6. [Lecture 19: Continuity of Monotone Functions and Vitali Covering Lemma, FIU MAA 6616](https://faculty.fiu.edu/~meziani/Lecture19.pdf)
7. [Introduction to Monotone, Bounded Variation, and Convex Functions, Raw.org](https://raw.org/book/analysis/monotone-bv-and-convex-functions/)
8. [Notes on Monotone Functions and Functions of Bounded Variation, Math 418, University of Alberta](https://sites.ualberta.ca/~rjia/Math418/Notes/chap2.pdf)
9. [4.5: Monotone Function, Mathematical Analysis (Zakon), LibreTexts](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_(Zakon)/04%3A_Function_Limits_and_Continuity/4.05%3A_Monotone_Function)
10. [5.2: Monotonic Functions, A Primer of Real Analysis (Sloughter), LibreTexts](https://math.libretexts.org/Bookshelves/Analysis/A_Primer_of_Real_Analysis_(Sloughter)/05%3A_Limits_and_Continuity/5.02%3A_Monotonic_Functions)
11. [Monotonic Function, Wolfram MathWorld](https://mathworld.wolfram.com/MonotonicFunction.html)
12. [The classification of preordered spaces in terms of monotones, Theory and Decision (2022)](https://link.springer.com/article/10.1007/s11238-022-09904-w)
13. [Lecture 20: Differentiability of Monotone Functions, FIU MAA 6616](https://faculty.fiu.edu/~meziani/Lecture20.pdf)
14. [Real Analysis: Proof of Lebesgue's Theorem, ETSU 5210](https://faculty.etsu.edu/gardnerr/5210/Beamer-Proofs/Proofs-6-2.pdf)
15. [Brenier Isotonic Regression, PMLR v300](https://raw.githubusercontent.com/mlresearch/v300/main/assets/bao26a/bao26a.pdf)
16. [Milgrom & Roberts, Monotone Comparative Statics (1994)](https://lonessmith.com/wp-content/uploads/2023/06/Milgrom-MonotoneComparativeStatics-1994.pdf)
17. [Monotone comparative statics: changes in preferences versus changes in the feasible set, Economic Theory (2011)](https://link.springer.com/article/10.1007/s00199-011-0677-8)
18. [Econometric test of monotone comparative statics, Advances in Econometrics (2013)](https://eml.berkeley.edu/~fechenique/published/mcs_advances.pdf)
19. [Generalized Monotonicity Analysis (working paper)](https://faculty.wcas.northwestern.edu/bhs675/081215-GMA%201.pdf)
20. [Testing k-Monotonicity: The Rise and Fall of Boolean Functions, Theory of Computing (2019)](https://theoryofcomputing.org/articles/v015a001/v015a001.pdf)
21. [Nearly Optimal Bounds for Sample-Based Testing and Learning of k-Monotone Functions, APPROX-RANDOM 2024](https://drops.dagstuhl.de/storage/00lipics/lipics-vol317-approx-random2024/LIPIcs.APPROX-RANDOM.2024.37/LIPIcs.APPROX-RANDOM.2024.37.pdf)
22. [Scalable Monotonic Neural Networks, ICLR 2024](https://proceedings.iclr.cc/paper_files/paper/2024/file/96e35b532b4932a86cce8c929ff3f960-Paper-Conference.pdf)
23. [Advancing Constrained Monotonic Neural Networks, PMLR v267 (2025)](https://proceedings.mlr.press/v267/sartor25a.html)
24. [Smooth Min-Max Monotonic Networks, PMLR v235 (2024)](https://raw.githubusercontent.com/mlresearch/v235/main/assets/igel24a/igel24a.pdf)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: 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/monotonic-function

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