A partial order <= is defined on the set S = {a_0, a_1, ..., a_n} as a_i <= a_i for all i and a_i <= a_{i+1} for all i, where n >= 1. The number of total orders on the set S which contain the partial order <= is A. 1 B. n C. (n+1)!/2 D. (n+1)!
GATE 1997 · Discrete Mathematics · Partial Order · medium
Answer: A. 1
- Show the partial order is a total chain: From a_0<=a_1, a_1<=a_2, ..., a_{n-1}<=a_n, apply transitivity: a_i<=a_j for all i<j. Every pair (a_i,a_j) is comparable. The partial order is already a total order.
- Count linear extensions: Any total order extending this chain must preserve a_i<=a_j for all i<j. The only such ordering is a_0, a_1, ..., a_n. Count = 1.