Skip to content

Intermediate Value Theorem on Connected Sets

Theorem

Let f ⁣:Rn→Rf\colon \mathbb{R}^n \to \mathbb{R} be a continuous real-valued function. Let EE be any connected subset of Rn,\mathbb{R}^n\text{,} and let a\boldsymbol{a} and b\boldsymbol{b} be any two points in E.E\text{.} If yy is a real number between f(a)f(\boldsymbol{a}) and f(b),f(\boldsymbol{b})\text{,} then there exists a c∈E\boldsymbol{c} \in E such that f(c)=y.f(\boldsymbol{c}) = y\text{.}


Interpretation

A continuous function on a connected set cannot skip values: if it takes two different numbers, it must also take every number in between. The connected set EE takes over the role of the interval [a,b][a,b] in the one-variable intermediate value theorem, and connectedness replaces "no gaps".

A connected region E containing a curve from a point a to a point b through c; f maps a and b to two values on a vertical number line and c to a value y between them.

The points a\boldsymbol{a} and b\boldsymbol{b} of the connected region EE are sent to f(a)f(\boldsymbol{a}) and f(b)f(\boldsymbol{b}) on the real line. For the level yy between these values, the theorem gives a point c∈E\boldsymbol{c}\in E with f(c)=yf(\boldsymbol{c})=y. The curve from a\boldsymbol{a} to b\boldsymbol{b} through c\boldsymbol{c} shows the idea of the proof for path-connected sets in the Key Results: along a path, ff becomes a continuous function on [0,1][0,1].

In general, the proof uses that the image f(E)f(E) of a connected set is connected, and the connected subsets of R\mathbb{R} are the intervals. An interval that contains f(a)f(\boldsymbol{a}) and f(b)f(\boldsymbol{b}) contains every number between them.

Both hypotheses are needed. On the disconnected set E={(x,y)∈R2 ⁣:∣x∣≥1}E=\{(x,y)\in\mathbb{R}^2\colon |x|\ge1\}, the continuous function f(x,y)=xf(x,y)=x takes the values −1-1 and 11 but never 00. On the connected plane, the discontinuous function that equals 11 for x≥0x\ge0 and −1-1 for x<0x<0 also skips 00.

A typical use is a sign change: if a continuous ff takes a negative and a positive value on a connected set EE, then the level set {x∈E ⁣:f(x)=0}\{\boldsymbol{x}\in E\colon f(\boldsymbol{x})=0\} is nonempty. Similarly, a continuous function on a connected set that takes only integer values is constant.


Key Results


Examples

  • Let EE be the closed unit disk in R2\mathbb{R}^2 and f(x,y)=x2+y2f(x,y)=x^2+y^2​. The image is [0,1][0,1] which is also a connected set.
  • Let EE be the unit sphere in R3\mathbb{R}^3 and f(x,y,z)=zf(x,y,z)=z (height). The image is [−1,1][-1,1].

Prerequisites

Sources

Symbols: element of, real numbers

Last updated: 20 October 2026 03:02