Theoretical probability & Venn diagram
Table of contents
- Probability using Venn diagram
- Example
1. Probability using Venn diagram
1.1 Theoretical probability
Theoretical probability is calculated based on the number of favorable outcomes divided by the total number of possible outcomes. This is often determined through logical reasoning rather than experimentation.
- Sample space: The set of all possible outcomes of an experiment.
- Event: A specific outcome or set of outcomes within the sample space.
- Probability of an event (P(E)): Calculated as the number of outcomes in event E divided by the total number of possible outcomes in the sample space. P(E)=Total number of possible outcomesNumber of outcomes in E
- Complement of an event (P(E')): The probability that an event E does not occur. It is calculated as 1−P(E).
📝 For an eight-sided die, the sample space is {1, 2, 3, 4, 5, 6, 7, 8}. If event E is rolling a number greater than 5, then E = {6, 7, 8}. The probability of E is P(E)=83, and the probability of not rolling a number greater than 5 is P(E′)=1−83=85.
1.2 Probability using Venn diagram
Venn diagrams are useful tools for visualizing and calculating probabilities involving multiple events, especially when there is overlap between them.
-
In a class of 20 students, let A be the set of students who like Apples and B be the set of students who like Bananas.
-
8 students like Apples.
-
6 students like Bananas.
-
3 students like both Apples and Bananas.
-
Calculating probabilities from a Venn diagram:
-
P(A): The probability that a randomly selected student likes Apples. This includes students who like only Apples and those who like both.
-
P(A ∩ B): The probability that a randomly selected student likes both Apples and Bananas. This is the intersection of sets A and B.
-
P(neither): The probability that a randomly selected student likes neither Apples nor Bananas. This is the complement of the union of A and B.
-
Determining the number of students in each category:
-
Students who like only Apples: Total who like Apples - Those who like both = 8−3=5.
-
Students who like only Bananas: Total who like Bananas - Those who like both = 6−3=3.
-
Students who like at least one fruit: Students who like only Apples + Students who like only Bananas + Students who like both = 5+3+3=11.
-
Students who like neither fruit: Total students - Students who like at least one fruit = 20−11=9.
📝 In a class of 20 students, 8 like Apples, 6 like Bananas, and 3 like both. The probability of a student liking Apples is P(A)=208. The probability of a student liking both is P(A∩B)=203. The number of students who like at least one fruit is 5 (only Apples) +3 (only Bananas) +3 (both) =11. Therefore, the probability of liking neither fruit is P(neither)=209.
2. Example
2.1 Library readers and book genres
This example involves a group of 50 library readers and their preferences for science fiction and detective stories. We need to determine the number of readers who like both genres and the probabilities of selecting readers with specific preferences.
- Total readers: 50
- Like science fiction (SF): 31
- Like detective stories (DS): 20
- Dislike both SF and DS: 12
To solve this, we can use a Venn diagram. The number of readers who like at least one of the genres is the total number of readers minus those who dislike both: 50−12=38.
Let n(SF) be the number of readers who like science fiction, and n(DS) be the number of readers who like detective stories. The number of readers who like both is given by the formula: n(SF∪DS)=n(SF)+n(DS)−n(SF∩DS)
We know n(SF∪DS)=38, n(SF)=31, and n(DS)=20. So, we can find n(SF∩DS): 38=31+20−n(SF∩DS) 38=51−n(SF∩DS) n(SF∩DS)=51−38=13
So, 13 readers like both science fiction and detective stories.
The number of readers who like exactly one genre is the sum of those who like only SF and those who like only DS.
- Only SF: n(SF)−n(SF∩DS)=31−13=18
- Only DS: n(DS)−n(SF∩DS)=20−13=7
- Exactly one genre: 18+7=25
Now, we can find the probabilities:
-
Probability of liking both SF and DS: P(SF∩DS)=Total readersNumber who like both=5013
-
Probability of liking exactly one genre: P(Exactly one)=Total readersNumber who like exactly one=5025=21
📝 For the library readers, the probability that a randomly selected reader likes both science fiction and detective stories is 5013.
2.2 Tossing three coins
This example explores the probabilities associated with tossing three coins simultaneously.
- Possible outcomes: Each coin can land as Heads (H) or Tails (T). With three coins, the total number of possible outcomes is 23=8.
- Sample space: {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}
Now, let's find the probabilities for the given events:
-
a) Probability of getting three heads (HHH): There is only one outcome with three heads (HHH). P(3 Heads)=Total possible outcomesNumber of outcomes with 3 Heads=81
-
b) Probability of getting at least one head: "At least one head" means one head, two heads, or three heads. It's easier to calculate the probability of the complementary event: getting no heads (i.e., all tails).
The outcome with no heads is TTT. P(No Heads)=P(All Tails)=81 The probability of getting at least one head is: P(At least one Head)=1−P(No Heads)=1−81=87
📝 When tossing three coins, the probability of getting at least one head is 87.
2.3 Tossing four coins
This example extends the coin-tossing scenario to four coins, requiring us to list all possible outcomes and then calculate probabilities for various events.
-
Total possible outcomes: With four coins, there are 24=16 possible outcomes.
-
a) List the possible outcomes: We can systematically list them, starting with all heads and moving towards all tails.
| Outcome | Number of Heads | Number of Tails |
|---|---|---|
| HHHH | 4 | 0 |
| HHHT | 3 | 1 |
| HHTH | 3 | 1 |
| HTHH | 3 | 1 |
| THHH | 3 | 1 |
| HHTT | 2 | 2 |
| HTHT | 2 | 2 |
| HTTH | 2 | 2 |
| THHT | 2 | 2 |
| THTH | 2 | 2 |
| TTHH | 2 | 2 |
| HTTT | 1 | 3 |
| THTT | 1 | 3 |
| TTHT | 1 | 3 |
| TTTH | 1 | 3 |
| TTTT | 0 | 4 |
-
b) Determine the probability of getting:
-
i) All heads (HHHH): There is only 1 outcome with all heads. P(All Heads)=161
-
ii) Two heads and two tails: There are 6 outcomes with exactly two heads and two tails (HHTT, HTHT, HTTH, THHT, THTH, TTHH). P(2 Heads, 2 Tails)=166=83
-
iii) More tails than heads: This occurs when there are 3 tails and 1 head (3 outcomes) or 4 tails and 0 heads (1 outcome). Total outcomes = 3+1=4. P(More Tails than Heads)=164=41
-
iv) At least one tail: This is the complement of getting all heads. P(At least one Tail)=1−P(All Heads)=1−161=1615
-
v) Exactly one head: There are 4 outcomes with exactly one head (HTTT, THTT, TTHT, TTTH). P(Exactly one Head)=164=41
📝 When tossing four coins, the probability of getting two heads and two tails is 166 or 83.
2.4 Rolling a special die
This example involves a special die with repeated numbers on its faces and explores probabilities when it is rolled twice.
- Die faces: {0, 0, 1, 1, 4, 5}
- Number of faces: 6
When the die is rolled twice, we can illustrate the possible outcomes using a 2-dimensional grid. The grid will have 6 rows (for the first roll) and 6 columns (for the second roll), resulting in 6×6=36 possible outcomes.
- a) Illustrate the possible outcomes using a 2-dimensional grid:
-: 0, 0, 1, 1, 4, 5
- 0: 0,0, 0,0, 0,1, 0,1, 0,4, 0,5
- 1: 1,0, 1,0, 1,1, 1,1, 1,4, 1,5
- 4: 4,0, 4,0, 4,1, 4,1, 4,4, 4,5
- 5: 5,0, 5,0, 5,1, 5,1, 5,4, 5,5 Each cell in the grid represents a pair of outcomes from the two rolls. For example, "0,0" means the first roll was 0 and the second roll was 0.
-
b) Find the probability of getting:
-
i) A total of 5: We need to find pairs in the grid that sum to 5.
-
(0, 5) - occurs 4 times (first roll 0, second roll 5; first roll 0, second roll 5; first roll 0, second roll 5; first roll 0, second roll 5)
-
(5, 0) - occurs 4 times (first roll 5, second roll 0; first roll 5, second roll 0; first roll 5, second roll 0; first roll 5, second roll 0)
-
(1, 4) - occurs 4 times (first roll 1, second roll 4; first roll 1, second roll 4; first roll 1, second roll 4; first roll 1, second roll 4)
-
(4, 1) - occurs 4 times (first roll 4, second roll 1; first roll 4, second roll 1; first roll 4, second roll 1; first roll 4, second roll 1) Total outcomes summing to 5 = 4+4+4+4=16. P(Total of 5)=3616=94
-
ii) Two numbers which are the same: These are the outcomes where both rolls result in the same number. From the grid, these are: (0,0) - occurs 4 times (1,1) - occurs 4 times (4,4) - occurs 1 time (5,5) - occurs 1 time Total outcomes with the same numbers = 4+4+1+1=10. P(Same Numbers)=3610=185
📝 When rolling the special die twice, the probability of getting a total of 5 is 3616 or 94.
© 2026 Maeve. All rights reserved. This content is protected by copyright.