The Language of Sets
The Language of Sets
The Language of Sets
Sets
Sets
Any group or collection of objects is called a set. It is usually denoted by the capital
letters 𝐴, 𝐵, 𝐶, … , 𝑍.
The objects that belong in a set are the elements, or members, of the set.
Examples:
1.) The set consisting of the four seasons has spring, summer, fall, and winter as its
elements.
2.) The set of states in the Unites States that border the Pacific Ocean has California,
Oregon, Washington, Alaska, and Hawaii as its elements.
3.) The set of days in a week has elements Monday, Tuesday, Wednesday, Thursday,
Friday, Saturday, and Sunday.
Sets
The following two methods are often used to designate
a set.
1. Describe the set using words.
2. List the elements of the set inside a pair of braces, { }.
This method is called the roster method. Commas are used
to separate the elements.
Sets
For instance, if we let S to represent the set consisting of the four
seasons, then, using the roster method, we would write
S = {spring, summer, fall, winter} .
Note: The order in which the elements of a set are listed is not
important. Thus, the set consisting of the four seasons can also
be written as
S = {winter, spring, fall, summer}.
Sets
The following table gives two examples of sets, where each set is designated
by a word description and also by using the roster method.
Solution:
Example 2 – Use a Word Description to Represent a Set
Solution:
Note:
• The natural numbers and the positive integers are the same set of numbers.
• The integer zero is neither a positive nor a negative integer.
Sets
If a number in decimal form terminates or repeats a block of digits without end, then the
number is a rational number.
Rational numbers can also be written in the form
where p and q are integers and q 0.
Example:
Solution:
a. The set of natural numbers is given by {1, 2, 3, 4, 5, 6, 7, ...}.
The natural numbers less than 5 are 1, 2, 3, and 4.
Using the roster method, we write this set as {1, 2, 3, 4}.
cont’d
Example 3 – Solution
b. Adding –5 to each side of the equation produces x = –6.
The solution set of
c. The set of negative integers greater than –4 is {–3, –2, –1}.
Definitions Regarding Sets
Definitions Regarding Sets
A set is well-defined if it is possible to determine whether any given item is an
element of the set.
For instance:
• The set of letters of the English alphabet is well defined.
• The set of great songs is not a well-defined set.
Solution:
a. Since 4 is an element of the given set, the statement is true.
b. There are no negative natural numbers, so the statement is
false.
cont’d
Example 4 – Solution
c. Since is not an integer, the statement is true.
The preceding set-builder notation is read as “the set of all elements x such that x is an
element of the set of natural numbers and x is greater than 7.”
It is impossible to list all the elements of the set, but set-builder notation defines the set by
describing its elements.
Example 5 – Use Set-Builder Notation to Represent a Set
Solution:
a. Set J contains exactly two elements, so J has a cardinality of 2.
Using mathematical notation, we state this as n(J) = 2.
b. Only a few elements are actually listed. The number of natural numbers from 1
to 31 is 31. If we omit the numbers 1 and 2, then the number of natural numbers
from 3 to 31 must be 31 – 2 = 29. Thus n(S) = 29.
cont’d
Example 6 – Solution
c. Elements that are listed more than once are counted
only once. Thus n(T) = 3.
Definitions Regarding Sets
The following definitions play an important role in our
work with sets.
Solution:
a. The sets are not equal. However, each set has exactly five elements, so the
sets are equivalent.
b. The first set has three elements and the second set has four elements, so
the sets are not equal and are not equivalent.
Subsets
Subsets
Example: The set of vowels, {a, e, i, o, u}, is a subset of the set of letters in
the alphabet.
Subsets
Here are two fundamental subset relationships.
A Venn diagram
In a Venn diagram, the universal set is represented by a rectangular region and subsets of the universal
set are generally represented by oval or circular regions drawn inside the rectangle.
Subsets
The Venn diagram below shows a universal set and one of its subsets, labeled as set A.
A Venn diagram
Solution:
a. Because the sets are equal, the first set is not a proper subset of the second set.
b. Every natural number is an integer, so the set of natural numbers is a subset of the
set of integers. The set of integers contains elements that are not natural numbers,
such as –3. Thus the set of natural numbers is a proper subset of the set of integers.
Example 10 – List All the Subsets of a Set
Set C shows the four condiments that a hotdog stand offers on its hotdogs.
C = {mustard, ketchup, onions, relish}
List all the subsets of C.
Solution:
An organized list shows the following subsets.
{}
•
Example 10 – Solution
{mustard, ketchup}, {mustard, onions},
{mustard, relish}, {ketchup, onions},
{ketchup, relish}, {onions, relish}
•Consider set A with n elements. All of the 2n subsets of A are proper subsets
of A, except for A itself. Thus the number of proper subsets of A is 2n – 1.
Number of Subsets of a Set
•In Example 11, we apply the formula for the number of
subsets of a set to determine the number of different
variations of pizzas that a restaurant can serve.
Example 11 – Pizza Variations
A restaurant sells pizzas for which you can choose from seven toppings.
a. How many different variations of pizzas can the restaurant serve?
b. What is the minimum number of toppings the restaurant must provide if it
wishes to advertise that it offers over 1000 variations of its pizzas?
Solution:
a. The restaurant can serve a pizza with no topping, one topping, two toppings,
three toppings, and so forth, up to all seven toppings.
cont’d
Example 11 – Solution
Let T be the set consisting of the seven toppings.
Thus the restaurant can serve 27 = 128 different variations of its pizzas.
cont’d
Example 11 – Solution
b. Use the method of guessing and checking to find the smallest natural number n for
which 2n > 1000.
The restaurant must provide a minimum of 10 toppings if it wishes to offer over 1000
variations of its pizzas.