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 ______.
GATE 2020 CS Q.17: solution and answer
Answer and solution
ANSWER
The probability that the chosen relation is reflexive is .
Official answer: 0.125Source: Official answer key, GATE 2020 CS (IIT Delhi)
A binary relation on is a subset of , and .
Each of the 9 ordered pairs is either in the relation or not, so the number of binary relations is . Choosing at random makes each relation equally likely.
A relation is reflexive exactly when it contains , and . These 3 pairs are forced.
The other pairs may each be present or absent, so the number of reflexive relations is .
KEY IDEA
Count relations as subsets of . Reflexivity fixes the diagonal pairs, leaving reflexive relations out of , so the probability is . For this is .
WATCH OUT FOR
Counting only relations, or forgetting that the 6 off-diagonal pairs are free. Another slip is treating the 3 diagonal pairs as optional, which gives the wrong ratio.
From the GATE 2020 CS paper. Every question of this paper · Download the full paper · All 8 Sets & relations questions, with notes
More Sets & relations questions
- GATE 2026 CS2 Q.26 · MSQ · 1 markLet R be a binary relation on the set 1, 2,, 10, where (x, y) R if the product of x and y is square of an…
- GATE 2025 CS1 Q.17 · MCQ · 1 markg(·) is a function from A to B, f(·) is a function from B to C, and their composition defined as f(g(·)) is…
- GATE 2025 CS2 Q.42 · MSQ · 2 marksLet F be the set of all functions from 1,, n to 0,1. Define the binary relation on F as follows: f, g F, f g…
- GATE 2024 CS1 Q.32 · NAT · 1 markLet A and B be non-empty finite sets such that there exist one-to-one and onto functions (i) from A to B and…
