Similar questions 2 more →
Combinatorics & Counting

Your answer
Answer & solution
Answer: C (no official key was published)
Each of the m domain elements independently chooses one of n images. Multiplying n choices m times yields nm. Different domain elements may share an image because injectivity is not required. Thus C, not mn, which would count functions in the reverse direction. With an empty domain there is one empty function; the usual counting formula is interpreted accordingly.