Difference between revisions of "Derangement"

Line 1: Line 1:
A '''derangement''' is a [[permutation]] with no [[fixed point]]s.  A derangement can also be thought of as a permutation in which none of the objects are in their original space.  For example, the derangements of <math>(1,2,3)</math> are <math>(2, 3, 1)</math> and <math>(3, 1, 2)</math>.  The number of derangements of a set of x objects is denoted !x, and is given by the formula:
+
A '''derangement''' is a [[permutation]] with no [[fixed point]]s.  That is, a derangement leaves nothing in its original place.  For example, the derangements of <math>(1,2,3)</math> are <math>(2, 3, 1)</math> and <math>(3, 1, 2)</math>.   
  
 +
The number of derangements of a [[set]] of <math>n</math> objects is sometimes denoted <math>!n</math> and is given by the formula:
  
 +
<math>\displaystyle !n = n! \sum_{k=0}^{n} \frac{(-1)^k}{k!}</math>
  
<math>\displaystyle !x = x! \sum_{k=1}^{n} \frac{-1^k}{k!}</math>
+
Thus, the number derangements of a 3-[[element]] set is <math>3! \cdot \sum_{k = 0}^3 \frac{(-1)^k}{k!} = 6\cdot(\frac{1}{1} - \frac{1}{1} + \frac{1}{2} - \frac{1}{6}) = 2</math>, which we know to be correct.
 
 
 
 
  
 
{{stub}}
 
{{stub}}

Revision as of 16:35, 13 November 2006

A derangement is a permutation with no fixed points. That is, a derangement leaves nothing in its original place. For example, the derangements of $(1,2,3)$ are $(2, 3, 1)$ and $(3, 1, 2)$.

The number of derangements of a set of $n$ objects is sometimes denoted $!n$ and is given by the formula:

$\displaystyle !n = n! \sum_{k=0}^{n} \frac{(-1)^k}{k!}$

Thus, the number derangements of a 3-element set is $3! \cdot \sum_{k = 0}^3 \frac{(-1)^k}{k!} = 6\cdot(\frac{1}{1} - \frac{1}{1} + \frac{1}{2} - \frac{1}{6}) = 2$, which we know to be correct.

This article is a stub. Help us out by expanding it.