Partial Orderings CSE 2813 Discrete Structures.

Slides:



Advertisements
Similar presentations
Partial Orderings Section 8.6.
Advertisements

CSE 211- Discrete Structures1 Relations Ch 2 schaums, Ch 7 Rosen.
Partial Orders Section 8.6 of Rosen Fall 2010 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:
CSCI 115 Chapter 6 Order Relations and Structures.
Relations Relations on a Set. Properties of Relations.
CSE115/ENGR160 Discrete Mathematics 04/26/12 Ming-Hsuan Yang UC Merced 1.
8.6 Partial Orderings. Definition Partial ordering– a relation R on a set S that is Reflexive, Antisymmetric, and Transitive Examples? R={(a,b)| a is.
Chapter 7 Relations : the second time around
CSE115/ENGR160 Discrete Mathematics 05/03/11 Ming-Hsuan Yang UC Merced 1.
Relations binary relations xRy on sets x  X y  Y R  X  Y Example: “less than” relation from A={0,1,2} to B={1,2,3} use traditional notation 0 < 1,
Partial Orderings: Selected Exercises
Partially Ordered Sets Basic Concepts
Section 7.6: Partial Orderings Def: A relation R on a set S is called a partial ordering (or partial order) if it is reflexive, antisymmetric, and transitive.
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Partially Ordered Sets (POSets)
Relations Chapter 9.
Chapter 9 1. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing.
Relations (3) Rosen 6th ed., ch fall.
Chapter 6. Order Relations and Structure
1 Partial Orderings Aaron Bloomfield CS 202 Rosen, section 7.6.
Chapter 9. Chapter Summary Relations and Their Properties Representing Relations Equivalence Relations Partial Orderings.
Discrete Structures – CNS2300
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Discrete Math for CS Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation.
2.6 Equivalence Relation §1.Equivalence relation §Definition 2.18: A relation R on a set A is called an equivalence relation if it is reflexive, symmetric,
Chapter 9. Section 9.1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and.
8.3 Representing Relations Directed Graphs –Vertex –Arc (directed edge) –Initial vertex –Terminal vertex.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 8 Relations 歐亞書局.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Relations and their Properties
Sets, Relations, and Lattices
Sets and Subsets Set A set is a collection of well-defined objects (elements/members). The elements of the set are said to belong to (or be contained in)
Discrete Mathematics Lecture # 15 Types of Relations (contd.)
1 Partial Orderings Aaron Bloomfield CS 202 Epp, section ???
Problem Statement How do we represent relationship between two related elements ?
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
Unit II Discrete Structures Relations and Functions SE (Comp.Engg.)
Chapter 8: Relations. 8.1 Relations and Their Properties Binary relations: Let A and B be any two sets. A binary relation R from A to B, written R : A.
Chap. 7 Relations: The Second Time Around
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
Advanced Digital Designs Jung H. Kim. Chapter 1. Sets, Relations, and Lattices.
Section 9.3. Section Summary Representing Relations using Matrices Representing Relations using Digraphs.
1 Partial Orderings Epp, section Introduction An equivalence relation is a relation that is reflexive, symmetric, and transitive A partial ordering.
Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation is a relation on.
Relations and Their Properties
Chapter 5 Relations and Operations
Partial Orderings: Selected Exercises
Chapter 6 Order Relations and Structures
CSE 2813 Discrete Structures
Unit-III Algebraic Structures
Partial Orders.
Partial Orders (POSETs)
CSE15 Discrete Mathematics 05/03/17
Relations Binary relations represent relationships between the elements of two sets. A binary relation R from set A to set B is defined by: R  A 
Learn about relations and their basic properties
Equivalence Relations
6.1 Partially Ordered Sets
Relations Chapter 9.
Partial Orderings.
Relations and Digraphs
Aaron Bloomfield CS 202 Epp, section ???
Relations and Their Properties
Discrete Math (2) Haiming Chen Associate Professor, PhD
Formal Definition and Examples
CSE 321 Discrete Structures
Definition 2. 20: Let R be an equivalence relation on a set A
Background material.
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Background material.
Foundations of Discrete Mathematics
Presentation transcript:

Partial Orderings CSE 2813 Discrete Structures

Introduction A relation R on a set S is called a partial ordering or partial order if it is: reflexive antisymmetric transitive A set S together with a partial ordering R is called a partially ordered set, or poset, and is denoted by (S,R). CSE 2813 Discrete Structures

Example Let R be a relation on set A. Is R a partial order? (2,3),(2,4),(3,3),(3,4),(4,4)} CSE 2813 Discrete Structures

Example Is the “” relation is a partial ordering on the set of integers? Since a  a for every integer a,  is reflexive If a  b and b  a, then a = b. Hence  is anti-symmetric. Since a  b and b  c implies a  c,  is transitive. Therefore “” is a partial ordering on the set of integers and (Z, ) is a poset. CSE 2813 Discrete Structures

Comparable/Incomparable In a poset the notation a ≼ b denotes (a,b) ∈ R The “less than or equal to” ()is just an example of partial ordering The elements a and b of a poset (S, ≼) are called comparable if either a≼b or b≼a. The elements a and b of a poset (S, ≼) are called incomparable if neither a≼b nor b≼a. In the poset (Z+, |): Are 3 and 9 comparable? Are 5 and 7 comparable? CSE 2813 Discrete Structures

Total Order We said: “Partial ordering” because pairs of elements may be incomparable. If every two elements of a poset (S, ≼) are comparable, then S is called a totally ordered or linearly ordered set and ≼ is called a total order or linear order. The poset (Z+, ) is totally ordered. Why? The poset (Z+, |) is not totally ordered. CSE 2813 Discrete Structures

Hasse Diagram Graphical representation of a poset Since a poset is by definition reflexive and transitive (and antisymmetric), the graphical representation for a poset can be compacted. For example, why do we need to include loops at every vertex? Since it’s a poset, it must have loops there. CSE 2813 Discrete Structures

Constructing a Hasse Diagram Start with the digraph of the partial order. Remove the loops at each vertex. Remove all edges that must be present because of the transitivity. Arrange each edge so that all arrows point up. Remove all arrowheads. CSE 2813 Discrete Structures

Example Construct the Hasse diagram for ({1,2,3},) 3 2 1 3 2 1 1 2 3 2 3 1 2 3 1 2 3 CSE 2813 Discrete Structures

Hasse Diagram Terminology Let (S, ≼) be a poset. a is maximal in (S, ≼) if there is no bS such that a≼b. (top of the Hasse diagram) a is minimal in (S, ≼) if there is no bS such that b≼a. (bottom of the Hasse diagram) a is the greatest element of (S, ≼) if b≼a for all bS… it has to be unique a is the least element of (S, ≼) if a≼b for all bS. It has to be unique CSE 2813 Discrete Structures

Hasse Diagram Terminology (Cont ..) Let A be a subset of (S, ≼). If uS such that a≼u for all aA, then u is called an upper bound of A. If lS such that l≼a for all aA, then l is called an lower bound of A. If x is an upper bound of A and x≼z whenever z is an upper bound of A, then x is called the least upper bound of A…unique If y is a lower bound of A and z≼y whenever z is a lower bound of A, then y is called the greatest lower bound of A…unique CSE 2813 Discrete Structures

Example Maximal: h,j Minimal: a Greatest element: None g f d e b c a Maximal: h,j Minimal: a Greatest element: None Least element: a Upper bound of {a,b,c}: e,f,j,h Least upper bound of {a,b,c}: e Lower bound of {a,b,c}: a Greatest lower bound of {a,b,c}: a CSE 2813 Discrete Structures

Lattices A partially ordered set in which every pair of elements has both a least upper bound and greatest lower bound is called a lattice. f e c d b a h e f g b c d a CSE 2813 Discrete Structures