# 连续函数

连续函数是空间之间的函数——最常见的是实变量的实值函数——当输入变化足够小的量时，其输出变化任意小的量；等价地，它在每一点的值等于当自变量趋近该点时的极限值。连续性是分析与拓扑学的基本正则性条件，它保证了介值定理、闭区间上最大值与最小值的存在性，以及大多数数值求根方法。

| 关键事实 | 细节 |
|---|---|
| 逐点定义（度量形式） | 若对每个 \( \epsilon > 0 \) 都存在 \( \delta > 0 \)，使得 \( |x - x_0| < \delta \) 蕴含 \( |f(x) - f(x_0)| < \epsilon \)，则 \( f \) 在 \( x_0 \) 处连续<sup>[1](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/KLINE_MathematicalThoughtFromAncientToModernTimes3.pdf)</sup> |
| 拓扑定义 | 若对每个开集 \( V \subseteq Y \)，\( f^{-1}(V) \) 在 \( X \) 中开，则 \( f: X \to Y \) 连续；在一点处连续意味着 \( f(x) \) 的每个邻域都包含 \( x \) 的某个邻域的像<sup>[2](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)</sup> |
| 代数稳定性 | 若 \( f \) 与 \( g \) 在 \( x_0 \) 处连续，则 \( f+g \)、\( f-g \)、\( fg \) 以及当 \( g(x_0) \neq 0 \) 时的 \( f/g \) 也在该处连续；若 \( g \) 在 \( x_0 \) 处连续且 \( f \) 在 \( g(x_0) \) 处连续，则复合 \( f \circ g \) 在 \( x_0 \) 处连续<sup>[3](https://mathworld.wolfram.com/ContinuousFunction.html)</sup><sup> • </sup><sup>[21](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/continuity/)</sup> |
| 紧集上的一致连续性 | 闭有界区间上的连续函数在其上一致连续（海涅–康托尔定理）<sup>[4](https://encyclopediaofmath.org/wiki/Cantor_theorem)</sup> |
| 介值定理 | 若 \( f \) 在 \( [a,b] \) 上连续且 \( N \) 介于 \( f(a) \) 与 \( f(b) \) 之间，则存在某个 \( c \in (a,b) \) 使 \( f(c) = N \)<sup>[5](https://sites.ualberta.ca/~vbouchar/MATH144/section-functions-IVT.html)</sup> |
| 历史渊源 | 波尔查诺（1817）与柯西（1821）给出了最早实质上现代的定义；魏尔斯特拉斯提供了完全算术化的 epsilon-delta 表述<sup>[6](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)</sup><sup> • </sup><sup>[7](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)</sup> |
| 连续但粗糙 | 魏尔斯特拉斯于1872年发表了第一个处处连续但处处不可微的函数的例子<sup>[8](https://maa.org/wp-content/uploads/2025/02/Pi-Mu-Epsilon-Program-2014.pdf)</sup> |

## 定义

**在一点处的连续性。** 对于实函数 \( f \)，在 \( x_0 \) 处必须满足三个条件：\( f(x_0) \) 有定义，\( \lim_{x \to x_0} f(x) \) 存在，且该极限等于 \( f(x_0) \)<sup>[3](https://mathworld.wolfram.com/ContinuousFunction.html)</sup>。epsilon-delta 表述使这一点精确化：给定任意 \( \epsilon > 0 \)，必须存在 \( \delta > 0 \)，使得与 \( x_0 \) 距离小于 \( \delta \) 的每个 \( x \) 都满足 \( |f(x) - f(x_0)| < \epsilon \)<sup>[1](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/KLINE_MathematicalThoughtFromAncientToModernTimes3.pdf)</sup>。用话说，接近 \( x_0 \) 的输入映射到接近 \( f(x_0) \) 的输出，而无论对输出的接近程度要求多高，都能找到满足要求的输入接近程度。

**在集合上的连续性。** 若函数在集合的每一点处连续，则称它在该集合上连续<sup>[9](https://encyclopediaofmath.org/wiki/Continuous_function)</sup>。用极限的语言说，在 \( a \) 处连续恰恰意味着 \( \lim_{x \to a} f(x) = f(a) \)<sup>[10](https://ms.uky.edu/~ken/ma570/lectures/lecture2/compact.web)</sup>。

**拓扑定义。** 对于拓扑空间之间的函数——那里可能没有距离可用——连续性用开集来定义：若对 \( Y \) 的每个开子集 \( V \)，\( f^{-1}(V) \) 在 \( X \) 中开，则 \( f: X \to Y \) 连续<sup>[2](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)</sup>。在点 \( x \) 处连续意味着：对 \( f(x) \) 的每个开邻域 \( V \)，都存在 \( x \) 的开邻域 \( U \) 使 \( f(U) \subseteq V \)；函数连续当且仅当它在每一点处连续<sup>[2](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)</sup>。对于度量空间，此定义与 epsilon-delta 定义等价：\( f \) 连续当且仅当对每个 \( x \) 和 \( \epsilon > 0 \) 都存在 \( \delta > 0 \) 使 \( f(B(x,\delta)) \subseteq B(f(x),\epsilon) \)<sup>[2](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)</sup>。用闭集也有同样的刻画，因为 \( f \) 连续当且仅当对每个闭集 \( B \subseteq Y \)，\( f^{-1}(B) \) 是闭集<sup>[2](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)</sup>。

## 基本性质

连续性在函数的标准运算下保持。若 \( f \) 与 \( g \) 在 \( x_0 \) 处连续，则 \( f+g \)、\( f-g \) 与 \( fg \) 在该处连续；当 \( g(x_0) \neq 0 \) 时 \( f/g \) 连续；只要 \( f \) 在 \( g(x_0) \) 处连续，复合 \( f \circ g \) 就在 \( x_0 \) 处连续<sup>[3](https://mathworld.wolfram.com/ContinuousFunction.html)</sup>。拓扑空间之间连续映射的复合一般仍连续；连续函数限制到其定义域的任意子集上，对子空间拓扑仍连续<sup>[2](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)</sup>。

连续性在一致极限下也得以保持。若一列函数在某个集合上一致收敛，且该序列中每个函数都在某点处连续，则极限函数在该点处连续<sup>[9](https://encyclopediaofmath.org/wiki/Continuous_function)</sup>。仅逐点收敛不能保证这一点，这正是实践中采用一致收敛作为假设的原因。

可微性严格强于连续性：若 \( f \) 在 \( x_0 \) 处可微，则它在该处连续，但反之不成立<sup>[3](https://mathworld.wolfram.com/ContinuousFunction.html)</sup>。1872年，魏尔斯特拉斯通过发表第一个在整个实直线上连续却处处不可微的函数的例子，使这种失败变得戏剧化；该函数形如 \( f(x) = \sum_{n=0}^{\infty} a_n \cos(b^n x) \)，其中 \( a_n \) 与 \( b \) 取适当的值<sup>[8](https://maa.org/wp-content/uploads/2025/02/Pi-Mu-Epsilon-Program-2014.pdf)</sup>。波尔查诺早在约1830年就构造过这样的例子，尽管它很久以后才发表<sup>[8](https://maa.org/wp-content/uploads/2025/02/Pi-Mu-Epsilon-Program-2014.pdf)</sup>。

## 一致连续性与紧性

**一致连续性**通过消除对位置的依赖而加强了逐点连续性：若对每个 \( \epsilon > 0 \) 都存在 \( \delta > 0 \)，使得对所有满足 \( |w - x| < \delta \) 的 \( w, x \in I \)，都有 \( |f(w) - f(x)| < \epsilon \)，则 \( f: I \to \mathbb{R} \) 一致连续<sup>[11](https://www.lancaster.ac.uk/~prendivs/accessible/math114/MATH114notescomplete.tex/S1.SS1.html)</sup>。每个一致连续函数都连续，但反之不成立；\( \mathbb{R} \) 上的常函数 \( f(x) = 5 \) 一致连续，尽管 \( \mathbb{R} \) 不紧，这表明一致连续性并不迫使定义域紧<sup>[11](https://www.lancaster.ac.uk/~prendivs/accessible/math114/MATH114notescomplete.tex/S1.SS1.html)</sup>。

决定性的定理则朝相反方向走。实直线的闭有界区间上的连续函数在其上一致连续；这就是海涅–康托尔定理，它可推广为：从紧空间到一致空间的连续映射都是一致连续的<sup>[4](https://encyclopediaofmath.org/wiki/Cantor_theorem)</sup>。海涅于1872年对闭有界实区间证明了该定理<sup>[12](https://plato.stanford.edu/archives/spr2026/entries/continuity/notes.html)</sup>。逐点连续与一致连续之间的区别常与魏尔斯特拉斯周围的数学家联系在一起，但波尔查诺在1830年代关于实函数理论的工作中已经把握了这一点，并陈述了两个关于一致连续性的关键定理<sup>[13](https://www.sciencedirect.com/science/article/pii/S0315086004000849)</sup>。

紧性还给出有界性：魏尔斯特拉斯第一定理指出，闭区间上的连续函数在该区间上有界<sup>[9](https://encyclopediaofmath.org/wiki/Continuous_function)</sup>。

## 介值定理及其应用

介值定理（IVT）指出，若 \( f \) 在 \( [a,b] \) 上连续，且 \( N \) 是介于 \( f(a) \) 与 \( f(b) \) 之间的任意数（\( f(a) \neq f(b) \)），则存在某个 \( c \in (a,b) \) 使 \( f(c) = N \)<sup>[5](https://sites.ualberta.ca/~vbouchar/MATH144/section-functions-IVT.html)</sup>。点 \( c \) 不必唯一；当 \( f \) 不连续时结论可能失效<sup>[5](https://sites.ualberta.ca/~vbouchar/MATH144/section-functions-IVT.html)</sup>。例如，该定理保证对每个 \( a > 0 \) 都存在 \( x > 0 \) 使 \( x^2 = a \)，只需对 \( f(x) = x^2 - a \) 应用该定理<sup>[14](https://people.math.wisc.edu/~angenent/521.2017s/ContinuousFunctions.html)</sup>。

介值定理是求根二分法的引擎。若 \( f \) 在 \( [a,b] \) 上连续且 \( f(a) \) 与 \( f(b) \) 异号，则它们之间存在一个根；在中点处计算 \( f \)，保留符号变化持续的那一半区间，然后重复，就得到根 \( p \) 的近似值 \( p_n \)，并带有保证的误差界 \( |p_n - p| \le (b-a)/2^n \)<sup>[15](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_2.html)</sup>。达到给定容差所需的迭代次数只取决于起始区间的宽度：取 \( \mathrm{tol} = 10^{-8} \) 且 \( b - a = 1 \)，解 \( 2^n = 10^8 \) 得 \( n \approx 26.6 \)，故27次迭代足够<sup>[15](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_2.html)</sup>。

## 历史

十九世纪以前，莱布尼茨与欧拉使用一个直观上很强的概念，其中连续几乎意味着解析，即由解析表达式生成<sup>[16](https://www.matem.unam.mx/~hector/Remmert-TheoryCpxFtns.pdf)</sup>。伯纳德·波尔查诺（Bernard Bolzano，1781–1848）注意到早期作者通过时间与运动等非数学概念来定义连续性，遂于1817年给出他所谓的正确 定义：若只要 \( \omega \) 能取到任意小，差 \( f(x + \omega) - f(x) \) 就能变得小于任何给定量，则 \( f(x) \) 按连续性律变化<sup>[6](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)</sup>。他引入这一定义是为了清楚地陈述介值定理：在使结果异号的未知数的两个值之间，至少存在一个实根<sup>[6](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)</sup>。

奥古斯丁-路易·柯西在1821年《分析教程》中给出的连续性定义，用现代记号说相当于条件 \( \lim_{x \to a} f(x) = f(a) \)；1821年，他为一点处连续性的定义补上了使之精确的最后一笔<sup>[17](https://plato.stanford.edu/archives/sum2022/entries/continuity/index.html)</sup><sup> • </sup><sup>[7](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)</sup>。这两个定义非常相似，波尔查诺与柯西之间的优先权与先例问题仍是历史研究的课题<sup>[18](https://arxiv.org/abs/2005.13259)</sup>。

为消除波尔查诺与柯西所用“变得并保持小于任何给定量”这一说法中的模糊性，卡尔·魏尔斯特拉斯给出了如今接受的定义：若给定任意正数 \( \epsilon \)，都存在 \( \delta \) 使得 \( |x - x_0| < \delta \) 蕴含 \( |f(x) - f(x_0)| < \epsilon \)，则 \( f(x) \) 在 \( x = x_0 \) 处连续<sup>[1](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/KLINE_MathematicalThoughtFromAncientToModernTimes3.pdf)</sup>。波尔查诺1817年的证明还包含如今所谓的波尔查诺–魏尔斯特拉斯定理；他身后编辑的《函数论》包含已知第一个连续但处处不可微函数的例子，这一事实由卡雷尔·里赫利克（Karel Rychlík）的研究所确立；在此之前，人们长期将发现该例子的功劳归于魏尔斯特拉斯<sup>[19](https://plato.stanford.edu/archives/sum2018/entries/bolzano/)</sup>。波尔查诺关于现代连续性条件的手稿直到他去世八十年后才发表，因此对魏尔斯特拉斯及其他完成分析算术化的人没有影响<sup>[7](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)</sup>。

将连续性推广到多变量函数，比推广单变量概念更为困难。柯西与波尔查诺的早期尝试遇到困难，这些困难直到约1870年代才由卡尔·魏尔斯特拉斯、约翰内斯·托梅、赫尔曼·施瓦茨、爱德华·海涅、加斯东·达布等人的工作完全解决<sup>[20](https://www.tandfonline.com/doi/full/10.1080/26375451.2026.2631353)</sup>。

## References

1. [Mathematical Thought from Ancient to Modern Times, Vol. 3, Morris Kline](https://www.hlevkin.com/hlevkin/90MathPhysBioBooks/mathHistory/KLINE_MathematicalThoughtFromAncientToModernTimes3.pdf)
2. [Romyar Sharifi, Point-Set Topology, Chapter 2: Continuous functions](https://www.math.ucla.edu/~sharifi/notes/topology-ch02.html)
3. [Continuous Function, Wolfram MathWorld](https://mathworld.wolfram.com/ContinuousFunction.html)
4. [Cantor theorem, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Cantor_theorem)
5. [The Intermediate Value Theorem, University of Alberta MATH 144](https://sites.ualberta.ca/~vbouchar/MATH144/section-functions-IVT.html)
6. [A History of Mathematics, Victor J. Katz](https://www.math.mcgill.ca/darmon/courses/history/katz.pdf)
7. [Arithmetization of analysis, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)
8. [Pi Mu Epsilon Program (2014), Mathematical Association of America](https://maa.org/wp-content/uploads/2025/02/Pi-Mu-Epsilon-Program-2014.pdf)
9. [Continuous function, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Continuous_function)
10. [Compact Sets and Continuous Functions, University of Kentucky MA570](https://ms.uky.edu/~ken/ma570/lectures/lecture2/compact.web)
11. [MATH114 Integration and Differentiation, Lancaster University](https://www.lancaster.ac.uk/~prendivs/accessible/math114/MATH114notescomplete.tex/S1.SS1.html)
12. [Continuity and Infinitesimals, Notes, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/archives/spr2026/entries/continuity/notes.html)
13. [Bolzano and uniform continuity, Historia Mathematica (ScienceDirect)](https://www.sciencedirect.com/science/article/pii/S0315086004000849)
14. [521 Continuity, University of Wisconsin–Madison](https://people.math.wisc.edu/~angenent/521.2017s/ContinuousFunctions.html)
15. [Chapter 2, Solutions of Equations in One Variable, UC Berkeley Math 128A lecture notes](https://persson.berkeley.edu/math128a/lecture_notes/math128a_lecture_notes_chapter_2.html)
16. [Theory of Complex Functions, Reinhold Remmert](https://www.matem.unam.mx/~hector/Remmert-TheoryCpxFtns.pdf)
17. [Continuity and Infinitesimals, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/archives/sum2022/entries/continuity/index.html)
18. [Continuity between Cauchy and Bolzano: Issues of antecedents and priority, arXiv](https://arxiv.org/abs/2005.13259)
19. [Bernard Bolzano, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/archives/sum2018/entries/bolzano/)
20. [The continuity of functions of several variables as an extension of the continuity of functions of one variable: Cauchy and Bolzano](https://www.tandfonline.com/doi/full/10.1080/26375451.2026.2631353)
21. [Continuity, Calculus Tutorials](https://math.hmc.edu/calculus/hmc-mathematics-calculus-online-tutorials/single-variable-calculus/continuity/)

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

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