Skip to content

Mathematics

The Cali Garmo does Math

Archive

Tag: Riddle

On Friday I asked you the following riddle. Assume there are 2 different types of lottery. Lotto A makes you choose 6 numbers out of a possible 75,and lotto B makes you choose 5 numbers out of a possible 60 and 1 ‘mega’ number out of a possible 40. Which lottery gives you the best odds? Original problem here.

I’m sure a lot of you said Lotto B. And this is how you probably came up with the answer:

  • Lotto A: 75 numbers, choose 6, so in order to choose the first number we have 75 options, for the second number, we have 74 options (since we just used up one number), etc. So we get:
    possibilities
  • Lotto B: Out of 60 numbers, choose 5, then out of 40 numbers, choose 1. So the same logic as in lotto A, we get:
    possibilities

Congratulations if you got this far! This is technically correct IF the lottery forced you to choose the numbers in a specific order. The lottery (luckily) doesn’t force you to get the order right though, you can choose the numbers in any order. So then what are the chances for each lotto? Let’s first look at an easier example.

Choose 2 numbers out of 1-10. The first number has 10 choices, the second number has 9 choices. So we get a total of 90 different options (). BUT again the order doesn’t matter. Pretend your numbers were 1 and 7. We’ll call this pair (1,7) for simplicity. Selecting number 1 and then selecting number 7 is the same thing as selecting number 7 and then selecting number 1! So for each pair […(1,7), (1,8), (1,9),(1,10), (2,2), (2,3)…] we have 2 different options. So we must divide 90 by 2 to get the real outcome of 45 different outcomes.

Now let’s take it one step further and pretend we picked a 3rd number. Let’s also pretend this number is the number 4. Earlier we saw that the outcome (1,7) could either show up as 1 then 7, or 7 then 1. Let’s suppose the first occurred (1 then 7), then by adding the number we get 3 different choices as to where to put it: 4 then 1 then 7, 1 then 4 then 7, 1 then 7 then 4. [Note that the same thing can be said if we had chosen 7 then 1]. So this time instead of having possibilities, we have possibilities. [We get 6 by multiplying 2 with 3. 2 since we can have 1 then 7 and 3 since we can put the number 4 first, middle, or last].

Now we can see that if we added a 4th number we would have .

The lottery follows this same principle. So applying this logic, lets reexamine our lottery:

  • Lotto A: Since 6 numbers were chosen we must take our original number and divide appropriately:
    possibilities
  • Lotto B: Since 5 numbers were chosen the first time, and only 1 the second time we must take our original number and divide appropriately:
    possibilities

So you have to buy over 17 million more tickets for Lotto B to give you a guaranteed winning ticket! So if you chose Lotto A, you just won the lotto!

Before the holidays I posted a question to you all to see what you thought. The question was the famous Monty Hall problem where there are 3 doors and a contestant is told 1 has a fabulous prize while the other 2 have goats. The contestant selects a random door and the host reveals one of the doors that have a goat and gives you a chance to switch doors if you want or not. The question was: is it better to keep the original door, switch doors, or are the odds the same? Here’s the link if you want a refresher.

So most people will look at this problem and say the chances are the same whether you switch or keep the same door. The logic usually follows like this: There are 2 doors left. One has a present, the other a goat, so there is a 50% chance that either of them will have a goat. Thus each door has the same probability of having the prize.

Although this is sound logic, there is only one big mistake, the assumption that the 3rd door doesn’t matter. Let’s start from the beginning and work our way up in order to see what the answer is. Since we first choose a random door let’s pretend it’s door A. We now have 3 options: the present is behind door A, the present is behind door B, the present is behind door C.

  1. If the present is behind door A: We chose door A, so the host then chooses either door B or C (both have goats so it doesn’t matter) and opens it. If we switch to either B or C (whichever the host does not choose) then we lose, if we stay on A then we win.
  2. If the present is behind door B: We chose door A, so the host must select door C to reveal the goat. So if we switch to B we win, and if we stay on A then we lose.
  3. If the present is behind door C: We chose door A, so the host must select door B to reveal the goat. So if we switch to C we win, and if we stay on A we lose.

Since those are the only doors available those are only ways of playing. Now let’s look at the winning ratio. If we stayed the same we would have won 1 game. If we switched then we would have won 2 games. So by switching doors you have increased your chances of winning to 66%! So remember to always switch when given a choice!

Time for a pop quiz! Say you are on a game show. You are presented with 3 different doors and are told that 2 of the doors contain goats and the 3rd door contains 6 quadrillion dollars! You are told to choose which door has the money, so you choose door number 1. At this point the game show host turns to you and says, “What a choice! Let’s look at what was behind door number 2. It was a goat! I’ll give you another chance since you know that the second door was a goat. Do you want to stay with door number 1 or switch?” What is the better choice: to stay with door number 1, to switch to door number 3, or do both doors have the same probability of having the goat/money?

Key points:

  • you choose a random door out of 3 doors (2 of which are ‘bad’ and 1 of which are ‘good’)
  • the game show host reveals that one of the other 2 doors is one of the ‘bad’ doors
  • you are asked whether you would like to keep the original door or switch
  • Which is better to stay, to switch, or are both the same chance?

This is called the Monty Hall problem because there used to be a game show back in the day that was put on by a guy named Monty Hall. I’m sure it was a super fun show!!!

[Solution after the holidays!]