Unofficial archive — problems, solutions & results © IMC, reproduced with permission.

IMC / 2021 / Problems / Day 1, P4

IMC 2021 · Day 1 · P4

killer

Let f:RRf : \mathbb{R} \to \mathbb{R} be a function. Suppose that for every ε>0\varepsilon > 0, there exists a function g:R(0,)g : \mathbb{R} \to (0, \infty) such that for every pair (x,y)(x, y) of real numbers, if xy<min{g(x),g(y)}, then f(x)f(y)<ε.\text{if } |x - y| < \min\{ g(x), g(y) \}, \text{ then } |f(x) - f(y)| < \varepsilon. Prove that ff is the pointwise limit of a sequence of continuous RR\mathbb{R} \to \mathbb{R} functions, i.e., there is a sequence h1,h2,h_1, h_2, \dots of continuous RR\mathbb{R} \to \mathbb{R} functions such that limnhn(x)=f(x)\lim\limits_{n \to \infty} h_n(x) = f(x) for every xRx \in \mathbb{R}.

(proposed by Camille Mau, Nanyang Technological University, Singapore)

Solution 1 of 3 (official)

Hint: Start from a segment in place of R\mathbb{R} and use its compactness. Or recall the cool things called “the Lebesgue characterization theorem” and “the Baire characterization theorem”.

Since gg depends also on ε\varepsilon, let us use the notation g(x,ε)g(x, \varepsilon). Considering only ε=1/n\varepsilon = 1/n for positive integer nn will suffice to reach our conclusions, hence we may use min{g(x,1/m)mn}\min\{ g(x, 1/m) \mid m \le n \} in place of g(x,1/n)g(x, 1/n) and thus assume g(x,ε)g(x, \varepsilon) decreasing in ε\varepsilon.

For any xRx \in \mathbb{R}, choose δn(x)=min{1/n,g(x,1/n)}\delta_n(x) = \min\{ 1/n, g(x, 1/n) \}. Of the δn(x)\delta_n(x)-neighborhoods of all xx select (using local compactness of the reals) an inclusion-minimal locally finite covering {Ui}\{U_i\}. From its inclusion-minimality it follows that we may enumerate UiU_i with iZi \in \mathbb{Z} so that UiUjU_i \cap U_j \ne \emptyset only when ij1|i - j| \le 1 and the enumeration goes from left to right on the real line. For an assumed nn, let xix_i be the center of UiU_i and δi=δn(xi)\delta_i = \delta_n(x_i), so that Ui=(xiδi,xi+δi)U_i = (x_i - \delta_i, x_i + \delta_i) and δi<1/n\delta_i < 1/n for all ii.

Now define a continuous fn:RRf_n : \mathbb{R} \to \mathbb{R} so that it equals f(xi)f(x_i) in Ui(Ui1Ui+1)U_i \setminus (U_{i-1} \cup U_{i+1}), and so that fnf_n changes continuously between f(xi1)f(x_{i-1}) and f(xi)f(x_i) in the intersection Ui1UiU_{i-1} \cap U_i.

Now we show that fnff_n \to f pointwise. Fix a point xx and ε=1/m>0\varepsilon = 1/m > 0, and choose n>max{1/g(x,ε),m}n > \max\{ 1 / g(x, \varepsilon), m \}.

Examine the construction of fnf_n for any such nn. Observe that g(x,ε)>1/n>δig(x, \varepsilon) > 1/n > \delta_i and 1/n<1/m1/n < 1/m. There are two cases:

  • xx belongs to the unique UiU_i. Then using the monotonicity of g(x,ε)g(x, \varepsilon) in ε\varepsilon we have xix<δimin{g(xi,1n),g(x,ε)}min{g(xi,ε),g(x,ε)}.|x_i - x| < \delta_i \le \min\Bigl\{ g\Bigl( x_i, \frac1n \Bigr), g(x, \varepsilon) \Bigr\} \le \min\{ g(x_i, \varepsilon), g(x, \varepsilon) \}. Hence f(x)fn(x)=f(x)f(xi)<ε.|f(x) - f_n(x)| = |f(x) - f(x_i)| < \varepsilon.
  • xx belongs to Ui1UiU_{i-1} \cap U_i. Similar to the previous case, f(x)f(xi1), f(x)f(xi)<ε.|f(x) - f(x_{i-1})|, \ |f(x) - f(x_i)| < \varepsilon. Since fn(x)f_n(x) is between fn(xi1)=f(xi1)f_n(x_{i-1}) = f(x_{i-1}) and fn(xi)=f(xi)f_n(x_i) = f(x_i) by construction, we have f(x)fn(x)<ε.|f(x) - f_n(x)| < \varepsilon.
We have that f(x)fn(x)<ε|f(x) - f_n(x)| < \varepsilon holds for sufficiently large nn, which proves the pointwise convergence.

Solution 2 of 3 (official)

This solution uses the Baire characterization theorem: A function f:RRf : \mathbb{R} \to \mathbb{R} is a pointwise limit of continuous functions if and only if its restriction to every non-empty closed subset of R\mathbb{R} has a point of continuity.

Assume the contrary in view of the above theorem: ARA \subseteq \mathbb{R} is a non-empty closed set and ff has no point of continuity in AA. Let's think that ff is defined only on AA.

Then for all xAx \in A there exist rationals p<qp < q for which lim supxf>q\limsup_x f > q, lim infxf<p\liminf_x f < p. Apply the Baire category theorem: If a complete metric space AA is a countable union of sets then some of the sets is dense in a positive radius metric ball of AA. It follows that there exist pp and qq, which serve for a subset BAB \subset A which is dense on a certain ball (in the induced metric of the real line) A1AA_1 \subset A. It yields that both sets Q=f1(q,)Q = f^{-1}(q, \infty) and P=f1(,p)P = f^{-1}(-\infty, p) are dense in A1A_1.

Choose ε=(qp)/10\varepsilon = (q - p)/10 and find kk for which the set S={x:g(x)>1/k}S = \{ x : g(x) > 1/k \} is also dense on a certain ball A2A1A_2 \subset A_1. Partition SS into subsets where f(x)>(p+q)/2f(x) > (p+q)/2 and f(x)(p+q)/2f(x) \leqslant (p+q)/2, one of them is again dense somewhere in A3A_3, say the latter.

Now take any point yA3Qy \in A_3 \cap Q and a very close (within distance min(1/k,g(y))\min(1/k, g(y))) to yy point xx with g(x)>1/kg(x) > 1/k but f(x)(p+q)/2f(x) \leqslant (p+q)/2. This pair x,yx, y contradicts the property of ff from the problem statement.

Solution 3 of 3 (official)

This solution uses the Lebesgue characterization theorem: If f:RRf : \mathbb{R} \to \mathbb{R} is a function and, for all real cc, the sublevel and superlevel sets {xf(x)c}\{ x \mid f(x) \geqslant c \}, {xf(x)c}\{ x \mid f(x) \leqslant c \} are countable intersections of open sets then ff is a pointwise limit of continuous functions.

Now the solution follows from the formula with a countable intersection of the unions of intervals: {xf(x)c}=n,k=1yRf(y)c(ymin{1k,g(y,1n)},y+min{1k,g(y,1n)})()\tag{$*$} \{ x \mid f(x) \geqslant c \} = \bigcap_{n,k=1}^{\infty} \bigcup_{\substack{y \in \mathbb{R} \\ f(y) \geqslant c}} \left( y - \min\Bigl\{ \frac1k, g\Bigl( y, \frac1n \Bigr) \Bigr\}, y + \min\Bigl\{ \frac1k, g\Bigl( y, \frac1n \Bigr) \Bigr\} \right) and the similar formula for {x:f(x)c}\{ x : f(x) \leqslant c \}. It remains to prove ()(*).

The left hand side is obviously contained in the right hand side, just put y=xy = x.

To prove the opposite inclusion assume the contrary, that f(x)<cf(x) < c, but xx is contained in the right hand side. Choose a positive integer nn such that f(x)<c1/nf(x) < c - 1/n and kk such that g(x,1/n)>1/kg(x, 1/n) > 1/k. Then, since xx belongs to the right hand side, we see that there exists yy such that f(y)cf(y) \geqslant c and xy<min{g(y,1n),1k}min{g(y,1n),g(x,1n)},|x - y| < \min\Bigl\{ g\Bigl( y, \frac1n \Bigr), \frac1k \Bigr\} \leqslant \min\Bigl\{ g\Bigl( y, \frac1n \Bigr), g\Bigl( x, \frac1n \Bigr) \Bigr\}, which yields f(x)f(y)1/nc1/nf(x) \geqslant f(y) - 1/n \geqslant c - 1/n, a contradiction.

How the field did

contestants scored
514
average (of 10)
0.11
solved (≥ 80%)
0.8%
near-0 (≤ 10%)
98.1%
discrimination
0.21

Score distribution (field cohort)

Computed on contestants with a meaningful total (field cohort); discrimination is the corrected item–total correlation.

Similar problems

IMC 2006 · Day 1 · P6killeravg 0.3/10 · solved 1% · near-0 95% · disc 0.18
IMC 2012 · Day 1 · P4killeravg 0.2/10 · solved 0% · near-0 95% · disc 0.25
IMC 2020 · Day 2 · P8killeravg 0.1/10 · solved 0% · near-0 98% · disc 0.16
IMC 1999 · Day 1 · P6killeravg 0.1/10 · solved 0% · near-0 97% · disc 0.22