How to prove $f(A) \cap f(B)=\emptyset$ for all $A,B⊂X$ with $A∩B=∅$ $\Longleftrightarrow$ $f$ is injective
For "$\Longrightarrow$"
Let $x \in A$ and $y\in B$. Since $A∩B=∅$, it is $x\neq y$ and hence $f(x)\neq f(y)$ which is the definition of injectivity.
For "$\Longleftarrow$"
No real base here...