Permutations and Combinations |
Consider three distinct objects \(a,b\), and \(c\). We can choose two distinct objects from \(a,b\), and \(c\) with two different approaches:
Definition (Permutation).
A permutation of \(n\) distinct objects is an ordered arrangement or selection of the objects. For a positive integer \(r\leq n\),
an \(r\)-permutation of \(n\) distinct objects is an ordered arrangement or selection of \(r\) distinct objects chosen from these
\(n\) distinct objects. The number of \(r\)-permutations of \(n\) distinct objects is denoted by \(P(n,r)\) or \(^nP_r\).
Theorem.
Let \(n\) and \(r\) be two positive integers and \(r\leq n\). Then
\[P(n,r)=\frac{n!}{(n-r)!}=n(n-1)(n-2)\cdots (n-r+1).\]
Remark.
Example.
Find the number of ways to select the first, second, and third prize winners from 10 contestants.
Solution.
The number of ways to select the first, second, and third prize winners from 10 contestants is
\[P(10,3)=\frac{10!}{(10-3)!}=\frac{10!}{7!}=10\cdot 9 \cdot 8=720.\]
The above answer is basically obtained by the product rule.
Example.
Find the number of permutations of the letters a, b, c, d, e, f, g containing (a) bad, (b) bad and gf.
Solution.
(a) The number of permutations of the letters a, b, c, d, e, f, g containing bad is the number of permutations of 5 objects bad, c, e, f, g which is
\(P(5,5)=5!=120\).
(b) The number of permutations of the letters a, b, c, d, e, f, g containing bad and gf is the number of permutations of 4 objects bad, gf, c, e
which is \(P(4,4)=4!=24\).
Example.
How many ways are there for \(8\) men and \(6\) women to stand in a line so that no two women stand next to each other.
Solution.
First \(8\) men can be ordered in a line in \(8!\) ways. For each of these \(8!\) ordering of men, there are \(9\) places of which \(6\)
would be filled by \(6\) women. This can be done in
\[P(9,6)=\frac{9!}{(9-6)!}=\frac{9!}{3!}\]
ways. By the product rule, the number of ways for \(8\) men and \(6\) women to stand in a line so that no two women stand next to each other is
\[8! \cdot \frac{9!}{3!}=2,438,553,600.\]
Definition (Combination).
For a positive integer \(r\leq n\), an \(r\)-combination of \(n\) distinct objects is an unordered arrangement or selection
of \(r\) distinct objects chosen from these \(n\) distinct objects. The number of \(r\)-combinations of \(n\) distinct objects is denoted by
\(C(n,r)\) or \(\displaystyle\binom{n}{r}\) (read as \(n\) choose \(r\)).
Theorem.
Let \(n\) and \(r\) be two integers and \(0\leq r\leq n\). Then
\[\binom{n}{r}=\frac{P(n,r)}{r!}=\frac{n!}{r!(n-r)!}.\]
Remark.
For integers \(0\leq r\leq n\),
\[\binom{n}{r}=\binom{n}{n-r}.\]
In particular, \(\binom{n}{n}=\binom{n}{0}=1\).
Example.
Find the number of ways to select the top three prize winners from 10 contestants.
Solution.
The number of ways to select the top three prize winners from 10 contestants is
\[\binom{10}{3}=\frac{10!}{3!(10-3)!}=\frac{10!}{3!7!}=\frac{10\cdot 9 \cdot 8}{6}=120.\]
Example.
Suppose \(S\) is a set with 10 elements. Find the number of subsets of \(S\) with odd number of elements.
Solution.
The number of subsets of \(S\) with 1 element is \(\binom{10}{1}\). Similarly the numbers of subsets of \(S\) with 3, 5, 7, and 9 elements
are \(\binom{10}{3}\), \(\binom{10}{5}\), \(\binom{10}{7}\), and \(\binom{10}{9}\) respectively. Thus the number of subsets of \(S\)
with odd number of elements is
\[\binom{10}{1}+\binom{10}{3}+\binom{10}{5}+\binom{10}{7}+\binom{10}{9}=512.\]
Example.
Suppose a department has 5 men and 9 women.
Solution.
Last edited