Professional Documents
Culture Documents
MAT14xTextbook1stEditionCh7
MAT14xTextbook1stEditionCh7
It is natural for us to classify items into groups, or sets, and consider how those sets
overlap with each other. We can use these sets to understand relationships between
groups, and to analyze survey data.
An art collector might own a collection of paintings, while a music lover might keep a
collection of CDs. Any collection of items can form a set.
Set
A set is a collection of distinct objects, called elements of the set.
A set can be defined by describing the contents, or by listing the elements of the set,
enclosed in curly brackets.
Example 1
Some examples of sets that are defined by describing the contents of the set:
a) The set of all even numbers
b) The set of all books written about travel to Chile
Some examples of sets that are defined by listing the elements of the set:
a) {1, 3, 9, 12}
b) {red, orange, yellow, green, blue, indigo, purple}
A set simply specifies the contents; order is not important. The set represented by
{1, 2, 3} is equivalent to the set {3, 1, 2}.
Chapter 7: Sets and Venn Diagrams 2
Notation
We will use a variable to represent a set, to make it easier to refer to that set later.
A set that contains no elements, { }, is called the empty set and is notated ∅.
Example 2
Let A = {1, 2, 3, 4}
Sometimes a collection might not contain all the elements of a set. For example, Chris
owns three Madonna albums. While Chris’s collection is a set, we can also say it is a
subset of the larger set of all Madonna albums.
Subset
A subset of a set A is another set that contains only elements from the set A, but may
not contain all the elements of A.
If B is a subset of A, we write B ⊆ A
A proper subset is a subset that is not identical to the original set – it contains fewer
elements.
Example 3
Consider these three sets
A = the set of all even numbers B = {2, 4, 6} C = {2, 3, 4, 6}
Example 4
Suppose a set contains the plays “Much Ado About Nothing”, “MacBeth”, and “A
Midsummer’s Night Dream”. What is a larger set this might be a subset of?
There are many possible answers here. One would be the set of plays by Shakespeare.
This is also a subset of the set of all plays ever written. It is also a subset of all British
literature.
The set A = {1, 3, 5}. What is a larger set that this might be a subset of?
It is very common for sets to interact. For example, you and a new roommate decide to
have a house party, and you both invite your circle of friends. At this party, two sets are
being combined, though it might turn out that there are some friends that were in both
sets.
The intersection of two sets contains only the elements that are in both sets A and B.
The intersection is written “A ⋂ B” or “A and B”.
The complement of a set A contains everything that is not in the set A. The
complement of A can be written Ac, 𝐴̅, A’, not A, or sometimes ~A. For consistency,
this text will use 𝐴̅.
Example 5
Consider the sets:
A = {red, green, blue}
B = {red, yellow, orange}
C = {red, orange, yellow, green, blue, purple}
D = {yellow, white}
Chapter 7: Sets and Venn Diagrams 4
a) Find A ⋃ B
The union contains all the elements in either set A or set B, or both:
A ⋃ B = {red, green, blue, yellow, orange}
Notice we only list red once.
b) Find A ⋂ B
c) Find 𝐴̅ ⋂ C
Here we’re looking for all the elements that are not in set A and are also in C.
𝐴̅ ⋂ C = {orange, yellow, purple}
d) Find A ⋂ D.
Because set A and set B have no elements in common, we can write:
A⋂D=∅ or A ⋂ D = { }
Notice that in the example above, it would be hard to just ask for 𝐴̅ since everything from
the color fuchsia to puppies and peanut butter are included in the complement of the set.
For this reason, complements are usually only used with intersections, or when we have a
universal set in place.
Universal Set
A universal set is a set that contains all the elements we are interested in.
This would have to be defined by the context.
A complement is relative to the universal set, so 𝐴̅ contains all the elements in the
universal set that are not in A.
Chapter 7: Sets and Venn Diagrams 5
Example 6
a. If we were discussing searching for books, the universal set might be all the books
in the library.
b. If we were grouping your Facebook friends, the universal set would be all your
Facebook friends.
c. If you were working with sets of numbers, the universal set might be all whole
numbers, all integers, or all real numbers.
d. If you were working with letters, the universal set might include all 26 letters in the
English alphabet.
Example 7
Set Operations
As we saw earlier with the expression 𝐴̅ ⋂ C, set operations can be grouped together.
Grouping symbols can be used like they are with arithmetic – to force an order of
operations.
Example 8
Suppose H = {cat, dog, rabbit, mouse}, F = {dog, cow, duck, pig, rabbit}
W = {duck, rabbit, deer, frog, mouse}
a) Find (H ⋂ F) ⋃ W
b) Find H ⋂ (F ⋃ W)
c) Find ̅̅̅̅̅̅̅̅̅̅
(𝐻 ∩ 𝐹) ⋂ W
To visualize the interaction of sets, John Venn in 1880 thought to use overlapping circles,
building on a similar idea used by Leonhard Euler in the 18th century. These illustrations
are now called Venn Diagrams.
Venn Diagram
A Venn diagram represents each set by a circle, usually drawn inside of a rectangle.
The rectangle represents the universal set. Overlapping areas of circles indicate
elements common to both sets.
Basic Venn diagrams can illustrate the interaction of two or three sets
Chapter 7: Sets and Venn Diagrams 7
Example 9
A ⋂ B contains only those elements in 𝐴̅ will contain all elements not in the set
both sets – in the overlap of the circles. A. 𝐴̅ ⋂ B will contain the elements in set
B that are not in set A.
Example 10
Now, ̅̅̅̅̅̅̅̅̅̅
(𝐻 ∩ 𝐹) ⋂ W will contain everything not
in the set identified above that is also in set W.
Example 11
Create an expression to represent the outlined part of the Venn diagram shown.
The elements in the outlined set are in sets H and F, but are not in set W.
So we could represent this set as H ⋂ F ⋂ 𝑊 ̅
Often times we are interested in the number of items in a set or subset. This is called the
cardinality of the set.
Cardinality
Example 12
Let A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6, 8}.
What is the cardinality of B? A ⋃ B? A ⋂ B?
Example 13
What is the cardinality of P = the set of English names for the months of the year?
The cardinality of this set is 12, since there are 12 months in the year.
Example 14
Consider the Venn diagram below
n(A) = 11 + 8 = 19 n(𝐵̅) = 11 + 2 = 13
n(𝐴̅) = 2 + 4 = 6 n(A⋃B) = 11 + 8 + 4 = 23
n(B) = 8 + 4 = 12 n(A⋂𝐵̅) = 11
Chapter 7: Sets and Venn Diagrams 10
Sometimes (as in the previous example) we may be interested in the cardinality of the
union or intersection of sets, but not know the actual elements of each set. This is
common in surveying applications like the ones below.
Example 15
A survey asks 200 people “What beverage do you drink in the morning?”, and offers
choices:
Tea only
Coffee only
Both coffee and tea
Suppose 20 report tea only, 80 report coffee only, 40 report both. How many people
drink tea in the morning? How many people drink neither tea nor coffee?
Example 16
A survey asks: Which online services have you used in the last month:
Twitter
Facebook
Have used both
The results show 42% of those surveyed have used Twitter, 70% have used Facebook,
and 20% have used both. How many people have used neither Twitter nor Facebook?
Let T be the set of all people who have used Twitter, and F be the set of all people who
have used Facebook. Notice that while the cardinality of F is 70% and the cardinality
of T is 42%, the cardinality of F ⋃ T is not simply 70% + 42%, since that would count
those who use both services twice (and would, in this example, add up to more than
100%). To find the cardinality of F ⋃ T, we can add the cardinality of F and the
cardinality of T, then subtract those in intersection that we’ve counted twice. In
symbols,
Chapter 7: Sets and Venn Diagrams 11
Now, to find how many people have not used either service, we’re looking for the
cardinality ̅̅̅̅̅̅̅̅̅̅
(𝐹 ∪ 𝑇)of . Since the universal set contains 100% of people and the
cardinality of F ⋃ T = 92%, the cardinality of ̅̅̅̅̅̅̅̅̅̅
(𝐹 ∪ 𝑇) must be the other 8%.
The Venn diagram for this situation would look like this:
Cardinality properties
n(A ⋃ B) = n(A) + n(B) – n(A ⋂ B)
Notice that the first property can also be written in an equivalent form by solving for
the cardinality of the intersection:
n(A ⋂ B) = n(A) + n(B) – n(A ⋃ B)
7.1. There are several answers: The set of all odd numbers less than 10. The set of all odd
numbers. The set of all integers. The set of all real numbers.
7.3B. (𝐴 ∪ 𝐵) ∩ 𝐶̅
1. List out the elements of the set “The letters of the word Mississippi”.
10. Let set A represent all students currently attending college in Arizona and let set B
represent all students currently attending Scottsdale Community College. Use set
notation to describe the relationship between the two sets A and B.
11. Let set A represent all cookies, let set B represent chocolate chip cookies, and let
C represent all desserts. Indicate if each statement is true or false.
a. “sugar cookies” ∊ C
b. “sugar cookies” ∊ B
c. “chocolate cake” ∊ C
d. B ⊂ A
e. C ⊂ B
f. A ⊂ C
12. Suppose the universal set is U = {1, 2, 3, … , 8, 9, 10}. If A = {5, 6, 8}, find 𝐴̅.
13. Suppose the universal set is U = {red, orange, yellow, green, blue, purple}.
If A = {red, green, blue}, find 𝐴̅.
14. Suppose the universal set U is all even numbers from 2 to 20.
If A = {4, 6, 10, 16, 18, 20}, find 𝐴̅.
15. Let U = {1, 2, 3, … , 18, 19, 20} be the universal set. Consider the sets:
A = {2, 3, 5, 7, 10, 11, 12, 13, 14, 16, 17, 19} B = {5, 10, 13, 14, 16, 19, 20}
16. Let U = {1, 2, 3, … , 18, 19, 20} be the universal set. Consider the sets:
A = {6, 11, 12, 14, 16, 17, 18} B = {1, 4, 5, 8, 11, 12, 15, 16}
17. Let U = {1, 2, 3, ... , 18, 19, 20} be the universal set. Consider the sets:
A = {1, 2, 3, 4, 6, 8, 9, 11, 12, 14, 15, 18} B = {5, 9, 12, 14, 17, 19, 20}
18. Let U = {1, 2, 3, … , 8, 9, 10} be the universal set. Consider the sets:
A = {3, 5, 8, 10} B = {1, 3, 4, 7, 8, 9, 10} C = {2, 5, 6}
19. Let D = {b, a, c, k}, E = {t, a, s, k}, F = {b, a, t, h}. Using these sets, find the
following: (Hint: first determine the elements in the universal set)
a. 𝐷̅⋂E
b. 𝐹̅ ⋂ D
c. (D ⋂ E) ⋃ F
d. D ⋂ (E ⋃ F)
e. ̅̅̅̅̅̅̅̅̅̅
(𝐹 ⋂ 𝐸) ⋂ D
f. ̅̅̅̅̅̅̅̅̅̅
(𝐷 ⋃ 𝐸) ⋂ F
For problems 20 – 30, create a Venn diagram to illustrate each of the following
20. 𝐶̅
21. A ⋃ B
22. A ⋂ B
23. A ⋂ 𝐵̅
24. A ⋃ B ⋃ C
25. A ⋂ B ⋂ C
26. (A ⋃ B) ⋂ C
27. (C ⋂ B) ⋃ A
̅̅̅̅̅̅̅̅̅̅
28. (C ⋂ 𝐴) ⋂ B
29. ̅̅̅̅̅̅̅̅̅̅
(𝐴 ⋃ 𝐵) ⋂ C
30. (𝐴̅ ⋂ 𝐵̅) ⋂ C
Chapter 7: Sets and Venn Diagrams 16
31.
32.
33.
Chapter 7: Sets and Venn Diagrams 17
34.
40. In a survey of 90 pet owners, 15 said they own a dog, and 49 said they own a cat.
6 said they own both a dog and a cat. How many owned a cat but not a dog?
41. In a survey of 121 pet owners, 55 said they own a dog, and 84 said they own a cat.
47 said they own both a dog and a cat. How many owned a dog but not a cat?
42. In a survey of 112 pet owners, 77 said they own a dog, and 33 said they own a cat.
20 said they own both a dog and a cat. How many owned neither a cat nor a dog?
43. Out of 60 students, 21 are taking English, 34 are taking Math, and 7 are in both
classes.
a. Draw a Venn diagram to organize the information.
b. How many students are in either English or Math?
c. How many students are not in English?
d. How many students are in English and not in Math?
Chapter 7: Sets and Venn Diagrams 20
44. Students who take AP English also take the AP test, of which they either pass or
fail. Of the 28 students taking AP English, 10 received an A in the course. Out of
the 15 students that passed the AP exam, 9 received an A.
a. Draw a Venn diagram to organize the information.
b. How many students failed the AP exam?
c. How many students passed the AP exam and did not receive an A?
d. How many students failed the AP exam and did not receive an A?
45. There are 72 people at an event. Out of the 34 men in attendance, 19 are fathers.
There are 41 total parents.
a. Draw a Venn diagram to organize the information.
b. How many of the people are mothers?
c. How many women are not mothers?
46. The following Venn diagram shows students in various college courses.
49. A survey was given to students asking whether they watch movies at home from
Netflix, Redbox, or a video store. Use the results to determine how many people
use Redbox.
50. A survey asked buyers whether color, size, or brand influenced their choice of cell
phone. The results are below. How many people were influenced by brand?
5 only said color 8 only said size
16 only said brand 20 said only color and size
42 said only color and brand 53 said only size and brand
102 said all three 20 said none of these
51. A survey asked people what alternative transportation modes they use. Use the
data to complete a Venn diagram, then determine:
a. what percent of people only ride the bus
b. how many people don’t use any alternate transportation
Chapter 7: Sets and Venn Diagrams 22