SlideShare a Scribd company logo
1 of 11
Download to read offline
Introduction to set theory and to methodology and philosophy of
mathematics and computer programming
Inverse relation
An overview
by Jan Plaza
c 2017 Jan Plaza
Use under the Creative Commons Attribution 4.0 International License
Version of April 4, 2017
Definition
The inverse (relation) to R , denoted R−1 , is { b, a : aRb}.
Fact
aR−1b iff bRa.
Example
a isAChildOf b iff b isAParentOf a
So, isAChildOf = isAParentOf−1
Definitions by formulas
R is defined as:
xRy iff x, y ∈ {1..4} ∧ x < y ∧ (x = 3 ∨ y = 3)
R−1 is defined as:
yR−1
x iff x, y ∈ {1..4} ∧ x < y ∧ (x = 3 ∨ y = 3)
or equivalently:
xR−1
y iff x, y ∈ {1..4} ∧ y < x ∧ (y = 3 ∨ x = 3)
In general, if Q is defined as:
xQy iff x ∈ X ∧ y ∈ Y ∧ A(x, y)
then Q−1 is defined as:
yQ−1
x iff x ∈ X ∧ y ∈ Y ∧ A(x, y)
or equivalently:
xQ−1
y iff x ∈ Y ∧ y ∈ X ∧ A(y, x)
Definitions by listing tuples
R = { 1, 3 , 2, 3 , 3, 4 }
R−1
= { 3, 1 , 3, 2 , 4, 3 }
Visualizations as tables
R R−1
x y x y
1 3 3 1
2 3 3 2
3 4 4 3
Visualizations as Cartesian plane graphs
Relation R – black dots. Relation R−1 – circles.
x
y
1 2 3 4
1
2
3
4
Visualizations as discrete Cartesian graphs
Relation R – big black dots. Relation R−1 – circles.
1
2
3
4
1 2 3 4
y



x
Visualizations as directed graphs (with loops)
R
1
2 3
4
R−1
1
2 3
4
Visualizations as domain-to-range diagrams
R
1
2
3
4
1
2
3
4
R−1
1
2
3
4
1
2
3
4
Definitions by truth matrices
Rows are numbered 1, 2, ... from the top; columns – also 1, 2, ..., from the left.
ai,j is the entry in row i and column j.
ai,j = iff i is related to j.
R R−1




⊥ ⊥ ⊥
⊥ ⊥ ⊥
⊥ ⊥ ⊥
⊥ ⊥ ⊥ ⊥








⊥ ⊥ ⊥ ⊥
⊥ ⊥ ⊥ ⊥
⊥ ⊥
⊥ ⊥ ⊥




Transposed matrix to M – symmetrical to M with respect to the diagonal.
The diagonal of a matrix runs from the left top to the right bottom.
a1,1, a2,2, a3,3, a4,4 are on the diagonal.
(We call it the diagonal because the other diagonal is not important.)
Exercise
1. What is the inverse relation to isAGrandparentOf?
2. Is isAGrandsonOf the inverse relation to isAGrandfatherOf?
3. What is the inverse relation to =R?
4. What is the inverse relation to <R?
5. What is the inverse relation to the full relation on R?
6. What is the inverse relation to the empty relation?
Proposition
1. (R−1)−1 = R.
2. Let R ⊆ X × X. Then (R−1)
c
= (Rc)−1.
3. If R1 ⊆ R2 then R−1
1 ⊆ R−1
2 .
Proposition
1. (R ∪ S)−1 =R−1 ∪ S−1.
2. (R ∩ S)−1 =R−1 ∩ S−1.
3. (R − S)−1 =R−1 − S−1.

More Related Content

What's hot

Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.krisoltrillos
 
Relations and functions assignment (2019 20)
Relations and functions assignment (2019 20)Relations and functions assignment (2019 20)
Relations and functions assignment (2019 20)Swati Seth
 
Application of Cylindrical and Spherical coordinate system in double-triple i...
Application of Cylindrical and Spherical coordinate system in double-triple i...Application of Cylindrical and Spherical coordinate system in double-triple i...
Application of Cylindrical and Spherical coordinate system in double-triple i...Sonendra Kumar Gupta
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integralsTarun Gehlot
 
Geometric progression and geomatric mean
Geometric progression and geomatric meanGeometric progression and geomatric mean
Geometric progression and geomatric meanAsifa Zafar
 
Arithmetic Mean, Geometric Mean, Harmonic Mean
Arithmetic Mean, Geometric Mean, Harmonic MeanArithmetic Mean, Geometric Mean, Harmonic Mean
Arithmetic Mean, Geometric Mean, Harmonic MeanDr. Nirav Vyas
 
PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES
PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES   PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES
PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES Mazharul Islam
 
Remainder theorem and factorization of polynomials
Remainder theorem and factorization of polynomialsRemainder theorem and factorization of polynomials
Remainder theorem and factorization of polynomialssusoigto
 
Geometric Progressions
Geometric ProgressionsGeometric Progressions
Geometric ProgressionsAkash Saha
 
Pakej percutian matematik tambahan tingkatan 4
Pakej percutian matematik tambahan tingkatan  4Pakej percutian matematik tambahan tingkatan  4
Pakej percutian matematik tambahan tingkatan 4Siti Adibah Ismail
 

What's hot (19)

Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.Paso 5-Realizar transferencia del conocimiento.
Paso 5-Realizar transferencia del conocimiento.
 
Relations and functions assignment (2019 20)
Relations and functions assignment (2019 20)Relations and functions assignment (2019 20)
Relations and functions assignment (2019 20)
 
Ramsey Theory
Ramsey TheoryRamsey Theory
Ramsey Theory
 
Application of Cylindrical and Spherical coordinate system in double-triple i...
Application of Cylindrical and Spherical coordinate system in double-triple i...Application of Cylindrical and Spherical coordinate system in double-triple i...
Application of Cylindrical and Spherical coordinate system in double-triple i...
 
Gradient of a curve and equation of a
Gradient of a curve and equation of aGradient of a curve and equation of a
Gradient of a curve and equation of a
 
Ms2 gradient of a curve and equation
Ms2 gradient of a curve and equationMs2 gradient of a curve and equation
Ms2 gradient of a curve and equation
 
Double Integrals
Double IntegralsDouble Integrals
Double Integrals
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integrals
 
Geometric progression and geomatric mean
Geometric progression and geomatric meanGeometric progression and geomatric mean
Geometric progression and geomatric mean
 
Arithmetic Mean, Geometric Mean, Harmonic Mean
Arithmetic Mean, Geometric Mean, Harmonic MeanArithmetic Mean, Geometric Mean, Harmonic Mean
Arithmetic Mean, Geometric Mean, Harmonic Mean
 
Ramsey theory
Ramsey theoryRamsey theory
Ramsey theory
 
PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES
PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES   PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES
PRESENTATION ON INTRODUCTION TO SEVERAL VARIABLES AND PARTIAL DERIVATIVES
 
Factor theorem
Factor theoremFactor theorem
Factor theorem
 
Remainder theorem
Remainder theoremRemainder theorem
Remainder theorem
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Remainder theorem and factorization of polynomials
Remainder theorem and factorization of polynomialsRemainder theorem and factorization of polynomials
Remainder theorem and factorization of polynomials
 
Geometric Progressions
Geometric ProgressionsGeometric Progressions
Geometric Progressions
 
Progression
ProgressionProgression
Progression
 
Pakej percutian matematik tambahan tingkatan 4
Pakej percutian matematik tambahan tingkatan  4Pakej percutian matematik tambahan tingkatan  4
Pakej percutian matematik tambahan tingkatan 4
 

Similar to 4.5 Inverse relation

Similar to 4.5 Inverse relation (20)

Introductions to Relations
Introductions to RelationsIntroductions to Relations
Introductions to Relations
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics
 
Relation and function_xii
Relation and function_xiiRelation and function_xii
Relation and function_xii
 
Function and their graphs ppt
Function and their graphs pptFunction and their graphs ppt
Function and their graphs ppt
 
Algebric Functions.pdf
Algebric Functions.pdfAlgebric Functions.pdf
Algebric Functions.pdf
 
Relations and functions
Relations and functions Relations and functions
Relations and functions
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Relations
RelationsRelations
Relations
 
CMSC 56 | Lecture 14: Representing Relations
CMSC 56 | Lecture 14: Representing RelationsCMSC 56 | Lecture 14: Representing Relations
CMSC 56 | Lecture 14: Representing Relations
 
L08a
L08aL08a
L08a
 
Properties of relations
Properties of relationsProperties of relations
Properties of relations
 
Relations
RelationsRelations
Relations
 
Per5 relasi
Per5 relasiPer5 relasi
Per5 relasi
 
Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Final relation1 m_tech(cse)
Final relation1 m_tech(cse)
 
Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Final relation1 m_tech(cse)
Final relation1 m_tech(cse)
 
Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Final relation1 m_tech(cse)
Final relation1 m_tech(cse)
 
Relations & functions.pps
Relations  &  functions.ppsRelations  &  functions.pps
Relations & functions.pps
 
Relations in Discrete Math
Relations in Discrete MathRelations in Discrete Math
Relations in Discrete Math
 
Relations
RelationsRelations
Relations
 
Introduction to The Relations in Mathematics.pptx
Introduction to The Relations in Mathematics.pptxIntroduction to The Relations in Mathematics.pptx
Introduction to The Relations in Mathematics.pptx
 

More from Jan Plaza

6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitionsJan Plaza
 
6.1 Partitions
6.1 Partitions6.1 Partitions
6.1 PartitionsJan Plaza
 
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
 
6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)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
 

More from Jan Plaza (20)

6.3 Equivalences versus partitions
6.3 Equivalences versus partitions6.3 Equivalences versus partitions
6.3 Equivalences versus partitions
 
6.1 Partitions
6.1 Partitions6.1 Partitions
6.1 Partitions
 
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)
 
6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)6.2 Reflexivity, symmetry and transitivity (handout)
6.2 Reflexivity, symmetry and transitivity (handout)
 
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
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
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
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
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
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

4.5 Inverse relation

  • 1. Introduction to set theory and to methodology and philosophy of mathematics and computer programming Inverse relation An overview by Jan Plaza c 2017 Jan Plaza Use under the Creative Commons Attribution 4.0 International License Version of April 4, 2017
  • 2. Definition The inverse (relation) to R , denoted R−1 , is { b, a : aRb}. Fact aR−1b iff bRa. Example a isAChildOf b iff b isAParentOf a So, isAChildOf = isAParentOf−1
  • 3. Definitions by formulas R is defined as: xRy iff x, y ∈ {1..4} ∧ x < y ∧ (x = 3 ∨ y = 3) R−1 is defined as: yR−1 x iff x, y ∈ {1..4} ∧ x < y ∧ (x = 3 ∨ y = 3) or equivalently: xR−1 y iff x, y ∈ {1..4} ∧ y < x ∧ (y = 3 ∨ x = 3) In general, if Q is defined as: xQy iff x ∈ X ∧ y ∈ Y ∧ A(x, y) then Q−1 is defined as: yQ−1 x iff x ∈ X ∧ y ∈ Y ∧ A(x, y) or equivalently: xQ−1 y iff x ∈ Y ∧ y ∈ X ∧ A(y, x)
  • 4. Definitions by listing tuples R = { 1, 3 , 2, 3 , 3, 4 } R−1 = { 3, 1 , 3, 2 , 4, 3 } Visualizations as tables R R−1 x y x y 1 3 3 1 2 3 3 2 3 4 4 3
  • 5. Visualizations as Cartesian plane graphs Relation R – black dots. Relation R−1 – circles. x y 1 2 3 4 1 2 3 4
  • 6. Visualizations as discrete Cartesian graphs Relation R – big black dots. Relation R−1 – circles. 1 2 3 4 1 2 3 4 y    x
  • 7. Visualizations as directed graphs (with loops) R 1 2 3 4 R−1 1 2 3 4
  • 8. Visualizations as domain-to-range diagrams R 1 2 3 4 1 2 3 4 R−1 1 2 3 4 1 2 3 4
  • 9. Definitions by truth matrices Rows are numbered 1, 2, ... from the top; columns – also 1, 2, ..., from the left. ai,j is the entry in row i and column j. ai,j = iff i is related to j. R R−1     ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥         ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥ ⊥     Transposed matrix to M – symmetrical to M with respect to the diagonal. The diagonal of a matrix runs from the left top to the right bottom. a1,1, a2,2, a3,3, a4,4 are on the diagonal. (We call it the diagonal because the other diagonal is not important.)
  • 10. Exercise 1. What is the inverse relation to isAGrandparentOf? 2. Is isAGrandsonOf the inverse relation to isAGrandfatherOf? 3. What is the inverse relation to =R? 4. What is the inverse relation to <R? 5. What is the inverse relation to the full relation on R? 6. What is the inverse relation to the empty relation?
  • 11. Proposition 1. (R−1)−1 = R. 2. Let R ⊆ X × X. Then (R−1) c = (Rc)−1. 3. If R1 ⊆ R2 then R−1 1 ⊆ R−1 2 . Proposition 1. (R ∪ S)−1 =R−1 ∪ S−1. 2. (R ∩ S)−1 =R−1 ∩ S−1. 3. (R − S)−1 =R−1 − S−1.