Chapter 5 Sets

# 5.3 Understanding Venn Diagrams

Learning Objectives

By the end of this section, you will be able to:

- Utilize a universal set with two sets to interpret a Venn diagram
- Utilize a universal set with two sets to create a Venn diagram
- Determine the complement of a set

Have you ever ordered a new dresser or bookcase that required assembly? When your package arrives, you excitedly open it and spread out the pieces. Then you check the assembly guide and verify that you have all the parts required to assemble your new dresser. Now the work begins. Luckily for you, the assembly guide includes step-by-step instructions with images that show you how to put together your product. If you are really lucky, the manufacturer may even provide a URL or QR code connecting you to an online video that demonstrates the complete assembly process. We can likely all agree that assembly instructions are much easier to follow when they include images or videos rather than just written directions. The same goes for the relationships between sets.

# Interpreting Venn Diagrams

Venn diagrams are the graphical tools or pictures that we use to visualize and understand relationships between sets. Venn diagrams are named after the mathematician John Venn, who first popularized their use in the 1880s. When we use a Venn diagram to visualize the relationships between sets, the entire set of data under consideration is drawn as a rectangle, and subsets of this set are drawn as circles completely contained within the rectangle. The entire set of data under consideration is known as the universal set.

Consider the statement: All trees are plants. This statement expresses the relationship between the set of all plants and the set of all trees. Because every tree is a plant, the set of trees is a subset of the set of plants. To represent this relationship using a Venn diagram, the set of plants will be our universal set and the set of trees will be the subset. Recall that this relationship is expressed symbolically as [latex]\text{Trees} \subset \text{Plants}[/latex].

To create a Venn diagram, first we draw a rectangle and label the universal set [latex]\text{“U = Plants”}[/latex]. Then we draw a circle within the universal set and label it with the word [latex]\text{“Trees.”}[/latex]

This section will introduce how to interpret and construct Venn diagrams. In future sections, as we expand our knowledge of relationships between sets, we will also develop our knowledge and use of Venn diagrams to explore how multiple sets can be combined to form new sets.

Example 1

Write the relationship between the sets in the following Venn diagram, in words and symbolically.

The set of terriers is a subset of the universal set of dogs. In other words, the Venn diagram depicts the relationship that all terriers are dogs. This is expressed symbolically as [latex]T \subset U[/latex].

Exercise 1

Write the relationship between the sets in the following Venn diagram, in words and symbolically.

**Solution**

The set of lions is a subset of the universal set of cats. In other words, the Venn diagram depicts the relationship that all lions are cats. This is expressed symbolically as [latex]L \subset U[/latex].

So far, the only relationship we have been considering between two sets is the subset relationship, but sets can be related in other ways. Lions and tigers are both different types of cats, but no lions are tigers, and no tigers are lions. Because the set of all lions and the set of all tigers do not have any members in common, we call these two sets disjoint sets, or nonoverlapping sets.

Two sets [latex]A[/latex] and [latex]B[/latex] are disjoint sets if they do not share any elements in common. That is, if [latex]a[/latex] is a member of set [latex]A,[/latex] then [latex]a[/latex] is not a member of set [latex]B[/latex]. If [latex]b[/latex] is a member of set [latex]B,[/latex] then [latex]b[/latex] is not a member of set [latex]A[/latex]. To represent the relationship between the set of all cats and the sets of lions and tigers using a Venn diagram, we draw the universal set of cats as a rectangle and then draw a circle for the set of lions and a separate circle for the set of tigers within the rectangle, ensuring that the two circles representing the set of lions and the set of tigers do not touch or overlap in any way.

Example 2

Describe the relationship between the sets in the following Venn diagram.

The set of triangles and the set of squares are two disjoint subsets of the universal set of two-dimensional figures. The set of triangles does not share any elements in common with the set of squares. No triangles are squares and no squares are triangles, but both squares and triangles are 2D figures.

Exercise 2

Describe the relationship between the sets in the following Venn diagram.

**Solution**

The set of eagles and the set of canaries are two disjoint subsets of the universal set of all birds. No eagle is a canary, and no canary is an eagle.

# Creating Venn Diagrams

The main purpose of a Venn diagram is to help you visualize the relationship between sets. As such, it is necessary to be able to draw Venn diagrams from a written or symbolic description of the relationship between sets.

## Procedure

To create a Venn diagram:

- Draw a rectangle to represent the universal set, and label it [latex]U=\text{set name}[/latex].
- Draw a circle within the rectangle to represent a subset of the universal set and label it with the set name.

If there are multiple disjoint subsets of the universal set, their separate circles should not touch or overlap.

Example 3

Draw a Venn diagram to represent the relationship between each of the sets.

a) All rectangles are parallelograms.

The set of rectangles is a subset of the set of parallelograms.

First, draw a rectangle to represent the universal set and label it with [latex]U=\text{Parallelograms}[/latex], then draw a circle completely within the rectangle, and label it with the name of the set it represents, [latex]R=\text{Rectangles}[/latex].

In this example, both letters and names are used to represent the sets involved, but this is not necessary. You may use either letters or names alone as long as the relationship is clearly depicted in the diagram, as shown below.

or

b) All women are people.

The universal set is the set of people, and the set of all women is a subset of the set of people.

Exercise 3

Draw a Venn diagram to represent the relationship between each of the sets. All natural numbers are integers.

**Solution**

The universal set is the set of integers. Draw a rectangle and label it with [latex]U=\text{Integers}[/latex]. Next, draw a circle in the rectangle and label it “Natural numbers.”

[latex]A \subset U[/latex]. Draw a Venn diagram to represent this relationship.

**Solution**

Example 4

All bicycles and all cars have wheels, but no bicycle is a car. Draw a Venn diagram to represent this relationship.

**Step 1:** The set of bicycles and the set of cars are both subsets of the set of things with wheels. The universal set is the set of things with wheels, so we first draw a rectangle and label it with [latex]U=\text{Things with Wheels}[/latex].

**Step 2: **Because the set of bicycles and the set of cars do not share any elements in common, these two sets are disjoint and must be drawn as two circles that do not touch or overlap with the universal set.

Exercise 5

Airplanes and birds can fly, but no birds are airplanes. Draw a Venn diagram to represent this relationship.

**Solution**

# The Complement of a Set

Recall that if set [latex]A[/latex] is a proper subset of set [latex]U[/latex], the universal set (written symbolically as [latex]A \subset U[/latex]), then there is at least one element in set [latex]U[/latex] that is not in set [latex]A[/latex]. The set of all the elements in the universal set [latex]U[/latex] that are not in the subset [latex]A[/latex] is called the complement of set [latex]A[/latex], [latex]A'[/latex] or [latex]A^{c}[/latex]. In set builder notation, this is written symbolically as [latex]A'=\{x \in U | x \notin A \}[/latex]. The symbol [latex]\in[/latex] is used to represent the phrase “is a member of,” and the symbol [latex]\notin[/latex] is used to represent the phrase “is not a member of.” In the Venn diagram below, the complement of set [latex]A[/latex] is the region that lies outside the circle and inside the rectangle. The universal set [latex]U[/latex] includes all of the elements in set [latex]A[/latex] and all of the elements in the complement of set [latex]A[/latex] and nothing else.

Consider the set of one-digit numbers. Let this be our universal set, [latex]U=\{0, 1, 2, 3, 4, 5, 6, 7, 8, 9 \}[/latex]. Now, let set [latex]A[/latex] be the subset of [latex]U[/latex] consisting of all the prime numbers in set [latex]U[/latex], [latex]A= \{2, 3, 5, 7 \}[/latex]. The complement of set [latex]A[/latex] is [latex]A'=\{0, 1, 4, 6, 8, 9 \}[/latex].

The following Venn diagram represents this relationship graphically.

Example 5

For both of the questions below, [latex]A[/latex] is a proper subset of [latex]U[/latex].

a) Given the universal set

[latex]U=[/latex]

[latex]\text{Anthony Mackie, Zachary Levi, Tyler Perry, Pauley Perrette, Trace Atkins}\}[/latex] and set [latex]A=\{\text{Zachary Levi, Tyler Perry, Trace Atkins}\}[/latex], find [latex]A'[/latex].

The complement of set [latex]A[/latex] is the set of all elements in the universal set [latex]U[/latex] that are not in set [latex]A[/latex]. [latex]A'=\{\text{Anthony Mackie, Pauley Perrette}\}[/latex].

b) Given the universal set [latex]U=\{d|d \text{ is a dog}\}[/latex] and [latex]B=\{b \in U | b \text{ is a Catahoula leopard dog}\}[/latex], find [latex]B'[/latex].

The complement of set [latex]B[/latex] is the set of all dogs that are not Catahoula leopard dogs. All members of set [latex]B'[/latex] are in the universal set because they are dogs, but they are not in set [latex]B[/latex], because they are not Catahoula leopard dogs. This relationship can be expressed in set builder notation as follows: [latex]B'=\{\text{All dogs that are not Catahoula leopard dogs.}\}[/latex], [latex]B'=\{d \in U | d \text{ is not a Catahoula leopard dog.} \}[/latex], or [latex]B'=\{d \in U | d \notin B \}[/latex].

Exercise 6

Given the universal set [latex]U=\{c|c\text{ is a cat}\}[/latex] and set [latex]A=\{c \in U|c \text{ is not a lion}\}[/latex], find [latex]A'[/latex].

**Solution**

[latex]A'=\{c \in U|c \text{ is a lion} \}[/latex] or [latex]A'=\{c \in U|c \notin A \}[/latex]

### Media Attributions

- 5.3 01 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 02 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 03 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 04 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 05 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 06 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 07 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 08 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 09 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 10 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 11 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 12 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 13 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 14 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 15 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license
- 5.3 16 © OpenStax Contemporary Math is licensed under a CC BY (Attribution) license