Web - Amazon

We provide Linux to the World


We support WINRAR [What is this] - [Download .exe file(s) for Windows]

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
SITEMAP
Audiobooks by Valerio Di Stefano: Single Download - Complete Download [TAR] [WIM] [ZIP] [RAR] - Alphabetical Download  [TAR] [WIM] [ZIP] [RAR] - Download Instructions

Make a donation: IBAN: IT36M0708677020000000008016 - BIC/SWIFT:  ICRAITRRU60 - VALERIO DI STEFANO or
Privacy Policy Cookie Policy Terms and Conditions
Derangement - Wikipedia, the free encyclopedia

Derangement

From Wikipedia, the free encyclopedia

In combinatorial mathematics, a derangement is a permutation that leaves no element unpermuted. That is, it is a bijection φ from a set S into itself with no fixed points: for all x in S, φ(x) ≠ x. A frequent problem is to count the number of derangements as a function of n = |S|, often with additional constraints. This problem was first considered by Pierre Raymond de Montmort in 1708. He solved it in 1713, as did Nicholas Bernoulli at about the same time.

Contents

[edit] Example

Here is a concrete example: an instructor returns graded exams to students named "A", "B", "C", and "D", but neglects to assure that each student gets his or her own test. In how many ways can this be done without any student getting the right paper back? There are 9:

BADC, BCDA, BDAC,
CADB, CDAB, CDBA,
DABC, DCAB, DCBA

In all of the other 15 permutations of this 4-member set, at least one student gets the right paper.

Another version of the problem arises when we ask for the number of ways n letters, each addressed to a different person, can be placed in n pre-addressed envelopes so that no letter appears in the correctly addressed envelope.

[edit] Counting derangements

One approach to counting the derangements of n elements is to use induction. First, note that if φn is any derangement of the natural numbers { 1, ..., n }, then for some k in { 1, ..., n − 1 }, φn(n) = k. Then if we let (kn) be the permutation of { 1, ..., n } which swaps k and n, and we let φn − 1 be the composition ((kn) o φn); then φn−1(n) = n, and either:

  • φn − 1(k) ≠ k, so φn − 1 is a derangement of { 1, ..., n − 1 }, or
  • φn−1(k) = k, and for all xk, φn−1(x) ≠ x.

In the latter case, φn − 1 is then a derangement of the set { 1, ..., n − 1 } excluding k; i.e., the composition φn−2 = ((k,n − 1) o φn − 1 o (k,n−1)) is a derangement of { 1, ..., n − 2 }.

As examples of these two cases, consider the following two derangements of 6 elements as we perform the above described swaps:

514623 → (51432)6; and
215634 → (31542)6 → (3142)56

The above described correspondences are 1-to-1. The converse is also true; there are exactly (n − 1) ways of converting any derangement of n − 1 elements into a derangement of n elements, and (n − 1) ways of converting any derangement of n − 2 elements into a derangement of n elements. For example, if n = 6 and k = 4, we can perform the following conversions of derangements of length 5 and 4, respectively

51432 → 514326 → 514623; and
3142 → 31542 → 315426 → 315624

Thus, if we write dn as the number of derangements of n letters, and we define d0 = 1, d1 = 0; then dn satisfies the recurrence:

d_n = (n - 1) (d_{n-1} + d_{n-2})\,

For small n (starting from n = 2) these numbers are

1, 2, 9, 44, 265, 1854, 14833, 133496, 1334961, 14684570, 176214841, 2290792932 (sequence A000166 in OEIS).

These numbers are also called subfactorial or rencontres numbers.

[edit] Limit as n approaches ∞

Using this recurrence, it can be shown that, in the limit,

\lim_{n\to\infty} {d_n \over n!} = {1 \over e} \approx 0.3679\dots.

This is the limit of the probability pn = dn/n! that a randomly selected permutation is a derangement. The probability approaches this limit quite quickly.

Perhaps a more well-known method of counting derangements uses the inclusion-exclusion principle.

More information about this calculation and the above limit may be found on the page on the statistics of random permutations.

[edit] Generalizations

The problème des rencontres asks how many permutations of a size-n set have exactly k fixed points.

Derangements are an example of the wider field of constrained permutations. For example, the ménage problem asks if n married couples are seated boy-girl-boy-girl-... around a circular table, how many ways can they be seated so that no man is seated next to his wife?

More formally, given sets A and S, and some sets U and V of surjections AS, we often wish to know the number of pairs of functions (f,g) such that f is in U and g is in V, and for all a in A, f(a) ≠ g(a); in other words, where for each f and g, there exists a derangement φ of S such that f(a) = φ(g(a)).

[edit] References

  • de Montmort, P. R. (1708). Essay d'analyse sur les jeux de hazard. Paris: Jacque Quillau. Seconde Edition, Revue & augmentée de plusieurs Lettres. Paris: Jacque Quillau. 1713.

[edit] External links

Our "Network":

Project Gutenberg
https://gutenberg.classicistranieri.com

Encyclopaedia Britannica 1911
https://encyclopaediabritannica.classicistranieri.com

Librivox Audiobooks
https://librivox.classicistranieri.com

Linux Distributions
https://old.classicistranieri.com

Magnatune (MP3 Music)
https://magnatune.classicistranieri.com

Static Wikipedia (June 2008)
https://wikipedia.classicistranieri.com

Static Wikipedia (March 2008)
https://wikipedia2007.classicistranieri.com/mar2008/

Static Wikipedia (2007)
https://wikipedia2007.classicistranieri.com

Static Wikipedia (2006)
https://wikipedia2006.classicistranieri.com

Liber Liber
https://liberliber.classicistranieri.com

ZIM Files for Kiwix
https://zim.classicistranieri.com


Other Websites:

Bach - Goldberg Variations
https://www.goldbergvariations.org

Lazarillo de Tormes
https://www.lazarillodetormes.org

Madame Bovary
https://www.madamebovary.org

Il Fu Mattia Pascal
https://www.mattiapascal.it

The Voice in the Desert
https://www.thevoiceinthedesert.org

Confessione d'un amore fascista
https://www.amorefascista.it

Malinverno
https://www.malinverno.org

Debito formativo
https://www.debitoformativo.it

Adina Spire
https://www.adinaspire.com