Ch-3 Discrete Methematics
Ch-3 Discrete Methematics
OR(Computer mathematics)
Chapter 3 Relations
Course Outline: Chapter 3 Relations
• Relations
• Identity Relation
• Inverse Relation
• Reflexive Relation
• Irreflexive Relation
• Symmetric Relation
• Antisymmetric Relation:
• Transitive Relations:
• Equivalence Relation
Relations
• Sets and relation are interconnected with each other. The relation
defines the relation between two given sets.
• If there are two sets available, then to check if there is any connection
between the two sets, we use relations.
Types of Relations
• Identity Relation
• Inverse Relation
• Reflexive Relation
• Irreflexive Relation
• Symmetric Relation
• Antisymmetric Relation:
• Transitive Relations:
• Equivalence Relation
Identity Relation
• I = {(a, a), a ∈ A}
Inverse Relation
• Inverse relation is seen when a set has elements which are inverse
pairs of another set. For example if set A = {(a, b), (c, d)}, then inverse
relation will be R-1 = {(b, a), (d, c)}. So, for an inverse relation,
• Have a look at the following relations and their inverse relations on two sets A
= {a, b, c, d, e} and B = {1, 2, 3, 4, 5}.
• If R = {(a, 2), (b, 4), (c, 1)} ⇔ R-1 = {(2, a), (4, b), (1, c)}
• If R = {(c, 1), (b, 2), (a, 3)} ⇔ R-1 = {(1, c), (2, b), (3, a)}
• If R = {(b, 3), (c, 2), (e, 1)} ⇔ R-1 = {(3, b), (2, c), (1, e)}
Reflexive Relation
• If there is a single element of the set that is not related to itself, then R
is not a reflexive relation. For example, if for b ∈ A and b is not
related to itself (it is denoted by (b, b) ∉ R or 'not bRb') then R is NOT
reflexive.
Reflexive Relation Example
aRa or (a,a)εR
A={1,2,3}
R1 ={(1,1),(2,2)}
R2={((1,1),(2,2),(3,3)}
R3={(1,1),(2,2),(3,3),(1,2)}
R4={(1,1),(2,2),(3,2)}
Irreflexive Relation
Symmetric Relation
• Symmetric Relation
• aRb ⇒ bRa, ∀ a, b ∈ A
Symmetric Relation
Cont..
• Symmetric:
• “arrows back”