Maths WorkshopMaths problems with full solutions
Exercise 25Calculus › Single-variable calculus › Continuity › Intermediate Value TheoremHigh schoolAdded 2 Nov 2026

A fixed point for every continuous self-map of [0,1]

#fixed points#intermediate value theorem

Statement

Let f:[0,1]→[0,1]f:[0,1]\to[0,1] be continuous. Prove that there exists c∈[0,1]c\in[0,1] with f(c)=cf(c)=c.

Hint

Apply the intermediate value theorem to g(x)=f(x)−xg(x)=f(x)-x.

Show solutionHide solution

Solution

Idea. A fixed point is a point where the graph of ff meets the diagonal y=xy=x. The graph starts above (or on) the diagonal and ends below (or on) it, so it must cross.

Proof. Let g(x)=f(x)−xg(x)=f(x)-x, which is continuous on [0,1][0,1]. Since ff takes values in [0,1][0,1]:
- g(0)=f(0)≥0g(0)=f(0)\ge0,
- g(1)=f(1)−1≤0g(1)=f(1)-1\le0.

If g(0)=0g(0)=0 or g(1)=0g(1)=0, we are done. Otherwise g(0)>0>g(1)g(0)>0>g(1) and the intermediate value theorem gives c∈(0,1)c\in(0,1) with g(c)=0g(c)=0, that is f(c)=cf(c)=c.

Remark. Both hypotheses matter. Continuity: f(x)=1f(x)=1 on [0,12)[0,\frac12) and f(x)=0f(x)=0 on [12,1][\frac12,1] has no fixed point. The interval being closed: f(x)=x2f(x)=\frac x2 maps (0,1](0,1] to itself with no fixed point. This is the one-dimensional case of Brouwer's fixed point theorem.