Let A be a set with 3 elements and B a set with 4 elements. The number of functions from A to B is
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → 64
A function from A to B sends each element of A to exactly one element of B.
Each of the 3 elements of A has 4 possible images, chosen independently:
\(4 \times 4 \times 4 = 4^3 = 64\)
So there are 64 functions from A to B.