Try it yourself · Class 9 Maths · Class 9 Maths: gcd, averages, volumes and probability
Tree diagram for two draws: with and without replacement
A tree diagram lists every way two draws can turn out. The simulation draws it for a bag of red and blue balls, multiplies along each path and shows how not putting the first ball back changes the second branch.
Each branch is labelled with its probability; multiply along a path to get a leaf. With replacement the second draw sees the same bag; without replacement it sees one ball fewer.
The simulation needs JavaScript; everything it shows is explained below.
What to change
- Tabs: With replacement or Without replacement (start at With).
- Red balls: from 1 to 8 (start at 3).
- Blue balls: from 1 to 8 (start at 2).
What to watch
- 3 red, 2 blue, with replacement: P(both red) = 0.3600, P(one of each) = 0.4800, P(both blue) = 0.1600, and the leaves add up to 1.0000.
- Same bag without replacement: P(both red) = 0.3000, P(one of each) = 0.6000, P(both blue) = 0.1000; the second branches are 2/4 and 2/4 after a red, 3/4 and 1/4 after a blue.
- 1 red, 1 blue without replacement: both red and both blue are 0 and one of each is 1.0000.
- Whatever the bag, the leaves add up to 1.0000.
The formula
Multiply the probabilities along a path to get one leaf; add the leaves that match the event. With replacement .
Try these questions
Work each one out with the simulation, tap to see the answer, then try the chapter quiz.
-
Our question
Which of these is a random experiment?- Adding and
- Counting the days in a week
- Rolling a die and noting the number on top
- Reading the number written on a card you have already seen
Show the answer
(C) Rolling a die and noting the number on top -
Our question
A drawing pin is dropped times. It lands point up times and point down times. What is the experimental probability that it lands point down?Show the answer
(A) -
Our question
A die is rolled times and a appears exactly times. What is the experimental probability of rolling a ?Show the answer
(C)
