Bernoulli trials, sample data and simulation: VCE Math Methods Unit 2 Year 11
“Bernoulli trials and sequences of Bernoulli trials, sample data analysis (mean, median, mode, range), simulation of random processes, and the relationship between theoretical probability and observed relative frequency”
A Bernoulli trial has two outcomes (success with probability , failure with ), and a sequence of independent Bernoulli trials produces the binomial probability with expected value ; simulation (using random numbers in repeated trials) approximates theoretical probabilities, with the observed relative frequency converging to as the number of trials grows.
Jump to a section
What this dot point is asking
VCAA wants you to recognise Bernoulli trials, compute the probability of sequences of Bernoulli outcomes, analyse sample data using summary statistics, and use simulation to approximate theoretical probabilities. The dot point is the bridge between Unit 1 probability and Unit 3 discrete random variables.
Bernoulli trials
A Bernoulli trial has exactly two outcomes: success (probability ) and failure (probability ).
Examples:
- A coin flip: heads (success) or tails (failure).
- A multiple-choice question answered randomly: correct or incorrect.
- A free throw in basketball: in or out.
- A manufacturing item: defective or not defective.
Sequences of Bernoulli trials
A Bernoulli sequence is independent Bernoulli trials with the same success probability .
For a specific sequence of outcomes (e.g., SSFSF for two successes then a failure then a success then a failure):
For "exactly successes in trials" (any order):
This is the binomial probability formula, formalised in Unit 3.
Sample data analysis
When repeated trials are conducted, the resulting data can be summarised:
- Mean
- Sum of values divided by the number of values. Measures the centre.
- Median
- The middle value when data are ordered. Robust to outliers.
- Mode
- The most frequent value.
- Range
- Maximum minus minimum.
- Standard deviation
- Measures the spread (Unit 3 / 4 will formalise).
Theoretical probability vs observed relative frequency
For a Bernoulli trial with :
- Theoretical probability. as defined.
- Observed relative frequency. Number of successes in trials, divided by .
Law of large numbers (informal). As grows, the observed relative frequency tends to the theoretical probability.
For small , observed frequencies can differ substantially from . For large , the agreement is close.
Simulation
A simulation of a random process uses random numbers (from a calculator or coin/dice) to approximate theoretical probabilities by repeated trials.
Procedure
- Define the model. What is being simulated (a Bernoulli trial with specified)?
- Choose a random source. Calculator RAND, coin, dice.
- Decide the success condition. "If RAND , count as success."
- Run trials. Record successes.
- Compute the observed relative frequency. (successes) .
- Compare to theoretical. For large , .
Worked example. Simulating a free throw
A basketball player has free-throw probability . Simulate 100 trials.
In each trial: generate RAND. If RAND , count as a make.
After 100 trials, the observed make rate should be close to 0.70. (It would be approximately normally distributed around 0.70 with standard deviation , so most observed rates would be in the range 0.61 to 0.79.)
Why simulation matters
Simulation is the practical approach when:
- The theoretical probability is hard to compute.
- The system has many variables interacting.
- You want to estimate the probability empirically without analytical work.
Modern statistical practice uses simulation heavily (Monte Carlo methods, bootstrap inference). VCE Methods introduces the concept at Year 11 level.
Connection to Unit 3 and Unit 4
Unit 3 will formalise the binomial distribution and its mean, variance and standard deviation. Unit 4 will introduce continuous random variables, the normal distribution, sample proportions and confidence intervals.
The Unit 2 foundation is the Bernoulli trial structure, the binomial probability formula (without the formal label), and the empirical vs theoretical distinction.
- Treating non-independent trials as independent
- Bernoulli sequences assume each trial is independent. Drawing without replacement, where the sample changes, is not a Bernoulli sequence.
- Confusing and
- is the success probability; is the failure probability. Both appear in the binomial formula.
- Missing the binomial coefficient
- . The counts arrangements; without it you have only one specific sequence.
- Confusing observed and theoretical
- is fixed (theoretical). is observed (from data) and varies sample to sample.
- Simulation with too few trials
- Small gives unreliable estimates. The agreement improves as .
Examples in context
Example 1. Penalty shootout sequence. A striker scores a penalty with probability . In a sequence of independent attempts, the probability of the specific outcome score-miss-score-score is . The probability of exactly goals in any order is , and the expected number of goals is .
Example 2. Simulating a survey response. Pollsters model a "yes" response as a Bernoulli trial with . Using a calculator, each trial draws a random number in and counts "yes" if it is below . Over simulated respondents the observed proportion clusters near with spread about , so most simulation runs land between and .
Try this
Q1. A fair die is rolled; "success" is rolling a . In rolls, find the probability of exactly one . [3 marks]
- Cue. .
Q2. A seed germinates with probability . Find the expected number that germinate from seeds. [2 marks]
- Cue. .
Q3. Explain how observed relative frequency relates to theoretical probability as the number of trials increases. [2 marks]
- Cue. By the law of large numbers, as grows; small samples can deviate, large samples converge.
Exam-style questions
Questions in the style of VCAA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
Year 11 SAC-style4 marksA biased coin lands heads with probability . (a) For a sequence of 5 Bernoulli trials, find the probability of exactly 2 heads. (b) Estimate the expected number of heads.Show worked answer →
(a) Probability of exactly 2 heads. Each sequence has probability .
Number of arrangements: .
Total: .
(b) Expected heads. For Bernoulli trials with success probability , expected successes .
Markers reward the binomial structure (Unit 3 will formalise this as the binomial distribution) and the expected-value rule.