Skip to content

Operations on events and the Venn diagram

Operations on events and the Venn diagram

The union and the intersection

Two events make new events:

  • The union A∪B\displaystyle A\cup B – “A\displaystyle A or B\displaystyle B”: the outcomes in at least one of them, those in both included.
  • The intersection A∩B\displaystyle A\cap B – “A\displaystyle A and B\displaystyle B”: the outcomes in both.

In a Venn diagram the rectangle is the sample space, and each circle is an event. The part the two circles share is the intersection, and the two circles together are the union.

A jar holds 12 slips of paper, numbered from 1 to 12. One slip is taken out at random.
A\displaystyle A – “the number is divisible by 3”; B\displaystyle B – “the number is even”.

UAB396122481015711

  • A∩B={6,12}\displaystyle {A\cap B}={\{6,12\}}, so P(A∩B)=212=16\displaystyle {P(A\cap B)}={\frac{2}{12}}={\frac{1}{6}}.
  • A∪B={2,3,4,6,8,9,10,12}\displaystyle {A\cup B}={\{2,3,4,6,8,9,10,12\}}, so P(A∪B)=812=23\displaystyle {P(A\cup B)}={\frac{8}{12}}={\frac{2}{3}}.
The complement

The complement of A\displaystyle A, written A‾\displaystyle \overline{A}, is all the outcomes not in A\displaystyle A: “A\displaystyle A does not happen”. In a Venn diagram it is everything in the rectangle outside the circle of A\displaystyle A.

With the complement every part of a Venn diagram can be described. In the jar of 12 slips:

  • only A\displaystyle A – “A\displaystyle A and not B\displaystyle B”: A∩B‾={3,9}\displaystyle {A\cap\overline{B}}={\{3,9\}}.
  • only B\displaystyle B: A‾∩B={2,4,8,10}\displaystyle {\overline{A}\cap B}={\{2,4,8,10\}}.
  • neither A\displaystyle A nor B\displaystyle B – outside both circles: A‾∩B‾={1,5,7,11}\displaystyle {\overline{A}\cap\overline{B}}={\{1,5,7,11\}}. This is exactly the complement of the union: A∪B‾=A‾∩B‾\displaystyle {\overline{A\cup B}}={\overline{A}\cap\overline{B}}.
Disjoint events

Two events are disjoint when they have no outcome in common: A∩B=∅\displaystyle {A\cap B}={\emptyset}. They cannot happen together, and in a Venn diagram their circles do not touch.

  • In the jar of 12 slips, “the number is 1” and “the number is even” are disjoint.
  • A\displaystyle A and A‾\displaystyle \overline{A} are always disjoint, and their union is the whole sample space: A∪A‾=U\displaystyle {A\cup\overline{A}}={U}.
  • “The number is less than 4” and “the number is greater than 9” are disjoint but not complementary: 5, for example, is in neither of them.
Numbers in a Venn diagram

A Venn diagram also sorts the data of a survey: each part holds how many people are in it. Fill it in from the inside out – the intersection first.

A class has 32 students.
18 students study music, 13 study drama, and 6 study both.
M\displaystyle M – the student studies music; D\displaystyle D – the student studies drama.

  • In the intersection: 6.
  • Only music: 18−6=12\displaystyle {18-6}={12}. Only drama: 13−6=7\displaystyle {13-6}={7}.
  • Neither music nor drama: 32−(12+6+7)=7\displaystyle {32-(12+6+7)}={7}.

UMD12677

A student is chosen at random:

  • P(M∪D)=12+6+732=2532\displaystyle {P(M\cup D)}={\frac{12+6+7}{32}}={\frac{25}{32}};
  • “studies exactly one of the two” – only music or only drama: 12+732=1932\displaystyle {\frac{12+7}{32}}={\frac{19}{32}}.
Exercise 1

A jar holds 20 slips of paper, numbered from 1 to 20.
One slip is taken out at random.
A\displaystyle A – “the number is divisible by 4”; B\displaystyle B – “the number is greater than 14”.

a

Write the events A∩B\displaystyle A\cap B, A∪B\displaystyle A\cup B and A∩B‾\displaystyle A\cap\overline{B} as sets of outcomes.

b

Work out P(A∪B)\displaystyle P(A\cup B).

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    c

    What is the probability that the number is neither divisible by 4 nor greater than 14?

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      Exercise 2

      A year group has 40 students.
      22 students do sport, and 15 play a musical instrument.
      9 students neither do sport nor play.

      a

      How many students do sport and also play? Write x\displaystyle x for their number, and solve an equation: the four parts of the Venn diagram add up to 40.

        b

        A student is chosen at random. What is the probability that the student only does sport?

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          c

          What is the probability that the student does exactly one of the two – sport or music?

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            Exercise 3

            A blue die and a red die are thrown.
            A\displaystyle A – “the blue die shows 6”; B\displaystyle B – “the sum of the two dice is at least 10”.
            Mark in the table the outcomes of the event A∩B‾\displaystyle A\cap\overline{B}, and work out its probability.

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

              / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

              Exercise 4

              A\displaystyle A and A‾\displaystyle \overline{A} are disjoint events.
              Are any two disjoint events complementary? Explain, and give an example with a die.