Intuition, Confidence, Simulation, Calculation: The MonTI Hall Problem and Python on the TI-Nspire™ CX II Graphing Calculator
Posted 10/28/2022 by Steve Phelps (@MathTechCoach)
Origins of the Monty Hall problems
“Let’s Make a Deal” was a variety game show that started in 1963 and was co-created and co-produced by Monty Hall. The format of “Let’s Make a Deal” involves selected members of the studio audience making deals with the host. The audience member would typically be offered something of value and given a choice of whether to keep it or exchange it for a different item that may or may not be of greater value.
The Monty Hall problem is presented as a probability puzzle loosely based on this show and named after its original host, Monty Hall. The puzzle is presented like this:
You are given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door and the host, who knows what’s behind the doors, opens another door which has a goat. He then says to you, “Do you want to switch your pick to the unopened door?”
Is it to your advantage to switch your choice? |
If you know about this problem and you know the answer, feel free to skip ahead!
An instructional arc for teaching probability
Probability is one of those content areas that seems to get pushed to the end of the year, right before state testing. With the time crunch, the focus for teaching probability tends to fall on calculation instead of helping students to develop a sense of randomness. Just about any mathematics topic can have a degree of randomness inserted without sacrificing content. Furthermore, it’s that randomness that catches the interest of the students and gives them an opportunity to be invested in the outcome.
How can we accomplish this? By following the instructional arc of
- Intuition
- Confidence
- Simulation
- Calculation
This instructional arc is a mashup of an instructional arc I learned from Allan Rossman years ago at Serenbe down in Georgia and from playing the dice game Borel with my students.
Intuition
Intuition is all about giving kids a chance to stake a claim as to how likely or unlikely a random outcome is. It is all about what your gut tells you! Is it certain? Very likely? Somewhat likely? Somewhat unlikely? Very unlikely? Will not happen? For the Monty Hall problem, it is what you think is the answer to the question. Notice I am not asking for a number or a probability or a percentage. Just a degree of likeliness.
For the Monty Hall problem, it is about what your gut is telling you about switching doors. Should you switch doors? Or should you stick with the door you chose? Or does it even matter? Make a commitment to one of these answers by writing it down.
Confidence
How confident are you in what your gut is telling you? This could be on a scale from 1 (not confident) to 4 (very confident). Or it could be in the form of a “stat coin” wager. Would you wager 800 stat coins? 400 stat coins? 200? 100?
On a scale of 1 (not confident) to 4 (very confident), how confident are you in your answer to the question “should you switch doors?” Make a commitment to your answer by writing it down!
Simulation
Simulations give students and adults alike the opportunity to revise their original intuition as a result of experiencing a number of single simulated outcomes using the TI-84 Plus CE Python or the TI-Nspire™ CX II graphing calculators. You could generate random numbers on either handheld to simulate the rolls of dice. And now, you can write powerful and quick Python scripts on either graphing calculator to explore random outcomes of thousands of trials.
Here is a simulation that will run one trial of the Monty Hall simulation, prompting you about switching or not. Thinking about the game, you will win if you originally pick the door where the car is and you decide not to switch. You will also win if you originally pick a door with a goat and you switch to the unopened door, which must have the car behind it. This is the logic behind the IF statement on line 9 in the code below.
if (car==playerPick and not switch) or (car != playerPick and switch):
Based upon the results of this once-at-a-time simulation, do you want to revise your initial response to the problem? Are you surprised? Perhaps more — many more — trials are in order.
In this simulation, we run the single Monty Hall simulation 10,000 times. Our choice is to always switch (switch = True). We will repeat this 10,000 trial simulation 100 times and plot the resulting number of wins out of 10,000 trials each time. We appear to win 6,669.69 times on average out of 10,000 trials. You can change the switch variable to False in order to not switch during the simulation.
As you can see in the dot plot of the results, each dot in the plot represents the number of times you win by switching in each of the 10,000 Monty Hall simulations. Even though there is an outlier, most of the dots seem to be clustered around 6,670 wins (the mean number of wins out of 10,000 single Monty Hall simulations is 6,669.69 wins).
In fact, the middle 50% of wins falls between approximately 6,640 wins and 6,700 wins.
Calculation
This is the last step in the instructional arc of teaching probability, and I think it should be the last step since, in many ways, this might be the least important step when it comes to helping a student develop their reasoning about probability and randomness.
Calculations do not always need to be carried out by hand. An easy way to see that you win the car ⅔ of the time by switching doors is by a tree diagram or a chart. In this chart, we can analyze all nine scenarios that could occur and when you win (or lose) by switching doors. You can see that you win six out of nine times. Ultimately, you only lose if you pick the car door to start (unknown to you) with and switch away from it (also unknown to you).
Conclusion
The Monty Hall problem is one of those probability puzzles that is easy to understand. Its paradoxical nature is surprising as well as counterintuitive, and that is one of the hooks that captures students’ attention. Most people (adults and students) experiencing this problem for the first time think the probability of winning when you switch in just ½. Even after listing all nine possible outcomes, it is still hard to believe the true probability of winning when switching doors is ⅔. With Python on the TI-Nspire™ CX II graphing calculator, students can be guided to create a Python program to run thousands of simulations quickly and can help to convince them that the probability of winning is indeed ⅔. Check out the one we used here for the Monty Hall problem. Download the .tns file for the Monty Hall problem.
If you were intrigued by this blog and wish to learn more about how to use the Monty Hall problem in your classroom, check out the on-demand webinar “Let’s Make a Deal — Exploring the MonTI Hall Problem and Its Variations.”
About the author: Steve Phelps is a T³™ National Instructor and is entering his 32nd year in education. After serving the past three years as an instructional technology consultant for the Hamilton County ESC, he has moved into a new role as an instructional technology coach, a math coach, and a math and computer science teacher for Mariemont City Schools in Cincinnati. He is active on Twitter (@MathTechCoach) where you can connect with him there.
Tagcloud
Archive
- 2024
-
2023
- January (3)
- February (3)
- March (5)
- April (3)
- May (3)
- June (3)
- July (2)
-
August (6)
- 5 Ways to Spruce Up Your Classroom for Back to School
- Day of the Dog: Which Dog Is Roundest?
- Women Who Code: A TI Intern’s Fascinating STEM Journey
- 6 Sensational TI Resources to Jump-Start Your School Year
- 3 Back-to-School Math Activities to Reenergize Your Students
- A New School Year — A New You(Tube)!
- September (2)
- October (3)
- November (1)
- 2022
-
2021
- January (2)
- February (3)
- March (5)
-
April (7)
- Top Tips for Tackling the SAT® with the TI-84 Plus CE
- Monday Night Calculus With Steve Kokoska and Tom Dick
- Which TI Calculator for the SAT® and Why?
- Top Tips From a Math Teacher for Taking the Online AP® Exam
- Celebrate National Robotics Week With Supervised Teardowns
- How To Use the TI-84 Plus Family of Graphing Calculators To Succeed on the ACT®
- AP® Statistics: 6 Math Functions You Must Know for the TI-84 Plus
- May (1)
- June (3)
- July (2)
- August (5)
- September (2)
-
October (4)
- Transformation Graphing — the Families of Functions Modular Video Series to the Rescue!
- Top 3 Halloween-Themed Classroom Activities
- In Honor of National Chemistry Week, 5 “Organic” Ways to Incorporate TI Technology Into Chemistry Class
- 5 Spook-tacular Ways to Bring the Halloween “Spirits” Into Your Classroom
- November (4)
- December (1)
-
2020
- January (2)
- February (1)
- March (3)
- April (1)
- May (2)
- July (1)
- August (2)
- September (3)
-
October (7)
- Tips for Teachers in the time of COVID-19
- Top 10 Features of TI-84 Plus for Taking the ACT®
- TI Codes Contest Winners Revealed
- Best of Chemistry Activities for the Fall Semester
- Best of Biology Activities for the Fall Semester
- Best of Physics Activities for the Fall Semester
- Best of Middle Grades Science Activities
- November (1)
- December (2)
- 2019
-
2018
- January (1)
- February (5)
- March (4)
- April (5)
- May (4)
- June (4)
- July (4)
- August (4)
- September (5)
-
October (9)
- Art in Chemistry
- Which Texas Instruments (TI) Calculator for the ACT® and Why?
- Meet TI Teacher of the Month: Jessica Kohout
- Innovation in Biology
- Learning With Your Students
- A first-of-its-kind STEM strategy charts path to help educators
- #NCTMregionals Hartford 2018 Recap
- The Math Behind “Going Viral”
- Real-World Applications of Chemistry
-
November (8)
- Testing Tips: Using Calculators on Class Assessments
- Girls in STEM: A Personal Perspective
- 5 Teachers You Should Be Following on Instagram Right Now
- Meet TI Teacher of the Month: Katie England
- End-of-Marking Period Feedback Is a Two-Way Street
- #NCTMregionals Kansas City 2018 Recap
- Slope: It Shouldn’t Just Be a Formula
- Hit a high note exploring the math behind music
- December (5)
- 2017
- 2016
- 2015