Question
Let denote the set of all functions . Denote by the number of functions from to the set . The value of is ______.
Official answer and solution
- Official answer
- 16
- From
- Official GATE 2014 answer key
Solution
Determine the cardinality of the function spaces step by step using the formula .
-
The domain of functions in is , which has size:
-
The set consists of all functions from to :
-
is the number of functions from to :
-
Taking the base-2 logarithm of :
-
Taking the base-2 logarithm again:
Thus, the value of is 16.
16
Computing and forgetting to take the second .
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 60 of 65, printed as CS Q.50
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.