Maths WorkshopMaths problems with full solutions
Exercise 1479Calculus › Single-variable calculus › Continuity › Intermediate Value TheoremL2Added 2 Nov 2026

Continuous injective functions are monotone

#intermediate value theorem#injectivity#monotonicity

Statement

Let f:I→Rf:I\to\mathbb{R} be continuous and injective on an interval II. Prove that ff is strictly monotone.

Hint

Take two pairs x1<y1x_1<y_1 and x2<y2x_2<y_2 and slide continuously from one pair to the other. Look at the difference of the values along this path.

Show solutionHide solution

Solution

Idea. We want to show that the sign of f(y)−f(x)f(y)-f(x) is the same for all pairs x<yx<y. A continuous function that never vanishes keeps a constant sign (intermediate value theorem), so we build one.

Construction. Let x1<y1x_1<y_1 and x2<y2x_2<y_2 be points of II. For t∈[0,1]t\in[0,1] put
xt=(1−t)x1+tx2,yt=(1−t)y1+ty2,x_t=(1-t)x_1+tx_2,\qquad y_t=(1-t)y_1+ty_2,
which lie in II because II is an interval. We have yt−xt=(1−t)(y1−x1)+t(y2−x2)>0y_t-x_t=(1-t)(y_1-x_1)+t(y_2-x_2)>0, so xt<ytx_t<y_t for all tt.

Define φ(t)=f(yt)−f(xt)\varphi(t)=f(y_t)-f(x_t). It is continuous on [0,1][0,1]. Since xt≠ytx_t\neq y_t and ff is injective, φ(t)≠0\varphi(t)\ne0 for all tt.

Sign argument. A continuous function on [0,1][0,1] that never vanishes has a constant sign, otherwise the intermediate value theorem would produce a zero. So φ(0)=f(y1)−f(x1)\varphi(0)=f(y_1)-f(x_1) and φ(1)=f(y2)−f(x2)\varphi(1)=f(y_2)-f(x_2) have the same sign.

Conclusion. The sign of f(y)−f(x)f(y)-f(x) is the same for all pairs x<yx<y: either always positive (strictly increasing) or always negative (strictly decreasing).

Remark. The hypothesis "interval" is essential. On [0,1]∪[2,3][0,1]\cup[2,3] define f(x)=xf(x)=x on [0,1][0,1] and f(x)=x−3f(x)=x-3 on [2,3][2,3] (values in [−1,0][-1,0]). It is continuous and injective, but not monotone.