SlideShare une entreprise Scribd logo
1  sur  21
RELATIONS
PearlRoseCajenta
REPORTER
What is a 'relation'?
In math, a relation is just a set of
ordered pairs.
- is a pair of numbers used to
locate a point on a coordinate plane;
the first number tells how far to move
horizontally and the second number
tells how far to move vertically.
*OrderedPair
*Set
- is a collection.
Note:
{ } are the symbol for "set“
Some Examples of Relations include:
{ (0,1) , (55,22), (3,-50) }
{ (0, 1) , (5, 2), (-3, 9) }
{ (-1,7) , (1, 7), (33, 7), (32, 7) }
Given a sets A and B, a binary relation from A to
B is a set of ordered pairs (a,b), whose entries a ϵ
A and b ϵ B. Each orderedpair (a,b) in a
relation is a memberof the Cartesian set A x
B. Hence,arelation from A to B is a
subset of A x B.
Clickfor some Examples
Domain and Range of a
‘Relation’
The Domain:
Is the set of all the first numbers of the ordered
pairs.In other words, the domain is all of the x-
values.
The Range:
Is the set of the second numbers in each pair,
or the y-values
Example 1:
of the Domain and Range
RELATION {(0,1) , (3,22) , (90, 34)}
Domain : 0 3 90
Range: 1 22 34
Example 2:
Domain and rangeof a relation
RELATION {(2,-5) , (4,31) , (11, -11), (-
21,3)}
Domain: 2 4 11 -21
Range: -5 31 -11 3
Example3
What is the domain and range of the followingrelation?
ANSWER:
Arrow Diagram
-is use by describingthe
relationfrom A into B sets.
Example:
Let A = { 1, 2, 3} and B = { 6, 7, 8, 9}. We defined the
relationR by the set of orderedpairs
R= {( 1, 6),( 1, 7),( 2, 6),( 2, 8),( 2, 9),( 3, 9)}
1
2
3
6
7
8
9
DirectedGraph
Is a set of vertices and a collection
of directed edges that each
connects an ordered pair of
vertices.
Let A = {1,2,3}. Let R be the relationdefined by the
followingsets.
R= { (1,1), (1,2), (2,1),(3,1), (3,3)}
Let us construct the digraphof the relation.
3
1 2
NEXT
Examples
1.We can take the set A of students and the set
B of programs. We Can relate the elements of A
to the elements of B by defining that an element a
of A is related to an element b of B if a takes b.
A= { Beth, Mita, Recca, Jean}
B={Computer Science, Information Technology,
Information Science, Civil Engineering}
Answer:
R={(Beth,ComputerScience),(Mita,InformationTechn
ology),(Recca,InformationScience),(Jean,Civil
Engeneering)
More Examples
Let A = {1,2,3,}, then each of the following is a
relation in A:
R1 ={(a,b)| a < b} = {(1,2),(1,3),(2,3)}
R2={(a,b)| a = b} = {(1,1),(2,2),(3,3)}
R3={(a,b)| a > b} = {(2,1),(3,1),(3,2)}
R4 ={(a,b)| a + b =4} = {(1,3),(2,2),(3,1)}
R5={(a,b)| b = 4a} = 0
R6={(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1),
(3,2),(3,3)}
R2 is called the identity relation. R5 is called trivial
relation or void relation or empty relation. The
universal relation on a set consist of all possible
ordered pairs of elements of a set, example is R6.
NEXT
2. Let A = {1,2,3,4} and B = {u,v,w}, Let
R = {(1,u),(2,u),(3,v),(4,w)}
Then R is a subset of A x B so R is a relation from
A to B. Notice 1Ru but 3R u.
3.Let A = {1,2,3,4} and B = {1,2 ,3,4}, where R is a
relation from A to B defined by a|b, “a divides b,
(a,b) ϵ R. We see that
R = {(1,1),(1,2),(1,3),(1,4),(2,2),(2,4),(3,3),(4,4)}
NEXT
Let A={ 1, 3 } and B= { 2, 5 }. Then we
ask how elements in A are related to
elements in B via the inequality `` ''.
The answer is
1 2,1 5, 3 2, 3 5 .
R= { (1, 2), (1, 5), (3 ,5) } ,
NEXT
Let A ={ 1,2} and B={ 1,2,3} and define a binary
relation R from A to B by for any (x,y) AxB: (x,y)
R iff x-y is even
(a) Give R by its explicit elements.
(b) Is 1R1 ? Is 2R3 ? Is 1R3 ?
Solution
(a) For any (x,y) pair in AXB ={ (1,1), (1,2), (1,3),
(2,1), (2,2), (2,3) }, we must check if xRy or if x-y
is even. This is done in the following table
NEXT
(x,y) property of x-y conclusion
(1,1) 1-1 even (1,1) R
(1,2) 1-2 odd (1,2) R
(1,3) 1-3 even (1,3) R
(2,1) 2-1 odd (2,1) R
(2,2) 2-2 oven (2,2) R
(2,3) 2-3 odd (2,3) R
Hence R={ (1,1), (1,3), (2,2)}.
(b)
Yes. 1R1 since (1,1) R.
No. 2R3 since (2,3) R.
Yes. 1R3 since (1,3) R.
NEXT
Let A={1,2,3} and a binary relation E be defined by
(x,y) E iffx-y is even and x,y A. Then E={ (1,1),
(2,2), (3,3), (1,3), (3,1)} can be represented by the
following digraph
(2,2):
2-2=0 even, hence the loop at vertex labelled by 2
A.
(1,3):
1-3=-2 even, hence the arrow from vertex 1 to
vertex 3. >>>>>

Contenu connexe

Tendances

Relations & Functions
Relations & FunctionsRelations & Functions
Relations & FunctionsJ Edwards
 
CMSC 56 | Lecture 13: Relations and their Properties
CMSC 56 | Lecture 13: Relations and their PropertiesCMSC 56 | Lecture 13: Relations and their Properties
CMSC 56 | Lecture 13: Relations and their Propertiesallyn joy calcaben
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functionscoolhanddav
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete MathematicsMeghaj Mallick
 
Permutations & Combinations
Permutations & CombinationsPermutations & Combinations
Permutations & Combinationsrfant
 
Sets PowerPoint Presentation
Sets PowerPoint PresentationSets PowerPoint Presentation
Sets PowerPoint PresentationAshna Rajput
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and seriesMaxTorresdey
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionrey castro
 
Set, Relations and Functions
Set, Relations and FunctionsSet, Relations and Functions
Set, Relations and Functionssuthi
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDr. Khaled Bakro
 
Relations and functions
Relations and functions Relations and functions
Relations and functions Seyid Kadher
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical InductionEdelyn Cagas
 

Tendances (20)

Relations & Functions
Relations & FunctionsRelations & Functions
Relations & Functions
 
Functions
FunctionsFunctions
Functions
 
Set Theory Presentation
Set Theory PresentationSet Theory Presentation
Set Theory Presentation
 
CMSC 56 | Lecture 13: Relations and their Properties
CMSC 56 | Lecture 13: Relations and their PropertiesCMSC 56 | Lecture 13: Relations and their Properties
CMSC 56 | Lecture 13: Relations and their Properties
 
Determinants
DeterminantsDeterminants
Determinants
 
Group Theory
Group TheoryGroup Theory
Group Theory
 
Relations
RelationsRelations
Relations
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete Mathematics
 
Permutations & Combinations
Permutations & CombinationsPermutations & Combinations
Permutations & Combinations
 
Sets PowerPoint Presentation
Sets PowerPoint PresentationSets PowerPoint Presentation
Sets PowerPoint Presentation
 
Introduction to sequences and series
Introduction to sequences and seriesIntroduction to sequences and series
Introduction to sequences and series
 
Integral calculus
Integral calculusIntegral calculus
Integral calculus
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Set, Relations and Functions
Set, Relations and FunctionsSet, Relations and Functions
Set, Relations and Functions
 
lattice
 lattice lattice
lattice
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 
Relations and functions
Relations and functions Relations and functions
Relations and functions
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical Induction
 

Similaire à Relations in Discrete Math

Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Himanshu Dua
 
Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Himanshu Dua
 
Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Final relation1 m_tech(cse)
Final relation1 m_tech(cse)Himanshu Dua
 
Discrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsDiscrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsWongyos Keardsri
 
dm_13_RelationsAndTheirProperties (1).pdf
dm_13_RelationsAndTheirProperties (1).pdfdm_13_RelationsAndTheirProperties (1).pdf
dm_13_RelationsAndTheirProperties (1).pdfSanjanaAdri
 
dm_13_RelationsAndTheirProperties (1).pptx
dm_13_RelationsAndTheirProperties (1).pptxdm_13_RelationsAndTheirProperties (1).pptx
dm_13_RelationsAndTheirProperties (1).pptxRockyIslam5
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics NANDINI SHARMA
 
05 tat math class xi_r&f-1_for website
05 tat math class xi_r&f-1_for website05 tat math class xi_r&f-1_for website
05 tat math class xi_r&f-1_for websiteVarun Kumar
 
Matematika terapan week 4
Matematika terapan week 4 Matematika terapan week 4
Matematika terapan week 4 nellylawar
 
Matematika terapan minggu ke-4
Matematika terapan minggu ke-4Matematika terapan minggu ke-4
Matematika terapan minggu ke-4Fisma Ananda
 
Week 5 ( basic concept of relation )
Week 5 ( basic concept of relation )Week 5 ( basic concept of relation )
Week 5 ( basic concept of relation )OliverBaltazar2
 

Similaire à Relations in Discrete Math (20)

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)
 
Discrete-Chapter 08 Relations
Discrete-Chapter 08 RelationsDiscrete-Chapter 08 Relations
Discrete-Chapter 08 Relations
 
Relation and function_xii
Relation and function_xiiRelation and function_xii
Relation and function_xii
 
Per5 relasi
Per5 relasiPer5 relasi
Per5 relasi
 
dm_13_RelationsAndTheirProperties (1).pdf
dm_13_RelationsAndTheirProperties (1).pdfdm_13_RelationsAndTheirProperties (1).pdf
dm_13_RelationsAndTheirProperties (1).pdf
 
dm_13_RelationsAndTheirProperties (1).pptx
dm_13_RelationsAndTheirProperties (1).pptxdm_13_RelationsAndTheirProperties (1).pptx
dm_13_RelationsAndTheirProperties (1).pptx
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics
 
Relations
RelationsRelations
Relations
 
05 tat math class xi_r&f-1_for website
05 tat math class xi_r&f-1_for website05 tat math class xi_r&f-1_for website
05 tat math class xi_r&f-1_for website
 
Properties of relations
Properties of relationsProperties of relations
Properties of relations
 
Matematika terapan week 4
Matematika terapan week 4 Matematika terapan week 4
Matematika terapan week 4
 
Relations and Functions 1
Relations and Functions 1Relations and Functions 1
Relations and Functions 1
 
Matematika terapan minggu ke-4
Matematika terapan minggu ke-4Matematika terapan minggu ke-4
Matematika terapan minggu ke-4
 
Chepter 1 function 2013
Chepter 1   function 2013Chepter 1   function 2013
Chepter 1 function 2013
 
Relations
RelationsRelations
Relations
 
RELATION
RELATIONRELATION
RELATION
 
Week 5 ( basic concept of relation )
Week 5 ( basic concept of relation )Week 5 ( basic concept of relation )
Week 5 ( basic concept of relation )
 
Relations
RelationsRelations
Relations
 

Dernier

Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...gajnagarg
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...Health
 
SR-101-01012024-EN.docx Federal Constitution of the Swiss Confederation
SR-101-01012024-EN.docx  Federal Constitution  of the Swiss ConfederationSR-101-01012024-EN.docx  Federal Constitution  of the Swiss Confederation
SR-101-01012024-EN.docx Federal Constitution of the Swiss ConfederationEfruzAsilolu
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...nirzagarg
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...nirzagarg
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangeThinkInnovation
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...Bertram Ludäscher
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样wsppdmt
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...gajnagarg
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...gajnagarg
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...nirzagarg
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowgargpaaro
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制vexqp
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabiaahmedjiabur940
 
Switzerland Constitution 2002.pdf.........
Switzerland Constitution 2002.pdf.........Switzerland Constitution 2002.pdf.........
Switzerland Constitution 2002.pdf.........EfruzAsilolu
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样wsppdmt
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格q6pzkpark
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteedamy56318795
 
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制vexqp
 

Dernier (20)

Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
Top profile Call Girls In Chandrapur [ 7014168258 ] Call Me For Genuine Model...
 
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
+97470301568>>weed for sale in qatar ,weed for sale in dubai,weed for sale in...
 
SR-101-01012024-EN.docx Federal Constitution of the Swiss Confederation
SR-101-01012024-EN.docx  Federal Constitution  of the Swiss ConfederationSR-101-01012024-EN.docx  Federal Constitution  of the Swiss Confederation
SR-101-01012024-EN.docx Federal Constitution of the Swiss Confederation
 
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Begusarai [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Purnia [ 7014168258 ] Call Me For Genuine Models We...
 
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With OrangePredicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
Predicting HDB Resale Prices - Conducting Linear Regression Analysis With Orange
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
一比一原版(UCD毕业证书)加州大学戴维斯分校毕业证成绩单原件一模一样
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
 
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In bhavnagar [ 7014168258 ] Call Me For Genuine Models...
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book nowVadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
Vadodara 💋 Call Girl 7737669865 Call Girls in Vadodara Escort service book now
 
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
怎样办理圣路易斯大学毕业证(SLU毕业证书)成绩单学校原版复制
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi ArabiaIn Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
In Riyadh ((+919101817206)) Cytotec kit @ Abortion Pills Saudi Arabia
 
Switzerland Constitution 2002.pdf.........
Switzerland Constitution 2002.pdf.........Switzerland Constitution 2002.pdf.........
Switzerland Constitution 2002.pdf.........
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
一比一原版(曼大毕业证书)曼尼托巴大学毕业证成绩单留信学历认证一手价格
 
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
5CL-ADBA,5cladba, Chinese supplier, safety is guaranteed
 
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
怎样办理伦敦大学毕业证(UoL毕业证书)成绩单学校原版复制
 

Relations in Discrete Math

  • 2. What is a 'relation'? In math, a relation is just a set of ordered pairs. - is a pair of numbers used to locate a point on a coordinate plane; the first number tells how far to move horizontally and the second number tells how far to move vertically. *OrderedPair *Set - is a collection.
  • 3. Note: { } are the symbol for "set“ Some Examples of Relations include: { (0,1) , (55,22), (3,-50) } { (0, 1) , (5, 2), (-3, 9) } { (-1,7) , (1, 7), (33, 7), (32, 7) }
  • 4. Given a sets A and B, a binary relation from A to B is a set of ordered pairs (a,b), whose entries a ϵ A and b ϵ B. Each orderedpair (a,b) in a relation is a memberof the Cartesian set A x B. Hence,arelation from A to B is a subset of A x B. Clickfor some Examples
  • 5. Domain and Range of a ‘Relation’ The Domain: Is the set of all the first numbers of the ordered pairs.In other words, the domain is all of the x- values. The Range: Is the set of the second numbers in each pair, or the y-values
  • 6. Example 1: of the Domain and Range RELATION {(0,1) , (3,22) , (90, 34)} Domain : 0 3 90 Range: 1 22 34
  • 7. Example 2: Domain and rangeof a relation RELATION {(2,-5) , (4,31) , (11, -11), (- 21,3)} Domain: 2 4 11 -21 Range: -5 31 -11 3
  • 8. Example3 What is the domain and range of the followingrelation? ANSWER:
  • 9. Arrow Diagram -is use by describingthe relationfrom A into B sets.
  • 10. Example: Let A = { 1, 2, 3} and B = { 6, 7, 8, 9}. We defined the relationR by the set of orderedpairs R= {( 1, 6),( 1, 7),( 2, 6),( 2, 8),( 2, 9),( 3, 9)} 1 2 3 6 7 8 9
  • 11. DirectedGraph Is a set of vertices and a collection of directed edges that each connects an ordered pair of vertices.
  • 12. Let A = {1,2,3}. Let R be the relationdefined by the followingsets. R= { (1,1), (1,2), (2,1),(3,1), (3,3)} Let us construct the digraphof the relation. 3 1 2 NEXT
  • 13.
  • 14. Examples 1.We can take the set A of students and the set B of programs. We Can relate the elements of A to the elements of B by defining that an element a of A is related to an element b of B if a takes b. A= { Beth, Mita, Recca, Jean} B={Computer Science, Information Technology, Information Science, Civil Engineering} Answer: R={(Beth,ComputerScience),(Mita,InformationTechn ology),(Recca,InformationScience),(Jean,Civil Engeneering) More Examples
  • 15. Let A = {1,2,3,}, then each of the following is a relation in A: R1 ={(a,b)| a < b} = {(1,2),(1,3),(2,3)} R2={(a,b)| a = b} = {(1,1),(2,2),(3,3)} R3={(a,b)| a > b} = {(2,1),(3,1),(3,2)} R4 ={(a,b)| a + b =4} = {(1,3),(2,2),(3,1)} R5={(a,b)| b = 4a} = 0 R6={(1,1),(1,2),(1,3),(2,1),(2,2),(2,3),(3,1), (3,2),(3,3)} R2 is called the identity relation. R5 is called trivial relation or void relation or empty relation. The universal relation on a set consist of all possible ordered pairs of elements of a set, example is R6. NEXT
  • 16.
  • 17. 2. Let A = {1,2,3,4} and B = {u,v,w}, Let R = {(1,u),(2,u),(3,v),(4,w)} Then R is a subset of A x B so R is a relation from A to B. Notice 1Ru but 3R u. 3.Let A = {1,2,3,4} and B = {1,2 ,3,4}, where R is a relation from A to B defined by a|b, “a divides b, (a,b) ϵ R. We see that R = {(1,1),(1,2),(1,3),(1,4),(2,2),(2,4),(3,3),(4,4)} NEXT
  • 18. Let A={ 1, 3 } and B= { 2, 5 }. Then we ask how elements in A are related to elements in B via the inequality `` ''. The answer is 1 2,1 5, 3 2, 3 5 . R= { (1, 2), (1, 5), (3 ,5) } , NEXT
  • 19. Let A ={ 1,2} and B={ 1,2,3} and define a binary relation R from A to B by for any (x,y) AxB: (x,y) R iff x-y is even (a) Give R by its explicit elements. (b) Is 1R1 ? Is 2R3 ? Is 1R3 ? Solution (a) For any (x,y) pair in AXB ={ (1,1), (1,2), (1,3), (2,1), (2,2), (2,3) }, we must check if xRy or if x-y is even. This is done in the following table NEXT
  • 20. (x,y) property of x-y conclusion (1,1) 1-1 even (1,1) R (1,2) 1-2 odd (1,2) R (1,3) 1-3 even (1,3) R (2,1) 2-1 odd (2,1) R (2,2) 2-2 oven (2,2) R (2,3) 2-3 odd (2,3) R Hence R={ (1,1), (1,3), (2,2)}. (b) Yes. 1R1 since (1,1) R. No. 2R3 since (2,3) R. Yes. 1R3 since (1,3) R. NEXT
  • 21. Let A={1,2,3} and a binary relation E be defined by (x,y) E iffx-y is even and x,y A. Then E={ (1,1), (2,2), (3,3), (1,3), (3,1)} can be represented by the following digraph (2,2): 2-2=0 even, hence the loop at vertex labelled by 2 A. (1,3): 1-3=-2 even, hence the arrow from vertex 1 to vertex 3. >>>>>