GATE / CS ARCHIVE

GATE CSE 1999 / QUESTION 1.2

Counting binary relations

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 1999 paper

GATE 1999, Q1.2 1 mark · MCQ
Report issue

Sets, Relations & Functions

Question 1.2, GATE 1999: How many binary relations exist on a set of n elements? Options: n,2^n,2^(n²),none.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

A binary relation is any subset of the Cartesian product S×S. There are n choices for each coordinate, hence n² ordered pairs. Each pair independently either belongs to the relation or does not. Multiplying the two choices over n² pairs gives 2n², C. No reflexivity, symmetry or function restriction is imposed; imposing one would change the count.

Original paper, page 1