5.3: Using Sets and Venn Diagrams to Represent Events
- Page ID
- 237234
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\dsum}{\displaystyle\sum\limits} \)
\( \newcommand{\dint}{\displaystyle\int\limits} \)
\( \newcommand{\dlim}{\displaystyle\lim\limits} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\(\newcommand{\longvect}{\overrightarrow}\)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\ket}[1]{\left| #1 \right>}\)
\(\newcommand{\bra}[1]{\left< #1 \right|}\)
\(\newcommand{\braket}[2]{\left< #1 \vphantom{#2} \right| \left. #2 \vphantom{#1} \right>}\)
\(\newcommand{\braopket}[3]{\left< #1 \vphantom{#2}\vphantom{#3} \right| #2 \vphantom{#1}\vphantom{#3} \left| #3 \vphantom{#1}\vphantom{#2} \right>}\)
\(\newcommand{\qmvec}[1]{\mathbf{\vec{#1}}}\)
\(\newcommand{\op}[1]{\hat{\mathbf{#1}}}\)
\(\newcommand{\expect}[1]{\langle #1 \rangle}\)
\(\newcommand{\dfn}[1]{\emph{\textbf{#1}}}\)
- Represent events with Venn diagrams.
- Perform fundamental set operations.
- Determine probabilities of simultaneous events.
- Determine probabilities of alternative events.
Introduction
To this point, we have focused on finding the probability of a single event - one outcome or one collection of outcomes from a sample space. But many real situations involve two events happening at the same time or either one of two events happening. To describe these situations clearly, we need a way to organize and compare how different events overlap or combine.
A Venn diagram is a visual tool that helps show how outcomes are arranged within two or more events. It allows you to see which outcomes belong to both events, which belong to only one event, and which belong to neither. In this section, you will learn how to represent outcomes using intersections and unions, how to read these relationships from a Venn diagram, and how to determine probabilities based on these combined events. These ideas will help you analyze more complex probability questions where events interact or overlap.
Venn Diagrams
A Venn diagram is a visual way to show how outcomes are related across two or more events. Each event is represented by a circle, and the rectangle around the circles represents the entire sample space of possible outcomes.
When two circles overlap, the overlap shows outcomes that belong to both events. Outcomes that fall only inside one circle belong to just that event, and outcomes outside both circles belong to neither.
In the diagram for events \(A\) and \(B\) below, you can see that both circles lie inside the sample space \(S\). Because the circles overlap, events \(A\) and \(B\) share some outcomes. This shared region represents the intersection of events - the outcomes that occur in both \(A\) and \(B\).

The next example uses a Venn diagram to organize outcomes from a real‑world situation, making it easier to see how events can overlap or remain separate within a single sample space.
Janay organized the students in her 6th grade class based on whether they wear braces and whether they wear glasses. The Venn diagram shows summarizes all students in the class and counts how many fall into each category.

From the diagram, we can draw several conclusions about the class:
- Students with both: 4 students wear both braces and glasses.
- Students with braces: 3 students wear braces only, and 4 wear both, for a total of \(3+4=7\).
- Braces only: 3 students wear braces but not glasses.
- Students with glasses: 5 students wear glasses only, and 4 wear both, for a total of \(4+5=9\).
- Glasses only: 5 students wear glasses but not braces.
- Braces or glasses: all students in either circle add up to \(3+4+5=12\).
- Neither braces nor glasses: 12 students fall outside both circles.
- Total students: adding all regions gives \(12+3+4+5=24\) students in Janay’s class.
Once the outcomes are organized in the Venn diagram, probabilities can be directly calculated from counting the outcomes in each region of the diagram and comparing them to the total number of students in the sample space \(n(S)=24\).
For example, the probability that a randomly chosen student wears braces is
\(P(\text{wears braces})= \dfrac{n(\text{wears braces})}{n(S)} = \dfrac{7}{24}\).
The probability that a student wears braces or glasses is
\(P(\text{wears braces or glasses})=\dfrac{n(\text{wears braces or glasses})}{n(S)}= \dfrac{12}{24}=\dfrac{1}{2}\).
Set Operations with Events
In probability, we often need to describe how events relate to one another inside a sample space. To do this, we use set operations, which allow us to combine events, compare them, or form new ones. These operations help us understand how outcomes can fall inside one event, inside another, in both, or in neither.
The main set operations you will use are
- Complement: outcomes not in an event.
- Intersection: outcomes that belong to both events at the same time.
- Union: outcomes that belong to at least one of the events.
Each operation gives a different way to describe how events are connected within a sample space. You will explore each operation individually and see how they help organize outcomes and calculate probabilities.
The Complement of an Event
The complement of an event includes all outcomes in the sample space that are not part of event \(A\). It can be represented in a Venn diagram by everything outside of \(A\).
We use the symbol \(A^{\prime}\) to denote the complement, often read as “not \(A\)” or “\(A\) prime.”
In the Venn diagram below, the shaded region shows \(A^{\prime}\): all outcomes in the sample space that do not belong to event \(A\).

The sample space for rolling a fair die is \(S=\{1,2,3,4,5,6\}\).
If event \(A\) is “rolling an odd number,” then \(A=\{1,3,5\}\), and there are 3 outcomes in \(A\).
The complement of \(A\) consists of all outcomes in the sample space that are not odd.
Therefore, \(A^{\prime}=\{2,4,6\}\), and this set also contains 3 outcomes.
For an experiment, you randomly select a letter from the letters in the word JONES.
If event \(A\) is “selecting a vowel,” find \(A^{\prime}\).
- Answer
-
\(A^{\prime} = \{J,N,S\}\)
Intersection of Events
Sometimes we form a new event by looking at where two existing events overlap. Suppose a sample space contains events \(A\) and \(B\), and some outcomes belong to both. In this situation, the events are not mutually exclusive because they share at least one outcome.
The intersection of events \(A \cap B\) is the set of all outcomes that belong to both \(A\) and \(B\). In a Venn diagram, this is the region where the two circles overlap. The symbol \(\cap\) represents the intersection, and it is often associated with the word "and." The shaded region in the diagram below shows \(A \cap B\): every outcome that belongs to both events at the same time. To determine how many outcomes are in the intersection, you simply count the outcomes that appear in both sets.

Suppose set \(A=\{c, a, t\}\) and set \(B=\{a,r,t\}\).
Find \(A \cap B \).
Solution
The intersection \(A \cap B\) contains all letters that appear in both words. Both sets share the letters \(a\) and \(t\).
So \(A \cap B = \{a,t\}\).
Union of Events
The union of two events \(A\) and \(B\) is a new event that includes every outcome that is in \(A\), in \(B\), or in both. The symbol \(\cup\) represents the union, and it is commonly associated with the word "or."
In the Venn diagram shown below, the union is represented by shading both circles, including their overlap. This shaded region represents all outcomes that belong to at least one of the two events.

When finding the union, it is important to avoid listing and counting shared outcomes twice. The overlap -- the intersection -- must be counted only once when determining the total number of outcomes in \(A \cup B\).
Suppose set \(A=\{c, a, t\}\) and set \(B=\{a,r,t\}\).
Find \(A \cup B \).
Solution
Theunion \(A \cup B\) contains all letters that appear in at least one of the words That is, all the letters that appear in \(A\) or \(B\) or both \(A\) and \(B\).
So \(A \cup B = \{c,a,t,r\}\).
Suppose the sample set set is the letters in the word elastic:
\(S=\{\text { e, l, a, s, t, i, c }\}\).
Consider these sets: \(\quad A=\{\text { s, c, a, l, e }\} \quad B=\{\text { c, a, t }\}\)
- Find \(A \cup B\).
- Find \(A \cap B\).
- Find \(A^{\prime}\).
- Answer
-
- \(\{ s, c, a, l, e, t \}\)
- \(\{ c, a \}\)
- \(\{ t, i \}\)
Consider the experiment of rolling a single fair die.
- Event \(A\): observe an even number.
- Event \(B\): observe a number less than or equal to 3.
a. List the outcomes in the sample space \(S\), event \(A\), and event \(B\).
Solution
\(S=\{1,2,3,4,5,6\}\), \(A=\{2,4,6\}\), and \(B=\{1,2,3\}\)
b. List the outcomes in \(A^{\prime}\) and find \(n(A^{\prime})\).
Solution
The complement \(A^{\prime}\) contains all outcomes in the sample space that are not even:
\(A^{\prime} = \{1,3,5\}\) and \(n(A^{\prime})=3\).
c. List the outcomes in \(A \cup B\) and find \(n(A \cup B)\).
Solution
An outcome is in the union \(A \cup B\) if it belongs to event \(A\), event \(B\), or both.
\(A \cup B= \{1,2,3,4,6\}\) and \(n(A \cup B)= 5\).
d. List the outcomes in \(A \cap B\) and find \(n(A \cap B)\).
Solution
An outcome is in the intersection \(A \cap B\) if it belongs to both events.
\(A \cap B= \{2\}\) and \(n(A \cap B)= 1\).
e. Calculate \(P(A^{\prime})\), \(P(A \cup B)\), and \(P(A \cap B)\).
Solution
Probability is the number of outcomes in the event divided by the number of outcomes in the sample space.
\(P(A^{\prime})=\frac{3}{6}=\frac{1}{2}\)
\(P(A \cup B)= \frac{5}{6}\)
\(P(A \cap B) = \frac{1}{6}\).
Suppose we add a new set to the sets used in Example 5.3.5:
\(S=\{1,2,3,4,5,6\}\)
\(A=\{2,4,6\}\)
\(B=\{1,2,3\}\)
\(C=\{6\}\)
a. List the outcomes in \((A \cap C)^{\prime}\).
Solution
Simplify inside the parentheses first. An outcome is in the intersection \(A \cap C\) if it belongs to both events.
\(A \cap C = \{2,4,6\} \cap \{6\} = \{6\}\)
Now, find the complement of that result.
\((A \cap C)^{\prime}=\{6\}^{\prime} = \{1,2,3,4,5\}\)
b. List the outcomes in \(A \cup B \cup C\).
Solution
We need to find the union of the three sets. To do so, it is a good idea to use the associative property by first finding the union of events \(A\) and \(B\), and then finding the union of that result with event \(C\).
\(\begin{align*} (A \cup B) \cup C &= \left(\{2,4,6\} \cup \{1,2,3\} \right) \cup \{6\} \\ &= \{1,2,3,4,6\} \cup \{6\} \\ &= \{1,2,3,4,6\} \end{align*} \nonumber\)
c. List the outcomes in \(A \cap B \cap C\).
Solution
We need to find the intersection of the three sets. Again, use the associative property by first finding the intersection of events \(A\) and \(B\), and then intersecting the result with event \(C\):
\(\begin{align*} (A \cap B) \cap C &= \left(\{2,4,6\} \cap \{1,2,3\} \right) \cap \{6\} \\ &= \{2\} \cap \{6\} \\ &= \{ \ \ \ \} \\ &= \emptyset \end{align*} \nonumber \)
There are no outcomes in \(A \cap B \cap C\) so the result is the empty set.
Table of Set Operations
Here is a table of operations that can be used to describe each region of the Venn diagram with two events that are not mutually exclusive.

|
Symbol |
Description |
|---|---|
|
\(A\) |
outcomes in event \(A\) |
|
\(A \cap B\) |
outcomes in the intersection of events \(A\) and \(B\) (all outcomes that are in both events) |
|
\(A \cap B\) |
outcomes in the union of events \(A\) and \(B\) (all outcomes that are in one or both sets) |
|
\(A^{\prime}\) |
outcomes in the complement of event \(A\) (all outcomes of the sample space not in event \(A\)) |
|
\((A \cup B)^{\prime}\) |
outcomes in the complement of the union of events \(A\) and \(B\) (all outcomes of the sample space that are neither in event \(A\) nor event \(B\) ) |
|
\((A \cap B)^{\prime}\) |
outcomes in the complement of the intersection of events \(A\) and \(B\) (all outcomes of the sample space that are not in both \(A\) and \(B\) |
|
\(A \cap B^{\prime}\) |
outcomes in the intersection of event \(A\) and the complement of event \(B\) (all outcomes of the sample space that are in \(A\) but not in \(B\)) |
The Venn diagram shows the number of outcomes in events \(A\) and \(B. Use the Venn diagram to find each indicated probability. Assume that all outcomes are equally likely.
a. \(P(M)\)
Solution
The sample space contains \(5+10+2+8=25\) outcomes. There are \(5+10=15\) outcomes in event \(M\) so \(P(M)=\frac{15}{25}=\frac{3}{5}\).
b. \(P(N^{\prime})\)
Solution
There are \(8+5=13\) outcomes not in event \(N\), so \(P(N^{\prime})=\frac{13}{25}\).
c. \(P(M \cap N)\)
Solution
There are \(10\) outcomes in both event \(M\) and \(N\) so \(P(M \cap N)=\frac{10}{25}=\frac{2}{5}\).
d. \(P(M \cup N)^{\prime}\)
Solution
There are 8 outcomes in neither event \(M\) and \(N\) so \(P(M \cup N)^{\prime} = \frac{8}{25}\)
e. \(P(M \cap N^{\prime})
Solution
There are 5 outcomes in event \(M\) but not in event \(N\) so \(P(M \cap N^{\prime}) = \frac{5}{25}=\frac{1}{5}\).
Problem Solving with Venn Diagrams
Venn diagrams are a powerful visual tool for organizing information outcomes in probability. They help you see how events relate to one another within a sample space -- where they overlap, where they differ, and where outcomes fall outside both events. They allow you can clearly identify which outcomes belong to each event and how many outcomes each region contains. This visual structure makes it easier to compute probabilities, avoid double‑counting, and understand how events interact.
At a school of 500 students, there are 125 students in the drama club, 257 students who play sports, and 52 students who are in the drama club and play sports.
Create a Venn diagram to illustrate this information.
Solution
Let Event \(A\) be the students in the drama club and Event \(B\) be the students who play sports.
Because 52 students are in both groups, the most efficient approach is to place this overlap of 52 in the center of the diagram first.
Then, subtract this shared group from each event total to find how many students belong only to drama \((125-52=73)\) or only to sports \((257-52=205)\).
Finally, subtract all students represented in the circles from the total school population to determine how many students are outside both events: \(500-(52+73+205)=170\).
Suppose a student from the high school in Example 5.3.8 is selected at random. Find the probability of these events.
a. Find the probability of selecting a student in sports but not in drama club.
Solution
There are 205 students in sports but are not in drama club.
\(\dfrac{205}{500} = \dfrac{41}{100} = 0.41 = 41\%\)
b. Find the probability of selecting a student who is in the drama club or in sports.
Solution
There are \(73+52+205=330\) students who are in drama club or in sports.
\(\dfrac{330}{500} = \dfrac{33}{50} = 0.66 = 66\%\)
c. Find the probability of selecting a student who is in exactly one of drama club or sports.
Solution
There are 73 students in drama club but not sports and 205 students in sports but not drama club. This is a total of \(73+205=278\) students who are in exactly one of dram club or sports.
\(\dfrac{278}{500} = \dfrac{139}{250} = 0.556 = 55.6\%\)
d. Given the student is in the drama club, what is the probability of selecting a student who plays sport?
Solution
The sample space is restricted to those 125 students in drama club. Of these, only 52 are also in sports.
\(\dfrac{52}{125} = 0.416 = 41.6\%\)
In a survey of 150 students, it was found that
- 80 students have laptops,
- 110 students have cell phones,
- 125 students have iPods,
- 62 students have both a laptop and a cell phone,
- 58 students have both a laptop and iPod,
- 98 students have both a cell phone and an iPod, and
- 50 students have all three items.
Draw a Venn diagram to illustrate the relationship between students who have laptops, cell phones, and iPods.
Solution
There are three sets of students: laptops, cell phones, and iPods. A Venn diagram for three sets results in 8 regions. We will fill the 7 regions inside the three circles, then find how many students are outside all circles.
- Start with the overlap of all three circles. These are 50 students with all three items (laptop, cell phone, iPods.)
So, the "all three items" region is 50.
- Fill the “exactly two items” regions. Use the given pairwise totals and subtract the 50 who have all three:
- Laptop and cell phone only \(= 62−50=12\)
- Laptop and iPod only \(= 58 - 50 = 8\)
- Cell phone and iPod only \(= 98-50=48\)
So the “exactly two items” regions are 12, 8, and 48.
- Now use the single‑item totals and subtract all overlapping regions in that circle:
- Laptop only: \(80−(12+8+50)=80−70=10\)
- Cell phone only: \(110−(12+48+50)=110−110=0\)
- iPod only: \(125−(8+48+50)=125−106=19\)
So the “only one item” regions are 10, 0, and 19.
4. Find how many have none of the items by adding all students inside the circles and subtracting from the total number of students surveyed
There are \(10+0+19+12+8+48+50 = 147\) students who have at least one of these items.
This leaves \(150-147=3\) students in the "none of the items."
5. Place the number of students in each region of the Venn diagram as shown:
- Laptop only: 10
- Cell phone only: 0
- iPod only: 19
- Laptop & cell only: 12
- Laptop & iPod only: 8
- Cell & iPod only: 48
- All three: 50
- None: 3
Section Summary
Venn diagrams provide a visual way to represent these relationships. By shading regions that correspond to complements, unions, and intersections, Venn diagrams help organize information, prevent double‑counting, and make it easier to identify which outcomes belong to each event. They are an effective tool for solving probability problems and understanding how events overlap within a sample space.
The complement of event \(A\), written \(A^{\prime}\), consists of all outcomes in the sample space that are not in event \(A\).
The intersection of two events \(A \cup B\) includes only the outcomes that are in both event \(A\) and event \(B\). An intersection represents an 'and' relationship.
The union of two events \(A \cup B\) includes every outcome that is in event \(A\), event \(B\), or both. A union represents an 'or' relationship.
Section 5.3 Review Questions
- The Venn diagram shows an experiment with six equally likely outcomes: \(\{1, 2, 3, 4, 5, 6\}\). Events \(A\) and \(B\) are shown by the Venn diagram. Find the probabilities of each event.
- Find \(P(A)\).
- Find \(P(B)\).
- Find \(P(A \cup B)^{\prime}\).
- Data from a survey of 140 students showed 37 study music, 103 play a sport, and 22 do both activities.
- Represent these data with a well-labeled Venn diagram.
- How many students study music but do not play a sport?
- How many students study music or play a sport?
- What is the probability of selecting student who does neither activity?
- In a fifth-grade class of 25 students, 5 students are left-handed. Seven of the students wear glasses. Furthermore, 3 of the students are left-handed and wear glasses.
- Draw a complete Venn diagram to represent this situation.
- Find the probability that a student is left-handed.
- Find the probability that a student does not wear glasses.
- What is the probability that a student wears glasses but is not left-handed?
- What is the probability that a student is left-handed or wears glasses?
- What is the probability that student is neither left-handed nor wears glasses?
- Given a student is left-handed, what is the probability that a student wears glasses?
- Given a student doesn’t wear glasses, what is the probability that a student is left-handed?
- Consider \(S=\{a,b,c,d,e,f\}\) to be the sample space of an experiment. Also, event \(X=\{c,d,e,f\}\), event \(Y=\{a,c,d\}\), and even \(Z=\{b,e\}\). List the outcomes in each of these new events:
- \(X^{\prime}\)
- \(X \cap Y\)
- \(X \cup Y\)
- \(Y \cap Z\)
- \((Y \cup Z)^{\prime}\)
- The sample space for an experiment is \(S=\{1,2,3,4,5,6,7,8,9,10\}\) with events
\(A=\{1,2,3,4,5,6\}\) \(B=\{1,2,3,5,7\}\) \(C=\{2,4\}\) \(D=\{8,9\}\)
List the outcomes in each compound event:
- \(A \cap B\)
- \(A \cup B\)
- \(A^{\prime}\)
- \(A \cap C\)
- \(A \cup C\)
- \(B \cap D\)
- \(B \cup D\)
- \(B^{\prime}\)
- \((A \cup B)^{\prime}\)
- Use one or more letters in the Venn diagram \(\{w,x,y,x\}\) to identify the region corresponding to each of the sets or set operations.
- \(A\)
- \(A \cup B\)
- \(A \cap B^{\prime}\)
- \((A \cap B)^{\prime}\)
- \((A \cup B)^{\prime}\)
- \(A^{\prime}\)
- The International Club at a school has 105 members, many of whom speak multiple languages. The most common languages in the club are English, Spanish, and Chinese.
Use the Venn Diagram to determine the number of students who
- speak English.
- do not speak Chinese.
- speak English or Chinese.
- speak English and Chinese.
- speak Spanish or English, but not Chinese
- speak English but not Spanish
- A veterinarian surveys 25 of her patrons. She discovers that 14 have dogs, 10 have cats, and 5 have fish. Four have dogs and cats, 3 have dogs and fish, and 2 have cats and fish. Only 1 person has all three kinds of pets.
- Draw a Venn diagram to organize the data.
- How many patrons have none of these pets?
- What is the probability that a patron has a dog and fish but not a cat?
- What is the probability that a patron has exactly one kind of these pets?
- Given that a patron owns a cat, what is the probability of owning a fish?
- In a class of 300 seniors, 125 study Spanish, 95 study Chemistry, 165 study Mathematics, 18 study Spanish and Chemistry, 75 study Chemistry and Math, 20 study Math and Spanish and 15 study all three subjects.
- Make a Venn diagram to illustrate these data.
- Find the probability that a student selected at random.
- studies only Spanish.
- studies Math and Chemistry but not Spanish.
- studies none of these subjects.
- studies exactly one of these

