If $f$ is injective, then the statement $f(A\cap B) = f(A)\cap f(B)$ holds, but what if $f$ is surjective (and not injective)? Is the statement true as well?
I think that it is not true, but I am not sure whether my counterexample works: Assume $f: X\rightarrow Y$, where $X=[-2,2]$ and $Y=[0,4]$ and $f(x) = x^2$. Then $f$ is surjective. Now define $A=[-2,0]$ and $B=[0,2]$, then $f(A\cap B) = f(0) = 0$, whereas $f(A)\cap f(B) = [0,4]$.
Is this correct or is $f$ not surjective for the defined $A$ and $B$?