The number of equivalence relations on the set {1, 2, 3, 4} is:

2018

The number of equivalence relations on the set {1, 2, 3, 4} is:

  1. A.

    4

  2. B.

    24

  3. C.

    25

  4. D.

    15

Attempted by 58 students.

Show answer & explanation

Correct answer: D

The number of equivalence relations on a set with n elements equals the number of partitions of that set, which is the Bell number B(n).

For the 4-element set {1, 2, 3, 4} we sum the Stirling numbers of the second kind:

B(4) = S(4,1) + S(4,2) + S(4,3) + S(4,4) = 1 + 7 + 6 + 1 = 15.

So there are 15 equivalence relations on {1, 2, 3, 4}.

Explore the full course: Dsssb Tgt Computer Science Paper 2