Maths WorkshopMaths problems with full solutions
Exercise 111Calculus › Single-variable calculus › Continuity › Continuous and discontinuous functionsL1Added 2 Nov 2026

1/x on (0,1] is not uniformly continuous

#uniform continuity#open intervals#Heine theorem

Statement

  1. Show that f(x)=1xf(x)=\frac1x is continuous on (0,1](0,1] but not uniformly continuous there.
  2. Is it uniformly continuous on [110,1][\frac1{10},1]? Which theorem explains the difference?
Hint

Take two sequences tending to 00 and getting closer to each other, while their images move apart.

Show solutionHide solution

Solution

1. Not uniformly continuous. Take xn=1nx_n=\frac1n and yn=12ny_n=\frac1{2n} in (0,1](0,1]. Then ∣xn−yn∣=12n→0|x_n-y_n|=\frac1{2n}\to0, but
∣f(xn)−f(yn)∣=∣n−2n∣=n≥1.|f(x_n)-f(y_n)|=|n-2n|=n\ge1.
Thus ε0=1\varepsilon_0=1 defeats every δ\delta.

2. On [110,1][\frac1{10},1]. For x,y≥110x,y\ge\frac1{10},
∣1x−1y∣=∣x−y∣xy≤100 ∣x−y∣,\left|\frac1x-\frac1y\right|=\frac{|x-y|}{xy}\le100\,|x-y|,
so ff is 100100-Lipschitz, hence uniformly continuous.

The theorem. Heine's theorem states that a continuous function on a closed bounded interval [a,b][a,b] is automatically uniformly continuous. The problem on (0,1](0,1] is that the interval is not closed: the function misbehaves near the missing endpoint 00.

Remark. A continuous function on (0,1](0,1] is uniformly continuous if and only if it has a finite limit at 00, that is, if and only if it extends continuously to [0,1][0,1].