SlideShare a Scribd company logo
1 of 29
Govt. Madhav Science
College, Ujjain
Discrete Mathematical Structure
Topic - Sets
Discrete Mathematics
• Discrete Mathematics is a branch of
mathematics involving discrete elements that uses algebra and
arithmetic.
• It is increasingly being applied in the practical fields
of mathematics and computer science.
• It is a very good tool for improving reasoning and problem-solving
capabilities.
• Discrete mathematics is the branch of mathematics dealing with
objects that can consider only distinct, separated values.
Set
• A set is defined as a collection of distinct objects of the same type or
class of objects.
• The purposes of a set are called elements or members of the set.
• An object can be numbers, alphabets, names, etc.
• A set is an unordered collection of different elements.
• A set can be written explicitly by listing its elements using set bracket.
• If the order of the elements is changed or any element of a set is
repeated, it does not make any changes in the set.
Some Example of Sets
• A set of all positive integers
• A set of all the planets in the solar system
• A set of all the states in India
• A set of all the lowercase letters of the alphabet
• A set of rivers of India.
• A set of vowels.
• We broadly denote a set by the capital letter A, B, C, etc. while the
fundamentals of the set by small letter a, b, x, y, etc.
• Example-
• S = {a, e, i, o, u}
• A = {a, b, c,..., z}
• If A is a set, and ‘a’ is one of the elements of A, then we denote it as
a ∈ A.
• Here the symbol ∈ means -"Element of."
Representation of a Set
• Sets can be represented in two ways −
1. Roster or Tabular Form
2. Set Builder Notation
Roster or Tabular Form
• In this form of representation we list all the elements of the set within
braces { } and separate them by commas.
• Example:
• If A= set of all odd numbers less then 10 then in the roster from it can
be expressed as
A= {1,3,5,7,9}
Set Builder Notation
• In this form of representation we list the properties fulfilled by all the
elements of the set.
• We note as {x: x satisfies properties P} and read as 'the set of those entire x
such that each x has properties P’.
• Example:
• If B= {2, 4, 8, 16, 32}, then the set builder representation will be:
B={x: x=2n, where n ∈ N and 1≤ n ≤ 5}
• The set A= {a, e, i, o, u} is written as −
A={x: x is a vowel in English alphabet}
• If an element x is a member of any set S, it is denoted by x ∈ S and if
an element y is not a member of set S, it is denoted by y ∉ S.
• Example − If S={1, 1.2, 1.7, 2}
then 1 ∈ S but 1.5 ∉ S
• Some Important Sets
• N − the set of all natural numbers = {1,2,3,4,.....}
• Z − the set of all integers = {.....,−3,−2,−1,0,1,2,3,.....}
• Z+ − the set of all positive integers
• Q − the set of all rational numbers
• R − the set of all real numbers
• W − the set of all whole numbers
Cardinality of a Set
• The total number of unique elements in the set is called the cardinality of
the set.
• The cardinality of the countably infinite set is countably infinite.
• Cardinality of a set S, denoted by |S|, is the number of elements of the set.
• The number is also referred as the cardinal number.
• Examples:
1. Let P = {k, l, m, n}
The cardinality of the set P is 4.
2. Let A is the set of all non-negative even integers, i.e.
A = {0, 2, 4, 6, 8, 10......}.
• As A is countably infinite set hence the cardinality.
Questions
1. A= {0,1,2,3,4,5,6,7,8,9}
|A|=
2. B= {a,b,c,d,....,z}
|B|=
3. C= {a,b,c,a}
|C|=
4. D= {a,a,a}
|D|=
5. E= {a,b,c,d,...,z,0,1,2,3,...,9}
|E|=
Types of Sets
Finite Set
• A set which contains a definite number of elements is called a finite set.
• Example − S={x|x∈N and 50< x <70}
Infinite Set
• A set which contains infinite number of elements is called an infinite set.
• Example − S={x|x∈N and x>10}
Types of Sets
Subsets
• If every element in a set A is also an element of a set B, then A is
called a subset of B.
• It can be denoted as A ⊆ B.
• Here B is called Superset of A.
• Example:
• If A= {1, 2} and B= {4, 2, 1} then A is the subset of B or A ⊆ B.
Properties of Subsets:
• Every set is a subset of itself.
• The Null Set i.e.∅ is a subset of every set.
• If A is a subset of B and B is a subset of C, then A will be the subset of
C. If A⊂B and B⊂ C ⟹ A ⊂ C
• A finite set having n elements has 2n subsets.
Types of Sets
Proper Subset
• If A is a subset of B and A ≠ B then A is said to be a proper subset of B.
If A is a proper subset of B then B is not a subset of A, i.e., there is at
least one element in B which is not in A.
• Example:
(i) Let A = {2, 3, 4}
B = {2, 3, 4, 5}
• A is a proper subset of B.
(ii) The null ∅ is a proper subset of every set.
Types of Sets
Improper Subset
• If A is a subset of B and A = B, then A is said to be an improper subset
of B.
• Example
(i) A = {2, 3, 4}, B = {2, 3, 4}
• A is an improper subset of B.
(ii) Every set is an improper subset of itself.
Types of Sets
Universal Set
• If all the sets under investigations are subsets of a fixed set U, then
the set U is called Universal Set.
• Example:
• In the human population studies the universal set consists of all the
people in the world.
• We may define U as the set of all animals on earth. In this case, set of
all mammals is a subset of U, set of all fishes is a subset of U, set of all
insects is a subset of U, and so on.
Types of Sets
Empty Set or Null Set
• An empty set contains no elements.
• It is denoted by ∅.
• As the number of elements in an empty set is finite, empty set is a
finite set.
• The cardinality of empty set or null set is zero.
• Example − S= {x|x∈N and 7<x<8}= ∅
Types of Sets
Singleton Set or Unit Set
• Singleton set or unit set contains only one element.
• A singleton set is denoted by {s}.
• Example −
S={x|x∈N, 7<x<9} = {8}
Types of Sets
Equal Sets
• Two sets A and B are said to be equal and written as A = B if both
have the same elements.
• Therefore, every element which belongs to A is also an element of the
set B and every element which belongs to the set B is also an element
of the set A.
Example − If A={1,2,6} and B={6,1,2}, they are equal as every element
of set A is an element of set B and every element of set B is an
element of set A.
• If there is some element in set A that does not belong to set B or vice
versa then A ≠ B, i.e., A is not equal to B.
Types of Sets
Equivalent Set
• If the cardinalities of two sets are same, they are called equivalent
sets.
• Example −
• If A={1,2,6} and B={16,17,22}, they are equivalent as cardinality of A is
equal to the cardinality of B.
• i.e. |A|=|B|=3
Types of Sets
Disjoint Sets
• Two sets A and B are said to be disjoint if no element of A is in B and
no element of B is in A.
• Example:
• R = {a, b, c}
S = {k, p, m}
• R and S are disjoint sets.
• Example −
• Let, A={1,2,6} and B={7,9,14}, there is not a single common element, hence
these sets are disjoint sets.
Types of Sets
Power Sets
• The power of any given set A is the set of all subsets of A and is denoted
by P (A).
• If A has n elements, then P (A) has 2n elements.
• Example:
• A = {1, 2, 3}
• Subset of A are- ∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}
• P (A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}.
Operations on Sets
• The basic set operations are:
1. Union of Sets:
• Union of Sets A and B is defined to be the set of all those elements
which belong to A or B or both and is denoted by A∪B.
• A∪B = {x: x ∈ A or x ∈ B}
• Example:
• Let A = {1, 2, 3}, B= {3, 4, 5, 6}
A∪B = {1, 2, 3, 4, 5, 6}.
Operations on Sets
• The basic set operations are:
2. Intersection of Sets:
• Intersection of two sets A and B is the set of all those elements
which belong to both A and B and is denoted by A ∩ B.
• A ∩ B = {x: x ∈ A and x ∈ B}
• Example:
• Let A = {11, 12, 13}, B = {13, 14, 15}
A ∩ B = {13}.
Operations on Sets
• The basic set operations are:
3. Difference of Sets:
• The difference of two sets A and B is a set of all those elements
which belongs to A but do not belong to B and is denoted by A - B.
• A - B = {x: x ∈ A and x ∉ B}
• Example:
• Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6} then
• A - B = {3, 4} and
• B - A = {5, 6}
Operations on Sets
• The basic set operations are:
4. Complement of a Set:
• The Complement of a Set A is a set of all those elements of the
universal set which do not belong to A and is denoted by Ac.
• Ac = U - A = {x: x ∈ U and x ∉ A} = {x: x ∉ A}
• Example:
• Let U is the set of all natural numbers.
• A = {1, 2, 3}
• Ac = {all natural numbers except 1, 2, and 3}.
Operations on Sets
• The basic set operations are:
5. Symmetric Difference of Sets:
• The symmetric difference of two sets A and B is the set containing
all the elements that are in A or B but not in both and is denoted by
A ⨁ B i.e.
• A ⨁ B = (A ∪ B) - (A ∩ B)
• Example:
• Let A = {a, b, c, d}, B = {a, b, l, m}
• A ⨁ B = {c, d, l, m}
THANK YOU

More Related Content

Recently uploaded

Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptxPoojaSen20
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxCeline George
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFVivekanand Anglo Vedic Academy
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project researchCaitlinCummins3
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxMarlene Maheu
 
Climbers and Creepers used in landscaping
Climbers and Creepers used in landscapingClimbers and Creepers used in landscaping
Climbers and Creepers used in landscapingDr. M. Kumaresan Hort.
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
 

Recently uploaded (20)

Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
Climbers and Creepers used in landscaping
Climbers and Creepers used in landscapingClimbers and Creepers used in landscaping
Climbers and Creepers used in landscaping
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
 

Featured

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Sets in discrete mathematics

  • 1. Govt. Madhav Science College, Ujjain Discrete Mathematical Structure Topic - Sets
  • 2. Discrete Mathematics • Discrete Mathematics is a branch of mathematics involving discrete elements that uses algebra and arithmetic. • It is increasingly being applied in the practical fields of mathematics and computer science. • It is a very good tool for improving reasoning and problem-solving capabilities. • Discrete mathematics is the branch of mathematics dealing with objects that can consider only distinct, separated values.
  • 3. Set • A set is defined as a collection of distinct objects of the same type or class of objects. • The purposes of a set are called elements or members of the set. • An object can be numbers, alphabets, names, etc. • A set is an unordered collection of different elements. • A set can be written explicitly by listing its elements using set bracket. • If the order of the elements is changed or any element of a set is repeated, it does not make any changes in the set.
  • 4. Some Example of Sets • A set of all positive integers • A set of all the planets in the solar system • A set of all the states in India • A set of all the lowercase letters of the alphabet • A set of rivers of India. • A set of vowels.
  • 5. • We broadly denote a set by the capital letter A, B, C, etc. while the fundamentals of the set by small letter a, b, x, y, etc. • Example- • S = {a, e, i, o, u} • A = {a, b, c,..., z} • If A is a set, and ‘a’ is one of the elements of A, then we denote it as a ∈ A. • Here the symbol ∈ means -"Element of."
  • 6. Representation of a Set • Sets can be represented in two ways − 1. Roster or Tabular Form 2. Set Builder Notation
  • 7. Roster or Tabular Form • In this form of representation we list all the elements of the set within braces { } and separate them by commas. • Example: • If A= set of all odd numbers less then 10 then in the roster from it can be expressed as A= {1,3,5,7,9}
  • 8. Set Builder Notation • In this form of representation we list the properties fulfilled by all the elements of the set. • We note as {x: x satisfies properties P} and read as 'the set of those entire x such that each x has properties P’. • Example: • If B= {2, 4, 8, 16, 32}, then the set builder representation will be: B={x: x=2n, where n ∈ N and 1≤ n ≤ 5} • The set A= {a, e, i, o, u} is written as − A={x: x is a vowel in English alphabet}
  • 9. • If an element x is a member of any set S, it is denoted by x ∈ S and if an element y is not a member of set S, it is denoted by y ∉ S. • Example − If S={1, 1.2, 1.7, 2} then 1 ∈ S but 1.5 ∉ S • Some Important Sets • N − the set of all natural numbers = {1,2,3,4,.....} • Z − the set of all integers = {.....,−3,−2,−1,0,1,2,3,.....} • Z+ − the set of all positive integers • Q − the set of all rational numbers • R − the set of all real numbers • W − the set of all whole numbers
  • 10. Cardinality of a Set • The total number of unique elements in the set is called the cardinality of the set. • The cardinality of the countably infinite set is countably infinite. • Cardinality of a set S, denoted by |S|, is the number of elements of the set. • The number is also referred as the cardinal number. • Examples: 1. Let P = {k, l, m, n} The cardinality of the set P is 4. 2. Let A is the set of all non-negative even integers, i.e. A = {0, 2, 4, 6, 8, 10......}. • As A is countably infinite set hence the cardinality.
  • 11. Questions 1. A= {0,1,2,3,4,5,6,7,8,9} |A|= 2. B= {a,b,c,d,....,z} |B|= 3. C= {a,b,c,a} |C|= 4. D= {a,a,a} |D|= 5. E= {a,b,c,d,...,z,0,1,2,3,...,9} |E|=
  • 12. Types of Sets Finite Set • A set which contains a definite number of elements is called a finite set. • Example − S={x|x∈N and 50< x <70} Infinite Set • A set which contains infinite number of elements is called an infinite set. • Example − S={x|x∈N and x>10}
  • 13. Types of Sets Subsets • If every element in a set A is also an element of a set B, then A is called a subset of B. • It can be denoted as A ⊆ B. • Here B is called Superset of A. • Example: • If A= {1, 2} and B= {4, 2, 1} then A is the subset of B or A ⊆ B.
  • 14. Properties of Subsets: • Every set is a subset of itself. • The Null Set i.e.∅ is a subset of every set. • If A is a subset of B and B is a subset of C, then A will be the subset of C. If A⊂B and B⊂ C ⟹ A ⊂ C • A finite set having n elements has 2n subsets.
  • 15. Types of Sets Proper Subset • If A is a subset of B and A ≠ B then A is said to be a proper subset of B. If A is a proper subset of B then B is not a subset of A, i.e., there is at least one element in B which is not in A. • Example: (i) Let A = {2, 3, 4} B = {2, 3, 4, 5} • A is a proper subset of B. (ii) The null ∅ is a proper subset of every set.
  • 16. Types of Sets Improper Subset • If A is a subset of B and A = B, then A is said to be an improper subset of B. • Example (i) A = {2, 3, 4}, B = {2, 3, 4} • A is an improper subset of B. (ii) Every set is an improper subset of itself.
  • 17. Types of Sets Universal Set • If all the sets under investigations are subsets of a fixed set U, then the set U is called Universal Set. • Example: • In the human population studies the universal set consists of all the people in the world. • We may define U as the set of all animals on earth. In this case, set of all mammals is a subset of U, set of all fishes is a subset of U, set of all insects is a subset of U, and so on.
  • 18. Types of Sets Empty Set or Null Set • An empty set contains no elements. • It is denoted by ∅. • As the number of elements in an empty set is finite, empty set is a finite set. • The cardinality of empty set or null set is zero. • Example − S= {x|x∈N and 7<x<8}= ∅
  • 19. Types of Sets Singleton Set or Unit Set • Singleton set or unit set contains only one element. • A singleton set is denoted by {s}. • Example − S={x|x∈N, 7<x<9} = {8}
  • 20. Types of Sets Equal Sets • Two sets A and B are said to be equal and written as A = B if both have the same elements. • Therefore, every element which belongs to A is also an element of the set B and every element which belongs to the set B is also an element of the set A. Example − If A={1,2,6} and B={6,1,2}, they are equal as every element of set A is an element of set B and every element of set B is an element of set A. • If there is some element in set A that does not belong to set B or vice versa then A ≠ B, i.e., A is not equal to B.
  • 21. Types of Sets Equivalent Set • If the cardinalities of two sets are same, they are called equivalent sets. • Example − • If A={1,2,6} and B={16,17,22}, they are equivalent as cardinality of A is equal to the cardinality of B. • i.e. |A|=|B|=3
  • 22. Types of Sets Disjoint Sets • Two sets A and B are said to be disjoint if no element of A is in B and no element of B is in A. • Example: • R = {a, b, c} S = {k, p, m} • R and S are disjoint sets. • Example − • Let, A={1,2,6} and B={7,9,14}, there is not a single common element, hence these sets are disjoint sets.
  • 23. Types of Sets Power Sets • The power of any given set A is the set of all subsets of A and is denoted by P (A). • If A has n elements, then P (A) has 2n elements. • Example: • A = {1, 2, 3} • Subset of A are- ∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3} • P (A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}.
  • 24. Operations on Sets • The basic set operations are: 1. Union of Sets: • Union of Sets A and B is defined to be the set of all those elements which belong to A or B or both and is denoted by A∪B. • A∪B = {x: x ∈ A or x ∈ B} • Example: • Let A = {1, 2, 3}, B= {3, 4, 5, 6} A∪B = {1, 2, 3, 4, 5, 6}.
  • 25. Operations on Sets • The basic set operations are: 2. Intersection of Sets: • Intersection of two sets A and B is the set of all those elements which belong to both A and B and is denoted by A ∩ B. • A ∩ B = {x: x ∈ A and x ∈ B} • Example: • Let A = {11, 12, 13}, B = {13, 14, 15} A ∩ B = {13}.
  • 26. Operations on Sets • The basic set operations are: 3. Difference of Sets: • The difference of two sets A and B is a set of all those elements which belongs to A but do not belong to B and is denoted by A - B. • A - B = {x: x ∈ A and x ∉ B} • Example: • Let A = {1, 2, 3, 4} and B = {3, 4, 5, 6} then • A - B = {3, 4} and • B - A = {5, 6}
  • 27. Operations on Sets • The basic set operations are: 4. Complement of a Set: • The Complement of a Set A is a set of all those elements of the universal set which do not belong to A and is denoted by Ac. • Ac = U - A = {x: x ∈ U and x ∉ A} = {x: x ∉ A} • Example: • Let U is the set of all natural numbers. • A = {1, 2, 3} • Ac = {all natural numbers except 1, 2, and 3}.
  • 28. Operations on Sets • The basic set operations are: 5. Symmetric Difference of Sets: • The symmetric difference of two sets A and B is the set containing all the elements that are in A or B but not in both and is denoted by A ⨁ B i.e. • A ⨁ B = (A ∪ B) - (A ∩ B) • Example: • Let A = {a, b, c, d}, B = {a, b, l, m} • A ⨁ B = {c, d, l, m}