Relations - review A binary relation on A is a subset of A×A (set of ordered pairs of elements from A) Example: A = {a,b,c,d,e} R = { (a,a),(a,b),(b,b),(b,c),

Slides:



Advertisements
Similar presentations
Reflexive example: AB = AB Symmetric example: AB = BA
Advertisements

Chapter 3 Relations. Section 3.1 Relations and Digraphs.
Chap6 Relations Def 1: Let A and B be sets. A binary relation from A
Basic Properties of Relations
Discrete Mathematics Lecture # 16 Inverse of Relations.
Proving Segment Relationships Postulate The Ruler Postulate The points on any line or line segment can be paired with real numbers so that, given.
Ch. 8: Relations 8.1 Relations and their Properties.
CSE115/ENGR160 Discrete Mathematics 04/24/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 05/03/11 Ming-Hsuan Yang UC Merced 1.
Discrete Mathematics Lecture#11.
1 Section 7.1 Relations and their properties. 2 Binary relation A binary relation is a set of ordered pairs that expresses a relationship between elements.
Exam 2 Review 8.2, 8.5, 8.6, Thm. 1 for 2 roots, Thm. 2 for 1 root Theorem 1: Let c 1, c 2 be elements of the real numbers. Suppose r 2 -c 1.
Exam 2 Review 7.5, 7.6, |A1  A2  A3| =∑|Ai| - ∑|Ai ∩ Aj| + |A1∩ A2 ∩ A3| |A1  A2  A3  A4| =∑|Ai| - ∑|Ai ∩ Aj| + ∑ |Ai∩ Aj ∩ Ak| - |A1∩
1 Relations and Their Properties Epp, section ??? CS 202 Aaron Bloomfield.
Relations (1) Rosen 6 th ed., ch. 8. Binary Relations Let A, B be any two sets. A binary relation R from A to B, written (with signature) R:A↔B, is a.
Chapter 4 Relations and Digraphs
1 Relations Rosen 6 th ed., § Relations Re lationships between elements of sets occur in many contextsRe lationships between elements of sets occur.
Digraphs and Relations Warm Up. The Divisibility Relation Let “|” be the binary relation on N×N such that a|b (“a divides b”) iff there is an n ∈ N such.
Sets Define sets in 2 ways  Enumeration  Set comprehension (predicate on membership), e.g., {n | n  N   k  k  N  n = 10  k  0  n  50} the set.
1 Relations and Their Properties Rosen, section 7.1 CS/APMA 202 Aaron Bloomfield.
Properties and Mental Computation p. 80. Math talk What are some math properties that we use? Why do you think we have them? Do you ever use them?
Relations, Functions, and Countability
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Relations.
Relations & Their Properties: Selected Exercises.
Section 4.4 Properties of Relations. Order Relations Draw an arrow diagram for the relation R defined on the set {1,2,3,4} such that
CS 103 Discrete Structures Lecture 19 Relations. Chapter 9.
Discrete Mathematics Lecture # 15 Types of Relations (contd.)
1 Partial Orderings Aaron Bloomfield CS 202 Epp, section ???
Equivalence Relations. Partial Ordering Relations 1.
Chapter Relations and Their Properties
1 RELATIONS Learning outcomes Students are able to: a. determine the properties of relations – reflexive, symmetric, transitive, and antisymmetric b. determine.
Objective: To prove and apply theorems about angles Proving Angles Congruent (2-6)
RelationsCSCE 235, Spring Introduction A relation between elements of two sets is a subset of their Cartesian products (set of all ordered pairs.
Chap. 7 Relations: The Second Time Around
1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.
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 B = {a,b} {( 0, a), (
Advanced Digital Designs Jung H. Kim. Chapter 1. Sets, Relations, and Lattices.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 41 May 7, 2008.
Section 9.1. Section Summary Relations and Functions Properties of Relations Reflexive Relations Symmetric and Antisymmetric Relations Transitive Relations.
Lecture 7: Relations Dr Andrew Purkiss-Trew Cancer Research UK Mathematics for Computing.
Citra Noviyasari, S.Si, MT
Relations and Their Properties
Partial Orders.
Partial Orderings.
2.4 Objective: The student will be able to:
Dr. Ameria Eldosoky Discrete mathematics
Cartesian product Given two sets A, B we define their Cartesian product is the set of all the pairs whose first element is in A and second in B. Note that.
Aaron Bloomfield CS 202 Epp, section ???
Relations and Their Properties
Chapter 2.6 (Part 1): Prove Statements about Segments and Angles
Applied Discrete Mathematics Week 9: Equivalence Relations
Relations and Their Properties
8.1 Relations and Their Properties
2.6 Prove Statements about Segments and ∡s
Relations: representation and closures
Discrete Math (2) Haiming Chen Associate Professor, PhD
Applied Discrete Mathematics Week 5: Boolean Algebra
Relations and their Properties
4.5 Equivalence Relations
Equivalence Relations
Properties of Equality
Discrete Math (2) Haiming Chen Associate Professor, PhD
2.6 Proving Statements about Angles
9.5 Equivalence Relations
Basics of Relations.
Proving Statements about Angles
Agenda Lecture Content: Relations (Relasi)
Lecture # 16 Inverse of Relations
Ø Let the universe set U={1,2,3,...,10}.
4.4 Properties of Relations
Presentation transcript:

Relations - review A binary relation on A is a subset of A×A (set of ordered pairs of elements from A) Example: A = {a,b,c,d,e} R = { (a,a),(a,b),(b,b),(b,c), (c,e),(d,a),(d,c),(e,b) } A binary relation between A and B is a subset of A×B (a set of pairs (a,b) where a  A and b  B) abcde a b c d e

Types of relations reflexive (a,a)  R for all a  A symmetric if (a,b)  R, then (b,a)  R transitive if (a,b)  R and (b,c)  R, then (a,c)  R reflexive ?? symmetric ?? transitive ?? abcde a11000 b01100 c00001 d10100 e

Question #1 Number of relations on a set of n elements ? symmetric reflexive symmetric and reflexive symmetric and not reflexive irreflexive asymmetric antisymmetric irreflexive (a,a)  R for all a  A asymmetric if (a,b)  R, then (b,a)  R antisymmetric if (a,b)  R and (b,a)  R, then a=b abcde a b c d e ?

Question #2 If R and S are relations on the same set A: – is R  S also a relation ? – is R  S also a relation ? – is P  R also a relation ? – is P  R also a relation ? reflexive antisymmetric equivalence relationpartial order symmetric ireflexive strict partial ordertotal order equivalence relation = reflexive symmetric transitive “equivalence” of objects e.g., “X has the same age as Y” partial order = reflexive antisymmetric transitive “order” of objects e.g., “X is a subset of Y” strict partial order = ireflexive asymmetric transitive “strict order” of objects e.g., “X is older than Y” total (linear) order = p.o. + every pair comparable: (a,b)  R or (b,a)  R for all a,b  A e.g., “X is a subset of Y” is a partial but not a total order

Question #3 prove Multinomial Theorem – by induction on k — by induction on n – using Binomial Theorem simplify (1) (2) (3)