Suppose consider the space (R,d), where d is the absolute value metric, and f is a continuous function from R to R. Let A be a subset of R. Then is Cl(f(A)) a subset of f(Cl(A))? Prove or provide counterexample.
If yes, can you extend in for any arbitrary metric spaces I am very new to metric space and topology, so any help will be appreciated.
No.
Consider $f=\arctan$, and $A=\mathbb{R}$. You have $Cl(f(A))=\left[ -\frac{\pi}{2}, \frac{\pi}{2}\right]$, which is not a subset of $f(Cl(A))=\left( -\frac{\pi}{2}, \frac{\pi}{2}\right)$.
Of course, if the property does not hold in $\mathbb{R}$, it has not any chance to hold in a general metric space.