Mathematics (JEE)Very hardGATE CS

How many relations R on the set {1, 2, 3} are transitive, meaning that whenever (a,b) and (b,c) are in R, then (a,c) is also in R? Relations are any subsets of the 9 ordered pairs.

  1. A. 512
  2. B. 29
  3. C. 64
  4. D. 171

Correct answer: D. 171

Checking all 2^9 = 512 subsets of the 9 ordered pairs for transitivity leaves 171 relations.

More Permutations, Combinations and Probability questions

Exams that ask this topic