Suppose $X$ and $Y$ are topological spaces and $f:X→Y$ is a map. Then $f$ is continuous if and only if $f(\bar A)⊆\overline{f(A)}$, where $\bar A$ denotes the closure of an arbitrary set $A$.
This is a very known theorem, I just could not find any example of topological spaces $X$ and $Y$, a function $f$ and set $A$ and an element $x$ such that $x$ is in $\overline{f(A)}$ and not in $f(\bar A)$, someone know an example?
I found out that this element may be an element on $Y$ on the derived set of $f(A)$ but not in $f(D(A))$ where $D(A)$ is the derived set of $A$. But anything ore than this.
Nomenclature: derived set is the set of the limit points, and limit point is a point such that each neighbourhood (open set containing the element) intersects the set in question.
Consider $f:(-1,1)\to\mathbb{R}$ with $f(x)=x^2$. Both the spaces $X=(-1,1)$ and $Y=\mathbb{R}$ are endowed with the standard topology. Let $A=(-1,1)$. Then $$ f(\overline{A})=[0,1). $$ But $$ \overline{f(A)}=[0,1]. $$
Note that $\overline{A}$ is the closure of $A$ in $X$.