Question
Let be the set of all binary relations on the set . Suppose a relation is chosen from at random. The probability that the chosen relation is reflexive (round off to 3 decimal places) is _______.
Official answer and solution
- Official answer
- 0.125
- From
- Official GATE 2020 answer key
Solution
Compute the ratio of reflexive relations to the total number of binary relations on a 3-element set.
Let , with . The Cartesian product contains ordered pairs.
Total number of binary relations:
- A binary relation on is any subset of .
- The total number of relations is .
Number of reflexive relations:
- A relation is reflexive if and only if it contains all 3 diagonal pairs: , , and .
- For each of the remaining non-diagonal pairs, there are 2 choices (include or exclude).
- Total number of reflexive relations is .
Probability of choosing a reflexive relation:
Rounding to 3 decimal places gives 0.125.
0.125
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2020 Computer Science and Information Technology (CS)
- Question
- 27 of 65, printed as CS Q.17
- 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.