Probability and Tree Diagrams

Neil Trivedi

Teacher

Neil Trivedi

Probability and Tree Diagrams

A tree diagram can be broken down formally by using conditional probability, giving us a clear view of what is happening within the tree.

Blank probability tree diagram showing one initial split into two outcomes, with each outcome splitting again into two branches.

Example 1:

A bag contains green marbles and yellow marbles. A marble is taken out of a bag at random, the colour is recorded and not replaced. A second marble is taken from the bag and its colour is again, recorded. Given that both the marbles chosen are the same colour, what is the probability that they were both yellow?

Step 1: Construct a tree diagram with the given information.

Let denotes the event that a green marble is picked and denotes the event that a yellow marble is picked.

The easiest way to fill the tree diagram is to first fill the probabilities of picking the same colour twice. There are green and marbles in total, so the probability of picking a green marble for the first time is .

Once we take a green marble and do not replace it, the probability of choosing another one is .

Similarly, for the yellow marbles, the probability of picking one for the first time will be and then once we have chosen one, we subtract from the numerator and denominator which leaves us with for the probability of choosing a second yellow marble.

Blank probability tree diagram showing a first split into two branches, with each branch splitting again into two outcomes.

Step 2: Find the required conditional probability.

Let denote the event that both marbles picked are the same colour. They are asking us to find the probability of choosing two yellow given that the two marbles are the same colour. Rewrite this given statement using our conditional probability formula.

Notice that the event is actually the event that both marbles picked are yellow. So,

Two-stage probability tree showing first outcomes 𝐺 and 𝑌 with probabilities 7/19 and 12/9 and 1/3 and 11/18, followed by conditional branches including 1/3 and 11/18 for the second selection.

No answer provided.

Example 2:

The partially completed tree diagram, where and are probabilities, gives information about Neil’s choice of drink each day.

represents the event that it is a hot drink.

represents the event that Neil drinks coffee

represents the event that Neil drinks tea

represents the event that Neil drinks water

Partially completed probability tree diagram showing an initial split into two branches, with the upper branch splitting again into three outcomes.

Given that ,

a) find the value of .

Step 1: Complete the tree diagram.

Using the fact that the probability of the branches add to , we can fill in the missing probabilities of the tree diagram.

Probability tree diagram with a first split labelled 1−𝑥, a second-stage split labelled 0.4−𝑦, and a lower branch labelled 0.8, showing unknown probabilities expressed algebraically.

Step 2: Set up an equation on to solve for .

To find , we follow the branches that end with .

Probability tree diagram showing branches with unknown probabilities labelled 1−𝑥 and 0.4−𝑦, alongside a given branch probability of 0.8.

Expanding the brackets and simplifying,

Subtracting from both sides,


Given also that

b) find the value of .

Single Step: Rewrite using our conditional probability formula to then set up an equation, which we can solve for .

To find , we follow the branches that end with . To find , we follow the branch and then the branch.

Probability tree showing first split into 𝐻 with probability 1−𝑥 and 𝐻′ with probability 𝑥, followed by outcomes 𝑊 with probability 0.6 from 𝐻 and 𝑊 with probability 0.8 from 𝐻′.

Multiplying both sides by ,

Expanding the brackets,

Bringing all terms to the LHS,

Dividing both sides by ,


c) Find the probability that Neil drinks tea.

Single Step: Compute the required probability using probabilities from the tree diagram.

To find the probability that Neil drinks tea, we follow the branch that ends at .

Probability tree showing 𝐻 and 𝐻′ each with probability 0.5, followed by conditional branches to outcome 𝐶 with probability 𝑦 given 𝐻 and probability 0.2 given 𝐻′.


Given that Neil does not drink water today,

d) find the probability that he has a hot drink.

We want to find to find the probability that Neil has a hot drink, given that he did not drink water.

So, we’re finding .

Single Step: Compute the conditional probability by applying the formula.

To find , we follow the branches that don’t end with . We can find the probabilities from the branches that end with and then subtract from . To find , we follow the branch and then any branch that’s not .

Probability tree diagram showing event 𝐻 with probability 0.5, followed by a second-stage branch where outcome 𝑇 has conditional probability 0.1.


e) Over the span of days, estimate the number of days Neil will have coffee.

Single Step: Find and then multiply that by to find the estimated number of days Neil drinks coffee.

As mentioned before, to find , we follow the branches that end with .

Probability tree showing the first split into 𝐻 and 𝐻′ each with probability 0.5, then outcomes 𝐶, 𝑇, 𝑊 from 𝐻 with probabilities 0.3, 0.1, 0.6 and outcomes 𝐶,𝑊 from 𝐻′ with probabilities 0.2, 0.8.

Multiplying by ,

Therefore, we estimate that Neil will have coffee on of the days.

No answer provided.

Challenging Question

Practice Questions