Let $f:A\to B$ be a mapping. Show that for all subsets $M$ of $A$ satisfies \begin{equation} M\subseteq f^{-1}(f(M)). \end{equation} Give an example that $f^{-1}(f(M))$ doesn't need to be equal to $M$.
Any hint where to start?
Let $f:A\to B$ be a mapping. Show that for all subsets $M$ of $A$ satisfies \begin{equation} M\subseteq f^{-1}(f(M)). \end{equation} Give an example that $f^{-1}(f(M))$ doesn't need to be equal to $M$.
Any hint where to start?
Start from the basics; when in doubt, create a new name for a complex object.
If $N\subseteq B$, then an element $x\in A$ is in $f^{-1}(N)$ if and only if $f(x)\in N$.
Set $N=f(M)$; if $x\in M$, then $f(x)\in f(M)=N$, by definition. Therefore $x\in f^{-1}(N)$. Now $f^{-1}(N)=f^{-1}(f(M))$ just by substituting symbols.
Now consider $A=\{1,2,3\}$, $B=\{4,5\}$ and define $f(1)=4$, $f(2)=4$, $f(3)=5$. Consider $M=\{1\}$. What can you say about $f^{-1}(f(M))$?