# 介值定理

介值定理（intermediate value theorem，IVT）指出，在闭区间 \([a,b]\) 上连续的实值函数会取到 \(f(a)\) 与 \(f(b)\) 之间的每一个值：对于严格介于 \(f(a)\) 与 \(f(b)\) 之间的任意 \(y\)，至少存在一个 \(c \in (a,b)\) 使得 \(f(c) = y\)<sup>[1](https://unseel.com/mathematics/intermediate-value-theorem)</sup>。唯一的假设是连续性；不要求可微性、单调性或光滑性，而结论仅仅是存在性，对唯一性或如何找到 \(c\) 只字未提<sup>[1](https://unseel.com/mathematics/intermediate-value-theorem)</sup>。

| 关键事实 | 细节 |
|---|---|
| 陈述 | 若 \(f : [a,b] \to \mathbb{R}\) 连续，且 \(y\) 严格介于 \(f(a)\) 与 \(f(b)\) 之间，则存在某个 \(c \in (a,b)\) 满足 \(f(c) = y\)<sup>[1](https://unseel.com/mathematics/intermediate-value-theorem)</sup> |
| 求根形式 | 若 \(f(a)\) 与 \(f(b)\) 非零且异号，则存在某个 \(p \in (a,b)\) 满足 \(f(p) = 0\)<sup>[2](https://www.geneseo.edu/~aguilar/public/assets/courses/345/numerical-analysis.pdf)</sup> |
| 首个证明 | 伯纳德·波尔扎诺（Bernard Bolzano），1817 年，载于《纯粹分析的证明》；奥古斯丁-路易·柯西（Augustin-Louis Cauchy）于 1821 年独立给出证明<sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies/Bolzano/)</sup><sup> • </sup><sup>[4](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)</sup> |
| 依赖性 | 该定理依赖于实数的完备性；在有理数上它不成立，例如 \(f(x) = x^2 - 2\) 在 \(x=1\) 处取 \(-1\)，在 \(x=2\) 处取 \(+2\)，却从不取 \(0\)，因为 \(\sqrt{2}\) 是无理数<sup>[1](https://unseel.com/mathematics/intermediate-value-theorem)</sup> |
| 拓扑形式 | 连通集的连续像仍是连通集，因此 \(f([a,b])\) 是一个包含 \(f(a)\) 与 \(f(b)\) 之间一切值的区间<sup>[5](https://mathworld.wolfram.com/IntermediateValueTheorem.html)</sup> |
| 算法应用 | 二分法反复运用该定理；经过 \(n\) 步后误差满足 \(\lvert p - p_n \rvert < (b-a)/2^n\)<sup>[2](https://www.geneseo.edu/~aguilar/public/assets/courses/345/numerical-analysis.pdf)</sup> |
| 构造性地位 | 经典陈述蕴含弱受限全知原则，按原样无法在构造性意义下证明，不过较弱的构造性版本成立<sup>[6](https://plato.stanford.edu/entries/mathematics-constructive/)</sup> |

## 陈述与假设

设 \(f\) 在闭有界区间 \([a,b]\) 上连续。若 \(z\) 是介于 \(f(a)\) 与 \(f(b)\) 之间的任意实数，则存在 \([a,b]\) 中的数 \(c\) 满足 \(f(c) = z\)<sup>[7](https://math.libretexts.org/Bookshelves/Calculus/Calculus_%28OpenStax%29/02%3A_Limits/2.04%3A_Continuity)</sup>。在闭区间上连续，意味着在每个内点连续，并且在端点处单侧连续<sup>[7](https://math.libretexts.org/Bookshelves/Calculus/Calculus_%28OpenStax%29/02%3A_Limits/2.04%3A_Continuity)</sup>。

这些假设在两个方向上都很要紧。一个并非在整个区间上连续的函数可以规避结论：对于 \(f(x) = 1/x\)，有 \(f(-1) = -1 < 0\) 与 \(f(1) = 1 > 0\)，然而 \(f\) 在 \([-1,1]\) 上没有零点，因为它在该区间上不连续<sup>[7](https://math.libretexts.org/Bookshelves/Calculus/Calculus_%28OpenStax%29/02%3A_Limits/2.04%3A_Continuity)</sup>。反过来，当端点值同号时，该定理不提供任何信息：\(f(x) = (x-1)^2\) 满足 \(f(0) = 1\) 与 \(f(2) = 1\)，却仍在 \(x = 1\) 处有零点，所以同号并不能排除根的存在<sup>[7](https://math.libretexts.org/Bookshelves/Calculus/Calculus_%28OpenStax%29/02%3A_Limits/2.04%3A_Continuity)</sup>。

## 为什么完备性不可或缺

该定理之所以显得理所当然，是因为实数本就是为使之成立而构造的。完备性公理——每个有界实数集都有最小上界——正是阻止一条连续曲线跳过某条水平线的那个性质<sup>[1](https://unseel.com/mathematics/intermediate-value-theorem)</sup>。

在完备性不成立的有理数上，该定理是假的。为了说明该定理在缺乏完备性的有理数上如何失效，考虑 \(f(x) = x^2 - 2\)：这个连续函数在 \(x = 1\) 处取 \(-1\)，在 \(x = 2\) 处取 \(2\)，然而它在任何有理数输入处都不等于 \(0\)，因为 \(\sqrt{2}\) 是无理数<sup>[1](https://unseel.com/mathematics/intermediate-value-theorem)</sup>。这个例子表明，该定理既是在陈述函数，也同样是在陈述数系。

## 证明思路

标准证明运用二分法与嵌套区间性质。假设 \(f(a) \le v \le f(b)\)。令 \(x_1 = a\)、\(y_1 = b\)，并令 \(m_1\) 为中点。若 \(f(m_1) \le v\)，则重新记 \(x_2 = m_1\)、\(y_2 = y_1\)；否则重新记 \(x_2 = x_1\)、\(y_2 = m_1\)。如此反复，得到两个序列，它们有共同的极限点 \(c\) 满足 \(x_n \le c \le y_n\)，区间长度每一步减半，且对每个 \(n\) 都有 \(f(x_n) \le v \le f(y_n)\)。于是 \(f\) 在 \(c\) 处的连续性迫使 \(f(c) = v\)<sup>[8](https://math.libretexts.org/Bookshelves/Analysis/Real_Analysis_%28Boman_and_Rogers%29/07%3A_Intermediate_and_Extreme_Values/7.02%3A_Proof_of_the_Intermediate_Value_Theorem)</sup>。

拓扑证明更短：\(f([a,b])\) 是连通的，因为连通集在连续函数下的像是连通的，而由于 \(c\) 介于 \(f(a)\) 与 \(f(b)\) 之间，它必属于这个连通集<sup>[5](https://mathworld.wolfram.com/IntermediateValueTheorem.html)</sup>。在 Lean 数学库所采用的一般形式中，若 \(f\) 是定义在连通集上的连续函数，且在该集上既取到 \(\le a\) 的值也取到 \(\ge a\) 的值，则它在该集的某一点处等于 \(a\)<sup>[9](https://leanprover-community.github.io/mathlib_docs/topology/algebra/order/intermediate_value.html)</sup><sup> • </sup><sup>[14](https://people.math.sc.edu/sharpley/math555/Lectures/MetricSpaceConnectedness.html)</sup>。

## 历史

该定理（在 \(c = 0\) 的特殊情形下，即波尔扎诺定理）由伯纳德·波尔扎诺（Bernard Bolzano，1781–1848）于 1817 年首次证明<sup>[5](https://mathworld.wolfram.com/IntermediateValueTheorem.html)</sup>。他的论文《关于在任意两个使结果异号的值之间至少存在方程的一个实根这一定理的纯粹分析证明》力求为介值定理给出一个纯粹算术的证明，清除几何推理，并在其中定义了如今所谓的柯西序列；这一概念四年后出现在柯西的工作中，而柯西不太可能读过波尔扎诺的著作<sup>[3](https://mathshistory.st-andrews.ac.uk/Biographies/Bolzano/)</sup>。

波尔扎诺并未完全成功地建立该定理。他关于柯西序列收敛到一个“常数量”的证明并不令人满意，因此介值定理的完整证明尚遥不可及；不过现代史学家仍认为，1817 年的文本对这类证明所需条件有着惊人先进的理解<sup>[10](https://link.springer.com/article/10.1007/s44007-025-00182-w)</sup>。柯西独立证明了该定理，并在其 1821 年的《分析教程》中以更一般的形式陈述：若 \(f(x)\) 在 \(x = x_0\) 与 \(x = X\) 之间连续，且 \(b\) 是介于 \(f(x_0)\) 与 \(f(X)\) 之间的量，则方程 \(f(x) = b\) 总能得到满足<sup>[11](https://fr.wikisource.org/wiki/Cours_d%E2%80%99analyse_de_l%E2%80%99%C3%A9cole_royale_polytechnique/Texte_entier)</sup>。波尔扎诺和柯西都没有辨明其处理所依据的关于实数的全部假设；这一澄清随着后来分析算术化而到来<sup>[4](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)</sup>。波尔扎诺的技巧在其时代被认为格外严格，但按现代标准则被视为不严格<sup>[5](https://mathworld.wolfram.com/IntermediateValueTheorem.html)</sup>。

## 应用

**求根。** 该定理保证端点值异号的连续函数在区间内有根，而二分法将此变为算法：反复将区间减半，保留符号变化持续存在的那一半。若 \((p_n)\) 是中点序列，则 \((p_n)\) 收敛到一个零点 \(p\)，且 \(\lvert p - p_n \rvert < (b-a)/2^n\)，因此每一步都将误差界减半<sup>[2](https://www.geneseo.edu/~aguilar/public/assets/courses/345/numerical-analysis.pdf)</sup>。在不存在显式公式之处，该方法至关重要；对于五次或更高次的多项式，一般不存在用代数运算与根式以系数表示根的公式<sup>[2](https://www.geneseo.edu/~aguilar/public/assets/courses/345/numerical-analysis.pdf)</sup>。

**存在性结果。** 一个典型的课堂应用是证明 \(f(x) = x - \cos x\) 有零点：\(f(0) = -1 < 0\) 且 \(f(\pi/2) = \pi/2 > 0\)，所以零点位于 \([0, \pi/2]\) 中<sup>[7](https://math.libretexts.org/Bookshelves/Calculus/Calculus_%28OpenStax%29/02%3A_Limits/2.04%3A_Continuity)</sup>。同样的论证表明每个奇次多项式都有实根<sup>[8](https://math.libretexts.org/Bookshelves/Analysis/Real_Analysis_%28Boman_and_Rogers%29/07%3A_Intermediate_and_Extreme_Values/7.02%3A_Proof_of_the_Intermediate_Value_Theorem)</sup>。微积分的许多定理最终都依赖于介值定理<sup>[12](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Transition_to_Higher_Mathematics_%28Dumas_and_McCarthy%29/08%3A_New_Page/8.08%3A_New_Page)</sup>。

**相关性质。** 区间上的连续性蕴含达布性质（介值性质），但反之不成立；然而对于单调函数，区间上的达布性质确实蕴含连续性<sup>[13](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_%28Zakon%29/04%3A_Function_Limits_and_Continuity/4.09%3A_The_Intermediate_Value_Property)</sup>。

## 构造性地位

在构造性数学中，存在性断言必须给出找到该对象的方法，按原样陈述的经典介值定理无法证明：它蕴含弱受限全知原则，一个本质上非构造性的原则<sup>[6](https://plato.stanford.edu/entries/mathematics-constructive/)</sup>。一个弱形式可以通过区间减半论证在构造性意义下证明，而一个更强的构造性版本对局部非零的函数成立，所谓局部非零，指在每一点附近都有 \(f\) 的某个邻近值不等于零；这一版本足以应付大多数实际用途<sup>[6](https://plato.stanford.edu/entries/mathematics-constructive/)</sup>。这种情况是构造性分析的典型情形：一个经典定理分裂为若干构造性版本，其中部分或全部在经典逻辑下彼此等价<sup>[6](https://plato.stanford.edu/entries/mathematics-constructive/)</sup>。

## References

1. [Intermediate Value Theorem — Statement, Proof & Bisection, Unseel](https://unseel.com/mathematics/intermediate-value-theorem)
2. [Numerical Analysis I (Aguilar, SUNY Geneseo), Section 2.1](https://www.geneseo.edu/~aguilar/public/assets/courses/345/numerical-analysis.pdf)
3. [Bernard Bolzano (1781–1848), MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/Biographies/Bolzano/)
4. [Arithmetization of analysis, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Arithmetization_of_analysis)
5. [Intermediate Value Theorem, Wolfram MathWorld](https://mathworld.wolfram.com/IntermediateValueTheorem.html)
6. [Constructive Mathematics, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/mathematics-constructive/)
7. [2.4: Continuity, OpenStax Calculus via LibreTexts](https://math.libretexts.org/Bookshelves/Calculus/Calculus_%28OpenStax%29/02%3A_Limits/2.04%3A_Continuity)
8. [7.2: Proof of the Intermediate Value Theorem, Real Analysis (Boman & Rogers) via LibreTexts](https://math.libretexts.org/Bookshelves/Analysis/Real_Analysis_%28Boman_and_Rogers%29/07%3A_Intermediate_and_Extreme_Values/7.02%3A_Proof_of_the_Intermediate_Value_Theorem)
9. [topology.algebra.order.intermediate_value, mathlib3 documentation](https://leanprover-community.github.io/mathlib_docs/topology/algebra/order/intermediate_value.html)
10. [Bolzano and the Foundation of the Real Continuum, La Matematica (2026)](https://link.springer.com/article/10.1007/s44007-025-00182-w)
11. [Cours d'analyse de l'école royale polytechnique (Cauchy, 1821), Wikisource](https://fr.wikisource.org/wiki/Cours_d%E2%80%99analyse_de_l%E2%80%99%C3%A9cole_royale_polytechnique/Texte_entier)
12. [8.8: Real Functions, Transition to Higher Mathematics via LibreTexts](https://math.libretexts.org/Bookshelves/Mathematical_Logic_and_Proof/Transition_to_Higher_Mathematics_%28Dumas_and_McCarthy%29/08%3A_New_Page/8.08%3A_New_Page)
13. [4.9: The Intermediate Value Property, Mathematical Analysis (Zakon) via LibreTexts](https://math.libretexts.org/Bookshelves/Analysis/Mathematical_Analysis_%28Zakon%29/04%3A_Function_Limits_and_Continuity/4.09%3A_The_Intermediate_Value_Property)
14. [Connectedness in Metric Space](https://people.math.sc.edu/sharpley/math555/Lectures/MetricSpaceConnectedness.html)

---
*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/intermediate-value-theorem

English original: https://www.edgepedia.org/intermediate-value-theorem
