7TH GRADE MATHEMATICS • STATISTICS AND PROBABILITY

Simulations for Compound Events

Learn how to design pretend experiments that help you predict real-world outcomes — even when the math gets complicated.

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
A French naturalist named Buffon dropped needles on a striped floor to estimate the value of π. He didn't solve an equation — he just repeated an experiment thousands of times and looked at the pattern. This was one of the earliest simulations!
1900
Karl Pearson — a famous statistician — asked a friend to flip a coin 24,000 times. He used the results to test ideas about randomness and probability. That's a simulation using a real coin instead of a calculator.
1946
Scientists working on the first nuclear reactors needed to predict how particles bounce around. The math was incredibly hard, so Stanislaw Ulam and John von Neumann told a computer to pretend particles were bouncing millions of times. They called it the Monte Carlo method, named after the famous casino city.
Today
Simulations are everywhere — weather forecasts, video game physics, medical research, and even predicting how long it takes to find a blood donor with a certain blood type. You're about to learn how to build your own!

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.

1

Simple Event

A simple event has only one random outcome to worry about — like flipping a single coin (heads or tails) or rolling one die (1 through 6).
2

Compound Event

A compound event combines two or more simple events. Example: flipping a coin and rolling a die at the same time. The combined outcomes are harder to track by hand.
3

Simulation

A simulation is a pretend experiment that uses random tools (coins, dice, spinners, number generators) to model a real-world situation. You run it many times to see patterns.
4

Frequency

Frequency means "how many times something happens." After running a simulation, you count frequencies to estimate how likely each outcome is.
Key Takeaway
Think of a simulation like a video-game practice round. In a practice round you can try things over and over without real consequences, and after enough rounds you start to see which strategies work best. A simulation does the same thing for probability — you "play" many rounds of a random event and count the results to figure out what's likely to happen in real life.

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).

Blood Donor Simulation — 5 Trials showing the number of people tested per trial before finding a Type A donor.

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.

Step 1 — Define the Problem
Decide what compound event you want to study. Identify what counts as a "success" and what counts as a "failure." Example: testing donors, where success = finding type A blood.
Step 2 — Choose a Random Tool
Pick something random that matches the probabilities in your problem. If there's a 36% chance of success, you might use a random number from 1 to 100 and say numbers 1–36 mean "success."
Step 3 — Run Many Trials
Repeat your random experiment over and over. Each repetition is called a trial. The more trials you run, the better your estimate will be. Most simulations use at least 20–50 trials.
Step 4 — Collect & Analyze
Record your results, count frequencies, and calculate averages or percentages. This is your estimated answer to the original question.
Estimated Probability Formula
Estimated Probability = Number of Successes ÷ Total Trials
"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.

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 ToolProbability It ModelsExample Use
Coin flip50% / 50%Boy or girl, win or lose, yes or no
Standard die (1–6)About 16.7% per outcomeChoosing among 6 equally likely options
Spinner (sections)Any percentages you designCustom probabilities like 36% type A blood
Random numbers 1–10Multiples of 10%30% chance → numbers 1–3 mean success
Random numbers 1–100Any whole-number percent36% chance → numbers 1–36 mean success
Deck of cardsDepends on which cards you pickDrawing a heart = 25% chance

Flowchart: Designing Your Simulation

Flowchart showing the four steps of designing a simulation.
Key Takeaway
Choosing your random tool is like choosing the right measuring cup in a recipe. A tablespoon won't help you measure a gallon, and a coin flip won't help you model a 36% chance. Match your tool to the probability in the problem, and your simulation will give you useful answers.

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 ProblemAbout 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 ProblemSuccess = 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 ToolWe'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 TrialsHere are the random numbers generated for each trial. We stop each trial as soon as a number from 1–36 appears.
5
Step 4 — AnalyzeAdd 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
ConclusionBased 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!
10 simulation trials for finding a Type A blood donor
TrialRandom Numbers GeneratedCalls Needed
182, 47, 143
2291
355, 91, 63, 88, 75
441, 222
599, 50, 73, 314
6121
768, 77, 53
844, 60, 93, 52, 87, 336
971, 182
1039, 58, 43

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 countingResults are estimates, not exact answers
Works for very complicated compound eventsFewer trials = less accurate results
You can physically do it with coins, dice, or cardsCan be slow if done by hand with many trials
Helps you "see" randomness in actionEvery time you run it, you may get slightly different answers
Great way to check if a theoretical answer makes senseIf you choose the wrong tool, your results will be wrong
Key Takeaway
A simulation is like asking 100 friends to guess how many jellybeans are in a jar. No single guess is perfect, but the average of all their guesses is usually really close to the real answer. More friends (trials) means a better average (estimate).

How Trial Count Affects Accuracy

How Trial Count Affects Accuracy
5 trials
50 trials
500+ trials
5 trials — rough estimate500+ trials — very accurate

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 NowWhat It Becomes Later
Running trials and counting outcomesThe Law of Large Numbers — a theorem that proves your estimate gets better as trials increase
Using random numbers 1–100Monte Carlo simulations — used by scientists to model weather, disease spread, and space missions
Finding average number of tries to get a successExpected value — a formula that gives the exact answer without simulation
Estimating probability from frequencyStatistical 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
Use this tool to simulate finding a Type A blood donor. Choose how many trials to run and watch the results! (Interactive simulation available in the web version of this lesson.)

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.

PROBLEM 1CONCEPTUAL
In your own words, what is the difference between a simple event and a compound event? Give one example of each.
PROBLEM 2BASIC
You want to simulate a situation where there's a 20% chance of rain on any given day. You decide to use random numbers from 1 to 10. Which numbers should represent "rain"?
PROBLEM 3INTERMEDIATE
A student runs a simulation with a coin to model whether a basketball player makes a free throw (50% chance). She flips the coin 40 times and gets heads 18 times. What is the estimated probability of making a free throw based on this simulation? Is her estimate close to the true probability?
PROBLEM 4APPLIED / MULTI-STEP
A cereal company puts a prize toy in 25% of its boxes. You want to know: how many boxes do you need to buy, on average, to get a prize? Design a simulation using random numbers 1–4, then use the trial data below to answer the question. Trial 1: 3, 2, 4, 1 → 4 boxes Trial 2: 1 → 1 box Trial 3: 2, 3, 3, 2, 1 → 5 boxes Trial 4: 4, 1 → 2 boxes Trial 5: 3, 2, 1 → 3 boxes Trial 6: 2, 4, 3, 4, 2, 3, 1 → 7 boxes Trial 7: 3, 1 → 2 boxes Trial 8: 1 → 1 box
PROBLEM 5CHALLENGE / CRITICAL THINKING
Two students both simulate the same problem: "What is the probability of flipping 3 heads in a row?" Student A runs 10 trials and gets an estimate of 10%. Student B runs 200 trials and gets an estimate of 13%. The true theoretical probability is 12.5%. Which student's estimate do you trust more, and why? Could Student A's answer sometimes be closer than Student B's, even though B ran more trials?

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.

Varsity Tutors • 7th Grade Mathematics (Common Core) • Simulations for Compound Events