Question
Consider the following sets, where :
: Set of all matrices with entries from the set
: Set of all functions from the set to the set
Which of the following choice(s) is/are correct?
Official answer and solution
- Official answer
- B and C
- From
- Official GATE 2021 answer key
Solution
Calculate the cardinality of sets and and use basic principles of functions between finite sets of the same size.
First, evaluate the cardinality of set :
An matrix has entries. Each entry can be chosen from the 3-element set . Therefore:
Next, evaluate the cardinality of set :
Set consists of all functions from the domain (which has elements) to the codomain (which has 3 elements). The number of such functions is:
Because both and are finite sets with exactly the same number of elements ():
- There exists a bijection from to (making option C correct, and option A incorrect).
- Any bijection between two finite sets of identical size is both an injection and a surjection. Therefore, there exists a surjection from to (making option B correct).
- Since bijections are injective, injections exist between and , so option D is incorrect.
B, C
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 21 of 65, printed as CS Q.11
- 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.