Theoretical probability & Venn diagram

Table of contents

  1. Probability using Venn diagram
  2. 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)=Number of outcomes in ETotal number of possible outcomesP(E) = \frac{\text{Number of outcomes in E}}{\text{Total number of possible outcomes}}
  • Complement of an event (P(E')): The probability that an event E does not occur. It is calculated as 1−P(E)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)=38P(E) = \frac{3}{8}, and the probability of not rolling a number greater than 5 is P(E′)=1−38=58P(E') = 1 - \frac{3}{8} = \frac{5}{8}.

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=58 - 3 = 5.

  • Students who like only Bananas: Total who like Bananas - Those who like both = 6−3=36 - 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=115 + 3 + 3 = 11.

  • Students who like neither fruit: Total students - Students who like at least one fruit = 20−11=920 - 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)=820P(A) = \frac{8}{20}. The probability of a student liking both is P(A∩B)=320P(A \cap B) = \frac{3}{20}. The number of students who like at least one fruit is 55 (only Apples) +3+ 3 (only Bananas) +3+ 3 (both) =11= 11. Therefore, the probability of liking neither fruit is P(neither)=920P(\text{neither}) = \frac{9}{20}.

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=3850 - 12 = 38.

Let n(SF)n(SF) be the number of readers who like science fiction, and n(DS)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)n(SF \cup DS) = n(SF) + n(DS) - n(SF \cap DS)

We know n(SF∪DS)=38n(SF \cup DS) = 38, n(SF)=31n(SF) = 31, and n(DS)=20n(DS) = 20. So, we can find n(SF∩DS)n(SF \cap DS): 38=31+20−n(SF∩DS)38 = 31 + 20 - n(SF \cap DS) 38=51−n(SF∩DS)38 = 51 - n(SF \cap DS) n(SF∩DS)=51−38=13n(SF \cap 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=18n(SF) - n(SF \cap DS) = 31 - 13 = 18
  • Only DS: n(DS)−n(SF∩DS)=20−13=7n(DS) - n(SF \cap DS) = 20 - 13 = 7
  • Exactly one genre: 18+7=2518 + 7 = 25

Now, we can find the probabilities:

  • Probability of liking both SF and DS: P(SF∩DS)=Number who like bothTotal readers=1350P(SF \cap DS) = \frac{\text{Number who like both}}{\text{Total readers}} = \frac{13}{50}

  • Probability of liking exactly one genre: P(Exactly one)=Number who like exactly oneTotal readers=2550=12P(\text{Exactly one}) = \frac{\text{Number who like exactly one}}{\text{Total readers}} = \frac{25}{50} = \frac{1}{2}

📝 For the library readers, the probability that a randomly selected reader likes both science fiction and detective stories is 1350\frac{13}{50}.

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=82^3 = 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)=Number of outcomes with 3 HeadsTotal possible outcomes=18P(\text{3 Heads}) = \frac{\text{Number of outcomes with 3 Heads}}{\text{Total possible outcomes}} = \frac{1}{8}

  • 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)=18P(\text{No Heads}) = P(\text{All Tails}) = \frac{1}{8} The probability of getting at least one head is: P(At least one Head)=1−P(No Heads)=1−18=78P(\text{At least one Head}) = 1 - P(\text{No Heads}) = 1 - \frac{1}{8} = \frac{7}{8}

📝 When tossing three coins, the probability of getting at least one head is 78\frac{7}{8}.

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=162^4 = 16 possible outcomes.

  • a) List the possible outcomes: We can systematically list them, starting with all heads and moving towards all tails.

OutcomeNumber of HeadsNumber of Tails
HHHH40
HHHT31
HHTH31
HTHH31
THHH31
HHTT22
HTHT22
HTTH22
THHT22
THTH22
TTHH22
HTTT13
THTT13
TTHT13
TTTH13
TTTT04
  • b) Determine the probability of getting:

  • i) All heads (HHHH): There is only 1 outcome with all heads. P(All Heads)=116P(\text{All Heads}) = \frac{1}{16}

  • 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)=616=38P(\text{2 Heads, 2 Tails}) = \frac{6}{16} = \frac{3}{8}

  • 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=43 + 1 = 4. P(More Tails than Heads)=416=14P(\text{More Tails than Heads}) = \frac{4}{16} = \frac{1}{4}

  • iv) At least one tail: This is the complement of getting all heads. P(At least one Tail)=1−P(All Heads)=1−116=1516P(\text{At least one Tail}) = 1 - P(\text{All Heads}) = 1 - \frac{1}{16} = \frac{15}{16}

  • v) Exactly one head: There are 4 outcomes with exactly one head (HTTT, THTT, TTHT, TTTH). P(Exactly one Head)=416=14P(\text{Exactly one Head}) = \frac{4}{16} = \frac{1}{4}

📝 When tossing four coins, the probability of getting two heads and two tails is 616\frac{6}{16} or 38\frac{3}{8}.

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=366 \times 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=164 + 4 + 4 + 4 = 16. P(Total of 5)=1636=49P(\text{Total of 5}) = \frac{16}{36} = \frac{4}{9}

  • 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=104 + 4 + 1 + 1 = 10. P(Same Numbers)=1036=518P(\text{Same Numbers}) = \frac{10}{36} = \frac{5}{18}

📝 When rolling the special die twice, the probability of getting a total of 5 is 1636\frac{16}{36} or 49\frac{4}{9}.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also