Probability of shuffling properly

W5nIGluIHN1bW1hcml6ZXIgYW5kIGFjY2VzcyB0aGlzOiBJbiB0aGUgY2xhc3NpYyBcIk1hdGNoaW5nIFByb2JsZW1cIiBmaXJzdCBzb2x2ZWQgYnkgTW9udG1vcnQgaW4gMTcwOC4gVGhlIGFuc3dlciBpcyBcIm1hdGNoaW5nIHRvIHJlYXJvbmdpdHkgdGhlbSB3aGVy
  • #1
Pzi
26
0
Hello.

I don't know whether I'm tired or stupid, but today I cannot comprehend this:

There are N paintings in the house (and exactly N spots to place them). All paintings are then taken and randomly placed again. What is the probability that no painting is in its original location?

There are N! different ways to rearrange them when no restrictions are applied (it's very obvious). I don't know how to proceed.
 
Physics news on Phys.org
  • #2
Pzi said:
Hello.

I don't know whether I'm tired or stupid, but today I cannot comprehend this:

There are N paintings in the house (and exactly N spots to place them). All paintings are then taken and randomly placed again. What is the probability that no painting is in its original location?

There are N! different ways to rearrange them when no restrictions are applied (it's very obvious). I don't know how to proceed.

This is the classical "Matching Problem", first solved by Montmort in 1708. The answer is
[tex]P\{ \text{no match}\} = 1 - 1 + \frac{1}{2!} - \frac{1}{3!} + \frac{1}{4!} - \cdots \pm \frac{1}{N!}.[/tex] Note that these are the first N+1 terms in the expansion of [itex]\exp(-1) =
e^{-1},[/itex] where e is the base of the natural logarithms: e ≈ 2.71828... . Thus, for moderate to large N, P{no match} ≈ 0.36788. Note that there is about a 37% chance of no match, whether N is 10 or 10 million. (Furthermore, one can show that the exact expected number of matches is 1 for all N, so the expected number of matches is 1 whether N is 10 or 10 million.)

Google 'matching problem+probability' for more details.

RGV
 

FAQ: Probability of shuffling properly

What is the definition of "Probability of shuffling properly"?

The probability of shuffling properly refers to the likelihood of a deck of cards being randomly mixed in such a way that every card has an equal chance of being in any position in the deck.

How is the probability of shuffling properly calculated?

The probability of shuffling properly is calculated by taking the number of possible shuffling combinations that result in a properly shuffled deck and dividing it by the total number of possible shuffling combinations.

What factors can affect the probability of shuffling properly?

Factors that can affect the probability of shuffling properly include the number of cards in the deck, the shuffling technique used, and the skill level of the person shuffling.

Is it possible for a deck of cards to never be properly shuffled?

While it is theoretically possible for a deck of cards to never be properly shuffled, the probability of this happening is incredibly low. In fact, it has been estimated that it would take more shuffling attempts than there are atoms on Earth for a deck of cards to be shuffled in the exact same order twice.

How does the probability of shuffling properly relate to other areas of probability and statistics?

The probability of shuffling properly is a fundamental concept in probability and statistics, as it can be used to understand the likelihood of random events occurring. It also has applications in fields such as cryptography, where the randomness of shuffling is important for ensuring the security of certain algorithms.

Back
Top