Combinations
So far, we have looked at problems asking us to put objects in order. There are many problems in which we want to select a few objects from a group of objects, but we do not care about the order. When we are selecting objects and the order does not matter, we are dealing with combinations. A selection of [latex]r[/latex] objects from a set of [latex]n[/latex] objects where the order does not matter can be written as [latex]C\left(n,r\right)[/latex]. Just as with permutations, [latex]\text{C}\left(n,r\right)[/latex] can also be written as [latex]{}_{n}{C}_{r}[/latex]. In this case, the general formula is as follows.
[latex]\text{C}\left(n,r\right)=\dfrac{n!}{r!\left(n-r\right)!}[/latex]
formula for combinations of [latex]n[/latex] distinct objects
Given [latex]n[/latex] distinct objects, the number of ways to select [latex]r[/latex] objects where the order does not matter from the set is
[latex]\text{C}\left(n,r\right) = {}_{n}{C}_{r} =\dfrac{n!}{r!\left(n-r\right)!}[/latex]
[latex]\\[/latex]
To find the number of ways to select [latex]3[/latex] of the [latex]4[/latex] paintings, disregarding the order of the paintings, divide the number of permutations by the number of ways to order [latex]3[/latex] paintings.
[latex]\\[/latex]
There are [latex]3!=3\cdot 2\cdot 1=6[/latex] ways to order [latex]3[/latex] paintings.Thus, there are [latex]\frac{24}{6} = 4[/latex] ways to select [latex]3[/latex] of the [latex]4[/latex] paintings.
[latex]\\[/latex]
Using the formula:
[latex]\text{C}\left(4,3\right) = {}_{4}{C}_{3} =\dfrac{4!}{3!\left(4-3\right)!} = \dfrac{4 \cdot 3 \cdot 2 \cdot 1}{(3 \cdot 2 \cdot 1)(1)} = \dfrac{24}{6} = 4[/latex] ways.
- Permutations (order matters), [latex]P(n, r)=\dfrac{n!}{(n-r)!}[/latex]
- Combinations (order does not matter), [latex]C(n, r)=\dfrac{n!}{r!(n-r)!}[/latex]
The formula for combinations is the formula for permutations with the number of ways to order [latex]r[/latex] objects divided away from the result.
- How many ways can you select your side dishes?
- How many ways can you select [latex]3[/latex] side dishes?