If $A$ is closed in $\mathbb{R}^{n}$, is it true that $f(A)$ is closed in $\mathbb{R}^{n}$ as well?
Here, $f : A \rightarrow \mathbb{R}$ is continuous.
Intuitively, I think the answer is no, but I cannot come up with a counterexample. Can someone please help me?
Counterexample: $n=1, A = \mathbb R$ and $f(x)=e^x$. We have $f(A)=(0, \infty)$, which is not closed.