8.1.6: Estimating Probabilities Using Simulation
Lesson
Let's simulate real-world situations.
Exercise \(\PageIndex{1}\): Which One Doesn't Belong: Spinners
Which spinner doesn't belong?
Exercise \(\PageIndex{2}\): Deigo's Walk
Your teacher will give your group the supplies for one of the three different simulations. Follow these instructions to simulate 15 days of Diego’s walk. The first 3 days have been done for you.
-
Simulate one day:
- If your group gets a bag of papers, reach into the bag, and select one paper without looking inside.
- If your group gets a spinner, spin the spinner, and see where it stops.
- If your group gets two number cubes, roll both cubes, and add the numbers that land face up. A sum of 2–8 means Diego has to wait.
- Record in the table whether or not Diego had to wait more than 1 minute.
- Calculate the total number of days and the cumulative fraction of days that Diego has had to wait so far.
- On the graph, plot the number of days and the fraction that Diego has had to wait. Connect each point by a line.
- If your group has the bag of papers, put the paper back into the bag, and shake the bag to mix up the papers.
- Pass the supplies to the next person in the group.
| day | Does Diego have to wait more than 1 minute? | total number of days Diego had to wait | fraction of days Diego had to wait |
|---|---|---|---|
| 1 | no | 0 | \(\frac{0}{1}=0.00\) |
| 2 | yes | 1 | \(\frac{1}{2}=0.50\) |
| 3 | yes | 2 | \(\frac{2}{3}\approx 0.67\) |
| 4 | |||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | |||
| 12 | |||
| 13 | |||
| 14 | |||
| 15 |
- Based on the data you have collected, do you think the fraction of days Diego has to wait after the 16th day will be closer to 0.9 or 0.7? Explain or show your reasoning.
-
Continue the simulation for 10 more days. Record your results in this table and on the graph from earlier.
day Does Diego have to wait more than 1 minute? total number of days Diego had to wait fraction of days Diego had to wait 16 17 18 19 20 21 22 23 24 25 Table \(\PageIndex{2}\) - What do you notice about the graph?
- Based on the graph, estimate the probability that Diego will have to wait more than 1 minute to cross the crosswalk.
Are you ready for more?
Let's look at why the values tend to not change much after doing the simulation many times.
-
After doing the simulation 4 times, a group finds that Diego had to wait 3 times. What is an estimate for the probability Diego has to wait based on these results?
- If this group does the simulation 1 more time, what are the two possible outcomes for the fifth simulation?
- For each possibility, estimate the probability Diego has to wait.
- What are the differences between the possible estimates after 5 simulations and the estimate after 4 simulations?
-
After doing the simulation 20 times, this group finds that Diego had to wait 15 times. What is an estimate for the probability Diego has to wait based on these results?
- If this group does the simulation 1 more time, what are the two possible outcomes for the twenty-first simulation?
- For each possibility, estimate the probability Diego has to wait.
- What are the differences between the possible estimates after 21 simulations and the estimate after 20 simulations?
- Use these results to explain why a single result after many simulations does not affect the estimate as much as a single result after only a few simulations.
Exercise \(\PageIndex{3}\): Designing Experiments
For each situation, describe a chance experiment that would fairly represent it.
- Six people are going out to lunch together. One of them will be selected at random to choose which restaurant to go to. Who gets to choose?
- After a robot stands up, it is equally likely to step forward with its left foot or its right foot. Which foot will it use for its first step?
- In a computer game, there are three tunnels. Each time the level loads, the computer randomly selects one of the tunnels to lead to the castle. Which tunnel is it?
- Your school is taking 4 buses of students on a field trip. Will you be assigned to the same bus that your math teacher is riding on?
Summary
Sometimes it is easier to estimate a probability by doing a simulation . A simulation is an experiment that approximates a situation in the real world. Simulations are useful when it is hard or time-consuming to gather enough information to estimate the probability of some event.
For example, imagine Andre has to transfer from one bus to another on the way to his music lesson. Most of the time he makes the transfer just fine, but sometimes the first bus is late and he misses the second bus. We could set up a simulation with slips of paper in a bag. Each paper is marked with a time when the first bus arrives at the transfer point. We select slips at random from the bag. After many trials, we calculate the fraction of the times that he missed the bus to estimate the probability that he will miss the bus on a given day.
Glossary Entries
Definition: Chance Experiment
A chance experiment is something you can do over and over again, and you don’t know what will happen each time.
For example, each time you spin the spinner, it could land on red, yellow, blue, or green.
Definition: Event
An event is a set of one or more outcomes in a chance experiment. For example, if we roll a number cube, there are six possible outcomes.
Examples of events are “rolling a number less than 3,” “rolling an even number,” or “rolling a 5.”
Definition: Outcome
An outcome of a chance experiment is one of the things that can happen when you do the experiment. For example, the possible outcomes of tossing a coin are heads and tails.
Definition: Probability
The probability of an event is a number that tells how likely it is to happen. A probability of 1 means the event will always happen. A probability of 0 means the event will never happen.
For example, the probability of selecting a moon block at random from this bag is \(\frac{4}{5}\).
Definition: Random
Outcomes of a chance experiment are random if they are all equally likely to happen.
Definition: Sample Space
The sample space is the list of every possible outcome for a chance experiment.
For example, the sample space for tossing two coins is:
| heads-heads | tails-heads |
| heads-tails | tails-tails |
Definition: Simulation
A simulation is an experiment that is used to estimate the probability of a real-world event.
For example, suppose the weather forecast says there is a 25% chance of rain. We can simulate this situation with a spinner with four equal sections. If the spinner stops on red, it represents rain. If the spinner stops on any other color, it represents no rain.
Practice
Exercise \(\PageIndex{4}\)
The weather forecast says there is a 75% chance it will rain later today.
- Draw a spinner you could use to simulate this probability.
- Describe another way you could simulate this probability.
Exercise \(\PageIndex{5}\)
An experiment will produce one of ten different outcomes with equal probability for each. Why would using a standard number cube to simulate the experiment be a bad choice?
Exercise \(\PageIndex{6}\)
An ice cream shop offers 40 different flavors. To simulate the most commonly chosen flavor, you could write the name of each flavor on a piece of paper and put it in a bag. Draw from the bag 100 times, and see which flavor is chosen the most. This simulation is not a good way to figure out the most-commonly chosen flavor. Explain why.
Exercise \(\PageIndex{7}\)
Each set of three numbers represents the lengths, in units, of the sides of a triangle. Which set can not be used to make a triangle?
- \(7, 6, 14\)
- \(4, 4, 4\)
- \(6, 6, 2\)
- \(7, 8,13\)
(From Unit 7.2.2)
Exercise \(\PageIndex{8}\)
There is a proportional relationship between a volume measured in cups and the same volume measured in tablespoons. 48 tablespoons is equivalent to 3 cups, as shown in the graph.
- Plot and label some more points that represent the relationship.
- Use a straightedge to draw a line that represents this proportional relationship.
- For which value \(y\) is (\(1,y\)) on the line you just drew?
- What is the constant of proportionality for this relationship?
- Write an equation representing this relationship. Use \(c\) for cups and \(t\) for tablespoons.
(From Unit 2.5.1)