← LearnYear 10 Maths · Data and ProbabilityFree placement check
Year 10AC9M10P02

Simulating Conditional Probability

Design and conduct repeated chance experiments and simulations using digital tools to model conditional probability and interpret results.

Some probabilities are hard to calculate and easy to imitate. A simulation replaces the theory with repeated trials — and the more trials you run, the closer the estimate gets.

Builds onYr 10 · Conditional Probability

Method

Model the situation exactly
Your random device must have the same probabilities as the real thing, or you are simulating something else.
One trial is one whole scenario
A trial runs the situation from start to finish, not just one stage of it.
Discard trials the condition rules out
P(AB)=trials with A and Btrials with BP(A \mid B) = \frac{\text{trials with A and B}}{\text{trials with B}}
For a conditional probability, count only the trials where the condition happened.
More trials, closer estimate
Ten trials prove nothing. Estimates settle as the count rises — this is why digital tools are used.
A simulation estimates, it does not prove
Report it as an estimate and say how many trials produced it.

Worked example

e.g. A family has two children. Given that at least one is a girl, estimate the probability that both are girls.\text{A family has two children. Given that at least one is a girl, estimate the probability that both are girls.}
  1. Choose a device matching the real probabilities.two coins: heads = girl, tails = boy\text{two coins: heads = girl, tails = boy}
  2. Define one trial clearly.one trial=toss both coins once\text{one trial} = \text{toss both coins once}
  3. Write down what counts as the condition, and what counts as the event.condition: at least one headevent: two heads\text{condition: at least one head} \quad \text{event: two heads}
  4. Run many trials and record the outcome of each.HH, HT, TH, TT\text{HH},\ \text{HT},\ \text{TH},\ \text{TT} \ldots
  5. Throw away every trial where the condition did not happen.discard all TT results\text{discard all TT results}
  6. Divide: event trials over remaining trials.HH countHH+HT+TH\frac{\text{HH count}}{\text{HH} + \text{HT} + \text{TH}}
  7. Compare with the theory to check the model.theory=130,33\text{theory} = \tfrac{1}{3} \approx 0{,}33
  8. Report the estimate with the number of trials that produced it.0,34 from 500 trials0{,}34 \text{ from } 500 \text{ trials}

Practice

Design the model first, then count only the trials that qualify.

1
Which device models a 16 chance?\text{Which device models a } \tfrac{1}{6} \text{ chance?}
Answerone roll of a fair six-sided die\text{one roll of a fair six-sided die}
2
Why are trials failing the condition discarded rather than counted as failures?\text{Why are trials failing the condition discarded rather than counted as failures?}
AnswerThe condition says they did not happen, so they are not part of the reduced group.\text{The condition says they did not happen, so they are not part of the reduced group.}
3
A simulation of 20 trials gives 0,25. Is that a good estimate?\text{A simulation of 20 trials gives } 0{,}25. \text{ Is that a good estimate?}
AnswerToo few trials. Run hundreds before trusting the second figure.\text{Too few trials. Run hundreds before trusting the second figure.}
4
You model a 30% chance with digits 0 to 9. Which digits mean success?\text{You model a } 30\% \text{ chance with digits 0 to 9. Which digits mean success?}
Answerany three of them, e.g. 0, 1, 2\text{any three of them, e.g. } 0,\ 1,\ 2
5
Your estimate is 0,52 and the theory says 0,33. What is the likeliest cause?\text{Your estimate is } 0{,}52 \text{ and the theory says } 0{,}33. \text{ What is the likeliest cause?}
AnswerThe model does not match the situation — check the device and the condition before blaming chance.\text{The model does not match the situation — check the device and the condition before blaming chance.}
Next step
Practise Simulating Conditional Probability with instant marking
A free 10-minute placement check finds which Year 10 topics to work on first, then Summit builds a weekly plan around them.
See where my child is →