Probability
Simulations
Learn to design and run simulations that estimate probability, then interpret results to make predictions about real-world events.
What Is Probability?
Probability measures how likely an event is to happen. It is always a number between \(0\) and \(1\), where \(0\) means impossible and \(1\) means certain.
For example, the probability of flipping heads on a fair coin is \(\displaystyle P(\text{heads}) = \frac{1}{2} = 0.5\).
Theoretical vs. Experimental Probability
What Is a Simulation?
A simulation is an experiment that models a real-world situation using random devices: coins, dice, spinners, random number generators, or cards.
Matching Devices to Probabilities
Choose a random device whose equally likely outcomes match the probability of the event you are modeling.
| Real-World Event | Probability | Simulation Device |
|---|---|---|
| Free throw made | \(\frac{1}{2}\) | Coin flip (H = made) |
| Rain tomorrow | \(\frac{1}{3}\) | Die: \(1\)-\(2\) = rain, \(3\)-\(6\) = no rain |
| Quiz answer correct | \(\frac{1}{4}\) | 4 cards: draw the ace |
| Winning lottery | \(\frac{1}{100}\) | Random number \(1\)-\(100\) |
The Law of Large Numbers
As you increase the number of trials in a simulation, the experimental probability approaches the theoretical probability.
Simulation vs. Prediction
How to Design a Simulation
Example 1: Coin Flip Simulation
Problem: A basketball player makes \(50\%\) of her free throws. Simulate \(10\) free throws using a coin. Heads = made, tails = missed.
Example 2: Die Roll Simulation
Problem: There is a \(\frac{1}{3}\) chance of rain each day this week. Use a die to simulate \(7\) days. Roll \(1\)-\(2\) = rain, roll \(3\)-\(6\) = no rain.
Example 3: Random Numbers
Problem: A cereal box has a \(\frac{1}{5}\) chance of containing a prize. Use random numbers \(1\) through \(10\) to simulate buying \(20\) boxes. Numbers \(1\)-\(2\) = prize.
Interpreting Results
After running a simulation, you need to interpret what your data tells you. Ask these key questions:
Making Predictions from Data
Scenario: In a simulation of \(50\) trials, a spinner landed on blue \(15\) times. Predict how many times it will land on blue in \(200\) spins.
Common Mistakes to Avoid
Summary of Key Concepts
| Concept | Definition | Formula |
|---|---|---|
| Theoretical Probability | What should happen mathematically | \(\frac{\text{favorable}}{\text{total}}\) |
| Experimental Probability | What actually happened in trials | \(\frac{\text{successes}}{\text{trials}}\) |
| Simulation | Model using random devices | Run many trials, record data |
| Prediction | Forecast using known probability | \(P \times n\) |
| Law of Large Numbers | More trials = closer to theoretical | \(P_{\text{exp}} \to P_{\text{theo}}\) |
Question 1 of 5
A spinner has a \(\frac{1}{4}\) chance of landing on red. Which device best simulates this event?
Question 2 of 5
In a simulation of \(40\) coin flips, heads came up \(18\) times. What is the experimental probability of heads?
Question 3 of 5
A simulation found that an event occurred \(12\) times in \(60\) trials. If you run \(300\) more trials, about how many times would you expect the event to occur?
Question 4 of 5
Why does increasing the number of trials in a simulation generally give a better estimate of the true probability?
Question 5 of 5
A student wants to simulate an event with probability \(\frac{1}{3}\). They flip a coin and say "heads = event happens." What is the problem with this simulation?