Consider set $A = \{1, 2\}$ and set $B = \{3, 4\}$, so $A\times B = \{(1,3),(1,4),(2,3),(2,4)\}$.
We know that any subset of $A\times B$ is a relation for example, $R_1 = \{(1,3)\}$, $R_2 = \{(2,4)\}$ and $R_3 = \{(1,3),(2,4)\}$. We also know that any relation is a function in which there is no repetition in domain and that domain is a subset of set $A$. Why can't $R_1$ and $R_2$ be functions? If they are, then why there are only $2^2$ functions possible from $A$ to $B$?