SlideShare a Scribd company logo
1 of 47
1
The Language of Sets
Intuitively, a set is simply a collection of elements.
unordered, no duplicate
If S is a set, then
• “x  S” means x is an element of S
• “x  S” means x is not an element of S
Set-roster notation:
• S = {1, 2, 3}
• S = {1, 2, …, 100}
• S = {1, 2, …}
Set-builder notation:
• { x  S | P(x) } where the “|” is read “such that”.
• S = {x  S | x≥1 }
• S = {x  S | 1 ≤ x ≤100}
2
Subsets: Proof and Disproof
We begin by rewriting what it means for a set A to be a
subset of a set B as a formal universal conditional
statement:
The negation is, therefore, existential:
3
Subsets: Proof and Disproof
A proper subset of a set is a subset that is not equal to its
containing set. Thus
4
Example
Let A = {1} , B = {1,2}, C = {1, 2, {1}}.
Is A  B?
Is A  C?
Is B  C?
Is 1  C?
Is A  C?
Is B  C?
5
Subsets: Proof and Disproof
6
Example 2 – Proving and Disproving Subset Relations
Define sets A and B as follows:
Prove that A  B.
Proof:
Suppose x is a particular but arbitrarily chosen element of
A. [We must show that xB, i.e., that x = 3s for some
integer s.]
7
Example 2 – Solution
By definition of A, there is an integer r such that
x = 6r + 12.
Let s = 2r + 4. Then s is an integer because products
and sums of integers are integers. Also,
3s = 6r + 12 = x
and so x  B.
cont’d
8
Example 2 – Solution
Disprove that B  A.
To disprove a statement means to show that it is false,
and to show it is false that B  A, you must find an
element of B that is not an element of A.
By the definitions of A and B, this means that you must
find an integer x of the form 3  (some integer) that
cannot be written in the form 6  (some integer) + 12.
cont’d
9
For instance, consider x = 3.
Then x  B because 3 = 3  1, but x  A because there is
no integer r such that 3 = 6r + 12. For if there were such
an integer, then
but 3/2 is not an integer. Thus 3  B but 3  A, and
so B ⊈ A.
Example 2 – Solution
10
Set Equality
We have known that by the axiom of extension, sets A and
B are equal if, and only if, they have exactly the same
elements.
We restate this as a definition that uses the language of
subsets.
11
Example 3 – Set Equality
Define sets A and B as follows:
Is A = B?
Solution:
Yes. To prove this, both subset relations A  B and B  A
must be proved.
12
Example 3 – Solution
Part 1, Proof That A  B:
Suppose x is a particular but arbitrarily chosen element of A.
By definition of A, there is an integer a such that x = 2a.
Let b = a + 1. Then b is an integer because it is a sum of
integers.
Also 2b – 2 = 2(a + 1) – 2 = 2a + 2 – 2 = 2a = x,
Thus, by definition of B, x is an element of B.
Part 2, Proof That B ⊆ A:
Similarly we can prove that B ⊆ A. Hence A = B.
cont’d
13
Venn Diagrams
If sets A and B are represented as regions in the plane,
relationships between A and B can be represented by
pictures, called Venn diagrams, that were introduced by
the British mathematician John Venn in 1881.
For instance, the relationship A  B can be pictured in one
of two ways, as shown below.
A ⊆ B
14
Venn Diagrams
The relationship A B can be represented in three different
ways with Venn diagrams, as shown below.
A B
15
Example 4 – Relations among Sets of Numbers
Since Z, Q, and R denote the sets of integers, rational
numbers, and real numbers, respectively, Z is a subset of
Q because every integer is rational (any integer n can be
written in the form ).
Q is a subset of R because every rational number is real
(any rational number can be represented as a length on the
number line).
Z is a proper subset of Q because there are rational
numbers that are not integers (for example, ).
16
Q is a proper subset of R because there are real numbers
that are not rational (for example, ).
This is shown diagrammatically below.
cont’d
Example 4 – Relations among Sets of Numbers
17
Operations on Sets
Most mathematical discussions are carried on within some
context. For example, in a certain situation all sets being
considered might be sets of real numbers.
In such a situation, the set of real numbers would be called
a universal set or a universe of discourse for the
discussion.
18
Operations on Sets
19
Operations on Sets
Venn diagram representations for union, intersection,
difference, and complement are shown below.
Shaded region
represents A  B.
Shaded region
represents A  B.
Shaded region
represents B – A.
Shaded region
represents Ac.
20
Example 5 – Unions, Intersections, Differences, and Complements
Let the universal set be the set U = {a, b, c, d, e, f, g} and
let A = {a, c, e, g} and B = {d, e, f, g}. Find A  B, A  B,
B – A, and Ac.
Solution:
21
Operations on Sets
There is a convenient notation for subsets of real numbers
that are intervals.
Observe that the notation for the interval (a, b) is identical
to the notation for the ordered pair (a, b). However, context
makes it unlikely that the two will be confused.
22
Example 6 – An Example with Intervals
Let the universal set be the set R of all real numbers and
let
These sets are shown on the number lines below.
Find A  B, A  B, B – A, and Ac.
23
Example 6 – Solution
24
Example 6 – Solution cont’d
25
Operations on Sets
The definitions of unions and intersections for more than
two sets are very similar to the definitions for two sets.
26
Operations on Sets
An alternative notation for and an
alternative notation for
27
For each positive integer i, let
Find A1  A2  A3.
Example 7 – Finding Unions and Intersections of More than Two Sets
28
For each positive integer i, let
Find A1  A2  A3.
Example 7 – Finding Unions and Intersections of More than Two Sets
29
For each positive integer i, let
Find 𝑖=1
∞
𝐴𝑖.
Example 7 – Finding Unions and Intersections of More than Two Sets
30
For each positive integer i, let
Find 𝑖=1
∞
𝐴𝑖.
Example 7 – Finding Unions and Intersections of More than Two Sets
31
The Empty Set
We have stated that a set is defined by the elements that
compose it. This being so, can there be a set that has no
elements? It turns out that it is convenient to allow such a
set.
Because it is unique, we can give it a special name. We
call it the empty set (or null set) and denote it by the
symbol Ø.
Thus {1, 3}  {2, 4} = Ø and {x  R| x2 = –1} = Ø.
32
Partitions of Sets
In many applications of set theory, sets are divided up into
nonoverlapping (or disjoint) pieces. Such a division is
called a partition.
33
Example 9 – Disjoint Sets
Let A = {1, 3, 5} and B = {2, 4, 6}. Are A and B disjoint?
Solution:
Yes. By inspection A and B have no elements in common,
or, in other words, {1, 3, 5}  {2, 4, 6} = Ø.
34
Partitions of Sets
35
Example 10 – Mutually Disjoint Sets
Let A1 = {3, 5}, A2 = {1, 4, 6}, and A3 = {2}. Are A1, A2, and
A3 mutually disjoint?
Yes. A1 and A2 have no elements in common, A1 and A3
have no elements in common, and A2 and A3 have no
elements in common.
Let B1 = {2, 4, 6}, B2 = {3, 7}, and B3 = {4, 5}. Are B1, B2,
and B3 mutually disjoint?
No. B1 and B3 both contain 4.
36
Partitions of Sets
Suppose A, A1, A2, A3, and A4 are the sets of points
represented by the regions shown below.
Then A1, A2, A3, and A4 are subsets of A, and
A = A1 U A2 U A3 U A4.
A Partition of a Set
37
Partitions of Sets
Suppose further that boundaries are assigned to the
regions representing A1, A2, A3, and A4 in such a way that
these sets are mutually disjoint.
Then A is called a union of mutually disjoint subsets, and
the collection of sets {A1, A2, A3, A4} is said to be a
partition of A.
38
Example 11 – Partitions of Sets
Let A = {1, 2, 3, 4, 5, 6}, A1 = {1, 2}, A2 = {3, 4}, and
A3 = {5, 6}. Is {A1, A2, A3} a partition of A?
Yes. By inspection, A = A1  A2  A3 and the sets A1, A2,
and A3 are mutually disjoint.
39
Example 11 – Solution
Let Z be the set of all integers and let
Is {T0, T1, T2} a partition of Z?
Yes. By the quotient-remainder theorem, every integer n
can be represented in exactly one of the three forms
for some integer k.
40
Power Sets
There are various situations in which it is useful to consider
the set of all subsets of a particular set.
The power set axiom guarantees that this is a set.
41
Example 12 – Power Set of a Set
Find the power set of the set {x, y}. That is, find ({x, y}).
Solution:
({x, y}) is the set of all subsets of {x, y}. We know that Ø
is a subset of every set, and so Ø  ({x, y}).
Also any set is a subset of itself, so {x, y}  ({x, y}). The
only other subsets of {x, y} are {x} and {y}, so
42
Tuples
ordered, duplicates are allowed.
43
Example 13 – Ordered n-tuples
No. By definition of equality of ordered 4-tuples,
But 3  4, and so the ordered 4-tuples are not equal.
Yes. By definition of equality of ordered triples,
44
Cartesian Products
45
Example 14 – Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
Find A1 × A2.
A1  A2 = {(x, 1), (x, 2), (x, 3), (y, 1), (y, 2), (y, 3)}
46
Example 14 – Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
Find (A1 × A2) × A3.
The Cartesian product of A1 and A2 is a set, so it may be
used as one of the sets making up another Cartesian
product. This is the case for (A1  A2)  A3.
47
Example 14 – Cartesian Products
Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}.
Find A1 × A2 × A3.
By definition of Cartesian product,

More Related Content

Similar to 6.1_set.pptx

Digital text book sets
Digital text book   setsDigital text book   sets
Digital text book setslibinkalappila
 
Digital text sets pdf
Digital text sets  pdfDigital text sets  pdf
Digital text sets pdfstephy1234
 
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
 
Mathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfMathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfgowhiksankar54
 
1. Real Numbers and Integer Exponent.pptx
1. Real Numbers and Integer Exponent.pptx1. Real Numbers and Integer Exponent.pptx
1. Real Numbers and Integer Exponent.pptxmxian444
 
Discrete mathematics for diploma students
Discrete mathematics for diploma studentsDiscrete mathematics for diploma students
Discrete mathematics for diploma studentsZubair Khan
 
Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure Abdullah Jan
 
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
SetSet
SetH K
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)VihaanBhambhani
 
pdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdfpdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdfSenaJover
 

Similar to 6.1_set.pptx (20)

Digital text book sets
Digital text book   setsDigital text book   sets
Digital text book sets
 
2.1 Sets
2.1 Sets2.1 Sets
2.1 Sets
 
Digital text sets pdf
Digital text sets  pdfDigital text sets  pdf
Digital text sets pdf
 
Lecture 1 - Concept of Sets.pdf
Lecture 1 - Concept of Sets.pdfLecture 1 - Concept of Sets.pdf
Lecture 1 - Concept of Sets.pdf
 
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
 
Sets in discrete mathematics
Sets in discrete mathematicsSets in discrete mathematics
Sets in discrete mathematics
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Mathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfMathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdf
 
1. Real Numbers and Integer Exponent.pptx
1. Real Numbers and Integer Exponent.pptx1. Real Numbers and Integer Exponent.pptx
1. Real Numbers and Integer Exponent.pptx
 
Discrete mathematics for diploma students
Discrete mathematics for diploma studentsDiscrete mathematics for diploma students
Discrete mathematics for diploma students
 
Discrete mathematics OR Structure
Discrete mathematics OR Structure Discrete mathematics OR Structure
Discrete mathematics OR Structure
 
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
 
Set
SetSet
Set
 
SETS PPT-XI.pptx
SETS PPT-XI.pptxSETS PPT-XI.pptx
SETS PPT-XI.pptx
 
Set concepts
Set conceptsSet concepts
Set concepts
 
Sets
SetsSets
Sets
 
Sets (Mathematics class XI)
Sets (Mathematics class XI)Sets (Mathematics class XI)
Sets (Mathematics class XI)
 
SETS-AND-SUBSETS.pptx
SETS-AND-SUBSETS.pptxSETS-AND-SUBSETS.pptx
SETS-AND-SUBSETS.pptx
 
pdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdfpdf_20221016_194015_0000.pdf
pdf_20221016_194015_0000.pdf
 
Chpt 2-sets v.3
Chpt 2-sets v.3Chpt 2-sets v.3
Chpt 2-sets v.3
 

Recently uploaded

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactisticshameyhk98
 
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)Jisc
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
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.pptxPooja Bhuva
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
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).pptxmarlenawright1
 
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.pptxAreebaZafar22
 
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Ă...Nguyen Thanh Tu Collection
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 

Recently uploaded (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
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)
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
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
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 
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
 
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Ă...
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

6.1_set.pptx

  • 1. 1 The Language of Sets Intuitively, a set is simply a collection of elements. unordered, no duplicate If S is a set, then • “x  S” means x is an element of S • “x  S” means x is not an element of S Set-roster notation: • S = {1, 2, 3} • S = {1, 2, …, 100} • S = {1, 2, …} Set-builder notation: • { x  S | P(x) } where the “|” is read “such that”. • S = {x  S | x≥1 } • S = {x  S | 1 ≤ x ≤100}
  • 2. 2 Subsets: Proof and Disproof We begin by rewriting what it means for a set A to be a subset of a set B as a formal universal conditional statement: The negation is, therefore, existential:
  • 3. 3 Subsets: Proof and Disproof A proper subset of a set is a subset that is not equal to its containing set. Thus
  • 4. 4 Example Let A = {1} , B = {1,2}, C = {1, 2, {1}}. Is A  B? Is A  C? Is B  C? Is 1  C? Is A  C? Is B  C?
  • 6. 6 Example 2 – Proving and Disproving Subset Relations Define sets A and B as follows: Prove that A  B. Proof: Suppose x is a particular but arbitrarily chosen element of A. [We must show that xB, i.e., that x = 3s for some integer s.]
  • 7. 7 Example 2 – Solution By definition of A, there is an integer r such that x = 6r + 12. Let s = 2r + 4. Then s is an integer because products and sums of integers are integers. Also, 3s = 6r + 12 = x and so x  B. cont’d
  • 8. 8 Example 2 – Solution Disprove that B  A. To disprove a statement means to show that it is false, and to show it is false that B  A, you must find an element of B that is not an element of A. By the definitions of A and B, this means that you must find an integer x of the form 3  (some integer) that cannot be written in the form 6  (some integer) + 12. cont’d
  • 9. 9 For instance, consider x = 3. Then x  B because 3 = 3  1, but x  A because there is no integer r such that 3 = 6r + 12. For if there were such an integer, then but 3/2 is not an integer. Thus 3  B but 3  A, and so B ⊈ A. Example 2 – Solution
  • 10. 10 Set Equality We have known that by the axiom of extension, sets A and B are equal if, and only if, they have exactly the same elements. We restate this as a definition that uses the language of subsets.
  • 11. 11 Example 3 – Set Equality Define sets A and B as follows: Is A = B? Solution: Yes. To prove this, both subset relations A  B and B  A must be proved.
  • 12. 12 Example 3 – Solution Part 1, Proof That A  B: Suppose x is a particular but arbitrarily chosen element of A. By definition of A, there is an integer a such that x = 2a. Let b = a + 1. Then b is an integer because it is a sum of integers. Also 2b – 2 = 2(a + 1) – 2 = 2a + 2 – 2 = 2a = x, Thus, by definition of B, x is an element of B. Part 2, Proof That B ⊆ A: Similarly we can prove that B ⊆ A. Hence A = B. cont’d
  • 13. 13 Venn Diagrams If sets A and B are represented as regions in the plane, relationships between A and B can be represented by pictures, called Venn diagrams, that were introduced by the British mathematician John Venn in 1881. For instance, the relationship A  B can be pictured in one of two ways, as shown below. A ⊆ B
  • 14. 14 Venn Diagrams The relationship A B can be represented in three different ways with Venn diagrams, as shown below. A B
  • 15. 15 Example 4 – Relations among Sets of Numbers Since Z, Q, and R denote the sets of integers, rational numbers, and real numbers, respectively, Z is a subset of Q because every integer is rational (any integer n can be written in the form ). Q is a subset of R because every rational number is real (any rational number can be represented as a length on the number line). Z is a proper subset of Q because there are rational numbers that are not integers (for example, ).
  • 16. 16 Q is a proper subset of R because there are real numbers that are not rational (for example, ). This is shown diagrammatically below. cont’d Example 4 – Relations among Sets of Numbers
  • 17. 17 Operations on Sets Most mathematical discussions are carried on within some context. For example, in a certain situation all sets being considered might be sets of real numbers. In such a situation, the set of real numbers would be called a universal set or a universe of discourse for the discussion.
  • 19. 19 Operations on Sets Venn diagram representations for union, intersection, difference, and complement are shown below. Shaded region represents A  B. Shaded region represents A  B. Shaded region represents B – A. Shaded region represents Ac.
  • 20. 20 Example 5 – Unions, Intersections, Differences, and Complements Let the universal set be the set U = {a, b, c, d, e, f, g} and let A = {a, c, e, g} and B = {d, e, f, g}. Find A  B, A  B, B – A, and Ac. Solution:
  • 21. 21 Operations on Sets There is a convenient notation for subsets of real numbers that are intervals. Observe that the notation for the interval (a, b) is identical to the notation for the ordered pair (a, b). However, context makes it unlikely that the two will be confused.
  • 22. 22 Example 6 – An Example with Intervals Let the universal set be the set R of all real numbers and let These sets are shown on the number lines below. Find A  B, A  B, B – A, and Ac.
  • 23. 23 Example 6 – Solution
  • 24. 24 Example 6 – Solution cont’d
  • 25. 25 Operations on Sets The definitions of unions and intersections for more than two sets are very similar to the definitions for two sets.
  • 26. 26 Operations on Sets An alternative notation for and an alternative notation for
  • 27. 27 For each positive integer i, let Find A1  A2  A3. Example 7 – Finding Unions and Intersections of More than Two Sets
  • 28. 28 For each positive integer i, let Find A1  A2  A3. Example 7 – Finding Unions and Intersections of More than Two Sets
  • 29. 29 For each positive integer i, let Find 𝑖=1 ∞ 𝐴𝑖. Example 7 – Finding Unions and Intersections of More than Two Sets
  • 30. 30 For each positive integer i, let Find 𝑖=1 ∞ 𝐴𝑖. Example 7 – Finding Unions and Intersections of More than Two Sets
  • 31. 31 The Empty Set We have stated that a set is defined by the elements that compose it. This being so, can there be a set that has no elements? It turns out that it is convenient to allow such a set. Because it is unique, we can give it a special name. We call it the empty set (or null set) and denote it by the symbol Ø. Thus {1, 3}  {2, 4} = Ø and {x  R| x2 = –1} = Ø.
  • 32. 32 Partitions of Sets In many applications of set theory, sets are divided up into nonoverlapping (or disjoint) pieces. Such a division is called a partition.
  • 33. 33 Example 9 – Disjoint Sets Let A = {1, 3, 5} and B = {2, 4, 6}. Are A and B disjoint? Solution: Yes. By inspection A and B have no elements in common, or, in other words, {1, 3, 5}  {2, 4, 6} = Ø.
  • 35. 35 Example 10 – Mutually Disjoint Sets Let A1 = {3, 5}, A2 = {1, 4, 6}, and A3 = {2}. Are A1, A2, and A3 mutually disjoint? Yes. A1 and A2 have no elements in common, A1 and A3 have no elements in common, and A2 and A3 have no elements in common. Let B1 = {2, 4, 6}, B2 = {3, 7}, and B3 = {4, 5}. Are B1, B2, and B3 mutually disjoint? No. B1 and B3 both contain 4.
  • 36. 36 Partitions of Sets Suppose A, A1, A2, A3, and A4 are the sets of points represented by the regions shown below. Then A1, A2, A3, and A4 are subsets of A, and A = A1 U A2 U A3 U A4. A Partition of a Set
  • 37. 37 Partitions of Sets Suppose further that boundaries are assigned to the regions representing A1, A2, A3, and A4 in such a way that these sets are mutually disjoint. Then A is called a union of mutually disjoint subsets, and the collection of sets {A1, A2, A3, A4} is said to be a partition of A.
  • 38. 38 Example 11 – Partitions of Sets Let A = {1, 2, 3, 4, 5, 6}, A1 = {1, 2}, A2 = {3, 4}, and A3 = {5, 6}. Is {A1, A2, A3} a partition of A? Yes. By inspection, A = A1  A2  A3 and the sets A1, A2, and A3 are mutually disjoint.
  • 39. 39 Example 11 – Solution Let Z be the set of all integers and let Is {T0, T1, T2} a partition of Z? Yes. By the quotient-remainder theorem, every integer n can be represented in exactly one of the three forms for some integer k.
  • 40. 40 Power Sets There are various situations in which it is useful to consider the set of all subsets of a particular set. The power set axiom guarantees that this is a set.
  • 41. 41 Example 12 – Power Set of a Set Find the power set of the set {x, y}. That is, find ({x, y}). Solution: ({x, y}) is the set of all subsets of {x, y}. We know that Ø is a subset of every set, and so Ø  ({x, y}). Also any set is a subset of itself, so {x, y}  ({x, y}). The only other subsets of {x, y} are {x} and {y}, so
  • 43. 43 Example 13 – Ordered n-tuples No. By definition of equality of ordered 4-tuples, But 3  4, and so the ordered 4-tuples are not equal. Yes. By definition of equality of ordered triples,
  • 45. 45 Example 14 – Cartesian Products Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}. Find A1 × A2. A1  A2 = {(x, 1), (x, 2), (x, 3), (y, 1), (y, 2), (y, 3)}
  • 46. 46 Example 14 – Cartesian Products Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}. Find (A1 × A2) × A3. The Cartesian product of A1 and A2 is a set, so it may be used as one of the sets making up another Cartesian product. This is the case for (A1  A2)  A3.
  • 47. 47 Example 14 – Cartesian Products Let A1 = {x, y}, A2 = {1, 2, 3}, and A3 = {a, b}. Find A1 × A2 × A3. By definition of Cartesian product,