SlideShare a Scribd company logo
1 of 8
Download to read offline
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

Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logicankush_kumar
 
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 - 2019TimWiseman12
 
Finite mathematics
Finite mathematicsFinite mathematics
Finite mathematicsIgor 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 ArraysCrescent University Abeokuta
 
BMS scolloquium
BMS scolloquiumBMS scolloquium
BMS scolloquiumIgor Rivin
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur 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 SpaceBRNSS Publication Hub
 
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 FunctionsIOSRJM
 
A presentation on fuzzy equivalence relations
A presentation on fuzzy equivalence relationsA presentation on fuzzy equivalence relations
A presentation on fuzzy equivalence relationspriyanshubaruah94
 
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 TheoreMarco Benini
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
Pigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityPigeonhole Principle,Cardinality,Countability
Pigeonhole Principle,Cardinality,CountabilityKiran Munir
 
CUMC talk notes v3
CUMC talk notes v3CUMC talk notes v3
CUMC talk notes v3Eeshan Wagh
 

What's hot (20)

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
 
Topology
TopologyTopology
Topology
 
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 inferenceasimnawaz54
 
Chapter 01 - p2.pdf
Chapter 01 - p2.pdfChapter 01 - p2.pdf
Chapter 01 - p2.pdfsmarwaneid
 
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 AILonghow Lam
 
Discrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfDiscrete Structure Lecture #5 & 6.pdf
Discrete Structure Lecture #5 & 6.pdfMuhammadUmerIhtisham
 
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 MicroeconomicsJim Webb
 
4.7 Powers of binary relations
4.7 Powers of binary relations4.7 Powers of binary relations
4.7 Powers of binary relationsJan Plaza
 
1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.ppt1606751772-ds-lecture-6.ppt
1606751772-ds-lecture-6.pptTejasAditya2
 
Discreate structure presentation introduction
Discreate structure presentation introductionDiscreate structure presentation introduction
Discreate structure presentation introductionyashirraza123
 
RossellaMarrano_vagueness
RossellaMarrano_vaguenessRossellaMarrano_vagueness
RossellaMarrano_vaguenessRossellaMarrano
 
Statistical convergence.pptx
Statistical convergence.pptxStatistical convergence.pptx
Statistical convergence.pptxDrNidhiSinha
 
February 11 2016
February 11 2016February 11 2016
February 11 2016khyps13
 
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.pdfsuresh640714
 
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 techniques3Mintu246
 
Factor analysis
Factor analysis Factor analysis
Factor analysis Mintu246
 
Cs229 notes9
Cs229 notes9Cs229 notes9
Cs229 notes9VuTran231
 

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
 
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
 
Factor analysis
Factor analysis Factor analysis
Factor analysis
 
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 powersJan 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 schemaJan Plaza
 
1.4 Abstract objects and expressions
1.4 Abstract objects and expressions1.4 Abstract objects and expressions
1.4 Abstract objects and expressionsJan Plaza
 
1.2 Axiom of pair
1.2 Axiom of pair1.2 Axiom of pair
1.2 Axiom of pairJan Plaza
 
1.11 Mathematical induction
1.11 Mathematical induction1.11 Mathematical induction
1.11 Mathematical inductionJan Plaza
 
1.7 The sets of numbers
1.7 The sets of numbers1.7 The sets of numbers
1.7 The sets of numbersJan 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 membershipJan Plaza
 
5.2. Function composition
5.2. Function composition5.2. Function composition
5.2. Function compositionJan Plaza
 
4.6 Relative product and composition
4.6 Relative product and composition4.6 Relative product and composition
4.6 Relative product and compositionJan 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

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Recently uploaded (20)

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 

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.