Probability of shuffling properly

  • Thread starter Thread starter Pzi
  • Start date Start date
  • Tags Tags
    Probability
AI Thread Summary
The probability of randomly rearranging N paintings such that none are in their original location is a classic problem known as the "Matching Problem." The solution involves a series expansion that approximates the probability as P{no match} ≈ 0.36788 for large N, indicating a roughly 37% chance of no matches occurring. This result remains consistent regardless of the number of paintings, whether it's 10 or 10 million. Additionally, the expected number of matches is always 1, highlighting a unique characteristic of this probability scenario. Understanding this concept can provide deeper insights into combinatorial probability.
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
P\{ \text{no match}\} = 1 - 1 + \frac{1}{2!} - \frac{1}{3!} + \frac{1}{4!} - \cdots \pm \frac{1}{N!}. Note that these are the first N+1 terms in the expansion of \exp(-1) =<br /> e^{-1}, 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
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top