Let $f:(a,c) \to \mathbb R$. Prove that if $f$ is uniformly continuous on $(a,b)$ and $(b,c)$, then $f$ is uniformly continuous on $(a,c)$.
My attempt at a solution:
I am having doubts if it is correct, is it right there has no condition that $f$ is continuous at $b$?
Let $ϵ>0$, we know that there exist $δ_1$, $δ_2$ such that if
$$x,y∈(a,b),\; |x−y|<δ_1 \Rightarrow|f(x)−f(y)|<ϵ_2$$
$$x,y∈(b,c),\;|x−y|<δ_2\Rightarrow|f(x)−f(y)|<ϵ_2$$
Let $δ=\min(δ_1,δ_2)$, if $|x−y|=|x−b+b−y|≤|x−b|+|b−y|<δ \Rightarrow$ $|f(x)−f(y)|≤|f(x)−f(b)|+|f(b)−f(y)|≤ϵ_2+ϵ_2=ϵ$.
But is it right? I think if $f$ is not continuous at $b$, it is not true.