$f: X \longrightarrow Y$ and $B \subseteq Y$
I am currentry trying to give an example where $f(f^{-1}(B)) \neq B$.
I know, that for a function to have an inverse, it must be bijective.
My thought process is, that the answer can only be equal to $B$ if the function $f$ is bijective, because only then can every element in $f^{-1}(B)$ be directly traced back to B.
Here's where I struggle: How can $f(f^{-1}(B)) \neq B$ if the function needs to be bijective in the first place? Wouldn't this be a contradiction? Or is that exactly what I need to disprove here?