Lattice
Lattice
ns
2 Relations
Contents
Relations and Its Introduction
Representation of Relations:
- Using Matrices
- Using Diagraph
Properties of Relations
Inverse and Complementary Relations
Combining Relations
Composite Relations
Equivalence Relations
Equivalence Classes
Equivalence Relations and Partitions
Closure of Relations
Warshall’s Algorithm
Partial Ordering and Partially Ordered Set
Lexicographic Ordering
Hasse diagram
Topological Sorting
Lattices
Special Types of Lattices
UCS405: Discrete Mathematical Structures
3 Relations
Partial Ordering
A relation on a set is called a partial ordering, or
partial order, if it is:
Reflexive
Antisymmetric
Transitive
Examples
Examples (Cont..)
is a POSET.
Examples (Cont..)
3. Show that the inclusion relation (⊆) is a partial
ordering on the power set of a set S.
Reflexive?
Antisymmetric?
Transitive?
Comparability
The elements a and b of a poset (P,≼) are
comparable if either a ≼ b or b ≼ a.
Comparability (Cont..)
If (P,≼ ) is a poset and every two elements of P are
comparable, P is called a totally ordered or
linearly ordered set, and ≼ is called a total
order or a linear order.
Lexicographic Ordering
Examples
1. Consider strings of lowercase English letters.
Examples (Cont..)
Hasse Diagram
A Hasse diagram is a visual representation of a
partial ordering that leaves out edges that must be
present because of the reflexive and transitive
properties.
Topological Sorting
Minimal element
Examples
Infinite series
0 - Zero Element
Examples
Examples
Lattice
Examples
Examples
Distributive Lattice
Complemented Lattice
Boolean Lattice
Bounded Lattice
Examples (Cont..)
least element is ∅
and greatest element
is the set S itself.
Distributive Lattice
Examples
How?
Complemented Lattice
Examples
𝑎
𝑐 𝑏
Boolean Lattice