Previous in Forum: Where Have All the Hurricanes Gone?   Next in Forum: O2 Apocalypse
Close
Close
Close
16 comments
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9712
Good Answers: 1113

Interesting Puzzle

09/05/2024 11:00 AM

Here is an interesting puzzle:

"In late January, Daniel Litt(opens a new tab) posed an innocent probability puzzle(opens a new tab) on the social media platform X (formerly known as Twitter) — and set a corner of the Twitterverse on fire.

Imagine, he wrote, that you have an urn filled with 100 balls, some red and some green. You can’t see inside; all you know is that someone determined the number of red balls by picking a number between zero and 100 from a hat. You reach into the urn and pull out a ball. It’s red. If you now pull out a second ball, is it more likely to be red or green (or are the two colors equally likely)?"

https://www.quantamagazine.org/perplexing-the-web-one-probability-puzzle-at-a-time-20240829/

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33172
Good Answers: 1804
#1

Re: Interesting Puzzle

09/05/2024 11:47 AM

50/50

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply Score 1 for Good Answer
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23460
Good Answers: 418
#2
In reply to #1

Re: Interesting Puzzle

09/05/2024 4:36 PM

Only if they are equal number of red vs green balls in the urn... and to be like some of the members that ANALize everything.

As long as there are 50 reds and 50 greens that are mixed. and not that the green balls were put in first and are on the bottom of the urn and the red balls that were put in last are on the top. and they weren't mixed up.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9712
Good Answers: 1113
#3
In reply to #2

Re: Interesting Puzzle

09/05/2024 8:34 PM

All urns used in mathematical puzzles must be certified to allow equal access to all balls contained therein. The 100 balls in the urn can be from all green to some mixture to all red. When you take the one sample, it will be any one of the 100.

Register to Reply
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23460
Good Answers: 418
#4
In reply to #3

Re: Interesting Puzzle

09/05/2024 9:41 PM

but if its 60 reds and 40 blues.. then odds change.

but I had the flu (due to circumstances) when I had statistics back in college.

And at other times, I get bored and stir things up...

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 31998
Good Answers: 837
#5
In reply to #2

Re: Interesting Puzzle

09/06/2024 2:44 AM

There won't be <...equal number of red vs green balls in the urn...> either [at the start] or [after one red ball has been removed]; as both these conditions cannot be true.

One could always pour the contents of the <...urn...> into a cast iron bathtub for a closer look, perhaps.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15494
Good Answers: 957
#8
In reply to #5

Re: Interesting Puzzle

09/06/2024 5:25 PM

The cast iron bathtub has been removed.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply Off Topic (Score 5)
Guru

Join Date: Oct 2006
Location: 44.56024"N 15.307971E
Posts: 7758
Good Answers: 264
#6

Re: Interesting Puzzle

09/06/2024 7:51 AM

If the balls are truly randomly mixed the odds or getting 2 same color balls is 50/50 before you pull out the first ball.After that,the odds of pulling the same color ball next diminish because you now have less balls (49) the same color as the one you pulled,so the odds are weighted in favor of a different color ball.

(If someone kicks the balls,however,they will always be blue.)

__________________
"A man never stands so tall as when he stoops to help a child." "Never argue with a stupid person.They will drag you down to their level and beat you with experience" "Homo homini lupus"
Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9712
Good Answers: 1113
#9
In reply to #6

Re: Interesting Puzzle

09/06/2024 7:59 PM

You are correct. If there are an odd number of balls left after pulling the first ball out, it can't be 50-50, and pulling the second ball out has to be based on the new odds.

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15494
Good Answers: 957
#7

Re: Interesting Puzzle

09/06/2024 12:45 PM

One cannot tell the numeric probability for the next ball color picked without knowing the previous ball distribution. An incremental formula can be made with an incremental unknown variable. However, since the question is "...will it be more likely to be red or green (or are the two colors equally likely)?" The answer is YES it will be more likely that a red or green ball will be pulled because an odd number (99) of balls are in the urn. An equally likely distribution can only happen with an even number of two types of balls. I have no idea if red or green will be more likely but one of them will be more likely.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
2
Guru

Join Date: Jul 2006
Location: Eastern Kansas USA
Posts: 1494
Good Answers: 126
#10

Re: Interesting Puzzle

09/06/2024 11:05 PM

Friends,

We do not know the original number of red or green balls out of the 100, but we know that at least 1 was red. If only 1 was red, the probability of the next one being red is 0/99. Similarly if 2 were red, then 1/99, and so on until if all were red, the probability would be 99/99. So, we have 99 equal chances with probabilities of 0/99 through 99/99. The probability of drawing a red ball is therefore the sum of each of these optional probabilities divided by the number of options which is 100.

Sum of N for N=0 to 99 is 4950. Dividing by 100 options gives 49.5, so we have a probability of 49.5% for the next ball being red.

--JMM

Register to Reply Good Answer (Score 2)
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5786
Good Answers: 314
#13
In reply to #10

Re: Interesting Puzzle

09/11/2024 5:20 AM

GA

But, you have "lost" your /99 in your calculation

0/99 + 1/99 + 2/99 .........+ 99/99 = 50

Now you need to divide by 100 to get ½

The odds are even.

You can check this easily with an earn with 3 balls. After you removed the first red; there are three equal possibilities: two greens; a red and a green, and two reds. The probabilities of another red are now 0/2, 1/2 and 2/2.

Add these up 1½ and divide by 3 = ½

The trick to understanding this is that by drawing the first red you have eliminated the possibility of all greens; the other possibilities are equal. You don't need to start trying to work out how much more likely it is that the earn contained more reds because you have drawn one.

__________________
We are alone in the universe, or, we are not. Either way it's incredible... Adapted from R. Buckminster Fuller/Arthur C. Clarke
Register to Reply
Guru

Join Date: Jul 2006
Location: Eastern Kansas USA
Posts: 1494
Good Answers: 126
#14
In reply to #13

Re: Interesting Puzzle

09/11/2024 10:02 AM

Randall,

I struggled with the divide by 99 or by 100 as I was working this out. I believe you are correct in your 50% probability as the answer.

--JMM

Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9712
Good Answers: 1113
#15
In reply to #14

Re: Interesting Puzzle

09/11/2024 7:18 PM

GA, you nailed the logic - #10

Register to Reply
Participant

Join Date: Nov 2020
Posts: 3
#11

Re: Interesting Puzzle

09/08/2024 2:01 PM

The sum of 0 to 100 is 5050. Half is 2525. The sum of 0 to 70 is 2485. The sum of 0 to 71 is 2556. So, pulling a red ball puts the initial distribution at 50% 71 or more; 50% 70 or less. Therefore the next ball also being red is about 69.57% likely.

Register to Reply
Guru

Join Date: Apr 2010
Location: About 4000 miles from the center of the earth (+/-100 mi)
Posts: 9712
Good Answers: 1113
#12

Re: Interesting Puzzle

09/09/2024 8:47 AM

I decided to write a simulator program to investigate this puzzle, and found that if the inspected ball was red, the urn had more red balls approximately 75% of the time. If the inspected ball was green, the urn had more green balls approximately 75% of the time.

There are 101 different amounts of red balls (0-100) in the urn and 100 different balls that may be chosen, for a total of 101 x 100 = 10100 possibilities, all equally likely. (It doesn't make any difference what order the balls are in, we are only interested in which color has the majority.)

It only takes the computer a couple of seconds to tabulate the urn ball color distribution into 4 groups:

  • red ball selected - red majority in urn - 3624 - (74.73%)
  • green ball selected - red majority in urn - 1225 - (25.27%)
  • green ball selected - green majority in urn - 3775 - (74.75%)
  • red ball selected - green majority in urn - 1275 - (25.25%)

The percentages come out an even 25% & 75% if you put the inspected ball back in before looking at the majority color in the urn (ignoring ties).

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5786
Good Answers: 314
#16

Re: Interesting Puzzle

09/12/2024 10:26 AM

Another perverse way to look at this problem, is to first realise that once the urn is in place with the randomly selected ratio of green and red balls, then the probability of getting either a red or green ball on the first drawing is equal. But, suppose that you remove that first ball without looking at it, then, draw the second ball: isn't that second ball now just a randomly selected ball from the original configuration of the urn, so the chances of it being red or green have to be equal.

In fact because the first choice was random, it doesn't matter whether you look at it or not. Because all of the probabilities apply in exactly the same way to both red and green balls: if the first drawing is red OR green then the chances of the second drawing are even.

You can keep drawing balls 'til the urn is empty, without knowing what the original configuration was the chances are always even.

__________________
We are alone in the universe, or, we are not. Either way it's incredible... Adapted from R. Buckminster Fuller/Arthur C. Clarke
Register to Reply
Register to Reply 16 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Copy to Clipboard

Users who posted comments:

HiTekRedNek (1); jmueller (2); phoenix911 (2); PWSlack (1); Randall (2); redfred (2); Rixter (4); scottdotcom (1); SolarEagle (1)

Previous in Forum: Where Have All the Hurricanes Gone?   Next in Forum: O2 Apocalypse

Advertisement