Skip to content

Independent events

Independent events

Dependent and independent events

Two events are independent when knowing that one of them happened does not change the probability of the other. When it does change it, the events are dependent.

A fair die is thrown once.
A\displaystyle A – an even number comes up: {2,4,6}\displaystyle \{2, 4, 6\}, so P(A)=36=12\displaystyle {P(A)}={\frac{3}{6}}={\frac{1}{2}}.

  • B\displaystyle B – a number greater than 3 comes up: {4,5,6}\displaystyle \{4, 5, 6\}. If B\displaystyle B is known to have happened, three outcomes are left, and two of them are even: P(A∣B)=23\displaystyle {P(A|B)}={\frac{2}{3}}. The probability changed, so A\displaystyle A and B\displaystyle B are dependent.
  • C\displaystyle C – a number greater than 4 comes up: {5,6}\displaystyle \{5, 6\}. If C\displaystyle C is known to have happened, two outcomes are left, and one of them is even: P(A∣C)=12\displaystyle {P(A|C)}={\frac{1}{2}}. The probability did not change, so A\displaystyle A and C\displaystyle C are independent.
Three ways to test independence

Each of these three equalities says that A\displaystyle A and B\displaystyle B are independent, and checking one of them is enough:

P(A∣B)=P(A)\displaystyle P(A|B)=P(A)
P(A∩B)=P(A)⋅P(B)\displaystyle P(A\cap B)=P(A)\cdot P(B)
P(A∣B)=P(A∣B‾)\displaystyle P(A|B)=P(A|\overline{B})
  • The first: knowing that B\displaystyle B happened does not change the probability of A\displaystyle A.
  • The second: the probability of “both A\displaystyle A and B\displaystyle B” is the product of the probabilities.
  • The third: A\displaystyle A has the same probability when B\displaystyle B happened and when B\displaystyle B did not.

On the die, A\displaystyle A – even and C\displaystyle C – greater than 4:

  • P(A∩C)=P({6})=16\displaystyle {P(A\cap C)}={P(\{6\})}={\frac{1}{6}}, and also P(A)⋅P(C)=12⋅13=16\displaystyle {P(A)\cdot P(C)}={\frac{1}{2}\cdot\frac{1}{3}}={\frac{1}{6}}.
  • C‾={1,2,3,4}\displaystyle {\overline{C}}={\{1, 2, 3, 4\}}, and two of its outcomes are even: P(A∣C‾)=24=12=P(A∣C)\displaystyle {P(A|\overline{C})}={\frac{2}{4}}={\frac{1}{2}}={P(A|C)}.
The equivalence of the three ways

The proof below shows that each of the three equalities follows from the others, so there is no need to check all three. We assume that 0<P(B)<1\displaystyle 0<P(B)<1.

The first and the second. By the definition of conditional probability, P(A∣B)=P(A∩B)P(B)\displaystyle {P(A|B)}={\frac{P(A\cap B)}{P(B)}}. Multiplying by P(B)\displaystyle P(B), we get that P(A∣B)=P(A)\displaystyle {P(A|B)}={P(A)} exactly when P(A∩B)=P(A)⋅P(B)\displaystyle {P(A\cap B)}={P(A)\cdot P(B)}.

The first and the third. By the law of total probability:

P(A)=P(B)⋅P(A∣B)+P(B‾)⋅P(A∣B‾)P(A)=P(B)\cdot P(A|B)+P(\overline{B})\cdot P(A|\overline{B})
  • P(A)\displaystyle P(A) is a weighted mean of P(A∣B)\displaystyle P(A|B) and P(A∣B‾)\displaystyle P(A|\overline{B}), since P(B)+P(B‾)=1\displaystyle {P(B)+P(\overline{B})}={1}.
  • If the two conditional probabilities are equal, their weighted mean equals them too: P(A)=P(A∣B)\displaystyle {P(A)}={P(A|B)}.
  • If P(A∣B)=P(A)\displaystyle {P(A|B)}={P(A)}, substituting in the formula gives P(B‾)⋅P(A∣B‾)=P(A)−P(B)⋅P(A)=P(B‾)⋅P(A)\displaystyle {P(\overline{B})\cdot P(A|\overline{B})}={P(A)-P(B)\cdot P(A)}={P(\overline{B})\cdot P(A)}. Dividing by P(B‾)\displaystyle P(\overline{B}): P(A∣B‾)=P(A)=P(A∣B)\displaystyle {P(A|\overline{B})}={P(A)}={P(A|B)}.
Disjoint events and independent events

Disjoint events, each with a positive probability, are always dependent: if one of them happened, the other can no longer happen.

On the die: A\displaystyle A – even, D\displaystyle D – odd.

  • A∩D=∅\displaystyle {A\cap D}={\emptyset}, so P(A∩D)=0\displaystyle {P(A\cap D)}={0}.
  • P(A)⋅P(D)=12⋅12=14\displaystyle {P(A)\cdot P(D)}={\frac{1}{2}\cdot\frac{1}{2}}={\frac{1}{4}}, and 0≠14\displaystyle 0\neq\frac{1}{4}.
  • In words: if an odd number is known to have come up, the probability of an even one fell from 12\displaystyle \frac{1}{2} to 0.

“Disjoint” says the events do not happen together; “independent” says one does not affect the chance of the other. These are two different things.

An experiment repeated several times

When the same experiment is repeated, and each time’s result does not affect the other times, the stages are independent: every branch has the same probability whatever the path before it, and a path is the product of the probabilities.

A fair die is thrown three times.
Y\displaystyle Y – an even number greater than 3 comes up, that is 4 or 6: in each throw P(Y)=26=13\displaystyle {P(Y)}={\frac{2}{6}}={\frac{1}{3}}.
The tree marks the paths of “Y\displaystyle Y in exactly two throws”:

  • Three paths: YYN\displaystyle YYN, YNY\displaystyle YNY, NYY\displaystyle NYY – the throw without Y\displaystyle Y can be the first, the second or the third.
  • Each of them has the same probability: 13⋅13⋅23=227\displaystyle {\frac{1}{3}\cdot\frac{1}{3}\cdot\frac{2}{3}}={\frac{2}{27}}.
P=3⋅227=627=29P=3\cdot\frac{2}{27}=\frac{6}{27}=\frac{2}{9}
Exercise 1

A year group has 200 students: who does sport, and who wears glasses.

Wear glassesDo notTotal
Do sport245680
Do no sport3684120
Total60140200
a

A student is chosen at random. What is the probability that the student wears glasses?

    / – 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

    b

    What is the probability that a student wears glasses, given that the student 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

      Are the events “wears glasses” and “does sport” independent? Explain using the answers.

      Exercise 2

      A\displaystyle A and B\displaystyle B are independent events.
      P(A)=0.4\displaystyle {P(A)}={0.4}, P(B)=0.5\displaystyle {P(B)}={0.5}.

      a

      Work out P(A∩B)\displaystyle P(A\cap 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

        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

          Exercise 3

          P(A)=0.3\displaystyle {P(A)}={0.3}, P(B)=0.6\displaystyle {P(B)}={0.6}, P(A∪B)=0.72\displaystyle {P(A\cup B)}={0.72}.

          a

          Work out P(A∩B)\displaystyle P(A\cap 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

            b

            Are A\displaystyle A and B\displaystyle B independent? Explain.

            Exercise 4

            A fair die is thrown three times.
            Y\displaystyle Y – an even number greater than 3 comes up.

            Write the probabilities on the branches and each path’s probability.

            a

            What is the probability that Y\displaystyle Y comes up only in the first throw and the third?

              / – 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

              b

              What is the probability that Y\displaystyle Y comes up in the first throw and the third (in the second – any result)?

                / – 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 5

                A test has two exercises in probability and one in statistics. In each exercise the candidate passes or fails.
                To pass the whole test, a candidate must pass at least two of the three exercises.
                The probability of passing each probability exercise is 0.6\displaystyle 0.6.
                The probability of passing the statistics exercise is 0.8\displaystyle 0.8.
                The results of the different exercises are independent of each other.

                In the tree, the first and second stages are the two probability exercises, and the third stage is the statistics exercise. Write the probabilities on the branches and each path’s probability.

                a

                What is the probability that a candidate passes all three exercises?

                  / – 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

                  b

                  What is the probability that a candidate passes exactly two exercises and fails one?

                    / – 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 a candidate passes the whole test?

                      / – 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

                      d

                      A candidate passed the whole test. What is the probability that the candidate passed both probability exercises? Round to two decimal places.

                        / – 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 6

                        A\displaystyle A and B\displaystyle B are disjoint events.
                        P(A)=0.3\displaystyle {P(A)}={0.3}, P(B)=0.5\displaystyle {P(B)}={0.5}.

                        Are A\displaystyle A and B\displaystyle B independent? Explain.