Question:
If A = {1, 2, 3} and B = {x, y}, then the number of functions that can be defined from A into B is
(a) 12
(b) 8
(c) 6
(d) 3
Solution:
(b) 8
Given:
Number of elements in set A = 3
Number of elements in set B = 2
Therefore, the number of functions that can be defined from A into B is = 23 = 8.