Let X = {2, 3} and Y = {1, 3, 5}. How many different functions are there from X into Y?
Advertisements
Question
Let X = {2, 3} and Y = {1, 3, 5}. How many different functions are there from X into Y?
Sum
Advertisements
Solution
Given: X = {2, 3} ⇒ n(X) = 2
Y = {1, 3, 5} ⇒ n(Y) = 3
To form a function from X into Y, every element in X must be mapped to an element in Y:
The element 2 ∈ X can be mapped to any of the 3 elements in Y (1, 3, or 5) ⇒ 3 ways.
The element 3 ∈ X can also be mapped to any of the 3 elements in Y (1, 3, or 5) ⇒ 3 ways.
By the fundamental principle of counting (or the formula [n(Y)]n(X)):
Total number of functions = 3 × 3 = 32 = 9
Therefore, there are 9 different functions from X into Y.
shaalaa.com
Is there an error in this question or solution?
