SlideShare a Scribd company logo
1 of 7
Download to read offline
Introduction to set theory and to methodology and philosophy of
mathematics and computer programming
Basic binary relations
An overview
by Jan Plaza
c 2017 Jan Plaza
Use under the Creative Commons Attribution 4.0 International License
Version of March 25, 2017
Definition
Let X, Y be any sets.
1. The full binary relation on X , denoted 1X2 , is X ⇥ X.
2. The full (binary) relation on X, Y , denoted 1X,Y , is X ⇥ Y .
3. The empty relation is ;.
4. The equality relation on X , denoted =X , is {hx, xi 2 X ⇥ X : x 2 X}.
5. The disequality relation on X , denoted 6=X , is {hx, yi 2 X ⇥ X : ¬(x=y)}.
The term“inequality” is reserved for 6, >, <, >.
Exercise. Let X = {1, 2, 3, 4}. Make discrete Cartesian graphs of the relations above.
Definition
Let X ✓ R.
1. The less-than-or-equal/smaller-than-or-equal relation on X ,
denoted 6X , is {ha, bi 2 X ⇥ X : a 6 b}.
2. The greater-than-or-equal relation/bigger-than-or-equal on X ,
denoted >X , is {ha, bi 2 X ⇥ X : a > b}.
3. The less-than/smaller-than relation on X ,
denoted <X , is {ha, bi 2 X ⇥ X : a < b}.
4. The greater-than/bigger-than relation on X ,
denoted >X , is {ha, bi 2 X ⇥ X : a > b}.
Exercise. Let X = {1, 2, 3, 4}. Make discrete Cartesian graphs of the relations above.
Definition
Let X be any family of sets.
1. The subset/inclusion relation on X , denoted ✓X , is
{ha, bi 2 X ⇥ X : a ✓ b}.
2. The superset relation on X , denoted ◆X ,
is {ha, bi 2 X ⇥ X : a ◆ b}.
3. The proper subset/inclusion relation on X , denoted ⇢X ,
is {ha, bi 2 X ⇥ X : a ⇢ b}.
4. The proper superset relation on X , denoted X ,
is {ha, bi 2 X ⇥ X : a b}.
Exercise. Let X = P({1, 2}). Why is {1} ✓X {1, 3} false?
In ZFC, a relation must be a set (of ordered pairs).
6 is the same as 6R , and it is a relation because it is a subset of R ⇥ R.
= is not a relation, because {hx1, x2i : x1 =x2} is not a set.
✓ is not a relation, because {hx1, x2i : x1 ✓ x2} is not a set.
2 is not a relation, because {hx1, x2i : x1 2 x2} is not a set.
(They might be relations in the sense of a metatheory of ZFC.)
=X is a relation because {hx1, x2i 2 X ⇥ X : x1 =x2} is a set.
✓X is a relation because {hx1, x2i 2 X ⇥ X : x1 ✓ x2} is a set.
Definition
By the divisibility relation on Z , denoted by the mid symbol | , we understand
the binary relation consisting of all the ordered pairs hm, ni 2 Z ⇥ Z such that
9k2Z n = k · m. The formula m|n is read “m divides n”.
Notes
According to the definition above, “m divides n” is equivalent to
“n is a multiple of m”, in all cases, even if m = n = 0.
According to the definition above, 0|0.
This does not mean that we allow the division 0/0.
Definition
Let k 2 Z and k > 1. By the congruence modulo k we understand the binary
relation consisting of all the ordered pairs hm, ni 2 Z ⇥ Z such that k|(n m) and
denote it by ⌘k . The formula m ⌘k n is read “m is congruent to n modulo k”.
Instead of m ⌘k n one can write m ⌘ n( mod k) .
1. In the definition of congruence mod k the condition k|(n m) can be replaced by
k|(m n) – the two conditions are equivalent.
2. Congruence modulo k is of importance to cryptography, which in turn is of
importance to the Internet and computer network security.
Exercise
Make a discrete Cartesian graph of ⌘3 which shows only those ordered pairs hx, yi
where x ⌘3 y and x, y 2 { 2..6}.

More Related Content

Viewers also liked

turning around through teamwork :bank of baroda
turning around through teamwork :bank of barodaturning around through teamwork :bank of baroda
turning around through teamwork :bank of barodaNazuk Dua
 
The history of Architecture from Prehistoric to Modern times: The Album-1: ED...
The history of Architecture from Prehistoric to Modern times: The Album-1: ED...The history of Architecture from Prehistoric to Modern times: The Album-1: ED...
The history of Architecture from Prehistoric to Modern times: The Album-1: ED...Konstantin Ivanovich Samoilov
 
2016 1102 EnOcean Alliance Japan Event
2016 1102 EnOcean Alliance Japan Event2016 1102 EnOcean Alliance Japan Event
2016 1102 EnOcean Alliance Japan EventAtomu Hidaka
 
2.8 Ordered tuples
2.8 Ordered tuples2.8 Ordered tuples
2.8 Ordered tuplesJan Plaza
 
2.6 Properties of inclusion
2.6 Properties of inclusion2.6 Properties of inclusion
2.6 Properties of inclusionJan Plaza
 
Preparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_typesPreparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_typesAndres Mendez-Vazquez
 
2.7 Ordered pairs
2.7 Ordered pairs2.7 Ordered pairs
2.7 Ordered pairsJan Plaza
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian productsJan Plaza
 

Viewers also liked (16)

turning around through teamwork :bank of baroda
turning around through teamwork :bank of barodaturning around through teamwork :bank of baroda
turning around through teamwork :bank of baroda
 
The history of Architecture from Prehistoric to Modern times: The Album-1: ED...
The history of Architecture from Prehistoric to Modern times: The Album-1: ED...The history of Architecture from Prehistoric to Modern times: The Album-1: ED...
The history of Architecture from Prehistoric to Modern times: The Album-1: ED...
 
Presentasi pendapatannasional
Presentasi pendapatannasionalPresentasi pendapatannasional
Presentasi pendapatannasional
 
2016 1102 EnOcean Alliance Japan Event
2016 1102 EnOcean Alliance Japan Event2016 1102 EnOcean Alliance Japan Event
2016 1102 EnOcean Alliance Japan Event
 
2.8 Ordered tuples
2.8 Ordered tuples2.8 Ordered tuples
2.8 Ordered tuples
 
2.6 Properties of inclusion
2.6 Properties of inclusion2.6 Properties of inclusion
2.6 Properties of inclusion
 
Lec3
Lec3Lec3
Lec3
 
Preparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_typesPreparation Data Structures 03 abstract data_types
Preparation Data Structures 03 abstract data_types
 
Chapter03
Chapter03Chapter03
Chapter03
 
2.7 Ordered pairs
2.7 Ordered pairs2.7 Ordered pairs
2.7 Ordered pairs
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian products
 
Algo>Abstract data type
Algo>Abstract data typeAlgo>Abstract data type
Algo>Abstract data type
 
Number System
Number SystemNumber System
Number System
 
Stack in Sata Structure
Stack in Sata StructureStack in Sata Structure
Stack in Sata Structure
 
Abstract data types
Abstract data typesAbstract data types
Abstract data types
 
Abstract Data Types
Abstract Data TypesAbstract Data Types
Abstract Data Types
 

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

ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWQuiz Club NITW
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 

Recently uploaded (20)

ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Mythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITWMythology Quiz-4th April 2024, Quiz Club NITW
Mythology Quiz-4th April 2024, Quiz Club NITW
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 

4.3 Basic binary relations

  • 1. Introduction to set theory and to methodology and philosophy of mathematics and computer programming Basic binary relations An overview by Jan Plaza c 2017 Jan Plaza Use under the Creative Commons Attribution 4.0 International License Version of March 25, 2017
  • 2. Definition Let X, Y be any sets. 1. The full binary relation on X , denoted 1X2 , is X ⇥ X. 2. The full (binary) relation on X, Y , denoted 1X,Y , is X ⇥ Y . 3. The empty relation is ;. 4. The equality relation on X , denoted =X , is {hx, xi 2 X ⇥ X : x 2 X}. 5. The disequality relation on X , denoted 6=X , is {hx, yi 2 X ⇥ X : ¬(x=y)}. The term“inequality” is reserved for 6, >, <, >. Exercise. Let X = {1, 2, 3, 4}. Make discrete Cartesian graphs of the relations above.
  • 3. Definition Let X ✓ R. 1. The less-than-or-equal/smaller-than-or-equal relation on X , denoted 6X , is {ha, bi 2 X ⇥ X : a 6 b}. 2. The greater-than-or-equal relation/bigger-than-or-equal on X , denoted >X , is {ha, bi 2 X ⇥ X : a > b}. 3. The less-than/smaller-than relation on X , denoted <X , is {ha, bi 2 X ⇥ X : a < b}. 4. The greater-than/bigger-than relation on X , denoted >X , is {ha, bi 2 X ⇥ X : a > b}. Exercise. Let X = {1, 2, 3, 4}. Make discrete Cartesian graphs of the relations above.
  • 4. Definition Let X be any family of sets. 1. The subset/inclusion relation on X , denoted ✓X , is {ha, bi 2 X ⇥ X : a ✓ b}. 2. The superset relation on X , denoted ◆X , is {ha, bi 2 X ⇥ X : a ◆ b}. 3. The proper subset/inclusion relation on X , denoted ⇢X , is {ha, bi 2 X ⇥ X : a ⇢ b}. 4. The proper superset relation on X , denoted X , is {ha, bi 2 X ⇥ X : a b}. Exercise. Let X = P({1, 2}). Why is {1} ✓X {1, 3} false?
  • 5. In ZFC, a relation must be a set (of ordered pairs). 6 is the same as 6R , and it is a relation because it is a subset of R ⇥ R. = is not a relation, because {hx1, x2i : x1 =x2} is not a set. ✓ is not a relation, because {hx1, x2i : x1 ✓ x2} is not a set. 2 is not a relation, because {hx1, x2i : x1 2 x2} is not a set. (They might be relations in the sense of a metatheory of ZFC.) =X is a relation because {hx1, x2i 2 X ⇥ X : x1 =x2} is a set. ✓X is a relation because {hx1, x2i 2 X ⇥ X : x1 ✓ x2} is a set.
  • 6. Definition By the divisibility relation on Z , denoted by the mid symbol | , we understand the binary relation consisting of all the ordered pairs hm, ni 2 Z ⇥ Z such that 9k2Z n = k · m. The formula m|n is read “m divides n”. Notes According to the definition above, “m divides n” is equivalent to “n is a multiple of m”, in all cases, even if m = n = 0. According to the definition above, 0|0. This does not mean that we allow the division 0/0.
  • 7. Definition Let k 2 Z and k > 1. By the congruence modulo k we understand the binary relation consisting of all the ordered pairs hm, ni 2 Z ⇥ Z such that k|(n m) and denote it by ⌘k . The formula m ⌘k n is read “m is congruent to n modulo k”. Instead of m ⌘k n one can write m ⌘ n( mod k) . 1. In the definition of congruence mod k the condition k|(n m) can be replaced by k|(m n) – the two conditions are equivalent. 2. Congruence modulo k is of importance to cryptography, which in turn is of importance to the Internet and computer network security. Exercise Make a discrete Cartesian graph of ⌘3 which shows only those ordered pairs hx, yi where x ⌘3 y and x, y 2 { 2..6}.