SlideShare una empresa de Scribd logo
1 de 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. >>>>>

Más contenido relacionado

La actualidad más candente

Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematicsRachana Pathak
 
mathematical functions
mathematical functions mathematical functions
mathematical functions Anshul gour
 
Relations and functions
Relations and functions Relations and functions
Relations and functions Seyid Kadher
 
Intro to Discrete Mathematics
Intro to Discrete MathematicsIntro to Discrete Mathematics
Intro to Discrete Mathematicsasad faraz
 
How to Prove and Apply De Morgan's Laws
How to Prove and Apply De Morgan's LawsHow to Prove and Apply De Morgan's Laws
How to Prove and Apply De Morgan's LawsDon Sevcik
 
Permutation & Combination
Permutation & CombinationPermutation & Combination
Permutation & CombinationPuru Agrawal
 
Maximal and minimal elements of poset.pptx
Maximal and minimal elements of poset.pptxMaximal and minimal elements of poset.pptx
Maximal and minimal elements of poset.pptxKiran Kumar Malik
 
21 monotone sequences x
21 monotone sequences x21 monotone sequences x
21 monotone sequences xmath266
 
Math functions, relations, domain & range
Math functions, relations, domain & rangeMath functions, relations, domain & range
Math functions, relations, domain & rangeRenee Scott
 
Set, Relations and Functions
Set, Relations and FunctionsSet, Relations and Functions
Set, Relations and Functionssuthi
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete MathematicsMeghaj Mallick
 

La actualidad más candente (20)

Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematics
 
mathematical functions
mathematical functions mathematical functions
mathematical functions
 
Truth table
Truth tableTruth table
Truth table
 
Properties of relations
Properties of relationsProperties of relations
Properties of relations
 
Binomial Coefficient
Binomial CoefficientBinomial Coefficient
Binomial Coefficient
 
Relations and functions
Relations and functions Relations and functions
Relations and functions
 
Generating function
Generating functionGenerating function
Generating function
 
Sets in discrete mathematics
Sets in discrete mathematicsSets in discrete mathematics
Sets in discrete mathematics
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Intro to Discrete Mathematics
Intro to Discrete MathematicsIntro to Discrete Mathematics
Intro to Discrete Mathematics
 
Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
 
How to Prove and Apply De Morgan's Laws
How to Prove and Apply De Morgan's LawsHow to Prove and Apply De Morgan's Laws
How to Prove and Apply De Morgan's Laws
 
Permutation & Combination
Permutation & CombinationPermutation & Combination
Permutation & Combination
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Maximal and minimal elements of poset.pptx
Maximal and minimal elements of poset.pptxMaximal and minimal elements of poset.pptx
Maximal and minimal elements of poset.pptx
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
21 monotone sequences x
21 monotone sequences x21 monotone sequences x
21 monotone sequences x
 
Math functions, relations, domain & range
Math functions, relations, domain & rangeMath functions, relations, domain & range
Math functions, relations, domain & range
 
Set, Relations and Functions
Set, Relations and FunctionsSet, Relations and Functions
Set, Relations and Functions
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete Mathematics
 

Similar a 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
 

Similar a Relations in Discrete Math (20)

Relations
RelationsRelations
Relations
 
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
 
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
 

Último

Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfchwongval
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsVICTOR MAESTRE RAMIREZ
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 

Último (20)

Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
Multiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdfMultiple time frame trading analysis -brianshannon.pdf
Multiple time frame trading analysis -brianshannon.pdf
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Advanced Machine Learning for Business Professionals
Advanced Machine Learning for Business ProfessionalsAdvanced Machine Learning for Business Professionals
Advanced Machine Learning for Business Professionals
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 

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. >>>>>