nLab intermediate value theorem

The intermediate value theorem

The intermediate value theorem

Idea

The intermediate value theorem (IVT) is a fundamental principle of analysis which allows one to find a desired value by interpolation. It says that a continuous function $f \colon [0,1] \to \mathbb{R}$ from an interval to the real numbers (all with its Euclidean topology) takes all values in between $f(0)$ and $f(1)$.

The IVT in its general form was not used by Euclid. Although it is hard to doubt that Euclid believed that, for any given angle, there was an angle with one-third the measure, this angle cannot be constructed by the methods available to Euclid, so he would never refer to it (see at Euclidean geometry). In contrast, Archimedes made general arguments in which a quantity is approached from above and below, allowing him not only to trisect the angle but also to calculate π.

As normally stated, the IVT is not valid in constructive mathematics, although there are constructively valid versions. These versions either weaken the conclusion to an approximate zero, or to strengthen the hypothesis to require the functions satisfy additional properties or have other structures, such as locally nonconstancy and lifting to locators in functions in the given example below. Even interpreted classically, these are prima facie weaker results.

Statements and Proofs

Classical IVT

Theorem

(classical IVT, assuming excluded middle)

Let $f\colon [a,b] \to \mathbb{R}$ be a continuous function from a compact closed interval to the real line, and suppose that $f(a) \lt 0$ while $f(b) \gt 0$. Then there exists a point $c$ in the unit interval such that $f(c) = 0$.

Proof

Let $g:\mathbb{R} \to \mathbb{R}$ be defined as $g(x) \coloneqq (b - a) x + a$. Then there exists a function $h:[1,0] \to \mathbb{R}$ such that $f = g \circ h$.

By this example the interval $[0,1]$ is a connected topological space (this is where excluded middle is used).

By this prop. also its image $f([0,1]) \subset \mathbb{R}$ is connected. By this example that image is itself an interval. This implies the claim is true for $h$. Since linear functions preserve the properties of an interval being compact and closed, if the claim is true for $h$, it is true for $f$.

Constructive IVT with weakened conclusion

Theorem

(constructive IVT with weakened conclusion)

For real numbers $a$ and $b$, let $f\colon [a,b] \to \mathbb{R}$ be a pointwise continuous function from the closed interval $[a, b]$ to the real line, and supposed that $f(a) \lt 0$ and $f(b) \gt 0$. Then for every positive number $\epsilon$ there exists a point $c_\epsilon$ in the unit interval such that ${|f(c_\epsilon)|} \lt \epsilon$.

Proof of Theorem ⁠

This proof originally appeared in Frank 2020.

Let us inductively define the following sequences:

$a_0 \coloneqq a$
$b_0 \coloneqq b$
$c_n \coloneqq \frac{a_n + b_n}{2}$
$d_n \coloneqq \max\left(0, \min\left(\frac{1}{2} + \frac{f(c_\epsilon)}{\epsilon}, 1\right)\right)$
$a_{n + 1} = c_n - \frac{d_n (b - a)}{2^{n + 1}}$
$a_{n + 1} = b_n - \frac{d_n (b - a)}{2^{n + 1}}$

Then

$b_n - a_n = \frac{b - a}{2^n}$

and the sequence $c_n$ is a Cauchy sequence, because for natural numbers $m \lt n$,

$\vert c_m - c_n \vert \leq \frac{b - a}{2^m}$

Lemma: For every natural number $m$, either 1. there exists a $j \leq m$ such that $\vert f(c_j) \lt \epsilon$, or 2. $f(a_m) \lt 0$ and $f(b_m) \gt 0$. This could be proved by induction on natural numbers:

When $m = 0$, $f(a_0) = f(a) \lt 0$ and $f(b_0) = f(b) \gt 0$.

Now, assume that the above lemma is true for a particular $m$. If there exists a $j \leq m$ such that $\vert f(c_j) \lt \epsilon$, then there exists a $j \leq m + 1$ such that $\vert f(c_j) \lt \epsilon$. Otherwise, either $2 f(c_m) \lt -\epsilon$, $2 f(c_m) \gt \epsilon$, or $\vert f(c_m) \vert \gt \epsilon$.

• If $2 f(c_m) \lt -\epsilon$, then we define

$d_m \coloneqq 1$
$a_{m + 1} \coloneqq a_m$
$b_{m + 1} \coloneqq c_m$

so that $a_{m + 1} \lt 0$ and $b_{m + 1} \gt 0$.

• If $2 f(c_m) \gt \epsilon$, then we define

$d_m \coloneqq 1$
$a_{m + 1} \coloneqq c_m$
$b_{m + 1} \coloneqq b_m$

so that $a_{m + 1} \lt 0$ and $b_{m + 1} \gt 0$.

• If $\vert f(c_m) \vert \gt \epsilon$, then there exists a $j \leq m + 1$ such that $\vert f(c_j) \lt \epsilon$.

Thus, the above lemma is true.

Now, by pointwise continuity at $c$, let $\delta$ be such that $\vert x - y \vert \lt \delta$ implies $\vert f(x) - f(y)\vert \lt \epsilon$. Choose a natural number $m$ such that

$\vert c - c_m \vert \lt \frac{\delta}{2}$
$\frac{\vert b - a \vert}{2^{m + 1}} \lt \frac{\delta}{2}$

If there exists a $j \leq m$ such that $\vert f(c_j) \lt \epsilon$, then the intermediate value is true. Otherwise, $f(a_m) \lt 0$ and $f(b_m) \gt 0$, and so

$\vert c - c_m \vert \lt \vert c - c_m \vert + \vert c_m - a_m \vert \lt \delta$
$\vert c - c_m \vert \lt \vert c - c_m \vert + \vert c_m - b_m \vert \lt \delta$

and so that means that

$\vert f(c) - f(a_m) \vert \lt \epsilon$
$\vert f(c) - f(b_m) \vert \lt \epsilon$

which means that $\vert f(c) \vert \lt \epsilon$.

If excluded middle is true, then the classical IVT follows from the above theorem:

Proof of Theorem ⁠

By way of contradiction (applying the double negation law of classical logic), suppose that ${|f(c)|} \gt 0$ for every $c$ in $[0,1]$. Then the extra hypothesis of Theorem is certainly satisfied, so there exists some $c$ such that $f(c) = 0$ after all. (Constructively, this is enough to show that the classical theorem has no counterexample.)

Constructive IVT with strengthened hypothesis

Theorem

(constructive IVT with strengthened hypothesis, assuming the interval endpoints and the zero have locators and that the function is locally nonzero)

For real numbers $a$ and $b$ with locators, let $f\colon [a,b] \to \mathbb{R}$ be a pointwise continuous function from the closed interval $[a, b]$ to the real line that is a locally nonzero function and that lifts to locators, and suppose that $f(a) \leq 0$ and $f(b) \geq 0$. Then, there exists a point $c$ in $[a, b]$ with a locator such that $f(c) = 0$.

Proof of Theorem ⁠

This proof originally appeared in Booij 2018

Theorem

(constructive IVT with strengthened hypothesis, assuming weak countable choice and that the function is locally nonzero)

Assuming weak countable choice, for real numbers $a$ and $b$, let $f\colon [a,b] \to \mathbb{R}$ be a pointwise continuous function from the closed interval $[a, b]$ to the real line that is a locally nonzero function, and suppose that $f(a) \leq 0$ and $f(b) \geq 0$. Then, there exists a point $c$ in $[a, b]$ with a locator such that $f(c) = 0$.

Theorem

(constructive IVT with strengthened hypothesis, assuming weak countable choice and that the function is uniformly continuous)

Let $f\colon [0,1] \to \mathbb{R}$ be a uniformly continuous function from the unit interval to the real line, and suppose that $f(0) \lt 0$ while $f(1) \gt 0$. Suppose further that, for any points $a,b$ in the unit interval with $a \lt b$, there exists a point $c_{a,b}$ such that $a \lt c_{a,b} \lt b$ and ${|f(c_{a,b})|} \gt 0$. (In other words, the non-zero set $\{ c : {|f(c)|} \gt 0 \}$ is dense.) Then there exists a point $c$ in the unit interval such that $f(c) = 0$.

References

• Peter Schuster?; Unique existence, approximate solutions,

and countable choice; doi.

• Matt F.; answer to Approximate intermediate value theorem in pure constructive mathematics; MathOverflow; web.

• Matthew Frank?, Interpolating Between Choices for the Approximate Intermediate Value Theorem (arxiv:1701.02227), Logical Methods in Computer Science, July 14, 2020, Volume 16, Issue 3 - doi:10.23638/LMCS-16(3:5)2020

• Paul Taylor; The intermediate value theorem; A lambda calculus for real analysis, 14; web.

• Auke Booij, Extensional constructive real analysis via locators, (abs:1805.06781)

Last revised on June 2, 2022 at 12:46:16. See the history of this page for a list of all contributions to it.