Jump to content

Chance calculation

Featured Replies

If you have an ordered list of numbers and you randomly change them what is the chance that at least one number will stay on its previous position?

 

Or more practically if you give everyone a number and you let them blindly pick a number. What is the chance that at least one persons picks his/her own number again.

  • Author

It looks right for n=2 and n=3

but n=1 should be 1.

and if n is very large than the change that at least one stays at its current position is very high.

 

So if I have a cube of water and give it a good (random) shake.

Then I can say it is very likely that at least one molecule arrived on it's previous position.

That sounds a bit weird?

The working is

 

Prob(>= 1) = 1 -P(0) = 1 - (n-1!/n!) = 1 - (1/n) for n> 1

 

In the case of n = 1, P(>= 1) = 1 - 0/1 = 1. The failure comes from definition of 0! = 1

  • Author

Thanks for the explanation

1-((n-1)!/n!) looks more right because it doesn't look too simple ;)

Quite right uncool - I do apologise. I didn't consider that there are two types of numbers after one has been chosen.Those whose positions are taken and those whose positions aren't

  • Author

Thanks uncool.

My weird 'feeling' example feels much more right now :)

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.