Unit 4: Probability, Random Variables & Probability Distributions
Binomial & Geometric Distributions
Applying the binomial and geometric probability distributions.
Prerequisites
- Mean & Variance of Random Variables
Counting Successes vs. Waiting for the First One
A player makes free throws with probability 0.75, independently each time. Before reading on: is 'how many baskets in her next 6 shots' the same kind of question as 'how many shots until her first miss' — or are these genuinely different random variables?
Definition — Binomial and Geometric Settings
Worked Example — A Binomial Probability
Worked Example — A Geometric Probability
Probability Simulator
Experiment
Run a trial to see the outcome here.
Simulation
Histogram — experimental vs theoretical
Running probability — Law of Large Numbers
Statistics
Mean
— experimental
3.5 theoretical
Variance
— experimental
2.917 theoretical
Standard deviation
— experimental
1.708 theoretical
Trials
0 experimental
— theoretical
Frequency table
| Outcome | Count | Experimental | Theoretical |
|---|---|---|---|
| 1 | 0 | — | 0.167 |
| 2 | 0 | — | 0.167 |
| 3 | 0 | — | 0.167 |
| 4 | 0 | — | 0.167 |
| 5 | 0 | — | 0.167 |
| 6 | 0 | — | 0.167 |
Central Limit Theorem
Draws 300 independent samples of 5trials each from the current experiment, averages each sample, and histograms the resulting sample means — the distribution should look progressively more bell-shaped (normal) as the sample size grows, even though the experiment’s own distribution usually isn’t.
Tip
Common Mistakes
Using the binomial formula for a 'trials until first success' question.
A binomial random variable requires a fixed n decided in advance — 'shots until the first make' has no fixed n, so it calls for the geometric formula instead.
Forgetting to check independence before applying either formula, e.g. when trials are drawn without replacement from a small population.
Both settings require independent trials — sampling without replacement from a small population violates this, and neither formula applies cleanly without a large-population adjustment.
Key Takeaways
- A binomial random variable counts successes in a fixed number of independent trials; its mean is np.
- A geometric random variable counts trials up to the first success, with no fixed number of trials; its mean is 1/p.
- Both require checking the same underlying conditions — binary outcomes, constant probability, and independence — before applying either formula.
Summary
This closes Unit 4: probability rules and random variables describe chance behavior precisely. Unit 5 asks a new question — what happens to a statistic, like a sample mean or proportion, across many different random samples?
Sign in to track your progress and mark this lesson complete.
Track your progress