Uniformly continuous on two sets(Union)

real-analysisuniform-continuity

Well… I got a idea from this question If $f$ is uniformly continuous on two sets, show that $f$ is also uniformly continuous on the union of two given sets. So Let me think more the general case. I would suggest you the statement that I made and regard it as true.

$f$ is a uniformly continuous on both $D_1$ and $D_2$ (Here the $D_1 \cap D_2 \not= \phi$)
Then, $f$ is a uniformly continuos on $D_1 \cup D_2$

You might look above statement is trivial though, still I can't prove it. 🙁
Does anyone have a idea or hint to prove that?

p.s.) If the statement is false, What is the counterexamples?

Best Answer

Let $D_1 = [-1, 0] \cup (1, 2]$ and $D_2 = [0, 1]$
Define $f(x) = 0$ on $[-1, 0]$; $f (x) = x $ on $[0, 1]$; $f(x) = 0 $ on $(1, 2]$
$f$ is separately UC on $D_1, D_2$ but discontinuous on $[-1, 2]$

The key to constructing the counterexample is that $D_1, D_2$ must share some part of their boundary in order to have at least one point in common, but then uniform continuity will be preserved at the intersection. So, it's set up so that $D_1, D_2$ can meet without intersecting somewhere else. One could construct counterexamples in the plane where $D_1, D_2$ are each connected sets and intersect on part of their boundary but only meet on another part. For example let the line $(0, -1)$ to $ (0, +1)$ be the boundary between $D_1, D_2$ with $D_1$ to the left and $D_2$ to the right. Let both include the line $(0, -1) $ to $(0, 0)$ so the intersection is non-empty, but only one include $(0, 0 )$ to $(0, 1)$ with the other being open up to this line.

Related Question