After completing this section, you should be able to:
- Interpret Venn diagrams with three sets.
- Create Venn diagrams with three sets.
- Apply set operations to three sets.
- Prove equality of sets using Venn diagrams.
Have you ever searched for something on the Internet and then soon after started seeing multiple advertisements for that item while browsing other web pages? Large corporations have built their business on data collection and analysis. As we start working with larger data sets, the analysis becomes more complex. In this section, we will extend our knowledge of set relationships by including a third set.
A Venn diagram with two intersecting sets breaks up the universal set into four regions; simply adding one additional set will increase the number of regions to eight, doubling the complexity of the problem.
Venn Diagrams with Three Sets
Below is a Venn diagram with two intersecting sets, which breaks the universal set up into four distinct regions.
Next, we see a Venn diagram with three intersecting sets, which breaks up the universal set into eight distinct regions.
Shading Venn Diagrams
Venn Diagram is an Android application that allows you to visualize how the sets are related in a Venn diagram by entering expressions and displaying the resulting Venn diagram of the set shaded in gray.
The Venn Diagram application uses some notation that differs from the notation covered in this text.
- The complement of set in this text is written symbolically as , but the Venn Diagram app uses to represent the complement operation.
- The set difference operation, , is available in the Venn Diagram app, although this operation is not covered in the text.
It is recommended that you explore this application to expand your knowledge of Venn diagrams prior to continuing with the next example.
In the next example, we will explore the three main blood factors, A, B and Rh. The following background information about blood types will help explain the relationships between the sets of blood factors. If an individual has blood factor A or B, those will be included in their blood type. The Rh factor is indicated with a or a . For example, if a person has all three blood factors, then their blood type would be . In the Venn diagram, they would be in the intersection of all three sets, If a person did not have any of these three blood factors, then their blood type would be and they would be in the set which is the region outside all three circles.
Interpreting a Venn Diagram with Three Sets
Use the Venn diagram below, which shows the blood types of 100 people who donated blood at a local clinic, to answer the following questions.
- How many people with a type A blood factor donated blood?
- Julio has blood type If he needs to have surgery that requires a blood transfusion, he can accept blood from anyone who does not have a type A blood factor. How many people donated blood that Julio can accept?
- How many people who donated blood do not have the blood factor?
- How many people had type A and type B blood?
- The number of people who donated blood with a type A blood factor will include the sum of all the values included in the A circle. It will be the union of sets
- In part 1, it was determined that the number of donors with a type A blood factor is 46. To determine the number of people who did not have a type A blood factor, use the following property, union is equal to , which means and Thus, 54 people donated blood that Julio can accept.
- This would be everyone outside the circle, or everyone with a negative Rh factor,
- To have both blood type A and blood type B, a person would need to be in the intersection of sets and . The two circles overlap in the regions labeled and Add up the number of people in these two regions to get the total: This can be written symbolically as
Most people know their main blood type of A, B, AB, or O and whether they are or , but did you know that the International Society of Blood Transfusion recognizes twenty-eight additional blood types that have important implications for organ transplants and successful pregnancy? For more information, check out this article:
Creating Venn Diagrams with Three Sets
In general, when creating Venn diagrams from data involving three subsets of a universal set, the strategy is to work from the inside out. Start with the intersection of the three sets, then address the regions that involve the intersection of two sets. Next, complete the regions that involve a single set, and finally address the region in the universal set that does not intersect with any of the three sets. This method can be extended to any number of sets. The key is to start with the region involving the most overlap, working your way from the center out.
Creating a Venn Diagram with Three Sets
A teacher surveyed her class of 43 students to find out how they prepared for their last test. She found that 24 students made flash cards, 14 studied their notes, and 27 completed the review assignment. Of the entire class of 43 students, 12 completed the review and made flash cards, nine completed the review and studied their notes, and seven made flash cards and studied their notes, while only five students completed all three of these tasks. The remaining students did not do any of these tasks. Create a Venn diagram with subsets labeled: “Notes,” “Flash Cards,” and “Review” to represent how the students prepared for the test.
Step 1: First, draw a Venn diagram with three intersecting circles to represent the three intersecting sets: Notes, Flash Cards, and Review. Label the universal set with the cardinality of the class.
Step 2: Next, in the region where all three sets intersect, enter the number of students who completed all three tasks.
Step 3: Next, calculate the value and label the three sections where just two sets overlap.
- Review and flash card overlap. A total of 12 students completed the review and made flash cards, but five of these twelve students did all three tasks, so we need to subtract: . This is the value for the region where the flash card set intersects with the review set.
- Review and notes overlap. A total of 9 students completed the review and studied their notes, but again, five of these nine students completed all three tasks. So, we subtract: . This is the value for the region where the review set intersects with the notes set.
- Flash card and notes overlap. A total of 7 students made flash cards and studied their notes; subtracting the five students that did all three tasks from this number leaves 2 students who only studied their notes and made flash cards. Add these values to the Venn diagram.
Step 4: Now, repeat this process to find the number of students who only completed one of these three tasks.
- A total of 24 students completed flash cards, but we have already accounted for of these. Thus, students who just made flash cards.
- A total of 14 students studied their notes, but we have already accounted for of these. Thus, students only studied their notes.
- A total of 27 students completed the review assignment, but we have already accounted for of these, which means students only completed the review assignment.
- Add these values to the Venn diagram.
Step 5: Finally, compute how many students did not do any of these three tasks. To do this, we add together each value that we have already calculated for the separate and intersecting sections of our three sets: . Because there 43 students in the class, and , this means only one student did not complete any of these tasks to prepare for the test. Record this value somewhere in the rectangle, but outside of all the circles, to complete the Venn diagram.
Applying Set Operations to Three Sets
Set operations are applied between two sets at a time. Parentheses indicate which operation should be performed first. As with numbers, the inner most parentheses are applied first. Next, find the complement of any sets, then perform any union or intersections that remain.
Applying Set Operations to Three Sets
Perform the set operations as indicated on the following sets: , and
- Parentheses first, intersection equals the elements common to both and . because the only elements that are in both sets are 0 and 6.
- Parentheses first, union equals the collection of all elements in set or set or both. because the intersection of these two sets is the set of elements that are common to both sets.
- Parentheses first, intersection equals Next, find The complement of set is the set of elements in the universal set that are not in set Finally, find
Notice that the answers to the Your Turn are the same as those in the Example. This is not a coincidence. The following equivalences hold true for sets:
- and These are the associative property for set intersection and set union.
- and These are the commutative property for set intersection and set union.
- and These are the distributive property for sets over union and intersection, respectively.
Proving Equality of Sets Using Venn Diagrams
To prove set equality using Venn diagrams, the strategy is to draw a Venn diagram to represent each side of the equality, then look at the resulting diagrams to see if the regions under consideration are identical.
Augustus De Morgan was an English mathematician known for his contributions to set theory and logic. De Morgan’s law for set complement over union states that . In the next example, we will use Venn diagrams to prove De Morgan’s law for set complement over union is true. But before we begin, let us confirm De Morgan’s law works for a specific example. While showing something is true for one specific example is not a proof, it will provide us with some reason to believe that it may be true for all cases.
Let and We will use these sets in the equation To begin, find the value of the set defined by each side of the equation.
Step 1: is the collection of all unique elements in set or set or both. The complement of A union B, , is the set of all elements in the universal set that are not in . So, the left side the equation is equal to the set
Step 2: The right side of the equation is is the set of all members of the universal set that are not in set . Similarly,
Step 3: Finally, is the set of all elements that are in both and The numbers 1 and 7 are common to both sets, therefore, Because, we have demonstrated that De Morgan’s law for set complement over union works for this particular example. The Venn diagram below depicts this relationship.
Proving De Morgan’s Law for Set Complement over Union Using a Venn Diagram
De Morgan’s Law for the complement of the union of two sets and states that: Use a Venn diagram to prove that De Morgan’s Law is true.
Step 1: First, draw a Venn diagram representing the left side of the equality. The regions of interest are shaded to highlight the sets of interest. is shaded on the left, and is shaded on the right.
Step 2: Next, draw a Venn diagram to represent the right side of the equation. is shaded and is shaded. Because and mix to form is also shaded.
Step 3: Verify the conclusion. Because the shaded region in the Venn diagram for matches the shaded region in the Venn diagram for , the two sides of the equation are equal, and the statement is true. This completes the proof that De Morgan’s law is valid.