Documente Academic
Documente Profesional
Documente Cultură
Definition of a Set
Let A be a set.
If x belongs to A , then we write x A , which reads
“x is an element of A”.
Example:
Let A be the set of counting numbers less than 5. Then
3 V 6 A 3.5 A
Ways of Describing Sets
2. Set-builder Notation
This has the general form
{variable | descriptive statement }.
SOLUTION:
(a) A = {1, 2, 3, 4, 5}
(b) B = {5, 6, 7, 8, . . .}
Ways of Describing Sets
SOLUTION
(a) R = {x │ x E and x 7}
The set of all x such that x is an even natural number and x
is less than 7.
SOLUTION
(a) The set is finite since there are 99 natural numbers that are less than 100.
(b) The set is finite since the letters used are C, D, I, L, M, V, and X.
(c) The set is infinite since it consists of an unlimited number of elements.
(d) The set is finite since there is a specific number of people in your immediate family.
(e) The set is finite because no negative integer is greater than 0.
Some Special Sets
Universal Set
the set of all elements currently under consideration, and is often
symbolized by 𝒰.
Cardinality
Example:
Which of the following sets are joint or Answer:
disjoint? A and C are joint sets
A = the set of prime numbers A and B are disjoint sets
B = {x| x is a solution of 𝑥 2 − 1 = 0} B and C are disjoint sets
C = the set of even numbers
Set Relations
Set Relations
3. The Membership Relation
Example:
1. Let S = {1,2,3,4,5}, T = {1,3,5}, and V = {2,4,6}. Which set
of is a subset of another?
1.
2. A = {1}
3. B = {a,b}
4. C = {x,y,z}
Set Relations
Remarks:
1. The empty set is a subset of any set.
2. Any set is a subset of itself.
3. If n(A)= k, then the number of subsets of A is 2𝑘 .
SET OPERATIONS
Operation on Sets
1. Union
The union of two sets A and B, denoted by A B,
is the set containing those elements which are in A
or B or both.
In symbols,
A B x x A or x B
Operation on Sets
1. Union
Examples: Determine the union of the following sets.
1. A = {3, 4, 5, 7} and B = { 1, 2, 3, 5, 6}
A B = {1, 2, 3, 4, 5, 6, 7}.
A B = {x | x < 3 or x > 5 }.
Operation on Sets
2. Intersection
The intersection of two sets A and B, denoted by
A B, is the set containing those elements which
are elements of A and elements of B.
In symbols,
A B x x A and x B
Operation on Sets
2. Intersection
Examples: Find the intersection of the following sets.
1. A = {3, 4, 5, 7} and B = { 1, 2, 3, 5, 6} A B = {3, 5}.
4. A = {x | x < 4 } and
A ∩ B ={x | 1 < x < 4 }
B = {x | x >1 }
Operation on Sets
2. Complements
If A is a subset of the universal set U, then the complement
of A, denoted by 𝐴𝑐 𝑜𝑟 𝐴, is the set of all elements in the
universal set that are not in A.
In symbols,
𝐴 = {𝑥|𝑥 ∈ 𝒰 𝑎𝑛𝑑 𝑥 ∉ 𝐴}
Operation on Sets
2. Complements
B = {2,4,6}
C = {3,5, 6, 8}
Operation on Sets
Operation on Sets
4. Difference of Sets
In symbols,
. A B x A and x B
Operation on Sets
Operation on Sets
4. Difference of Sets
Determine
1. A–B
2. B - A
Operation on Sets
5. Symmetric Difference
Symbolically,
A B A B A B
Operation on Sets
5. Symmetric Difference
Examples: Let A= {1,2,4,6}, B = {1,3,4,5} and C={3,5}.
Determine
1. A⨁B
2. B ⨁ A
3. A ⨁ C
Operation on Sets
6. Cartesian Product
Determine
1. A×B
2. B×A
3. A×C
VENN DIAGRAM
Venn Diagram
U
A B
C
Venn Diagram
Union A B
A B
Venn Diagram
Intersection A B
Venn Diagram
A complement A
Venn Diagram
Set Difference, A B
Venn Diagram
Symmetric Difference A B
Venn Diagram
1. A B
2. A B
3. A B
Venn Diagram
A B
Venn Diagram
A B
Venn Diagram AC B
Venn Diagram
B ( A C )
Venn Diagram
Venn Diagram
A B C A B C
Venn Diagram
Example
A survey of 60 people was taken and the following results were seen:
12 customers drank only tea and coffee
6 customers drank only juice
29 customers drank tea
2 customers drank only tea and juice
10 customers drank tea, coffee and juice
33 customers drank coffee
1 customer drank only juice and coffee
Example
A chicken farmer surveyed his flock with the following results. The farmer has:
9 fat red roosters(male) 37 fat chickens 6 thin red roosters
2 fat red hens 7 thin brown hens 5 thin red hens
26 fat roosters (total) 18 thin brown roosters
(HINT: in your Venn diagram make a circle for fat, for male and for red)
Venn Diagram
Example
I have 24 dogs. Twelve of the dogs are black, six of the dogs have short
tails, and fifteen of the dogs have long hair. There is only one dog that
is black with a short tail and long hair. Two of the dogs are black with
short tails and do not have long hair. Two of the dogs have short tails
and long hair but are not black. If all my dogs have at least one of the
mentioned characteristics, how many of my dogs are black with long
hair but do not have short tails?
SET IDENTITIES
AU=A AA=U (A B) C = A ( B C)
A=A AA= (A B) C = A ( B C)
Prove that
SOLUTION:
DeMorgan’s Law
DeMorgan’s Law
Commutativity
Commutativity
SET IDENTITIES
Prove: A B A B B
Solution:
A B A B B A B A Commutativity
B A A Distributivity
B U Complement Laws
B Identity