Is there a counterexample in the space $\mathbb{R}$ with it's usual metric to the statements:
- The union of two locally compact subsets of $\mathbb{R}$ is locally compact
- The complement of a locally compact subset of $\mathbb{R}$ is locally compact
My textbook says both statement are false, but I cannot think of a counterexample for neither.
$A$ in answer 1.
I think these would work.
*Edited : $A$ was originally an open set, whose complement in $\mathbb{R}$ would be closed and thus locally compact. Thanks to clark's critique, the example was modified.