Question
Consider the set of all functions such that , for all . Consider the following statements:
P. For each such function it must be the case that for every , .
Q. For each such function it must be the case that for some , .
R. Each such function must be onto.
Which one of the following is CORRECT?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2014 answer key
Solution
Analyze permutations whose square is the identity (involutions) on a finite set of odd cardinality.
Let . The size of is , which is an odd integer.
We are given for all , meaning .
-
Statement R (Each such function must be onto):
- Because , has a two-sided inverse (namely itself).
- Any function with a two-sided inverse is a bijection (both one-to-one and onto).
- Hence, must be onto. Statement R is TRUE.
-
Statement P (For every , ):
- Consider a function that swaps and () and fixes all other elements ( for all ).
- Here holds for all , but .
- Thus, is not required for every . Statement P is FALSE.
-
Statement Q (For some , ):
- In cycle notation, any permutation satisfying can only contain cycles of length 1 (fixed points, ) or length 2 (transpositions, and ).
- Let be the number of fixed points, and be the number of 2-cycles.
- The total number of elements in is:
- Since is even and is odd, must be an odd integer ().
- Hence, there must exist at least one fixed point ( for some ).
- Therefore, Statement Q is TRUE.
-
Thus, only Q and R are true (option B).
B
Overlooking that the total number of elements is 2015 (odd), which guarantees at least one fixed point.
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 3
- Question
- 59 of 65, printed as CS Q.49
- 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.