Given $A=\bigl\{f\mid f:\{1,2,3\} \rightarrow \{1,2,3,4\}\bigr\},\; f$ is a function.
How many elements of $A$ satisfy $f(3)>f(2)$?
I know that the total amount of functions is $4^3$, I am not sure how to proceed with the sets needed. Can you help me define the sets I need to work with?
Hint: Each two-element subset of $\{1,2,3,4\}$ can be uniquely assigned to the values of $f(2),f(3)$ such that $f(2)<f(3)$ and vice versa. For example $\{2,4\}$ would correspond with $f(2)=2$ and $f(3)=4$, while $\{4,1\}$ would correspond with $f(2)=1$ and $f(3)=4$. (Remember $\{4,1\}=\{1,4\}$, that order within a /set/ is irrelevant)
How many ways are there to choose a two-element subset of a four-element set? This is then the number of ways of selecting the values for $f(2)$ and $f(3)$. Couple this as well with the number of ways of selecting the value of $f(1)$ and apply the rule of product to arrive at a final answer.