Let $f : A \rightarrow B$, and let $C \subseteq A$ and $D \subseteq B$. Prove:
- $f^{-1}(f(C)) \supseteq C$
- $f(f^{-1}(D)) \subseteq D$
My instructor gave the following definitions for image and pre-image:
- The image of C under $f$ is the set $f(C) = \{f(x) : x \in C \}$
- The pre-image of D under $f$ is the set $f^{-1}(D) = \{x : f(x) \in D \}$
Proof of (1):
Let $x \in C \implies f(x) \in f(C) \implies x \in f^{-1}(f(C))$. Therefore $C \subseteq f^{-1}(f(C))$ and equivalently, $f^{-1}(f(C)) \supseteq C$.
Proof of (2):
Let $f(x) \in f(f^{-1}(D)) \implies x \in f^{-1}(D) \implies f(x) \in D$. Therefore $f(f^{-1}(D)) \subseteq D$.
My issue that I'm having is understanding why the definition of image and pre-image do not let us conclude that $f^{-1}(f(C)) = C$ and $f(f^{-1}(D)) = D$. I came up with counter-examples for both of these and I understand that they are only true when $f$ is injective and surjective, respectively. However in the the above proofs I cannot see why the arrows do not go the other way. In particular it would seem that in (1) we cannot say that $f(x) \in C \implies x \in C$ and in (2) we cannot say that $f(x) \in D \implies x \in f^{-1}(D)$. Why do the definitions given above not permit these implications?