Show that function $f$ need not be uniformly continuous on $A ∪ B$
If $A∩B=\emptyset$ and $A$ is not compact and $A$ and $B$ are closed sets.
And $f$ is uniformly continuous on both $A$ and $B$
I believe I need to use the distance between these two sets when trying to solve this question , because I proved a similar one (opposite) using the fact that if $A$ was compact, distance between these two sets would be positive.
Here $A$ is not compact, but both sets are disjoint and closed. I couldn't come up with an argument about their distances this time.
I tried thinking about a subsequence converging. Since neither of $A$ and $B$ are bounded, not all sequences $a_n$ and $b_n$ where $a_n\epsilon A$ for all $n$ and $b_n\epsilon B$ for all $n$ have a limit point. Maybe an argument from here could be derived but couldn't think of any again.
Could someone help me out? Thanks,