SlideShare una empresa de Scribd logo
1 de 20
Prepared by: Daniyal Khan
MCS 2nd Semester
NCBA&E RYK
1
We will be discussing
 Sets
 Set Notations
 Set operations
 Cartesian Product
 Functions
 Types of Functions
2
Sets are used to define the concepts of relations and functions.
The study of geometry, sequences, probability, etc. requires the knowledge of sets.
Studying sets helps us categorize information.
It allows us to make sense of a large amount of information by breaking it down
into smaller groups.
We check for collection!
Collection is not necessary
If collection exist.. Must be distinct( different, unique )
3
 Well defined collection of distinct objects!
 Definition: A set is any collection of objects specified in such a way that we can
determine whether a given object is or is not in the collection.
 In other words A set is a collection of objects.
 These objects are called elements or members of the set. The following points are
noted while writing a set.
 Sets are usually denoted by capital letters A, B, S, etc. The elements of a set are
usually denoted by small letters a, b, t, u, etc .
 Examples: A = {a, b, d, 2, 4} B = {math, religion, literature, computer science }
4
 By convention, particular symbols are reserved for the most important sets of
numbers:
 ∅ – empty set .
 C – complex numbers .
 N – natural numbers .
 Q – rational numbers (from quotient)
 R – real numbers
 Z – integers(from Zahl, German for integer).
5
 Empty Sets: A set that contains no members is called the empty set or null set .
The empty set is written as { } or ∅.
 Finite Sets: A set is finite if it consists of a definite number of different elements.
If W be the set of people living in a town, then W is finite.
 Infinite Sets: An infinite set is a set that is not a finite set. Infinite sets may be
countable or uncountable. The set of all integers, {..., -1, 0, 1, 2, ...}, is a count ably
infinite set;
 Equal Sets: Equal sets are sets which have the same members. If P ={1,2,3},
Q={2,1,3}, R={3,2,1} then P=Q=R.
6
 Subsets: Sets which are the part of another set are called subsets of the original
set. For example, if A={1,2,3,4} and B ={1,2} then B is a subset of A it is
represented by ⊆.
 Power Sets: If ‘A’ is any set then one set of all are subset of set ‘A’ that it is called a
power set. Example- If S is the set {x, y, z}, the power set of S is {{}, {x}, {y}, {z}, {x,
y}, {x, z}, {y, z}, {x, y, z}}.
 Universal Sets: A universal set is a set which contains all objects, including itself.
Example- A={12345678} B={1357} C={2468} D={2367} Here A is universal set and
is denoted by U.
7
 Union of sets
 Intersection of sets
 Difference of sets
8
 The union of two sets would be wrote as A U B, which is the set of elements that
are members of A or B, or both too
 Intersection are written as A ∩ B, is the set of elements that are in A and B.
 If A is any set which is the subset of a given universal set then its complement is
the set which contains all the elements that are in but not in A.
9
 Venn diagrams are named after a English logician, John Venn.
 It is a method of visualizing sets using various shapes.
 These diagrams consist of rectangles and circles.
10
 AxB
 Is the set of all possible ordered pairs with the first element of each pair taken from A
and the second element from B
 If A is the set {1,2} and B is the set {x,y,z}
AxB = {(1,x),(1,y),(1,z),(2,x),(2,y),(2,z)}
11
 A function is an activity
 Also written as f(x)
 A is the domain of f
 B is the range of f
 x is the input or argument
 f(x) is the output or image
12
f: A B
 Into function
 Onto function
 One to one function
 Bijective function
13
 A relation R is said to be into if R != B
 B is set of second elements in a relation
14
 A function is onto if every element of its range is the image of some element of its
domain.
 If R = B
 2nd element may or may not repeat
15
 A function is one-to-one if no two elements of its domain are mapped into the same
element of its range.
 If 2nd element doesn’t repeat
16
 A function that is both one-to-one and onto
17
We have discussed
 Sets
 Set Notations
 Set operations
 Cartesian Product
 Functions
 Types of Functions
18
19
20

Más contenido relacionado

La actualidad más candente

Maths Project on sets
Maths Project on setsMaths Project on sets
Maths Project on sets
atifansari17
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)
Kwonpyo Ko
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
Ashita Agrawal
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
Lena
 

La actualidad más candente (20)

Maths Project on sets
Maths Project on setsMaths Project on sets
Maths Project on sets
 
Set theory
Set theory Set theory
Set theory
 
Discreet_Set Theory
Discreet_Set TheoryDiscreet_Set Theory
Discreet_Set Theory
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Sets and Subsets
Sets and SubsetsSets and Subsets
Sets and Subsets
 
Sets and there different types.
Sets and there different types.Sets and there different types.
Sets and there different types.
 
Ch1 sets and_logic(1)
Ch1 sets and_logic(1)Ch1 sets and_logic(1)
Ch1 sets and_logic(1)
 
Definition of a Set
Definition of a SetDefinition of a Set
Definition of a Set
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
 
Sets Introduction
Sets IntroductionSets Introduction
Sets Introduction
 
Set theory
Set theorySet theory
Set theory
 
Set theory
Set theorySet theory
Set theory
 
SETS AND TYPES OF SET
SETS AND TYPES OF SETSETS AND TYPES OF SET
SETS AND TYPES OF SET
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
 
Set Theory Bascis
Set Theory BascisSet Theory Bascis
Set Theory Bascis
 
Discrete math (sets)
Discrete math (sets)Discrete math (sets)
Discrete math (sets)
 
types of sets
types of setstypes of sets
types of sets
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Mathematics project
Mathematics projectMathematics project
Mathematics project
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 

Similar a Sets and functions daniyal khan

Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptxSet Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
KalirajMariappan
 
Presentation on set in discrete mathe
Presentation on set in discrete mathePresentation on set in discrete mathe
Presentation on set in discrete mathe
topu93
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
MaryAnnBatac1
 

Similar a Sets and functions daniyal khan (20)

Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure
 
discrete maths notes.ppt
discrete maths notes.pptdiscrete maths notes.ppt
discrete maths notes.ppt
 
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptxSet Theory - Unit -II (Mathematical Foundation  Of  Computer Science).pptx
Set Theory - Unit -II (Mathematical Foundation Of Computer Science).pptx
 
Module week 1 Q1
Module week 1 Q1Module week 1 Q1
Module week 1 Q1
 
Digital text book sets
Digital text book   setsDigital text book   sets
Digital text book sets
 
Lecture 1 - Concept of Sets.pdf
Lecture 1 - Concept of Sets.pdfLecture 1 - Concept of Sets.pdf
Lecture 1 - Concept of Sets.pdf
 
Types of sets
Types of setsTypes of sets
Types of sets
 
Set theory-ppt
Set theory-pptSet theory-ppt
Set theory-ppt
 
Sets functions-sequences-exercises
Sets functions-sequences-exercisesSets functions-sequences-exercises
Sets functions-sequences-exercises
 
Presentation on set in discrete mathe
Presentation on set in discrete mathePresentation on set in discrete mathe
Presentation on set in discrete mathe
 
Explore the foundational concepts of sets in discrete mathematics
Explore the foundational concepts of sets in discrete mathematicsExplore the foundational concepts of sets in discrete mathematics
Explore the foundational concepts of sets in discrete mathematics
 
4898850.ppt
4898850.ppt4898850.ppt
4898850.ppt
 
Anubhav.pdf
Anubhav.pdfAnubhav.pdf
Anubhav.pdf
 
Set
SetSet
Set
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
 
Subsets Definition Types, Properties and Example Questions.pdf
Subsets Definition Types, Properties and Example Questions.pdfSubsets Definition Types, Properties and Example Questions.pdf
Subsets Definition Types, Properties and Example Questions.pdf
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Veena vtext
Veena vtextVeena vtext
Veena vtext
 
Veena vtext
Veena vtextVeena vtext
Veena vtext
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Último (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Sets and functions daniyal khan

  • 1. Prepared by: Daniyal Khan MCS 2nd Semester NCBA&E RYK 1
  • 2. We will be discussing  Sets  Set Notations  Set operations  Cartesian Product  Functions  Types of Functions 2
  • 3. Sets are used to define the concepts of relations and functions. The study of geometry, sequences, probability, etc. requires the knowledge of sets. Studying sets helps us categorize information. It allows us to make sense of a large amount of information by breaking it down into smaller groups. We check for collection! Collection is not necessary If collection exist.. Must be distinct( different, unique ) 3
  • 4.  Well defined collection of distinct objects!  Definition: A set is any collection of objects specified in such a way that we can determine whether a given object is or is not in the collection.  In other words A set is a collection of objects.  These objects are called elements or members of the set. The following points are noted while writing a set.  Sets are usually denoted by capital letters A, B, S, etc. The elements of a set are usually denoted by small letters a, b, t, u, etc .  Examples: A = {a, b, d, 2, 4} B = {math, religion, literature, computer science } 4
  • 5.  By convention, particular symbols are reserved for the most important sets of numbers:  ∅ – empty set .  C – complex numbers .  N – natural numbers .  Q – rational numbers (from quotient)  R – real numbers  Z – integers(from Zahl, German for integer). 5
  • 6.  Empty Sets: A set that contains no members is called the empty set or null set . The empty set is written as { } or ∅.  Finite Sets: A set is finite if it consists of a definite number of different elements. If W be the set of people living in a town, then W is finite.  Infinite Sets: An infinite set is a set that is not a finite set. Infinite sets may be countable or uncountable. The set of all integers, {..., -1, 0, 1, 2, ...}, is a count ably infinite set;  Equal Sets: Equal sets are sets which have the same members. If P ={1,2,3}, Q={2,1,3}, R={3,2,1} then P=Q=R. 6
  • 7.  Subsets: Sets which are the part of another set are called subsets of the original set. For example, if A={1,2,3,4} and B ={1,2} then B is a subset of A it is represented by ⊆.  Power Sets: If ‘A’ is any set then one set of all are subset of set ‘A’ that it is called a power set. Example- If S is the set {x, y, z}, the power set of S is {{}, {x}, {y}, {z}, {x, y}, {x, z}, {y, z}, {x, y, z}}.  Universal Sets: A universal set is a set which contains all objects, including itself. Example- A={12345678} B={1357} C={2468} D={2367} Here A is universal set and is denoted by U. 7
  • 8.  Union of sets  Intersection of sets  Difference of sets 8
  • 9.  The union of two sets would be wrote as A U B, which is the set of elements that are members of A or B, or both too  Intersection are written as A ∩ B, is the set of elements that are in A and B.  If A is any set which is the subset of a given universal set then its complement is the set which contains all the elements that are in but not in A. 9
  • 10.  Venn diagrams are named after a English logician, John Venn.  It is a method of visualizing sets using various shapes.  These diagrams consist of rectangles and circles. 10
  • 11.  AxB  Is the set of all possible ordered pairs with the first element of each pair taken from A and the second element from B  If A is the set {1,2} and B is the set {x,y,z} AxB = {(1,x),(1,y),(1,z),(2,x),(2,y),(2,z)} 11
  • 12.  A function is an activity  Also written as f(x)  A is the domain of f  B is the range of f  x is the input or argument  f(x) is the output or image 12 f: A B
  • 13.  Into function  Onto function  One to one function  Bijective function 13
  • 14.  A relation R is said to be into if R != B  B is set of second elements in a relation 14
  • 15.  A function is onto if every element of its range is the image of some element of its domain.  If R = B  2nd element may or may not repeat 15
  • 16.  A function is one-to-one if no two elements of its domain are mapped into the same element of its range.  If 2nd element doesn’t repeat 16
  • 17.  A function that is both one-to-one and onto 17
  • 18. We have discussed  Sets  Set Notations  Set operations  Cartesian Product  Functions  Types of Functions 18
  • 19. 19
  • 20. 20