Skip to content
Official PYQ · 2017

GATE CS 2017 Set 2 Q21 — Partial Orders and Lattices

Explain with AI

Consider the set  X={a,b,c,d,e}X=\{a, b, c, d, e\}  under 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 ______

View worked solution

Answer: 0

A partially ordered set (poset) (X,R)(X, R) is a lattice if every pair of elements x,y∈Xx, y \in X has a unique least upper bound (LUB, join) and a unique greatest lower bound (GLB, meet).

From the given relation RR, we can trace the Hasse diagram:

  • aa is the least element (since a≤xa \le x for all x∈Xx \in X).
  • ee is the greatest element (since x≤ex \le e for all x∈Xx \in X).
  • The elements form two main branches: a→b→c→ea \to b \to c \to e and a→d→ea \to d \to e.

Let us verify the existence of LUB and GLB for all pairs of elements:

  • For any pair containing the least element aa or the greatest element ee, the GLB and LUB trivially exist.
  • For the pair (b,c)(b, c): since b≤cb \le c, we have GLB(b,c)=b\text{GLB}(b, c) = b and LUB(b,c)=c\text{LUB}(b, c) = c.
  • For the pair (b,d)(b, d): the only common lower bound is aa, so GLB(b,d)=a\text{GLB}(b, d) = a. The only common upper bound is ee, so LUB(b,d)=e\text{LUB}(b, d) = e.
  • For the pair (c,d)(c, d): the common lower bounds are {a,b}\{a, b\}, and the greatest among them is bb (since a≤ba \le b), so GLB(c,d)=b\text{GLB}(c, d) = b. The only common upper bound is ee, so LUB(c,d)=e\text{LUB}(c, d) = e.

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

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Partial Orders and Lattices questions