Question

Consider the set X={a,b,c,d,e}X = \{a, b, c, d, e\} under the partial ordering

R={(a,a),(a,b),(a,c),(a,d),(a,e),(b,b),(b,c),(b,e),(c,c),(c,e),(d,d),(d,e),(e,e)}R = \{(a,a), (a,b), (a,c), (a,d), (a,e), (b,b), (b,c), (b,e), (c,c), (c,e), (d,d), (d,e), (e,e)\}

The Hasse diagram of the partial order (X,R)(X, R) is shown below.

The minimum number of ordered pairs that need to be added to RR to make (X,R)(X, R) a lattice is

Hasse diagram of the partial order (X, R) on set {a, b, c, d, e} forming the pentagon poset N5. Node a at the bottom connects to b and d; b connects to c; c and d connect to e at the top.
Official answer and solution
Accepted answers
-0.01 to 0.01
From
Official GATE 2017 answer key
Note on this question

The exact value is 0; the official answer key accepts the range -0.01 to 0.01.

Solution

Determine whether the given partially ordered set (poset) (X,R)(X, R) is already a lattice by checking for unique greatest lower bound (GLB / meet) and least upper bound (LUB / join) for every pair of elements.

A poset (X,R)(X, R) is a lattice if and only if every pair of elements x,y∈Xx, y \in X has a unique greatest lower bound (meet, glb(x,y)\text{glb}(x, y)) and a unique least upper bound (join, lub(x,y)\text{lub}(x, y)).

The given Hasse diagram has 5 elements: aa is the unique bottom element, ee is the unique top element, and the two parallel paths from aa to ee are a→b→c→ea \to b \to c \to e and a→d→ea \to d \to e. This is the standard pentagon poset N5N_5.

Check all incomparable pairs of elements in (X,R)(X, R):

  1. Pair {b,d}\{b, d\}:
    • Common lower bounds: {a}  ⟹  glb(b,d)=a\{a\} \implies \text{glb}(b, d) = a.
    • Common upper bounds: {e}  ⟹  lub(b,d)=e\{e\} \implies \text{lub}(b, d) = e.
  2. Pair {c,d}\{c, d\}:
    • Common lower bounds: {a}  ⟹  glb(c,d)=a\{a\} \implies \text{glb}(c, d) = a.
    • Common upper bounds: {e}  ⟹  lub(c,d)=e\{e\} \implies \text{lub}(c, d) = e.

For any comparable pair x≤yx \le y, glb(x,y)=x\text{glb}(x, y) = x and lub(x,y)=y\text{lub}(x, y) = y, which always exist uniquely.

Because every pair of elements already has a unique GLB and LUB, (X,R)(X, R) is already a lattice! Therefore, the minimum number of ordered pairs that need to be added to RR is 0.

Final answer

0

Common trap

Confusing a lattice with a distributive lattice. The pentagon poset N5N_5 is non-distributive, but it is indeed a valid lattice.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2017 Computer Science and Information Technology (CS) Session 2
Question
21 of 65, printed as CS Q.21
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.