Discrete Math: Permutations Without Repetition
Permutations without Repetition
-
How many ways are there to permute $n$ objects in a line?
To permute $n$ distinct objects in a line, we choose an ordering step by step. There are $n$ choices for the first position, $n-1$ for the second, ..., and $1$ for the last. Thus the total number of permutations is:
$$ n(n-1)(n-2)\cdots 1 = n! $$ -
How many ways are there to permute $k$ out of $n$ objects in a line?
To permute $k$ out of $n$ distinct objects in a line, we first choose and then order the objects. There are $n$ choices for the first position, $n-1$ for the second, ..., and $n-k+1$ for the $k$-th position. Thus the total number of ways is:
$$ n(n-1)(n-2)\cdots(n-k+1) $$ This is written using factorials as:
$$ \frac{n!}{(n-k)!} $$ -
How many ways are there to permute $n$ objects in a circle?
To permute $n$ distinct objects in a circle, arrangements that differ only by rotation are considered the same. We fix one object to remove rotational symmetry, leaving $n-1$ objects to arrange in a line. Thus the number of circular permutations is:
$$ (n-1)! $$ -
How many ways are there to permute $k$ out of $n$ objects in a circle?
First choose $k$ objects from $n$:
$$ \binom{n}{k} $$ Then arrange the $k$ chosen objects in a circle:
$$ (k-1)! $$ Thus:
$$ \binom{n}{k}(k-1)! $$ Equivalently:
$$ \frac{n!}{(n-k)!\,k} $$ -
How many ways are there to permute $n$ objects in a line if $z$ of them cannot be adjacent?
First arrange the $n-z$ remaining objects:
$$ (n-z)! $$ These create $n-z+1$ gaps:
$$ \_\,A\,\_\,A\,\_ \cdots A\,\_ $$ Choose $z$ of these gaps and permute the $z$ special objects:
$$ \binom{n-z+1}{z} \cdot z! $$ Thus:
$$ (n-z)! \binom{n-z+1}{z} z! $$ Equivalently:
$$ \frac{(n-z+1)!}{(n-2z+1)!} $$ -
How many ways are there to permute $n$ objects in a circle if $z$ of them cannot be adjacent?
First arrange the $n-z$ non-special objects in a circle:
$$ (n-z-1)! $$ This creates $n-z$ gaps:
$$ \_\,A\,\_\,A\,\_ \cdots A\,\_ $$ Choose $z$ gaps and permute the $z$ special objects:
$$ \binom{n-z}{z}\cdot z! $$ Thus:
$$ (n-z-1)! \binom{n-z}{z} z! $$ Equivalently:
$$ \frac{(n-z)!}{(n-2z)!} $$

Comments
Post a Comment