Difference between revisions of "Permutation"

m (wikify)
Line 1: Line 1:
A '''permutation''' of a set of r objects is any rearrangement of the r objects.  There are <math>\displaystyle r!</math> (the [[factorial]] of r) permutations of a set with r objects.
+
{{stub}}
 +
 
 +
 
 +
A '''permutation''' of a [[set]] of <math>r</math> objects is any rearrangement (linear ordering) of the <math>r</math> objects.  There are <math>\displaystyle r!</math> (the [[factorial]] of <math>r</math>) permutations of a set with <math>r</math> objects.
 +
 
  
An important question is how many ways to pick an r-element subset of a set with n elements, where order matters.  To find how many ways we can do this, note that for the first of the r elements, we have n different objects we can choose from.  For the second element, there are (n-1) objects we can choose, (n-2) for the third, and so on.  In general, the number of ways to permute r objects from a set of n is given by
+
An important question is how many ways to pick an <math>r</math>-element [[subset]] of a set with <math>n</math> elements, where order matters.  To find how many ways we can do this, note that for the first of the <math>r</math> elements, we have <math>n</math> different objects we can choose from.  For the second element, there are <math>n-1</math> objects we can choose, <math>n-2</math> for the third, and so on.  In general, the number of ways to permute <math>r</math> objects from a set of <math>n</math> is given by
 
<math>P(n,r)=n(n-1)(n-2)\cdots(n-r+1)=\frac{n!}{(n-r)!}</math>.
 
<math>P(n,r)=n(n-1)(n-2)\cdots(n-r+1)=\frac{n!}{(n-r)!}</math>.
  
 
== See also ==
 
== See also ==
 
* [[Combinatorics]]
 
* [[Combinatorics]]
 
{{stub}}
 

Revision as of 09:48, 9 August 2006

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


A permutation of a set of $r$ objects is any rearrangement (linear ordering) of the $r$ objects. There are $\displaystyle r!$ (the factorial of $r$) permutations of a set with $r$ objects.


An important question is how many ways to pick an $r$-element subset of a set with $n$ elements, where order matters. To find how many ways we can do this, note that for the first of the $r$ elements, we have $n$ different objects we can choose from. For the second element, there are $n-1$ objects we can choose, $n-2$ for the third, and so on. In general, the number of ways to permute $r$ objects from a set of $n$ is given by $P(n,r)=n(n-1)(n-2)\cdots(n-r+1)=\frac{n!}{(n-r)!}$.

See also