SlideShare a Scribd company logo
1 of 17
Download to read offline
Relations -Discrete Mathematics
Ms.Rachana Pathak
(rachanarpathak@gmail.com)
Assistant Professor, Dept of Computer Science and Engineering
Walchand Institute of Technology, Solapur
(www.witsolapur.org)
TARGET GATE CSE / IT 2019
Learning Outcome
2Walchand Institute of Technology, Solapur
At the end of this session,
Students will be able to explain Relations – domain and range, and solve
problems based on Relations.
Prerequisite
• Basics of Discrete Mathematics
• Students from CSE/IT Engineering branch
• Students appearing for GATE (CS)
Walchand Institute of Technology, Solapur 3
Introduction
Walchand Institute of Technology, Solapur 4
What is a
relation?
Walchand Institute of Technology, Solapur 5
Father to a Son
Father to
a
daughter
Mother
to a Son
Mother to a Daughter
Walchand Institute of Technology, Solapur 6
Let us describe in terms of Discrete Mathematics.
Walchand Institute of Technology, Solapur 7
So, this can be further ordered as -
Walchand Institute of Technology, Solapur 8
This is said ordered pair as you cannot
reverse or change the order.
Eg. Son cannot be inversely related as
father of father.
Think & Write
Question : Can we show relation between son & daughter?
Walchand Institute of Technology, Solapur 9
Answer
No, because they are elements of the same set.
Walchand Institute of Technology, Solapur 10
Definition
• Any set of ordered pairs defines a binary relation or simply a
relation. Binary relations represent relationships between
elements of two sets.
• If R is a relation, a particular ordered pair, (x,y)∈ R can be
written as xRy and can be read as “x is in relation to R with y”
Walchand Institute of Technology, Solapur 11
Examples
• The relation “greater than” for real numbers is denoted by ‘>’.
• If x and y are any two real numbers such that x>y,
then we say that (x,y) ∈ >.
Thus, the relation > is
> = {(x,y) | x and y are real numbers and x>y}
Walchand Institute of Technology, Solapur 12
This method of
representation is
called as set
builder method
‘|’ symbol is
used to
represent “such
that”
Domain and Range of a Relation
• Domain: Set of all the first numbers of the ordered pairs.
In other words, the domain is all of the x values.
• Range: Set of the second numbers in each pair, or the y-values
• Example : Domain and Range of a RELATION
{(0,1) , (3,22) , (90, 34)}
Domain : 0, 3, 90
Range: 1, 22 ,34
Walchand Institute of Technology, Solapur 13
Examples
• List the domain and the range of the relation
• {(-3,3) ; (0, 2) ; (3, 3) ; (6, 4) ; ( 7, 7)}
• Domain: {-3, 0, 3, 6, 7}
• Range: {3, 2, 4, 7}
Representation : For a Set S
Walchand Institute of Technology, Solapur 14
Even though the number
3 is listed twice in the
relation, you only note
the number once when
you list the domain or
range
D(S) = {x | (∃y) ((x,y) ∈ S}
R(S) = {y | (∃x) ((x,y) ∈ S}
Conclusion :
In this session, We have studied all about Relations.
Walchand Institute of Technology, Solapur 15
References
• 1. Discrete mathematical structures with applications to computer science -- J. P.
Tremblay & R. Manohar (MGH International)
• Reference Books:
• 1. Discrete Mathematics with combinatorics and graph theory- S. SNTHA
(CENGAGE Learning)
• 2. Discrete Mathematical Structures – Bernard Kolman, Robert C. Busby (Pearson
Education)
• 3. Discrete mathematics -- Liu (MGH)
16Walchand Institute of Technology, Solapur
Thank You !!!
Walchand Institute of Technology, Solapur

More Related Content

What's hot

Rank nullity theorem
Rank nullity theoremRank nullity theorem
Rank nullity theoremRoqui Gonzaga
 
Relations digraphs
Relations  digraphsRelations  digraphs
Relations digraphsIIUM
 
Infinite sequence & series 1st lecture
Infinite sequence & series 1st lecture Infinite sequence & series 1st lecture
Infinite sequence & series 1st lecture Mohsin Ramay
 
Probability In Discrete Structure of Computer Science
Probability In Discrete Structure of Computer ScienceProbability In Discrete Structure of Computer Science
Probability In Discrete Structure of Computer SciencePrankit Mishra
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical inductionKriti Varshney
 
Probability and Statistics
Probability and StatisticsProbability and Statistics
Probability and StatisticsRoozbeh Sanaei
 
Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation PolynomialsSohaib H. Khan
 
Uniform Distribution
Uniform DistributionUniform Distribution
Uniform Distributionmathscontent
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relationsnszakir
 
Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variableJay Patel
 
Lesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsLesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsMatthew Leingang
 
Liner algebra-vector space-1 introduction to vector space and subspace
Liner algebra-vector space-1   introduction to vector space and subspace Liner algebra-vector space-1   introduction to vector space and subspace
Liner algebra-vector space-1 introduction to vector space and subspace Manikanta satyala
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Matthew Leingang
 
Probability Powerpoint
Probability PowerpointProbability Powerpoint
Probability Powerpointspike2904
 
Introduction fundamentals sets and sequences
Introduction  fundamentals sets and sequencesIntroduction  fundamentals sets and sequences
Introduction fundamentals sets and sequencesIIUM
 
Infinite sequence and series
Infinite sequence and seriesInfinite sequence and series
Infinite sequence and seriesBhavik A Shah
 
Sequences and series power point
Sequences and series power pointSequences and series power point
Sequences and series power pointlmgraham85
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & DimensionManikanta satyala
 

What's hot (20)

Rank nullity theorem
Rank nullity theoremRank nullity theorem
Rank nullity theorem
 
Sample Space And Events
Sample Space And EventsSample Space And Events
Sample Space And Events
 
Relations digraphs
Relations  digraphsRelations  digraphs
Relations digraphs
 
Infinite sequence & series 1st lecture
Infinite sequence & series 1st lecture Infinite sequence & series 1st lecture
Infinite sequence & series 1st lecture
 
Probability And Random Variable Lecture 1
Probability And Random Variable Lecture 1Probability And Random Variable Lecture 1
Probability And Random Variable Lecture 1
 
Probability In Discrete Structure of Computer Science
Probability In Discrete Structure of Computer ScienceProbability In Discrete Structure of Computer Science
Probability In Discrete Structure of Computer Science
 
Principle of mathematical induction
Principle of mathematical inductionPrinciple of mathematical induction
Principle of mathematical induction
 
Probability and Statistics
Probability and StatisticsProbability and Statistics
Probability and Statistics
 
Langrange Interpolation Polynomials
Langrange Interpolation PolynomialsLangrange Interpolation Polynomials
Langrange Interpolation Polynomials
 
Uniform Distribution
Uniform DistributionUniform Distribution
Uniform Distribution
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Continuous Random variable
Continuous Random variableContinuous Random variable
Continuous Random variable
 
Lesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General RegionsLesson 19: Double Integrals over General Regions
Lesson 19: Double Integrals over General Regions
 
Liner algebra-vector space-1 introduction to vector space and subspace
Liner algebra-vector space-1   introduction to vector space and subspace Liner algebra-vector space-1   introduction to vector space and subspace
Liner algebra-vector space-1 introduction to vector space and subspace
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
 
Probability Powerpoint
Probability PowerpointProbability Powerpoint
Probability Powerpoint
 
Introduction fundamentals sets and sequences
Introduction  fundamentals sets and sequencesIntroduction  fundamentals sets and sequences
Introduction fundamentals sets and sequences
 
Infinite sequence and series
Infinite sequence and seriesInfinite sequence and series
Infinite sequence and series
 
Sequences and series power point
Sequences and series power pointSequences and series power point
Sequences and series power point
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 

Similar to Relations in Discrete Mathematical Structures

Relation matrix & graphs in relations
Relation matrix &  graphs in relationsRelation matrix &  graphs in relations
Relation matrix & graphs in relationsRachana Pathak
 
3 relational model
3 relational model3 relational model
3 relational modelUtkarsh De
 
Poset in Relations(Discrete Mathematics)
Poset in Relations(Discrete Mathematics)Poset in Relations(Discrete Mathematics)
Poset in Relations(Discrete Mathematics)Rachana Pathak
 
Lecture-3 Relational Algebra I.pptx
Lecture-3 Relational Algebra I.pptxLecture-3 Relational Algebra I.pptx
Lecture-3 Relational Algebra I.pptxHanzlaNaveed1
 
Math functions, relations, domain & range
Math functions, relations, domain & rangeMath functions, relations, domain & range
Math functions, relations, domain & rangeRenee Scott
 
Special webinar on tips for perfect score in sat math
Special webinar on tips for perfect score in sat mathSpecial webinar on tips for perfect score in sat math
Special webinar on tips for perfect score in sat mathCareerGOD
 
Module 2_Relational Algebra.pptx
Module 2_Relational Algebra.pptxModule 2_Relational Algebra.pptx
Module 2_Relational Algebra.pptxShashiKumarB5
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxssuser01e301
 
Relational Database and Relational Algebra
Relational Database and Relational AlgebraRelational Database and Relational Algebra
Relational Database and Relational AlgebraPyingkodi Maran
 

Similar to Relations in Discrete Mathematical Structures (20)

Relation matrix & graphs in relations
Relation matrix &  graphs in relationsRelation matrix &  graphs in relations
Relation matrix & graphs in relations
 
3_Relational_Model.pdf
3_Relational_Model.pdf3_Relational_Model.pdf
3_Relational_Model.pdf
 
Unit_3.pdf
Unit_3.pdfUnit_3.pdf
Unit_3.pdf
 
3 relational model
3 relational model3 relational model
3 relational model
 
Poset in Relations(Discrete Mathematics)
Poset in Relations(Discrete Mathematics)Poset in Relations(Discrete Mathematics)
Poset in Relations(Discrete Mathematics)
 
R Algebra.ppt
R Algebra.pptR Algebra.ppt
R Algebra.ppt
 
Lecture-3 Relational Algebra I.pptx
Lecture-3 Relational Algebra I.pptxLecture-3 Relational Algebra I.pptx
Lecture-3 Relational Algebra I.pptx
 
Math functions, relations, domain & range
Math functions, relations, domain & rangeMath functions, relations, domain & range
Math functions, relations, domain & range
 
Special webinar on tips for perfect score in sat math
Special webinar on tips for perfect score in sat mathSpecial webinar on tips for perfect score in sat math
Special webinar on tips for perfect score in sat math
 
Relational model
Relational modelRelational model
Relational model
 
Module 2_Relational Algebra.pptx
Module 2_Relational Algebra.pptxModule 2_Relational Algebra.pptx
Module 2_Relational Algebra.pptx
 
Trc final
Trc finalTrc final
Trc final
 
Algebra
AlgebraAlgebra
Algebra
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
 
26 Augustquantitative Aptitude Ii
26 Augustquantitative Aptitude  Ii26 Augustquantitative Aptitude  Ii
26 Augustquantitative Aptitude Ii
 
DDL and DML statements.pptx
DDL and DML statements.pptxDDL and DML statements.pptx
DDL and DML statements.pptx
 
Srikanth CV - BDM
Srikanth CV - BDMSrikanth CV - BDM
Srikanth CV - BDM
 
Relational+algebra (1)
Relational+algebra (1)Relational+algebra (1)
Relational+algebra (1)
 
Repaso NUMEROS.pptx
Repaso NUMEROS.pptxRepaso NUMEROS.pptx
Repaso NUMEROS.pptx
 
Relational Database and Relational Algebra
Relational Database and Relational AlgebraRelational Database and Relational Algebra
Relational Database and Relational Algebra
 

More from Rachana Pathak

Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematicsRachana Pathak
 
Relation Hasse diagram
Relation Hasse diagramRelation Hasse diagram
Relation Hasse diagramRachana Pathak
 
Open Source Content Management System
Open Source Content Management System Open Source Content Management System
Open Source Content Management System Rachana Pathak
 
Installation of Joomla using Xampp server Part-2
 Installation of Joomla using Xampp server Part-2 Installation of Joomla using Xampp server Part-2
Installation of Joomla using Xampp server Part-2Rachana Pathak
 
Installation of Joomla using Xampp server Part-1
 Installation of Joomla using Xampp server Part-1 Installation of Joomla using Xampp server Part-1
Installation of Joomla using Xampp server Part-1Rachana Pathak
 

More from Rachana Pathak (7)

Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematics
 
Relation Hasse diagram
Relation Hasse diagramRelation Hasse diagram
Relation Hasse diagram
 
Wordpress
Wordpress Wordpress
Wordpress
 
Open Source Content Management System
Open Source Content Management System Open Source Content Management System
Open Source Content Management System
 
GIT
GIT GIT
GIT
 
Installation of Joomla using Xampp server Part-2
 Installation of Joomla using Xampp server Part-2 Installation of Joomla using Xampp server Part-2
Installation of Joomla using Xampp server Part-2
 
Installation of Joomla using Xampp server Part-1
 Installation of Joomla using Xampp server Part-1 Installation of Joomla using Xampp server Part-1
Installation of Joomla using Xampp server Part-1
 

Recently uploaded

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 

Recently uploaded (20)

High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 

Relations in Discrete Mathematical Structures

  • 1. Relations -Discrete Mathematics Ms.Rachana Pathak (rachanarpathak@gmail.com) Assistant Professor, Dept of Computer Science and Engineering Walchand Institute of Technology, Solapur (www.witsolapur.org) TARGET GATE CSE / IT 2019
  • 2. Learning Outcome 2Walchand Institute of Technology, Solapur At the end of this session, Students will be able to explain Relations – domain and range, and solve problems based on Relations.
  • 3. Prerequisite • Basics of Discrete Mathematics • Students from CSE/IT Engineering branch • Students appearing for GATE (CS) Walchand Institute of Technology, Solapur 3
  • 4. Introduction Walchand Institute of Technology, Solapur 4 What is a relation?
  • 5. Walchand Institute of Technology, Solapur 5 Father to a Son Father to a daughter Mother to a Son Mother to a Daughter
  • 6. Walchand Institute of Technology, Solapur 6 Let us describe in terms of Discrete Mathematics.
  • 7. Walchand Institute of Technology, Solapur 7
  • 8. So, this can be further ordered as - Walchand Institute of Technology, Solapur 8 This is said ordered pair as you cannot reverse or change the order. Eg. Son cannot be inversely related as father of father.
  • 9. Think & Write Question : Can we show relation between son & daughter? Walchand Institute of Technology, Solapur 9
  • 10. Answer No, because they are elements of the same set. Walchand Institute of Technology, Solapur 10
  • 11. Definition • Any set of ordered pairs defines a binary relation or simply a relation. Binary relations represent relationships between elements of two sets. • If R is a relation, a particular ordered pair, (x,y)∈ R can be written as xRy and can be read as “x is in relation to R with y” Walchand Institute of Technology, Solapur 11
  • 12. Examples • The relation “greater than” for real numbers is denoted by ‘>’. • If x and y are any two real numbers such that x>y, then we say that (x,y) ∈ >. Thus, the relation > is > = {(x,y) | x and y are real numbers and x>y} Walchand Institute of Technology, Solapur 12 This method of representation is called as set builder method ‘|’ symbol is used to represent “such that”
  • 13. Domain and Range of a Relation • Domain: Set of all the first numbers of the ordered pairs. In other words, the domain is all of the x values. • Range: Set of the second numbers in each pair, or the y-values • Example : Domain and Range of a RELATION {(0,1) , (3,22) , (90, 34)} Domain : 0, 3, 90 Range: 1, 22 ,34 Walchand Institute of Technology, Solapur 13
  • 14. Examples • List the domain and the range of the relation • {(-3,3) ; (0, 2) ; (3, 3) ; (6, 4) ; ( 7, 7)} • Domain: {-3, 0, 3, 6, 7} • Range: {3, 2, 4, 7} Representation : For a Set S Walchand Institute of Technology, Solapur 14 Even though the number 3 is listed twice in the relation, you only note the number once when you list the domain or range D(S) = {x | (∃y) ((x,y) ∈ S} R(S) = {y | (∃x) ((x,y) ∈ S}
  • 15. Conclusion : In this session, We have studied all about Relations. Walchand Institute of Technology, Solapur 15
  • 16. References • 1. Discrete mathematical structures with applications to computer science -- J. P. Tremblay & R. Manohar (MGH International) • Reference Books: • 1. Discrete Mathematics with combinatorics and graph theory- S. SNTHA (CENGAGE Learning) • 2. Discrete Mathematical Structures – Bernard Kolman, Robert C. Busby (Pearson Education) • 3. Discrete mathematics -- Liu (MGH) 16Walchand Institute of Technology, Solapur
  • 17. Thank You !!! Walchand Institute of Technology, Solapur