GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Let I be the identity relation on {1, 2, 3, 4}. How many relations R on this set satisfy R∘R = I (composition of R with itself equals I)?
- A. 7
- B. 9
- C. 24
- D. 10
Correct answer: D. 10
R∘R = I forces R to be a bijection that is its own inverse: if some element had two images the composite would relate it to more than itself. So R is an involutive permutation: 1 + C(4,2) + 3 = 10. Counting all 24 permutations (or only the 6 transpositions plus identity = 7) are the traps.
More Discrete Mathematics questions
- Which of the following sets are countable? I. The set of all finite subsets of ℕ II. The set of all functions f : ℕ → {0, 1} III. The set…
- For how many integers n with 1 ≤ n ≤ 200 is the divisor lattice (Dₙ, |) a chain or a Boolean algebra (or both)?
- In the divisor lattice (D₃₆₀, |), a maximal chain goes from 1 to 360 multiplying by one prime at each step. How many maximal chains pass…
- Let P be the set of divisors of 360 that are NOT multiples of 6, ordered by divisibility. How many edges does the Hasse diagram of P have…
- In the divisor poset (D₁₈₀, |) (180 = 2²·3²·5), what is the size of the largest antichain, and how many antichains have that size?
- In the inclusion poset of all subsets of {1, 2, 3, 4}, how many antichains (including the empty antichain) contain no 2-element set?