Professional Documents
Culture Documents
Sets
Definition 1
A set is a collection of objects called elements.
A set is well-defined if for any given object we can objectively decide whether it is or is not in the
set. Any object which belongs to a given set is said to be an element of or a member of the given
set.
Example 1.
To be well-defined, the definition of what is or is not in a set has to be based on facts, not opinions.
A set A can be commonly described in three ways, by (a) listing (roster) method, (b) by set-
builder notation or(c) by descriptive method. The listing method describes the set by listing
all the elements between braces and separated by commas (note: in enumerating the elements
of a certain set, each element is listed only once and the arrangement of elements in the list is
immaterial). The set-builder notation uses a variable (a symbol, usually a letter, that can
represent different elements of a set), braces, and a vertical bar | that is read as ”such that”. This
is usually used when the elements are too many to list down. The descriptive method uses a
short verbal statement to describe the set.
1
2 CHAPTER 3. SETS
Example 2.
1. By roster method, write the set of months in a year that ends with letter y.
Answer: {January, February, May, July}
3. Describe the set with elements, 11, 12, 13, 14, 15, ... in
Definition 2
A set with no elements is called an empty set or null set. The symbols used to represent
the empty set are {} or φ. A set with only one element is called a unit set.
4. The set of perfect squares less than 1000 in the Fibonacci sequence.
5. {φ}
3.1. BASIC CONCEPTS 3
Definition 3
The cardinal number of a set is the number of elements in the set. The cardinality of a
set A is written in symbols n(A), read as ”n of A”.
2. B = {b | b ∈ N and b < 28 }
5. {φ}
Definition 4
A set is called finite if it has no elements or has a cardinality that is a natural number. A
set that is not finite is called an infinite set.
2. C = {c | c ∈ Z and c < 28 }
Definition 5
Two sets A and B are equal (written A = B) if they have exactly the same members or
elements. Two finite sets A and B are said to be equivalent (written A ∼
= B) if they have
the same number of elements, that is, n(A) = n(B).
• All equal sets are equivalent but not all equivalent sets are equal.
1. The set of the letters in the word PHILIPPINES and the set of letters in the word MATH-
EMATICS.
2. The set of positive integers less than 10 and the set of negative integers greater than -10.
Definition 6
Two sets have a one-to-one correspondence of elements if each element in the first set
can be paired with exactly one element of the second set and each element of the second set
can be paired with exactly one element of the first set.
Example 8. Show that the sets {8, 16, 24, 32} and {s, t, u, v} have a one-to-one correspondence
• Two sets are equivalent if you can put their elements in one-to-one correspondence.
Definition 7
• The universal set for a given situation, written as U, is the set of all objects that are
reasonable to consider in that situation.
• The complement of a set A, written as A0 is the set of all elements in the universal
set that are not in A. That is, A0 = { x | x ∈ U and x ∈
/ A }.
• The set containing all the subsets of a set is called power set. If a finite set has n
elements, then the cardinality of its power set is 2n .
Example 9.
Definition 8
• The intersection of two sets A and B, written as A ∩ B, is the set of all elements
that are in both sets. That is, A ∩ B = {x | x ∈ A and x ∈ B}. When the intersection
of two sets is the empty set, the sets are said to be disjoint.
• The union of two sets A and B, written as A ∪ B, is the set of all elements that
are in either set A or set B (or both). That is, A ∪ B = {x | x ∈ A or x ∈ B}.
n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
• The difference of two sets A and B, written as A\B or (A − B), is the set of all
/ B}. A\B = A∩B 0
elements in A that are not in B. That is, A\B = {x | x ∈ A and x ∈
Example 10.
U = {x | x is a counting number less than 15}
A = {1, 4, 5}
B = {x ∈U| x is even}
C = {x ∈U| x is a natural number less than 7}
Consider the sets above. Write U, B, S, A in roster method and determine the following:
1. A ∪ B 5. A\C
2. (A ∪ B) ∩ C 6. A × C
3. (B ∩ C) ∪ (B ∩ A) 7. A0 ∩ B 0 ∩ C 0
4. B 0 ∩ C 0 8. (A ∪ B)0
Definition 9
De Morgan’s Law
For any two sets A and B,
a. (A ∪ B)0 = A0 ∩ B 0
b. (A ∩ B)0 = A0 ∪ B 0
6 CHAPTER 3. SETS
Example 11.
4. In a survey of 85 college students, 72 use Instagram, 31 use Facebook, and 21 use both.
5. At a certain high school, each student is a member of the English Club, the Science Club, or
the Mathematics Club. Of the 79 students asked, 33 are members of the English Club, 37
are members of the Math Club, and 37 are members of the of the Science club. Furthermore,
7 are members of both the English and the Math Clubs, 12 are members of both the English
and the Science Clubs, and 9 are members of the Science and Math Clubs. No high school
student is a member of all the three clubs. How many joined only the Math Club?
6. In a group of 40 first year college male students, 22 like basketball, 18 are interested in tennis,
and 14 like volleyball. Of these students, 7 are interested in both volleyball and basketball,
9 like both basketball and tennis, 5 like both tennis and volleyball, and 3 students like the
three sports. How many students
Seatwork/Homework
2. U = {a, c, d, e, g, i, l, m, n, q, r, s, t, u}
A = {x | x is a letter in the word quadrilateral}
B = {x | x is a letter in the word square}
C = {x | x is a letter in the word rectangle}
Consider the sets above. Write U, B, S, A in roster method and determine the following:
3. In a class of 25 students, 18 were math majors, 12 were computer science majors, and 7 were
dual major in math and computer science. How many students were (a) majoring in math
only? (b) not majoring in computer science? (c) not math or computer science majors?
4. In a small community, a survey on the favorite television programs of 63 housewives was made.
Based on the survey, 38 housewives watch musical programs, 27 watch drama anthologies,
and 29 watch variety shows. Furthermore, 16 housewives watch both musical and variety
shows, 12 watch both drama and musical programs, 8 watch both drama and variety shows,
and 5 watch all the three programs. How many watch musical programs but not anthologies
or variety shows?
5. Among the 96 members of a college dance group, 49 members dance jazz, 45 dance the ballet,
42 dance the modern dance, 14 dance both modern and ballet, 15 dance both modern and
jazz, 16 dance both ballet and jazz, and 5 dance all three dances. How many members dance
the ballet only?