In an exercise I am asked to prove the following:
Let $(X,\tau)$ and $(Y,\tau_1)$ be topological spaces and let $f:(X,\tau)\to(Y,\tau_1)$. Prove that $f$ is continuous if and only if for every subset A of $X$, $f(\overline{ A}) \subseteq \overline{f(A)}$.
I always find myself having some trouble with problems involving the closer of a set, so I confess that I can't think of a way to approach this problem. Could someone please tell me some tips and/or tell me how I should start my proof or just some things to have in consideration when solving this? As I want to solve this myself I am not asking for a proof for this statement, so if you do want to answer one please mark it as a spoiler.
P.S.: There is another question that I have but it's very short and I don't think that it's enought to have a post of it's own, the question is:
If $f:(X,\tau) \to (Y,\tau_1)$ is continuous does that mean that $\forall A \in \tau, \exists B \in \tau_2: f^{-1}(B) = A$? I don't think that this assumption is true but I can't think of any counter examples so I wanted to confirm.