Section 1
Where Did Simulations Come From?
Long before computers, people wanted to predict the future — not with crystal balls, but with math. Sometimes the math is too tricky to solve on paper, so clever thinkers invented ways to run pretend experiments and use the results to make predictions. That idea became what we now call a simulation.
1700s
1900
1946
Today
The big question this lesson answers: When a problem involves multiple random events happening together (compound events), how can you design a pretend experiment to estimate what will happen?
Section 2
Core Principles
Before you can build a simulation, you need to understand four key ideas. Let's break them down.
Simple Event
Compound Event
Simulation
Frequency
Key Takeaway
Section 3
Visualizing a Blood-Donor Simulation
Here's a real problem: about 36% of Americans have type A blood. A hospital needs a type A donor. How many random people do they need to test before finding one? This is a compound event because each person tested is a separate random event, and we care about the combined sequence of tests.
Below is a diagram showing how a simulation of this problem works. Each row represents one trial — one time we pretend to search for a type A donor. The colored circles represent people tested. Red means type A blood was found (success!). Blue means a different blood type (keep looking).
In our five trials, we needed 3, 1, 5, 2, and 4 people tested. The average is 3 people. With only 5 trials, our estimate is rough. The more trials we run, the closer our estimate gets to the true answer. That's the power of simulation!
Section 4
How to Build a Simulation — Step by Step
Designing a simulation has four clear steps. You can use coins, dice, numbered cards, spinners, or a random number generator. Here's the recipe.
Step 1 — Define the Problem
Step 2 — Choose a Random Tool
Step 3 — Run Many Trials
Step 4 — Collect & Analyze
Estimated Probability Formula
"Successes" means the number of times your desired outcome happened.
Notice that this formula is about relative frequency — the fraction of trials where the event occurred. As you run more and more trials, this estimated probability gets closer to the true (theoretical) probability.
Section 5
Choosing the Right Random Tool
The trickiest part of simulation design is picking a random tool that matches your problem's probabilities. Here's a guide to the most common tools and when to use each one.
| Random Tool | Probability It Models | Example Use |
|---|---|---|
| Coin flip | 50% / 50% | Boy or girl, win or lose, yes or no |
| Standard die (1–6) | About 16.7% per outcome | Choosing among 6 equally likely options |
| Spinner (sections) | Any percentages you design | Custom probabilities like 36% type A blood |
| Random numbers 1–10 | Multiples of 10% | 30% chance → numbers 1–3 mean success |
| Random numbers 1–100 | Any whole-number percent | 36% chance → numbers 1–36 mean success |
| Deck of cards | Depends on which cards you pick | Drawing a heart = 25% chance |
Flowchart: Designing Your Simulation
Key Takeaway
Section 6
Worked Example: Finding a Type A Donor
Let's walk through a complete simulation from start to finish. We'll design it, run it, and analyze the results together.
Finding a Type A Donor
- 1
The Problem
About 36 out of every 100 Americans have type A blood. A hospital calls random people from a list. On average, how many people must they call to find one type A donor? - 2
Step 1 — Define the Problem
Success = the person has type A blood (probability ≈ 36%, or 36 out of 100). One trial = keep calling people until we find one with type A blood. Count how many calls it took. Goal = find the average number of calls across many trials. - 3
Step 2 — Choose a Random Tool
We'll use random numbers from 1 to 100. If the number is 1 through 36, that person has type A blood (success). If the number is 37 through 100, they don't (keep calling). - 4
Step 3 — Run 10 Trials
Here are the random numbers generated for each trial. We stop each trial as soon as a number from 1–36 appears. - 5
Step 4 — Analyze
Add up all the calls: 3 + 1 + 5 + 2 + 4 + 1 + 3 + 6 + 2 + 3 = 30. Divide by the number of trials: 30 ÷ 10 = 3 people. - 6
Conclusion
Based on our simulation, the hospital can expect to call about 3 people on average to find one type A donor. The true mathematical answer (using advanced formulas) is about 2.78 — so our simulation with just 10 trials was very close!
| Trial | Random Numbers Generated | Calls Needed |
|---|---|---|
| 1 | 82, 47, 14 | 3 |
| 2 | 29 | 1 |
| 3 | 55, 91, 63, 88, 7 | 5 |
| 4 | 41, 22 | 2 |
| 5 | 99, 50, 73, 31 | 4 |
| 6 | 12 | 1 |
| 7 | 68, 77, 5 | 3 |
| 8 | 44, 60, 93, 52, 87, 33 | 6 |
| 9 | 71, 18 | 2 |
| 10 | 39, 58, 4 | 3 |
10 simulation trials for finding a Type A blood donor
Section 7
Strengths and Limitations of Simulations
Simulations are an amazing tool, but they aren't perfect. Let's look at what they do well and where they fall short.
| ✓ Strengths | ✗ Limitations |
|---|---|
| You don't need fancy formulas — just random tools and counting | Results are estimates, not exact answers |
| Works for very complicated compound events | Fewer trials = less accurate results |
| You can physically do it with coins, dice, or cards | Can be slow if done by hand with many trials |
| Helps you "see" randomness in action | Every time you run it, you may get slightly different answers |
| Great way to check if a theoretical answer makes sense | If you choose the wrong tool, your results will be wrong |
Key Takeaway
How Trial Count Affects Accuracy
How Trial Count Affects Accuracy
Section 8
Connecting to the Bigger Picture
The simulation skills you're learning here connect to some really powerful ideas in math and science. Here's a peek at where they lead.
| What You're Learning Now | What It Becomes Later |
|---|---|
| Running trials and counting outcomes | The Law of Large Numbers — a theorem that proves your estimate gets better as trials increase |
| Using random numbers 1–100 | Monte Carlo simulations — used by scientists to model weather, disease spread, and space missions |
| Finding average number of tries to get a success | Expected value — a formula that gives the exact answer without simulation |
| Estimating probability from frequency | Statistical inference — making conclusions about the real world from data |
In high school and college, you'll learn formulas that can calculate exact probabilities for many compound events. But simulations remain important even for professional scientists and engineers, because some problems are so complex that no formula exists — and a simulation is the only way to get an answer. What you're learning now is a skill you'll use for years to come.
🎲 Try It Yourself: Mini Simulation
Section 9
Practice Problems
Try these problems to sharpen your simulation skills. Start with the first one and work your way up. Click "Show Answer" when you're ready to check.
Question 1: Conceptual
Show answer
Question 2: Basic
Show answer
Question 3: Intermediate
Show answer
Question 4: Applied / Multi-Step
Show answer
Question 5: Challenge / Critical Thinking
Show answer
Summary
Lesson Review
Summary
A simulation is a pretend experiment that uses random tools to model real-world situations. When events are compound — meaning they involve multiple random outcomes happening together — simulations let you estimate probabilities and averages without solving complicated equations. To design one, you follow four steps: define the problem, choose a random tool that matches the probability (like random numbers 1–100 for a 36% chance), run many trials, and analyze the results by counting frequencies and calculating averages.
The more trials you run, the closer your estimate gets to the true answer — this is a preview of the Law of Large Numbers you'll study later. Simulations are used every day by scientists, doctors, engineers, and game designers to solve problems that are too complex for formulas alone. Whether you're figuring out how many donors a hospital needs to call, how many cereal boxes to buy, or how likely you are to win a game, simulation puts the power of probability in your hands.