I'm asked to count the number of functions $f:\{1,2,3,4\} \rightarrow\{1,2,3,4,5\}$ such that $f(1)∉\{f(2),f(3),f(4)\}, f(2)\neq f(3), f(3) \neq f(4)$. How do I make the inclusion-exclusion argument needed to solve this problem?
I'd also like to know how to make a venn diagram with these sets so I can visualize them. Any tips?
Inclusion-exclusion is a little silly here. There are only two possibilities given your constraints: either $f(1), f(2), f(3), f(4)$ are all different, or $f(2) = f(4)$ and the other two ($f(1)$ and $f(3)$) are different.
In the first case, there are 5 ways to pick $f(1)$, 4 ways to pick $f(2)$, 3 ways to pick $f(3)$, and 2 ways to pick $f(4)$, for $5 \cdot 4 \cdot 3 \cdot 2 = 120$ possibilities. Can you find how many possibilities there are in the second case?