Probability of shuffling properly

  • Thread starter Thread starter Pzi
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary
SUMMARY

The probability of randomly rearranging N paintings such that none are in their original locations is defined by the classical "Matching Problem," first solved by Montmort in 1708. The formula for this probability is P{no match} = 1 - 1 + 1/2! - 1/3! + 1/4! - ... ± 1/N!, which converges to approximately 0.36788 for large N. This indicates a consistent 37% chance of no matches occurring, regardless of whether N is 10 or 10 million. Additionally, the expected number of matches remains constant at 1 for any value of N.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with factorial notation (N!)
  • Basic knowledge of probability theory
  • Concept of the exponential function and its properties
NEXT STEPS
  • Research the "Derangement" concept in combinatorics
  • Study the properties of the exponential function, particularly e^-1
  • Explore advanced probability theory applications in combinatorial problems
  • Investigate the historical context and significance of Montmort's work
USEFUL FOR

Mathematicians, statisticians, computer scientists, and anyone interested in probability theory and combinatorial mathematics.

Pzi
Messages
26
Reaction score
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
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) =<br /> 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
 

Similar threads

Replies
31
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
16
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
29
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
23
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K