Let $X,Y$ be sets and $f: X \to Y$. If $A,BÂ \subseteq Y$, is it true that $$f^{-1}(A) \subseteq f^{-1}(B) \qquad \Rightarrow \qquad A \subseteq B$$
I know this is a stupid question, but at the moment I cannot come up with either a counterexample or a proof. I am sorry to ask this with that much reputation, but at the moment I do not really see if this is right or wrong.
Edit. It is wrong. For example consider $f = x^2$. Then $$f^{-1}([0,1]) = [0,1] = f^{-1}([-1,1])$$ but clearly $$[-1,1] \nsubseteq [0,1]$$ Thanks for the answers until now. May this implication be fixed with either assuming $f$ to be injective or surjective?