Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: August 3, 2025, 1:23 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Probability question: names in hats
#15
RE: Probability question: names in hats
(March 14, 2016 at 5:45 am)robvalue Wrote: This is a question someone posed to me many years ago. It may be well known, and the answer might be on the internet. I would ask that if anyone does go look it up, that they please don't spoil it for everyone else (and me) by posting the solution here.

I have as yet been unable to solve this, not that I've been trying constantly! I put a few hours into it here and there, and I felt I was coming close but came up empty. Here is the question:

There are ten people, who each write their name on a piece of paper. These are then all put into a hat.

Each of the ten people, in turn, select a name from the hat using the following rule: (the order of the people is not important)

1) They select a piece of paper at random from those remaining in the hat.
2) If the name is not their own name, they keep the piece of paper.
3) If the name is their own name, they pick again randomly, and then return their name to the hat.

The question is: what is the probability that the tenth person is left with their own name in the hat?

Drawing a tree diagram will drive you insane! It's the "putting back your own name" that really makes this a tough puzzle. Regular probability and combination tricks don't apply as neatly.

Sorry if I'm covering familiar ground but I don't want to read any other responses until I try this myself.

Seems to me that there is some chance that every person who went before might have drawn the last person's name.  So when you come to the ninth person there is very little chance either name left in the hat belongs to the tenth person.  But I see no reason to think the probability is zero.  Perhaps this problem calls for a straight up calculation of probability rather than simply logic.  

If you want to know what the probability is of an 80% free throw shooter making all three free throws after getting fouled on a long attempt you would just multiply 8/10 • 8/10 • 8/10 to get 512/1000, so slightly better than 50/50.

So the probability that the last guy gets his own name would be the product of the probabilities of each preceding person not drawing his name. The probability for the first person not to have wound up with the last person's name would be 8 out of nine possible. (I'm excluding his own name since that isn't a possible keeper.) Continuing in this way we get:

Person 1: 8/9
Person 2: 7/8
Person 3: 6/7
.
.
.
Person 9: 1/2

So the probability of the last guy drawing his own name would be the product of all these probabilities =8/9 • 7/8 • ... • 2/3 • 1/2

Since the numerator of each person's probability is cancelled by the denominator the next person's probability the product reduces to 1/9, which is the answer to the problem.
Reply



Messages In This Thread
Probability question: names in hats - by robvalue - March 14, 2016 at 5:45 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 6:06 am
RE: Probability question: names in hats - by Mr.wizard - March 14, 2016 at 6:58 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 7:03 am
RE: Probability question: names in hats - by Mr.wizard - March 14, 2016 at 7:08 am
RE: Probability question: names in hats - by ignoramus - March 14, 2016 at 7:03 am
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 11:18 am
RE: Probability question: names in hats - by ignoramus - March 14, 2016 at 7:19 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 7:47 am
RE: Probability question: names in hats - by Aractus - March 14, 2016 at 8:13 am
RE: Probability question: names in hats - by Aractus - March 15, 2016 at 12:26 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 8:29 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 11:02 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 11:12 am
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 11:59 pm
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 11:13 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 11:17 am
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 11:22 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 11:25 am
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 11:42 am
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 1:50 pm
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 11:45 am
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 12:40 pm
RE: Probability question: names in hats - by brewer - March 14, 2016 at 1:05 pm
RE: Probability question: names in hats - by Chas - March 14, 2016 at 1:54 pm
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 2:00 pm
RE: Probability question: names in hats - by Chas - March 14, 2016 at 3:04 pm
RE: Probability question: names in hats - by Chas - March 14, 2016 at 11:17 pm
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 2:05 pm
RE: Probability question: names in hats - by robvalue - March 14, 2016 at 2:09 pm
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 9:24 pm
RE: Probability question: names in hats - by Chas - March 14, 2016 at 11:48 pm
RE: Probability question: names in hats - by ignoramus - March 14, 2016 at 11:31 pm
RE: Probability question: names in hats - by Chas - March 14, 2016 at 11:47 pm
RE: Probability question: names in hats - by Whateverist - March 14, 2016 at 11:51 pm
RE: Probability question: names in hats - by Silver - March 15, 2016 at 12:02 am
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 3:06 am
RE: Probability question: names in hats - by Whateverist - March 15, 2016 at 11:23 am
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 11:35 am
RE: Probability question: names in hats - by Whateverist - March 15, 2016 at 11:55 am
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 12:00 pm
RE: Probability question: names in hats - by Whateverist - March 15, 2016 at 1:10 pm
RE: Probability question: names in hats - by Aractus - March 15, 2016 at 12:52 pm
RE: Probability question: names in hats - by Whateverist - March 15, 2016 at 1:23 pm
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 12:56 pm
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 1:19 pm
RE: Probability question: names in hats - by Whateverist - March 15, 2016 at 1:31 pm
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 1:26 pm
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 1:35 pm
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 1:38 pm
RE: Probability question: names in hats - by robvalue - March 15, 2016 at 1:52 pm
RE: Probability question: names in hats - by Whateverist - March 15, 2016 at 5:34 pm
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 2:44 am
RE: Probability question: names in hats - by Whateverist - March 16, 2016 at 3:06 am
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 3:21 am
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 4:21 am
RE: Probability question: names in hats - by ignoramus - March 16, 2016 at 4:52 am
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 5:03 am
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 5:54 am
RE: Probability question: names in hats - by Cyberman - March 16, 2016 at 7:50 am
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 8:13 am
RE: Probability question: names in hats - by Whateverist - March 16, 2016 at 8:16 am
RE: Probability question: names in hats - by robvalue - March 16, 2016 at 8:19 am
RE: Probability question: names in hats - by emjay - March 17, 2016 at 10:38 am
RE: Probability question: names in hats - by Aractus - March 18, 2016 at 12:30 am
RE: Probability question: names in hats - by Whateverist - March 18, 2016 at 1:34 am
RE: Probability question: names in hats - by Aractus - March 18, 2016 at 1:44 am
RE: Probability question: names in hats - by robvalue - March 18, 2016 at 7:50 am
RE: Probability question: names in hats - by Whateverist - March 18, 2016 at 7:59 am
RE: Probability question: names in hats - by robvalue - March 18, 2016 at 8:22 am
RE: Probability question: names in hats - by robvalue - March 19, 2016 at 12:58 pm
RE: Probability question: names in hats - by robvalue - March 19, 2016 at 2:25 pm
RE: Probability question: names in hats - by emjay - March 19, 2016 at 6:39 pm

Possibly Related Threads...
Thread Author Replies Views Last Post
  What's the probability that 3 out of 23 people will share the same birthday? FlatAssembler 28 6442 February 16, 2022 at 12:15 am
Last Post: Paleophyte
  Frog probability Aractus 17 5355 April 22, 2016 at 9:16 pm
Last Post: Aractus
  The role of probability in solving the Monty Hall problem Excited Penguin 209 26503 March 15, 2016 at 4:30 am
Last Post: robvalue
  The probability of the accuracy of probability itself? Etc. Edwardo Piet 15 7958 February 9, 2009 at 1:54 pm
Last Post: chatpilot
  Evidence and probability go hand in hand? Edwardo Piet 13 7139 November 7, 2008 at 9:46 am
Last Post: Darwinian
  Probability and Evidence. Edwardo Piet 9 7103 October 15, 2008 at 2:15 pm
Last Post: josef rosenkranz



Users browsing this thread: 1 Guest(s)