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.
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?
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
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!
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.
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.
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
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.
| 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 |
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 |
How Trial Count Affects Accuracy
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.
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.
Lesson Review
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.