Venn diagrams & probability

Math · Stats & Probability

Question 1 of 10

0

    Of 52 customers in a cafe, 28 ordered coffee, 13 ordered cake and 4 do both. How many do neither?

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Venn diagrams & probability explained

    A Venn diagram shows sets as overlapping circles inside a rectangle, which represents the universal set. Each region shows the items that belong to that combination of sets. For two sets AA and BB:

    • A∩BA \cap B (A and B) is the overlap.
    • A∪BA \cup B (A or B) is the whole of both circles.
    • A′A' (not A) is everything outside circle AA.

    Start with the overlap, since it is the number common to both sets. Subtract it from each set's total to find the "only" regions. The numbers in all regions, including those outside the circles, add up to the size of the universal set.

    For probability, divide the count in a region by the total: P(A)=n(A)n(universal set)P(A) = \dfrac{n(A)}{n(\text{universal set})}. The addition rule is P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B). The overlap is subtracted because it would otherwise be counted twice.

    Worked example

    In a class of 30 students, 18 play football, 12 play cricket and 5 play both. Find the number who play neither sport, and the probability that a randomly chosen student plays football only.

    1. Put 55 in the overlap. Football only: 18−5=1318 - 5 = 13. Cricket only: 12−5=712 - 5 = 7.
    2. Students who play either sport: 13+5+7=2513 + 5 + 7 = 25, so those who play neither: 30−25=530 - 25 = 5.
    3. P(football only)=1330≈0.433P(\text{football only}) = \dfrac{13}{30} \approx 0.433.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      Of 24 students in a class, 13 play football, 8 play tennis and 5 do both. How many are in the first group listed (play football) only, and not in the second group (play tennis)?

    • Medium

      Of 38 customers in a cafe, 10 ordered coffee (set A), 23 ordered cake (set B) and 7 do both. One person is chosen at random. Find P(A ∪ B), the probability they are in at least one set, to 3 decimal places.

    • Hard

      39 visitors to a museum were asked about three activities. 25 saw the dinosaurs, 13 saw the planetarium and 16 saw the gallery. 8 do the first two, 8 do the first and third, 4 do the second and third, and 3 do all three. Each overlap count includes those who do all three. How many do none of the three activities?