In class we had the following function which I intend to prove for my own peace of mind.
Let $M$ and $N$ be sets and $f: M \longrightarrow N$ a function: \begin{align}f: P(M) &\longrightarrow P(N) \tag{P denotes Powerset} \\ X & \longmapsto \lbrace f(x) \mid x \in X \rbrace \end{align} Let $X,Y \subset M$ then: \begin{align} f(X \cap Y) \subset f(X) \cap f(Y) \end{align} Note: In our book (Zorich Analysis) $\subset$ denotes a subset, not necessarily a real subset.
Question: Is $f(X \cap Y) \subset f(X) \cap f(Y)$ a correct statement?
So I know that I need to show $A \subset B \iff x \in A \longrightarrow x \in B$. I tried as follows: \begin{align}f (X \cap Y) = \lbrace f(x) \mid x \in (X \cap Y)\rbrace \end{align} I guess for the proof to be correct I should mention here that $X \cap Y \neq \emptyset$ because $x \in \emptyset$ would be a contradiction to start with. I continued like this: \begin{align} x \in \lbrace f(x) \mid x \in X \wedge x \in Y\rbrace \longrightarrow x \in \lbrace f(x) \mid x \in X\rbrace \wedge x \in \lbrace f(x) \mid x \in Y\rbrace \end{align} I don't know if this step is correct or not, but it seemed like it to me, I could conclude from there that: \begin{align}x \in \lbrace f(x) \mid x \in X \wedge x \in Y\rbrace &\longrightarrow x \in \lbrace f(x) \mid x \in X\rbrace \wedge x \in \lbrace f(x) \mid x \in Y\rbrace \\ & \longrightarrow x \in f(X) \wedge x \in f(Y) \\ &\longrightarrow x \in ( f(X) \cap f(Y)) \end{align} Would this complete the proof? Or do I also need to show that $f(X) \cap f(Y) \not \subset f(X \cap Y)$ ?