<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Venn Diagrams

## Use Venn Diagrams to describe situations when problem solving.

Estimated10 minsto complete
%
Progress
Practice Venn Diagrams
Progress
Estimated10 minsto complete
%
Probability Using a Venn Diagram and Conditional Probability

Freezy's Ice Cream Stand is testing out two new flavors, Pumpernickel Brickel and Dandy Cotton Candy. A poll conducted by Freezy's showed that 32 customers liked Pumpernickel Brickel, 58 customers liked Dandy Cotton Candy, 12 liked both flavors, and 22 liked neither flavor. What is a probability that one of those customers selected at random would like Dandy Cotton Candy?

### Guidance

It is often useful to use a Venn diagram to visualize the probabilities of multiple events. In Example A we explore the use of a Venn diagram to determine the probabilities of individual events, the intersection of events and the compliment of an event. In Example C we will continue to explore the concept of a conditional probability and how to use a Venn diagram to solve these problems as well as the formula for conditional probability first introduced in the concept “Calculating Probabilities of Combined Events”.

#### Example A

Use the Venn diagram to find the probabilities.

a. $P(A)$

b. $P(B)$

c. $P(A \cap B)$

d. $P(A \cup B)$

e. $P(A^\prime \cap B^\prime)$

Solution: Essentially we will do exactly what we did in the previous concept with probabilities rather than whole numbers. Notice that the sum of all the values in the diagram is $0.4 + 0.3 + 0.2 + 0.1 = 1$ . This diagram represents the entire sample space for two events, $A$ and $B$ .

a. To find the $P(A)$ , we will add the probability that only $A$ occurs to the probability that $A$ and $B$ occur to get $0.4 + 0.3 = 0.7$ . So $P(A)=0.7$ .

b. Similarly, $P(B)=0.2+0.3=0.5$ .

c. Now, $P(A \cap B)$ is the value in the overlapping region 0.3.

d. $P(A \cup B)=0.4+0.3+0.2=0.9$ . Which can also be found using the formula $P(A)+P(B)-P(A \cap B)=0.7+0.5-0.3=0.9$ .

e. $P(A^\prime \cap B^\prime)$ needs to be determined by finding where in the diagram everything outside of $A$ overlaps with everything outside of $B$ . That will be the region outside of both circles and that probability is 0.1. Another way to think of this is $P(A \cup B)^\prime$ , or $1-P(A \cup B)$ .

### More Guidance

There are a couple of equivalent set notations or probabilities and they are called De Morgan’s Laws.

$(A \cap B)^\prime=(A^\prime \cup B^\prime)$ for sets or $P(A \cap B)^\prime=P(A^\prime \cup B^\prime)$ for probabilities.

and

$(A \cup B)^\prime=(A^\prime \cap B^\prime)$ for sets or $P(A \cup B)^\prime=P(A^\prime \cap B^\prime)$ for probabilities.

We looked at the second one in part e of Example A. We will look at the first one in the next Example.

#### Example B

Given $P(A)=0.6$ , $P(B)=0.3$ and $P(A \cup B)=0.7$ , find $P(A \cap B)$ and $P(A^\prime \cup B^\prime)$ .

Solution: First, we can use the formula for the union of two sets to determine the intersection.

$P(A)+P(B)-P(A \cap B)&=P(A \cup B) \\0.6+0.3-P(A \cap B)&=0.7 \\0.9-0.7&=P(A \cap B) \\0.2&=P(A \cap B)$

Now we can use De Morgan’s Law to find $P(A^\prime \cup B^\prime)$ .

$P(A^\prime \cup B^\prime)=P(A \cap B)^\prime=1-P(A \cup B)=1-0.2=0.8.$

We could have also created a Venn diagram for the probabilities and interpreted $P(A^\prime \cup B^\prime)$ and the regions outside $A$ union with the regions outside $B$ which would be everything in the Venn diagram except the overlap of the two regions or $P(A \cap B)$ .

#### Example C

The data from a survey of 140 students showed that 37 study music, 103 play a sport and 25 do neither. Create a Venn diagram to illustrate the data collected and then determine the probability that if a student is selected at random,

a. he or she will study music

b. he or she will study music given that he or she plays a sport.

Solution: Let $M$ represent the set of students who study music and $S$ represent the set of students who play sports. First let’s determine the number of students that study music and play a sport to fill in the overlapping region in the diagram and then we can find the other values.

$n(M)+n(S)-n(M \cap S)&=n(M \cup S) \\37+103-n(M \cap S)&=115 \\n(M \cap S)&=25$

a. The probability that a randomly selected student studies music is the number of students who study music divided by the total number of students surveyed or $P(M)=\frac{n(M)}{140}=\frac{37}{140} \thickapprox 0.264$ .

b. The probability that a randomly selected student will study music given that he/she plays a sport is called a conditional probability. We use the notation $P(M|S)$ to represent the $P(M)$ given that $S$ has already occurred. To find this probability using a Venn diagram, we find the number of student who study music and play a sport and divide by the number of students who play a sport or $P(M|S)=\frac{n(M \cap S)}{n(S)}=\frac{25}{103} \thickapprox 0.243$ . Think of it this way, when we say that we know that the student plays a sport, then the numerator is limited to those students who study music and play a sport and the denominator is limited to those who play a sport.

There is also a formula for conditional probability: $P(A|B)=\frac{P(A \cap B)}{P(B)}$

In the context of our problem, it is: $P(M|S)=\frac{P(M \cap S)}{P(S)}=\frac{\frac{25}{140}}{\frac{103}{140}}=\frac{25}{140} \cdot \frac{140}{103}=\frac{25}{103}$ .

Notice that the resulting probability is the same as previously determined. Either method can be used.

Intro Problem Revisit The Venn diagram for this situation would show 12, the number of customers who like both flavors, as the intersection. The number of customers who like only the Pumpernickel flavor would therefore be $32-12=20$ while the number of customers who like only the Cotton Candy flavor would be $58-12=46$ . Since there are 21 customers who like neither flavor, the total number of customers polled is $12 + 20 + 46 + 22=100$ and the probability that one of those customers chosen at random would like the Cotton Candy flavor is $\frac{58}{100} = 58\%$ .

### Guided Practice

1. In a class of 260 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 the data and then find the probability that a student selected at random studies:

a. just Spanish

b. Math and Chemistry but not Spanish

c. none of these subjects

d. Spanish, given that he/she studies Math

2.Given $P(A \cap B)=0.4$ , $P(A \cap B^\prime)=0.2$ and $P(A^\prime \cap B^\prime)=0.3$ , find $P(B)$ and $P(A|B)$ .

1.

a. $P(S \cap M^\prime \cap C^\prime)=\frac{70}{260}=\frac{7}{26} \thickapprox 0.269$

b. $P(M \cap C \cap S^\prime)=\frac{60}{260}=\frac{3}{13} \thickapprox 0.231$

c. $P(M^\prime \cap C^\prime \cap S^\prime)=\frac{5}{260}=\frac{1}{52} \thickapprox 0.0192$

d. $P(S|M)=\frac{P(S \cap M)}{P(M)}=\frac{\frac{20}{260}}{\frac{165}{260}}=\frac{4}{33} \thickapprox 0.121$

2. The information gives us the Venn diagram:

The missing value, $P(B \cap A^\prime)$ , must be 0.1 in order for the total of the probabilities in the sample space to equal 1. Thus, $P(B)=0.5$ . $P(A|B)=\frac{P(A \cap B)}{P(B)}=\frac{0.4}{0.5}=\frac{4}{5}=0.8$ .

### Practice

For questions 1-3, find the indicated probabilities given $P(A)=0.5$ , $P(B)=0.65$ and $P(A \cup B)=0.75$ .

1. $P(A \cap B)$
2. $P(A^\prime \cap B^\prime)$
3. $P(B|A)$

For questions 4-6, find the indicated probabilities given $P(A)=0.6$ , $P(B)=0.8$ and $P(A \cup B)^\prime=0.2$ .

1. $P(A \cap B^\prime)$
2. $P(B|A)$
3. $P(A|B)$

For questions 7-9, find the indicated probabilities given $P(A \cap B^\prime)=0.3$ , $P(B \cap A^\prime)=0.2$ and $P(A \cup B)=0.8$ .

1. $P(A \cap B)$
2. $P(A)$
3. $P(B|A)$
4. Given $P(A)=2P(B)$ , $P(A \cup B)=0.8$ and $P(A \cap B)=0.1$ , find $P(A)$ .
5. The international club at a school has 105 members, many of whom speak multiple languages. The most commonly spoken languages in the club are English, Spanish and Chinese. Use the Venn Diagram below to determine the probability of selecting a student who:
1. does not speak English.
2. speaks Spanish given that he/she speaks English.
3. speaks English given that he/she speaks Chinese.
4. speaks Spanish and English but not Chinese.

### Vocabulary Language: English

Euler diagram

Euler diagram

An Euler diagram is similar to a Venn diagram and is a visual representation of the relationship between sets, subsets, and members.
Outcomes

Outcomes

The possible results of 1 trial of a probability experiment.
probability

probability

The chance that something will happen.
Sample Space

Sample Space

In a probability experiment, the sample space is the set of all the possible outcomes of the experiment.