SlideShare a Scribd company logo
Introduction to set theory and to methodology and philosophy of
mathematics and computer programming
Reflexivity, symmetry and transitivity
An overview
by Jan Plaza
c 2017 Jan Plaza
Use under the Creative Commons Attribution 4.0 International License
Version of December 4, 2017
Definition. Let R be a binary relation over X.
1. R is reflexive on X if ∀x∈X xRx.
2. R is symmetric on X if ∀x,y∈X (xRy → yRx).
3. R is transitive on X if ∀x,y,z∈X (xRy ∧ yRz → xRz).
Example. Let X be the set of all straight lines on a plane.
1. Relation isParallelTo is:
reflexive on X,
symmetric on X,
transitive on X.
2. Relation isPerpendicularTo is:
not reflexive on X,
symmetric on X,
not transitive on X.
Informal Example
Let X be a set of people.
1. Relation isASiblingOf on X is:
not reflexive on X,
symmetric on X,
not transitive on X.
It is not transitive, because
x isASiblingOf y ∧ y isASiblingOf x → x isASiblingOf x does not hold.
2. Relation isAnAncestorOf on X is:
not reflexive,
not symmetric,
transitive.
Exercise
Consider binary relations =Z, =Z, <Z, >Z, Z, Z, the total relation 1Z2 , the empty
relation ∅, and the relation | of divisibility.
1. For each of these relations, check if it is reflexive on Z, if it is symmetric on Z,
and if it is transitive on Z.
2. Graph these relations on the Cartesian plane. Observe that it is reflexivity and
symmetry of the relation is easy to recognize in a graph.
Exercise
Recall congruence modulo k: x ≡k y iff k|(y − x), for any fixed integer k > 1.
Make a discrete Cartesian graph of ≡3 which shows only those ordered pairs x, y
where x ≡3 y and x, y ∈ {−2..6}.
Proposition
≡k, is reflexive on Z, symmetric on Z and transitive on Z.
Proof. We will prove transitivity.
Take any x, y, z such that x ≡k y and y ≡k z.
Goal: x ≡k z.
By the definition of congruence mod k we have:
y − x = m · k, for some m ∈ Z and
z − y = n · k, for some n ∈ Z.
By adding these equations we obtain:
z − x = (m + n) · k, for some m, n ∈ Z.
So, z − x = l · k, for some l ∈ Z.
So, x ≡k z, by the definition of congruence mod k.
Exercise. Prove that ≡k is reflexive on Z and symmetric on Z.
Proposition
Let X is a set with n elements. Then, there are 2n(n−1) relations over X that are
reflexive on X.
Proof
Instead of counting relations reflexive on X it is enough to count subsets of the
Cartesian product X × X without the diagonal.
(Such relations and such subsets are in 1-1 correspondence – there is a bijection.)
The number of such relations is the same as the number of subsets of
(X × X) − { a, a : a ∈ X}.
This set contains n2 − n = n(n − 1) elements.
So the number of its subsets, and the number of relations in question is 2n(n−1).
Exercise. Assume that X is a set with n elements.
1. How many binary relations over X are there?
2. How many binary relations over X are reflexive on X?
3. How many binary relations over X are not reflexive on X?
4. How many binary relations over X are symmetric on X?
5. How many binary relations over X are not symmetric on X?
6. How many binary relations over X are reflexive on X and symmetric on X?
7. How many binary relations over X are reflexive on X and not symmetric on X?
8. How many binary relations over X are not reflexive on X and symmetric X?
9. How many binary relations over X are not reflexive on X and not symmetric on
X?
Hint: in order to answer the next question you may need to use answers to some of the
previous questions.
Claim. If R is symmetric on X and transitive on X then it is reflexive on X.
We will attempt to prove it.
Assume R is symmetric on X and transitive on X.
Take any x, y such that xRy.
By symmetry, yRx.
By transitivity, xRy ∧ yRx → xRx.
So, xRx.
We conclude that R is reflexive on X.
Is this conclusion correct? No. We proved only this:
If R is symmetric on X and transitive on X then it is reflexive on domain(R).
Exercise. Find R and X that disprove the Claim above.
Proposition
Let X = field(R). If R is symmetric on X and transitive on X then it is reflexive on X.
Exercise. Prove this proposition.

More Related Content

What's hot

Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Topology M.Sc. 2 semester Mathematics compactness, unit - 4Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Shri Shankaracharya College, Bhilai,Junwani
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
ankush_kumar
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
Laguna State Polytechnic University
 
Minimality in homological PDE- Charles E. Rodgers - 2019
Minimality in homological PDE- Charles E. Rodgers - 2019Minimality in homological PDE- Charles E. Rodgers - 2019
Minimality in homological PDE- Charles E. Rodgers - 2019
TimWiseman12
 
Propositional Logic and Pridicate logic
Propositional Logic and Pridicate logicPropositional Logic and Pridicate logic
Propositional Logic and Pridicate logic
Roorkee College of Engineering, Roorkee
 
Finite mathematics
Finite mathematicsFinite mathematics
Finite mathematics
Igor Rivin
 
The h-Integrability and the Weak Laws of Large Numbers for Arrays
The h-Integrability and the Weak Laws of Large Numbers for ArraysThe h-Integrability and the Weak Laws of Large Numbers for Arrays
The h-Integrability and the Weak Laws of Large Numbers for Arrays
Crescent University Abeokuta
 
Math
MathMath
BMS scolloquium
BMS scolloquiumBMS scolloquium
BMS scolloquium
Igor Rivin
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
Abdur Rehman
 
On Review of the Cluster Point of a Set in a Topological Space
On Review of the Cluster Point of a Set in a Topological SpaceOn Review of the Cluster Point of a Set in a Topological Space
On Review of the Cluster Point of a Set in a Topological Space
BRNSS Publication Hub
 
Ring
RingRing
Devaney Chaos Induced by Turbulent and Erratic Functions
Devaney Chaos Induced by Turbulent and Erratic FunctionsDevaney Chaos Induced by Turbulent and Erratic Functions
Devaney Chaos Induced by Turbulent and Erratic Functions
IOSRJM
 
A presentation on fuzzy equivalence relations
A presentation on fuzzy equivalence relationsA presentation on fuzzy equivalence relations
A presentation on fuzzy equivalence relations
priyanshubaruah94
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
Ikhtiar Khan Sohan
 
Explaining the Kruskal Tree Theore
Explaining the Kruskal Tree TheoreExplaining the Kruskal Tree Theore
Explaining the Kruskal Tree Theore
Marco Benini
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
blaircomp2003
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,Countability
Kiran Munir
 
CUMC talk notes v3
CUMC talk notes v3CUMC talk notes v3
CUMC talk notes v3
Eeshan Wagh
 

What's hot (19)

Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Topology M.Sc. 2 semester Mathematics compactness, unit - 4Topology M.Sc. 2 semester Mathematics compactness, unit - 4
Topology M.Sc. 2 semester Mathematics compactness, unit - 4
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
Minimality in homological PDE- Charles E. Rodgers - 2019
Minimality in homological PDE- Charles E. Rodgers - 2019Minimality in homological PDE- Charles E. Rodgers - 2019
Minimality in homological PDE- Charles E. Rodgers - 2019
 
Propositional Logic and Pridicate logic
Propositional Logic and Pridicate logicPropositional Logic and Pridicate logic
Propositional Logic and Pridicate logic
 
Finite mathematics
Finite mathematicsFinite mathematics
Finite mathematics
 
The h-Integrability and the Weak Laws of Large Numbers for Arrays
The h-Integrability and the Weak Laws of Large Numbers for ArraysThe h-Integrability and the Weak Laws of Large Numbers for Arrays
The h-Integrability and the Weak Laws of Large Numbers for Arrays
 
Math
MathMath
Math
 
BMS scolloquium
BMS scolloquiumBMS scolloquium
BMS scolloquium
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
On Review of the Cluster Point of a Set in a Topological Space
On Review of the Cluster Point of a Set in a Topological SpaceOn Review of the Cluster Point of a Set in a Topological Space
On Review of the Cluster Point of a Set in a Topological Space
 
Ring
RingRing
Ring
 
Devaney Chaos Induced by Turbulent and Erratic Functions
Devaney Chaos Induced by Turbulent and Erratic FunctionsDevaney Chaos Induced by Turbulent and Erratic Functions
Devaney Chaos Induced by Turbulent and Erratic Functions
 
A presentation on fuzzy equivalence relations
A presentation on fuzzy equivalence relationsA presentation on fuzzy equivalence relations
A presentation on fuzzy equivalence relations
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
 
Explaining the Kruskal Tree Theore
Explaining the Kruskal Tree TheoreExplaining the Kruskal Tree Theore
Explaining the Kruskal Tree Theore
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,Countability
 
CUMC talk notes v3
CUMC talk notes v3CUMC talk notes v3
CUMC talk notes v3
 

Similar to 6.2 Reflexivity, symmetry and transitivity (handout)

6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
Jan Plaza
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
asimnawaz54
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
smarwaneid
 
A Unifying theory for blockchain and AI
A Unifying theory for blockchain and AIA Unifying theory for blockchain and AI
A Unifying theory for blockchain and AI
Longhow Lam
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdf
MuhammadUmerIhtisham
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
inventionjournals
 
Advanced Microeconomics
Advanced MicroeconomicsAdvanced Microeconomics
Advanced Microeconomics
Jim Webb
 
4.7 Powers of binary relations
4.7 Powers of binary relations4.7 Powers of binary relations
4.7 Powers of binary relations
Jan Plaza
 
1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt
TejasAditya2
 
Discreate structure presentation introduction
Discreate structure presentation introductionDiscreate structure presentation introduction
Discreate structure presentation introduction
yashirraza123
 
RossellaMarrano_vagueness
RossellaMarrano_vaguenessRossellaMarrano_vagueness
RossellaMarrano_vagueness
RossellaMarrano
 
2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...
2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...
2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...
The Statistical and Applied Mathematical Sciences Institute
 
Quantification
QuantificationQuantification
Quantification
Abdur Rehman
 
Statistical convergence.pptx
Statistical convergence.pptxStatistical convergence.pptx
Statistical convergence.pptx
DrNidhiSinha
 
February 11 2016
February 11 2016February 11 2016
February 11 2016
khyps13
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
Math Homework Solver
 
2. If you have a nonlinear relationship between an independent varia.pdf
2. If you have a nonlinear relationship between an independent varia.pdf2. If you have a nonlinear relationship between an independent varia.pdf
2. If you have a nonlinear relationship between an independent varia.pdf
suresh640714
 
Factor analysis
Factor analysis Factor analysis
Factor analysis
Mintu246
 
A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3
Mintu246
 
Cs229 notes9
Cs229 notes9Cs229 notes9
Cs229 notes9
VuTran231
 

Similar to 6.2 Reflexivity, symmetry and transitivity (handout) (20)

6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)6.2 Reflexivity, symmetry and transitivity (dynamic slides)
6.2 Reflexivity, symmetry and transitivity (dynamic slides)
 
Lecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inferenceLecture 2 predicates quantifiers and rules of inference
Lecture 2 predicates quantifiers and rules of inference
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdf
 
A Unifying theory for blockchain and AI
A Unifying theory for blockchain and AIA Unifying theory for blockchain and AI
A Unifying theory for blockchain and AI
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdf
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
Advanced Microeconomics
Advanced MicroeconomicsAdvanced Microeconomics
Advanced Microeconomics
 
4.7 Powers of binary relations
4.7 Powers of binary relations4.7 Powers of binary relations
4.7 Powers of binary relations
 
1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt
 
Discreate structure presentation introduction
Discreate structure presentation introductionDiscreate structure presentation introduction
Discreate structure presentation introduction
 
RossellaMarrano_vagueness
RossellaMarrano_vaguenessRossellaMarrano_vagueness
RossellaMarrano_vagueness
 
2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...
2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...
2018 Modern Math Workshop - Contact Invariants and Reeb Dynamics - Jo Nelson,...
 
Quantification
QuantificationQuantification
Quantification
 
Statistical convergence.pptx
Statistical convergence.pptxStatistical convergence.pptx
Statistical convergence.pptx
 
February 11 2016
February 11 2016February 11 2016
February 11 2016
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
2. If you have a nonlinear relationship between an independent varia.pdf
2. If you have a nonlinear relationship between an independent varia.pdf2. If you have a nonlinear relationship between an independent varia.pdf
2. If you have a nonlinear relationship between an independent varia.pdf
 
Factor analysis
Factor analysis Factor analysis
Factor analysis
 
A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3A comparative analysis of predictve data mining techniques3
A comparative analysis of predictve data mining techniques3
 
Cs229 notes9
Cs229 notes9Cs229 notes9
Cs229 notes9
 

More from Jan Plaza

5.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)
Jan Plaza
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)
Jan Plaza
 
5.7 Function powers
5.7 Function powers5.7 Function powers
5.7 Function powers
Jan Plaza
 
5.6 Function inverse. A handout.
5.6 Function inverse. A handout.5.6 Function inverse. A handout.
5.6 Function inverse. A handout.
Jan Plaza
 
5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.
Jan Plaza
 
5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.
Jan Plaza
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.
Jan Plaza
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.
Jan Plaza
 
5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.
Jan Plaza
 
5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.
Jan Plaza
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.
Jan Plaza
 
1.8 Separation schema
1.8 Separation schema1.8 Separation schema
1.8 Separation schema
Jan Plaza
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressions
Jan Plaza
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pair
Jan Plaza
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical induction
Jan Plaza
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbers
Jan Plaza
 
1.6 Subsets
1.6 Subsets1.6 Subsets
1.6 Subsets
Jan Plaza
 
1.1 Notions of set and membership
1.1 Notions of set and membership1.1 Notions of set and membership
1.1 Notions of set and membership
Jan Plaza
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function composition
Jan Plaza
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and composition
Jan Plaza
 

More from Jan Plaza (20)

5.8 Permutations (handout)
5.8 Permutations (handout)5.8 Permutations (handout)
5.8 Permutations (handout)
 
5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)5.8 Permutations (dynamic slides)
5.8 Permutations (dynamic slides)
 
5.7 Function powers
5.7 Function powers5.7 Function powers
5.7 Function powers
 
5.6 Function inverse. A handout.
5.6 Function inverse. A handout.5.6 Function inverse. A handout.
5.6 Function inverse. A handout.
 
5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.5.6 Function inverse. Dynamic slides.
5.6 Function inverse. Dynamic slides.
 
5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.5.5 Injective and surjective functions. A handout.
5.5 Injective and surjective functions. A handout.
 
5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.5.5 Injective and surjective functions. Dynamic slides.
5.5 Injective and surjective functions. Dynamic slides.
 
5.3 Basic functions. A handout.
5.3 Basic functions. A handout.5.3 Basic functions. A handout.
5.3 Basic functions. A handout.
 
5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.5.3 Basic functions. Dynamic slides.
5.3 Basic functions. Dynamic slides.
 
5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.5.1 Defining and visualizing functions. A handout.
5.1 Defining and visualizing functions. A handout.
 
5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.5.1 Defining and visualizing functions. Dynamic slides.
5.1 Defining and visualizing functions. Dynamic slides.
 
1.8 Separation schema
1.8 Separation schema1.8 Separation schema
1.8 Separation schema
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressions
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pair
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical induction
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbers
 
1.6 Subsets
1.6 Subsets1.6 Subsets
1.6 Subsets
 
1.1 Notions of set and membership
1.1 Notions of set and membership1.1 Notions of set and membership
1.1 Notions of set and membership
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function composition
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and composition
 

Recently uploaded

How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 

Recently uploaded (20)

How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 

6.2 Reflexivity, symmetry and transitivity (handout)

  • 1. Introduction to set theory and to methodology and philosophy of mathematics and computer programming Reflexivity, symmetry and transitivity An overview by Jan Plaza c 2017 Jan Plaza Use under the Creative Commons Attribution 4.0 International License Version of December 4, 2017
  • 2. Definition. Let R be a binary relation over X. 1. R is reflexive on X if ∀x∈X xRx. 2. R is symmetric on X if ∀x,y∈X (xRy → yRx). 3. R is transitive on X if ∀x,y,z∈X (xRy ∧ yRz → xRz). Example. Let X be the set of all straight lines on a plane. 1. Relation isParallelTo is: reflexive on X, symmetric on X, transitive on X. 2. Relation isPerpendicularTo is: not reflexive on X, symmetric on X, not transitive on X.
  • 3. Informal Example Let X be a set of people. 1. Relation isASiblingOf on X is: not reflexive on X, symmetric on X, not transitive on X. It is not transitive, because x isASiblingOf y ∧ y isASiblingOf x → x isASiblingOf x does not hold. 2. Relation isAnAncestorOf on X is: not reflexive, not symmetric, transitive.
  • 4. Exercise Consider binary relations =Z, =Z, <Z, >Z, Z, Z, the total relation 1Z2 , the empty relation ∅, and the relation | of divisibility. 1. For each of these relations, check if it is reflexive on Z, if it is symmetric on Z, and if it is transitive on Z. 2. Graph these relations on the Cartesian plane. Observe that it is reflexivity and symmetry of the relation is easy to recognize in a graph. Exercise Recall congruence modulo k: x ≡k y iff k|(y − x), for any fixed integer k > 1. Make a discrete Cartesian graph of ≡3 which shows only those ordered pairs x, y where x ≡3 y and x, y ∈ {−2..6}.
  • 5. Proposition ≡k, is reflexive on Z, symmetric on Z and transitive on Z. Proof. We will prove transitivity. Take any x, y, z such that x ≡k y and y ≡k z. Goal: x ≡k z. By the definition of congruence mod k we have: y − x = m · k, for some m ∈ Z and z − y = n · k, for some n ∈ Z. By adding these equations we obtain: z − x = (m + n) · k, for some m, n ∈ Z. So, z − x = l · k, for some l ∈ Z. So, x ≡k z, by the definition of congruence mod k. Exercise. Prove that ≡k is reflexive on Z and symmetric on Z.
  • 6. Proposition Let X is a set with n elements. Then, there are 2n(n−1) relations over X that are reflexive on X. Proof Instead of counting relations reflexive on X it is enough to count subsets of the Cartesian product X × X without the diagonal. (Such relations and such subsets are in 1-1 correspondence – there is a bijection.) The number of such relations is the same as the number of subsets of (X × X) − { a, a : a ∈ X}. This set contains n2 − n = n(n − 1) elements. So the number of its subsets, and the number of relations in question is 2n(n−1).
  • 7. Exercise. Assume that X is a set with n elements. 1. How many binary relations over X are there? 2. How many binary relations over X are reflexive on X? 3. How many binary relations over X are not reflexive on X? 4. How many binary relations over X are symmetric on X? 5. How many binary relations over X are not symmetric on X? 6. How many binary relations over X are reflexive on X and symmetric on X? 7. How many binary relations over X are reflexive on X and not symmetric on X? 8. How many binary relations over X are not reflexive on X and symmetric X? 9. How many binary relations over X are not reflexive on X and not symmetric on X? Hint: in order to answer the next question you may need to use answers to some of the previous questions.
  • 8. Claim. If R is symmetric on X and transitive on X then it is reflexive on X. We will attempt to prove it. Assume R is symmetric on X and transitive on X. Take any x, y such that xRy. By symmetry, yRx. By transitivity, xRy ∧ yRx → xRx. So, xRx. We conclude that R is reflexive on X. Is this conclusion correct? No. We proved only this: If R is symmetric on X and transitive on X then it is reflexive on domain(R). Exercise. Find R and X that disprove the Claim above. Proposition Let X = field(R). If R is symmetric on X and transitive on X then it is reflexive on X. Exercise. Prove this proposition.