Results for derangement
On this page:
 
Sci-Tech Dictionary:

derangement

(di′rānj·mənt)

(mathematics) A permutation of a finite set of elements that carries no element of the set into itself.


 
 
Thesaurus: derangement

noun

  1. A lack of order or regular arrangement: chaos, clutter, confusedness, confusion, disarrangement, disarray, disorder, disorderedness, disorderliness, disorganization, jumble, mess, mix-up, muddle, muss, scramble, topsy-turviness, tumble. Slang snafu. See order/disorder.
  2. Serious mental illness or disorder impairing a person's capacity to function normally and safely: brainsickness, craziness, dementia, disturbance, insaneness, insanity, lunacy, madness, mental illness, psychopathy, unbalance. Psychiatry mania. Psychology aberration, alienation. See sane/insane.

 
Medical Dictionary: de·range·ment
(dĭ-rānj'mənt)
n.
  1. Disturbance of the regular order or arrangement of parts in a system.
  2. Mental disorder; insanity.
de·range' v.
 
WordNet: derangement
Note: click on a word meaning below to see its connections and related words.

The noun has 2 meanings:

Meaning #1: a state of mental disturbance and disorientation
  Synonyms: mental unsoundness, unbalance

Meaning #2: the act of disturbing the mind or body
  Synonyms: upset, overthrow


 
Wikipedia: derangement

In combinatorial mathematics, a derangement is a permutation in which none of the elements of the set appear in their original positions. 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 the number of elements of the set, often with additional constraints; these numbers are called subfactorials and are a special case of the rencontres numbers. The problem of counting derangements was first considered by Pierre Raymond de Montmort in 1708; he solved it in 1713, as did Nicholas Bernoulli at about the same time.

Example

Suppose that a professor has graded 4 tests for 4 students. The first student, or student A, received an "A" on his test, student B received a "B", and so on. However, he mixed up the tests when handing them back and now none of the students has his own test. How many ways could he have mixed them all up in this way? Out of 24 possible permutations for handing back the tests, there are only 9 derangements.

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

In all of the other 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.

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
315624 → (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})\,

and also

d_n = n d_{n-1} + (-1)^{n} , \quad n\geq 1

Notice that this same recurrence formula also works for factorials with different starting values. That is 0! = 1, 1! = 1 and

n! = (n - 1) ((n-1)! + (n-2)!)\,

which is helpful in proving the limit relationship with e below.

Also, the following formulas are known [Hassani, M. "Derangements and Applications." J. Integer Seq. 6, No. 03.1.2, 1-8, 2003]:

d_n = \left\lfloor\frac{n!+1}{e}\right\rfloor , \quad n\geq 1
d_n = \left\lfloor(e+e^{-1})n!\right\rfloor-\lfloor en!\rfloor , \quad n\geq 2.

Starting with n = 0, the numbers of derangements, dn, are:

1, 0, 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.

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.

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 (fg) 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)).

Another generalization is the following problem:

How many anagrams with no fixed letters of a given word are there?

For instance, for a word made of only two different letters, say n letters A and m letters B, the answer is, of course, 1 or 0 according whether n = m or not, for the only way to form an anagram without fixed letters is to exchange all the A with B, which is possible if and only if n = m. In the general case, for a word with n1 letters X1, n2 letters X2, ..., nr letters Xr it turns out (after a proper use of the inclusion-exclusion formula) that the answer has the form:

\int_0^\infty P_{n_1} (x) P_{n_2}(x)\cdots P_{n_r}(x) e^{-x}\, dx,

for a certain sequence of polynomials Pn, where Pn has degree n. But the above answer for the case r = 2 gives an orthogonality relation, whence the Pn's are the Laguerre polynomials (up to a sign that is easily decided).

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.

External links


 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "derangement" at WikiAnswers.

 

Copyrights:

Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved.  Read more
Thesaurus. Roget's II: The New Thesaurus, Third Edition by the Editors of the American Heritage® Dictionary Copyright © 1995 by Houghton Mifflin Company. Published by Houghton Mifflin Company. All rights reserved.  Read more
Medical Dictionary. The American Heritage® Stedman's Medical Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Company Read more
WordNet. WordNet 1.7.1 Copyright © 2001 by Princeton University. All rights reserved.  Read more
Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Derangement" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: