Venn Diagram
Study guide: Exam P-1
A Venn Diagram is a picture of events in a sample space: a rectangle for the sample space S and a circle inside it for each event. The circles cut the rectangle into regions with no outcome in common, so the probability of an event is the sum of the probabilities of the regions inside it.
Two events E and F cut S into four regions:
| Region | Event |
|---|---|
in both E and F |
E \cap F |
in E only |
E \cap F^c |
in F only |
E^c \cap F |
| in neither | (E \cup F)^c |
The circle for E holds the region in E only and the region in both, so the probability of the region in E only is
P(E \cap F^c) = P(E) - P(E \cap F)
The region in neither is the complement of the union, so by the complement rule its probability is
P\big((E \cup F)^c\big) = 1 - P(E \cup F)
A count of people in each region works the same way as a probability. Dividing each count by the total gives the region's probability.
An insurer has 100 policyholders. 70 have an auto policy, 40 have a homeowners policy and 20 have both. How many policyholders are in each region of the Venn diagram?
- Let
Ebe "has an auto policy" andFbe "has a homeowners policy".- The region in both is given directly: 20.
- The auto circle's 70 includes the 20 in both, so auto only is
70 - 20 = 50.- Homeowners only is
40 - 20 = 20.- The union is
50 + 20 + 20 = 90, the same as70 + 40 - 20by the addition rule.- Neither is
100 - 90 = 10.
Region Policyholders auto only 50 both 20 homeowners only 20 neither 10
Exactly one of two events
The event that exactly one of E and F occurs is the two "only" regions together. Its probability is
P(\text{exactly one of } E, F) = P(E) + P(F) - 2P(E \cap F)
The event that at least one of E and F occurs is their union E \cup F. The event that at most one occurs is the complement of E \cap F.
An insurer has 100 policyholders. 70 have an auto policy, 40 have a homeowners policy and 20 have both. What is the probability that a policyholder chosen at random has exactly one of the two policies?
- Let
Ebe "has an auto policy" andFbe "has a homeowners policy", soP(E) = 0.70,P(F) = 0.40andP(E \cap F) = 0.20.- The two "only" regions hold
50 + 20 = 70policyholders, which agrees with the formula.- The probability of exactly one policy is
0.70 + 0.40 - 2(0.20) = 0.70.
Venn diagrams of three events
Three events E, F and G cut S into eight regions: three in one event only, three in exactly two events, one in all three, and one outside all three. The probability of E is the sum of the four regions inside its circle:
\begin{aligned} P(E) = {} & P(E \cap F^c \cap G^c) \\ & + P(E \cap F \cap G^c) \\ & + P(E \cap F^c \cap G) \\ & + P(E \cap F \cap G) \end{aligned}
Fill a three-event diagram from the centre out. Give each unknown region a symbol, and write each total the question gives as a sum of regions.
In a group of 120 people, 50 read paper
X, 45 readYand 40 readZ. 20 read onlyX, 25 onlyY, 15 onlyZ, and 5 read all three. How many read exactly two papers, and how many read none?
- Let
a,bandcbe the numbers who read onlyXandY, onlyXandZ, and onlyYandZ.- Each paper's total is the sum of its four regions:
20 + a + b + 5 = 50,25 + a + c + 5 = 45and15 + b + c + 5 = 40.- So
a + b = 25,a + c = 15andb + c = 20.- Adding the three gives
2(a + b + c) = 60, soa + b + c = 30read exactly two papers.- The seven regions inside the circles hold
20 + 25 + 15 + 30 + 5 = 95people, so120 - 95 = 25read none.
A pairwise count used as an "exactly two" region "30 read
XandY" includes the people who read all three papers. If 5 read all three, the region forXandYonly is30 - 5 = 25. Putting 30 in that region counts the centre twice.