Statistics, Sets and Logic · Siblings

Many counting problems choose $k$ different objects from a set of $n$ objects, and the result is either a permutation or a combination. A permutation is an ordered list of the chosen objects, so $(A, B)$ and $(B, A)$ are different permutations. A combination is the set of the chosen objects, with no order, so $\setdef{A, B}$ and $\setdef{B, A}$ are the same combination. For the numbers of permutations and combinations, see $P(n, k)$ vs. $\binom{n}{k}$.

Definitions

permutation

Elementary

A permutation of a list of items is another list that has the same objects in a different order.

High school

Consider a set of $n$ objects and a number $k \leq n$. A permutation of $k$ of the $n$ objects is an ordered list of $k$ different objects from the set, in which the order of the objects matters.

Undergraduate (combinatorics)

Consider a set $S$ with $n$ elements and a number $k \leq n$. A $k$-permutation of $S$ is an injective function

\[\sigma : \setdef{1, \dots, k} \to S,\]

which lists the elements $\sigma(1), \dots, \sigma(k)$ in order. A permutation of $S$ is an $n$-permutation of $S$, which is the same as a bijective function from $\setdef{1, \dots, n}$ to $S$.

Examples
Non-examples
Properties
  • The number of permutations of $k$ of $n$ objects is $P(n, k) = n! / (n - k)!$, and the number of permutations of all $n$ objects is $n!$.

combination

High school

Consider a set of $n$ objects and a number $k \leq n$. A combination of $k$ of the $n$ objects is a selection of $k$ different objects from the set, in which the order of the objects does not matter.

Undergraduate (combinatorics)

Consider a set $S$ with $n$ elements and a number $k \leq n$. A $k$-combination of $S$ is a subset of $S$ with $k$ elements.

Examples
Non-examples
Properties
  • The number of combinations of $k$ of $n$ objects is the binomial coefficient $\binom{n}{k}$, read “$n$ choose $k$.”
  • Each combination of $k$ objects can be put in order in $k!$ ways, so each combination corresponds to $k!$ permutations.

Examples

Notes

  • The everyday word “combination,” as in a “combination lock,” usually means a permutation, because the order of the numbers matters.

A combination is written as a set, like ${A, B, C}$, because the order does not matter, whereas a permutation is written as a list or a tuple, like $(A, B, C)$ or $(C, B, A)$ because the order does matter.

See also

All distinctions · All definitions