SlideShare a Scribd company logo
1 of 10
Set Theory
By : Muhammad Jibran
17-BS(IT)-16
1
Basic Definitions
• A Set is a collection of well define items,
called set .
• Example:
• {1, 2, 3}
• S = {Ali, Rahman, Rashid}
2
The Integers Set
• We define the Integers to be:
Z = {…, -2, -1, 0, 1, 2, 3, …}
3
Natural Numbers
• Set of Natural Numbers
• N = {1,2,3,4,5,6,7,8,9,……}
• It is the sub set of the Whole Number set.
• Whole Number set is given as
• W={0,1,2.3.4.5.6.7.8……}
4
Subsets
• If A and B are sets, A is called a subset of
B, denoted A ⊆ B, provided every element
of A is an element of B.
• So, A ⊆ B means ∀x, if x ∈ A, then x ∈ B.
• We also say, “A is contained in B” or
“B contains A” to show this relationship.
• Equivalently, we denote A ⊄ B provided
∃x ∋ x ∈ A and x ∉ B.
5
Examples of Subsets
• If A = {1, 2, 3} and B = {0, 1, 2, 3, 4}, then
clearly A ⊆ B.
• {{1}, {2}} ⊆ {{1}, {2}, {1,2}}.
• Q ⊆ R and Z ⊆ Q and N ⊆ Z.
• {a, b, c} is a proper subset of {a, b, c, d}.
• {a, b, c} is an improper subset of {a, b, c}.
• We denote interval subsets of R as
[a, b) = {x ∈ R | a ≤ x < b}. So [2, 5) ⊆ [0,5].
6
Set Equality
• We say sets A and B are equal (A = B) if
every element of A is in B and every element
of B is in A.
• Thus, A = B means A ⊆ B and B ⊆ A.
• For example {1, 2, 3} = {1, 2, 3}, but
A = {1, 2, 3} ≠ {1, 2, 3, 4} = B, since 4 ∈ B
but 4 ∉ A
7
Operations on Sets
• Given sets A and B, which are subsets of a
universal set, U, we define the following:
• (Union) A ∪ B = {x ∈ U | x ∈ A or x ∈ B}.
• (Intersection) A ∩ B = {x ∈ U | x ∈ A and x ∈ B}.
• (Difference)
A − B = {x ∈ U | x ∈ A and x ∉ B}.
• (Complement) A’
= {x ∈ U | x ∉ A}.
• Note that A’
= U − A.
8
Examples of Set Operations
• Let U = R, A = [1, 3] and B = (2, 4).
• A ∪ B = [1, 4)
• A ∩ B = (2, 3]
• A − B = [1, 2]
• B − A = (3, 4)
• Ac
= (−∞, 1) ∪ (3, ∞)
• Bc
= (−∞, 2] ∪ [4, ∞)
9
The End
10

More Related Content

What's hot

Toc chapter 1 srg
Toc chapter 1 srgToc chapter 1 srg
Toc chapter 1 srgShayak Giri
 
3 6 introduction to sets-optional
3 6 introduction to sets-optional3 6 introduction to sets-optional
3 6 introduction to sets-optionalmath123a
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete MathematicsMeghaj Mallick
 
Nov. 19 More Exponent Rules
Nov. 19 More Exponent RulesNov. 19 More Exponent Rules
Nov. 19 More Exponent RulesRyanWatt
 
Relation function
Relation functionRelation function
Relation functionBiswa Nayak
 
Himpunan plpg
Himpunan plpgHimpunan plpg
Himpunan plpgNom Mujib
 

What's hot (12)

Toc chapter 1 srg
Toc chapter 1 srgToc chapter 1 srg
Toc chapter 1 srg
 
Complement of a set
Complement of a setComplement of a set
Complement of a set
 
3 6 introduction to sets-optional
3 6 introduction to sets-optional3 6 introduction to sets-optional
3 6 introduction to sets-optional
 
Partial-Orderings in Discrete Mathematics
 Partial-Orderings in Discrete Mathematics Partial-Orderings in Discrete Mathematics
Partial-Orderings in Discrete Mathematics
 
Set theory
Set theorySet theory
Set theory
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Nov. 19 More Exponent Rules
Nov. 19 More Exponent RulesNov. 19 More Exponent Rules
Nov. 19 More Exponent Rules
 
Relation function
Relation functionRelation function
Relation function
 
Teori bilangan (14 - 19)
Teori bilangan (14 - 19)Teori bilangan (14 - 19)
Teori bilangan (14 - 19)
 
Relations and Functions 2
Relations and Functions 2Relations and Functions 2
Relations and Functions 2
 
Set theory - Master of Arts
Set theory - Master of ArtsSet theory - Master of Arts
Set theory - Master of Arts
 
Himpunan plpg
Himpunan plpgHimpunan plpg
Himpunan plpg
 

Similar to Set Theory Explained: Basic Definitions, Operations, and Examples

1. set theory
1. set theory1. set theory
1. set theorycaymulb
 
Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx
Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptxMoazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx
Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptxKhalidSyfullah6
 
Set theory
Set theorySet theory
Set theoryGaditek
 
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Amr Rashed
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)VihaanBhambhani
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operationsallyn joy calcaben
 
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Amr Rashed
 
Set and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNSet and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNbaberexha
 

Similar to Set Theory Explained: Basic Definitions, Operations, and Examples (20)

SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt
 
SetTheory.ppt
SetTheory.pptSetTheory.ppt
SetTheory.ppt
 
1. set theory
1. set theory1. set theory
1. set theory
 
Crisp sets
Crisp setsCrisp sets
Crisp sets
 
Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx
Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptxMoazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx
Moazzzim Sir (25.07.23)CSE 1201, Week#3, Lecture#7.pptx
 
9108528.ppt
9108528.ppt9108528.ppt
9108528.ppt
 
Sets (1)
Sets (1)Sets (1)
Sets (1)
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Set theory
Set theorySet theory
Set theory
 
sets.pptx
sets.pptxsets.pptx
sets.pptx
 
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
Discrete Math Chapter 2: Basic Structures: Sets, Functions, Sequences, Sums, ...
 
Set theory
Set theorySet theory
Set theory
 
Sets
SetsSets
Sets
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1
 
Set and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUNSet and Set operations, UITM KPPIM DUNGUN
Set and Set operations, UITM KPPIM DUNGUN
 
Chap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdfChap2_SETS_PDF.pdf
Chap2_SETS_PDF.pdf
 
Sets automata
Sets automataSets automata
Sets automata
 

Recently uploaded

History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

Set Theory Explained: Basic Definitions, Operations, and Examples

  • 1. Set Theory By : Muhammad Jibran 17-BS(IT)-16 1
  • 2. Basic Definitions • A Set is a collection of well define items, called set . • Example: • {1, 2, 3} • S = {Ali, Rahman, Rashid} 2
  • 3. The Integers Set • We define the Integers to be: Z = {…, -2, -1, 0, 1, 2, 3, …} 3
  • 4. Natural Numbers • Set of Natural Numbers • N = {1,2,3,4,5,6,7,8,9,……} • It is the sub set of the Whole Number set. • Whole Number set is given as • W={0,1,2.3.4.5.6.7.8……} 4
  • 5. Subsets • If A and B are sets, A is called a subset of B, denoted A ⊆ B, provided every element of A is an element of B. • So, A ⊆ B means ∀x, if x ∈ A, then x ∈ B. • We also say, “A is contained in B” or “B contains A” to show this relationship. • Equivalently, we denote A ⊄ B provided ∃x ∋ x ∈ A and x ∉ B. 5
  • 6. Examples of Subsets • If A = {1, 2, 3} and B = {0, 1, 2, 3, 4}, then clearly A ⊆ B. • {{1}, {2}} ⊆ {{1}, {2}, {1,2}}. • Q ⊆ R and Z ⊆ Q and N ⊆ Z. • {a, b, c} is a proper subset of {a, b, c, d}. • {a, b, c} is an improper subset of {a, b, c}. • We denote interval subsets of R as [a, b) = {x ∈ R | a ≤ x < b}. So [2, 5) ⊆ [0,5]. 6
  • 7. Set Equality • We say sets A and B are equal (A = B) if every element of A is in B and every element of B is in A. • Thus, A = B means A ⊆ B and B ⊆ A. • For example {1, 2, 3} = {1, 2, 3}, but A = {1, 2, 3} ≠ {1, 2, 3, 4} = B, since 4 ∈ B but 4 ∉ A 7
  • 8. Operations on Sets • Given sets A and B, which are subsets of a universal set, U, we define the following: • (Union) A ∪ B = {x ∈ U | x ∈ A or x ∈ B}. • (Intersection) A ∩ B = {x ∈ U | x ∈ A and x ∈ B}. • (Difference) A − B = {x ∈ U | x ∈ A and x ∉ B}. • (Complement) A’ = {x ∈ U | x ∉ A}. • Note that A’ = U − A. 8
  • 9. Examples of Set Operations • Let U = R, A = [1, 3] and B = (2, 4). • A ∪ B = [1, 4) • A ∩ B = (2, 3] • A − B = [1, 2] • B − A = (3, 4) • Ac = (−∞, 1) ∪ (3, ∞) • Bc = (−∞, 2] ∪ [4, ∞) 9