Skip to content

The probability tree of a multi-stage experiment

The probability tree of a multi-stage experiment

Stages, branches and paths

A probability tree describes an experiment of several stages. Each stage is a column of branches, and each branch carries its probability. A path – from the start to the end – is one outcome of the whole experiment.

A box holds 5 red balls and 3 white balls.
A ball is taken at random, not put back, and another ball is taken.

  • At the first stage there are 8 balls: red with probability 58\displaystyle \frac{5}{8}, white with probability 38\displaystyle \frac{3}{8}.
  • At the second stage 7 balls are left, and what they are depends on what came out first. After a red one, 4 red and 3 white are left; after a white one – 5 red and 2 white.

In the last column – the probability of each path: the product of the probabilities on its branches. Two red balls: 58⋅47=2056=514\displaystyle {\frac{5}{8}\cdot\frac{4}{7}}={\frac{20}{56}}={\frac{5}{14}}.

The probability of a path

The probability of a path is a product because of the definition of conditional probability. A branch at the second stage is a conditional probability: the probability that the second ball is red given that the first ball was red.

R1\displaystyle R_1 – the first ball is red; R2\displaystyle R_2 – the second ball is red.
By the definition P(R2/R1)=P(R1∩R2)P(R1)\displaystyle {P(R_2/R_1)}={\frac{P(R_1\cap R_2)}{P(R_1)}}, and multiplying by P(R1)\displaystyle P(R_1):

P(R1∩R2)\displaystyle P(R_1\cap R_2) =\displaystyle = P(R1)⋅P(R2/R1)\displaystyle P(R_1)\cdot P(R_2/R_1)
P(R1∩R2)=58⋅47=514P(R_1\cap R_2)=\frac{5}{8}\cdot\frac{4}{7}=\frac{5}{14}

In a path of three stages one more branch is multiplied in the same way: the probability of the third stage given the two stages before it.

An event of several paths

An event can be several paths. Different paths are different outcomes of the experiment – disjoint events – so their probabilities are added.

A\displaystyle A – “the two balls are of different colours”. The paths of A\displaystyle A are marked:

  • Red, then white: 58⋅37=1556\displaystyle {\frac{5}{8}\cdot\frac{3}{7}}={\frac{15}{56}}.
  • White, then red: 38⋅57=1556\displaystyle {\frac{3}{8}\cdot\frac{5}{7}}={\frac{15}{56}}.
P(A)=1556+1556=3056=1528P(A)=\frac{15}{56}+\frac{15}{56}=\frac{30}{56}=\frac{15}{28}

The probabilities of all the paths together make 1: 2056+1556+1556+656=1\displaystyle {\frac{20}{56}+\frac{15}{56}+\frac{15}{56}+\frac{6}{56}}={1}. This is a good way to check a tree.

Independent stages

When the stages are independent, the outcome of one stage does not change the probabilities of the next: P(B/A)=P(B)\displaystyle {P(B/A)}={P(B)}. So every fork of the same stage carries the same probabilities, and a path is simply the product of the stages’ probabilities.

A basketball player scores a free throw with probability 0.8\displaystyle 0.8, whatever happens in her other throws.
She takes three throws.
The example below works out the probability that she scores exactly two of them. The event’s paths are marked:

Exactly two scores are three paths – the miss at the first, the second or the third throw. Each of them has two scores and one miss, so all three have the same probability:

3⋅0.8⋅0.8⋅0.2=3⋅0.128=0.3843\cdot0.8\cdot0.8\cdot0.2=3\cdot0.128=0.384
“At least one” by the complement

The event “at least once” is many paths, but its complement is a single path: “never”. So work out the complement and take it away from 1.

What is the probability that the player misses at least one of the three throws?

  • The complement: she scores all three throws, one path: 0.83=0.512\displaystyle {0.8^3}={0.512}.
  • At least one miss: 1−0.512=0.488\displaystyle {1-0.512}={0.488}.

The long way would add up seven paths.

Exercise 1

In a certain town, in winter, the probability of rain on Sunday is 0.3\displaystyle 0.3.
If it rains on a day, the probability of rain the next day too is 0.6\displaystyle 0.6.
If a day is dry, the probability of rain the next day is 0.2\displaystyle 0.2.
Complete the probabilities in the tree: the first stage – Sunday, the second stage – Monday.

a

What is the probability that it rains both on Sunday and on Monday?

    / – 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 it rains on Monday?

      / – 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 box holds 6 batteries: 4 good and 2 flat.
      Three batteries are taken at random, one after another, without putting back.
      Complete the probabilities in the tree.

      a

      What is the probability that all three batteries are good?

        / – 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 at least one of the batteries is flat?

          / – 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 bag holds 3 strawberry sweets and some lemon sweets.
          Two sweets are taken at random, one after the other, without putting back.
          The probability that both sweets are strawberry is 17\displaystyle \frac{1}{7}.

          a

          How many lemon sweets are in the bag? Write x\displaystyle x for the number of lemon sweets, and solve an equation.

            b

            What is the probability that the two sweets taken have different flavours?

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

              In a raffle, each ticket wins a prize with probability 0.1\displaystyle 0.1, whatever happens to the other tickets.
              Noa buys four tickets.

              What is the probability that at least one of her tickets wins a prize?

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