GATE / CS ARCHIVE

GATE CSE 2024 SET 2 / QUESTION 34

Count linear extensions of a partial order

Discrete Mathematics · Partial Orders & Lattices · Full GATE CSE 2024 Set 2 paper

GATE 2024 Set 2, Q34 1 mark · NAT
Report issue

Partial Orders & Lattices

Question 34, GATE 2024: On {1,2,3,4}, a partial order contains every reflexive pair and (1,2),(3,2),(3,4). How many total orders extend it?
Tap to enlarge
Answer & solution

Official answer: 5

Approach: Choose only minimal elements first and branch on those choices.

1. Derivation. The restrictions are 1 before 2, 3 before 2, and 3 before 4. If1 is first, 3 must be second and 2, 4 may be ordered either way, giving 1324 and 1342. If3 is first, the remaining order only requires 1 before 2, giving 3124, 3142, 3412. These exhaust the choices, so there are 5 linear extensions.

2. Explanation and checks. Initially 1 and 3 are eligible: 2 requires both to precede it, while 4 requires 3. In the branch starting with 1, only 3 is eligible next, leaving two orders of 2 and 4. In the branch starting with 3, the remaining three elements need only respect 1 before 2, which holds in half of their 3!=6 permutations. The reflexive pairs impose no extra restriction on the sequence of distinct elements.

Original paper, page 23 · Answer key