Discrete Math (2) Haiming Chen Associate Professor, PhD

Slides:



Advertisements
Similar presentations
Partial Orderings Section 8.6.
Advertisements

CSE 211- Discrete Structures1 Relations Ch 2 schaums, Ch 7 Rosen.
CSCI 115 Chapter 6 Order Relations and Structures.
Relations Relations on a Set. Properties of Relations.
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.
Orderings and Bounds Parallel FSM Decomposition Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 10 Update and modified by Marek.
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)
Lecture 9 Illustrations Lattices. Fixpoints Abstract Interpretation.
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.
Discrete Structures – CNS2300
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
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
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
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)
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.)
1 Section 4.3 Order Relations A binary relation is an partial order if it transitive and antisymmetric. If R is a partial order over the set S, we also.
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.
Certain elements have special importance in posets. The maximal element(s) is the greatest element(s). The minimal element (s) is the element (s) with.
Chap. 7 Relations: The Second Time Around
1 Partial Orderings Based on Slides by Chuck Allison from Rosen, Chapter 8.6 Modified by.
1 Partial Orderings Epp, section Introduction An equivalence relation is a relation that is reflexive, symmetric, and transitive A partial ordering.
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 Orderings CSE 2813 Discrete Structures.
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 
Equivalence Relations
Atmiya Institute of Technology & Science
6.1 Partially Ordered Sets
Relations Chapter 9.
Partial Orderings.
Relations and Digraphs
Aaron Bloomfield CS 202 Epp, section ???
Introductory Material
Discrete Math (2) Haiming Chen Associate Professor, PhD
Relations and their Properties
Formal Definition and Examples
Discrete Math (2) Haiming Chen Associate Professor, PhD
Definition 2. 20: Let R be an equivalence relation on a set A
Background material.
Discrete Math (2) Haiming Chen Associate Professor, PhD
Relations.
교환 학생 프로그램 내년 1월 중순부터 6월 초 현재 학부 2,3 학년?
Background material.
Foundations of Discrete Mathematics
Introductory Material
Presentation transcript:

Discrete Math (2) Haiming Chen Associate Professor, PhD Department of Computer Science, Ningbo University http://www.chenhaiming.cn

Partial Orderings A relation R on a set S is called a partial ordering or partial order if it is reflexive, antisymmetric, and transitive. A set S together with a partial ordering R is called a partially ordered set, or poset, and is denoted by (S,R).

Example 1 “greater than or equal” relation (≥) on the set of integers reflexive? antisymmetric? transitive?

Example 2 The divisibility relation | on the set of positive integers reflexive? antisymmetric? transitive?

Example 3 the inclusion relation ⊆ on the power set of a set S reflexive? antisymmetric? transitive?

Example 4 Let R be the relation on the set of people such that xRy if x and y are people and x is older than y. antisymmetric? transitive? reflexive?

Partial Orderings In different posets different symbols such as ≤, ⊆, and |, are used for a partial ordering. a symbol that we can use when we discuss the ordering relation in an arbitrary poset the symbol is used to denote the relation in any poset, not just the “less than or equals”relation

Partial Orderings When every two elements in the set are comparable, the relation is called a total ordering. A totally ordered set is also called a chain.

Lexicographic Order two posets, lexicographic ordering on A1 × A2

Example 1

Lexicographic Order A lexicographic ordering can be defined on the Cartesian product of n posets

Lexicographic Order The definition of lexicographic ordering is that the string a1a2 . . . am is less than b1b2 . . . bn if and only if t = min(m, n)

Hasse Diagrams all edges are pointed “upward” a partial ordering must be reflexive a partial ordering must be transitive

Example 1 Draw the Hasse diagram representing the partial ordering {(a, b) |a divides b} on {1, 2, 3, 4, 6, 8, 12}.

Example 2 Draw the Hasse diagram for the partial ordering {(A,B) | A ⊆ B} on the power set P(S) where S = {a, b, c}. {a,b,c} {a,c} {b,c} {a,b} {a} {c} {b} ∅

Maximal and Minimal Elements a is maximal in the poset (S, ) if there is no b ∈ S such that a ≺ b. a is minimal if there is no element b ∈ S such that b ≺ a. They are the “top” and “bottom” elements in the diagram.

Maximal and Minimal Elements Which elements of the poset ({2, 4, 5, 10, 12, 20, 25}, |) are maximal, and which are minimal? greatest element greatest element least element least element

Upper bound and lower bound an element that is greater than or equal to all the elements in a subset A of a poset (S, ). u is an element of S such that a u for all elements a ∈ A l is an element of S such that l a for all elements a ∈ A

Example 1 Find the lower and upper bounds of the subsets {a, b, c}, {j, h}, and {a, c, d, f } e, f, j, and h ; a ; a, b, c, d, e, and f f , h, and j; a least upper bound greatest lower bound

Lattices A partially ordered set in which every pair of elements has both a least upper bound and a greatest lower bound

Homework Page 630, Ex.8(c), 21, 32, 43(a)