Statistics & Probability · Grades 10, 11

Permutations and Combinations

Quick answer

When outcomes are too many to list, count them. The counting principle multiplies the choices at each step. A permutation counts arrangements where order matters; a combination counts selections where it does not, and it divides the permutation count by the number of ways to reorder each selection. A probability is then the favorable count over the total count.

What you'll learn

  • Use the counting principle and factorials
  • Decide whether a situation calls for a permutation or a combination
  • Compute probabilities of compound events by counting

The counting principle

A restaurant offers 33 appetizers, 55 main courses and 22 desserts. How many three-course meals are possible?

Every appetizer can pair with every main course, and each of those pairs with every dessert:

3×5×2=303 \times 5 \times 2 = 30

That is the fundamental counting principle: when choices are made in steps, the total number of outcomes is the product of the number of choices at each step.

It works because each choice branches the ones before it. A tree diagram with 33 branches, then 55 from each, then 22 from each, ends in 3030 leaves.

Factorials: arranging everything

In how many orders can 55 books stand on a shelf?

The first spot has 55 choices, the next 44, then 33, 22 and 11:

5×4×3×2×1=1205 \times 4 \times 3 \times 2 \times 1 = 120

That product is written 5!5! and read “five factorial”.

n!=n×(n−1)×⋯×2×1n! = n \times (n - 1) \times \dots \times 2 \times 1

By definition 0!=10! = 1 — there is exactly one way to arrange nothing, and the definition makes every formula below work at the edges.

Permutations: order matters

A club of 88 members elects a president, a vice president and a treasurer. How many results are possible?

Order matters: Ana as president and Ben as treasurer is different from the reverse. Choose one role at a time:

8×7×6=3368 \times 7 \times 6 = 336

This is a permutation — an arrangement of 33 items chosen from 88. The general count is

nPr=n×(n−1)×⋯×(n−r+1)=n!(n−r)!{}_{n}P_{r} = n \times (n-1) \times \dots \times (n - r + 1) = \frac{n!}{(n - r)!}

The factorial form looks longer but says the same thing: start with all n!n! arrangements, and divide away the (n−r)!(n - r)! orderings of the people not chosen, which do not matter.

Why a combination divides by r!

The same club instead picks a committee of 33, with no roles. How many committees are possible?

Now Ana, Ben and Cal form one committee, however they are listed. The 336336 permutations count every committee several times — once for each way to order its three members, and 33 people can be ordered in 3!=63! = 6 ways.

3366=56\frac{336}{6} = 56

That is a combination:

nCr=(nr)=n!r! (n−r)!{}_{n}C_{r} = \binom{n}{r} = \frac{n!}{r!\,(n - r)!}

A combination is a permutation with the reorderings divided out. Every group of rr appears r!r! times among the permutations, so dividing by r!r! leaves each group counted once.

Deciding which to use

Swap two of the chosen items and ask whether the outcome changed.

SituationSwap two — different outcome?Use
gold, silver and bronze medalsyespermutation
a 44-digit lock codeyespermutation
a 55-card poker handnocombination
choosing 33 toppings for a pizzanocombination
seating 66 people in a rowyespermutation

Counting to find probabilities

When outcomes are equally likely:

P(event)=number of favorable outcomestotal number of outcomesP(\text{event}) = \frac{\text{number of favorable outcomes}}{\text{total number of outcomes}}

Counting fills in both numbers.

A committee of 22 is chosen at random from 44 girls and 66 boys. Find the probability both are girls.

total=(102)=45favorable=(42)=6\text{total} = \binom{10}{2} = 45 \qquad \text{favorable} = \binom{4}{2} = 6 P(both girls)=645=215P(\text{both girls}) = \frac{6}{45} = \frac{2}{15}

The same answer comes from the multiplication rule: 410×39=1290=215\tfrac{4}{10} \times \tfrac{3}{9} = \tfrac{12}{90} = \tfrac{2}{15}. Two methods agreeing is a strong check, and whichever is shorter for a given problem is the one to use.

Worked examples

Common mistakes

Practice problems

  1. Find 4!4!.

    Answer

    2424

    Full solution

    4×3×2×1=244 \times 3 \times 2 \times 1 = 24.

  2. A sandwich shop offers 44 breads and 66 fillings. How many one-bread, one-filling sandwiches are possible?

    Answer

    2424

    Full solution

    4×6=244 \times 6 = 24.

  3. How many ways can a president and a secretary be chosen from 1212 people?

    Answer

    132132

    Full solution

    Order matters: 12×11=13212 \times 11 = 132.

  4. How many ways can 22 people be chosen from 1212 for a team?

    Answer

    6666

    Full solution

    Order does not matter: 1322=66\tfrac{132}{2} = 66.

  5. Find (52)\binom{5}{2}.

    Answer

    1010

    Full solution

    5×42×1=10\tfrac{5 \times 4}{2 \times 1} = 10.

  6. Is choosing 33 flavors of ice cream for a cup a permutation or a combination?

    Answer

    A combination

    Full solution

    The same three flavors make the same cup in any order.

  7. How many 44-digit codes can be made from the digits 00–99 if digits may repeat?

    Answer

    10,00010{,}000

    Full solution

    1010 choices for each of 44 positions: 10410^4.

  8. A bag holds 55 red and 33 blue marbles. Two are drawn at random. Find the probability both are red, by counting.

    Hint

    How many pairs are there in all, and how many of them are red pairs?

    Answer

    514\tfrac{5}{14}

    Full solution

    Total pairs: (82)=28\binom{8}{2} = 28.

    Red pairs: (52)=10\binom{5}{2} = 10.

    P(both red)=1028=514P(\text{both red}) = \tfrac{10}{28} = \tfrac{5}{14}.

    The multiplication rule agrees: 58×47=2056=514\tfrac{5}{8} \times \tfrac{4}{7} = \tfrac{20}{56} = \tfrac{5}{14}.

  9. A lottery draws 66 numbers from 4949, in any order. How many tickets are possible, and what is the chance one ticket wins?

    Answer

    13,983,81613{,}983{,}816 tickets; a chance of 11 in 13,983,81613{,}983{,}816

    Full solution

    Order does not matter, so count combinations: (496)=13,983,816\binom{49}{6} = 13{,}983{,}816.

    Exactly one of those combinations wins, so the probability is 113,983,816\tfrac{1}{13{,}983{,}816} — about 0.000000070.00000007.

  10. Asked how many 33-person committees can be formed from 77 people, Leo answers 7×6×5=2107 \times 6 \times 5 = 210. Find his error.

    Hint

    How many times does his count include the committee of Ana, Ben and Cal?

    Answer

    He counted ordered selections. A committee has no order, so the answer is 2106=35\tfrac{210}{6} = 35.

    Full solution

    7×6×57 \times 6 \times 5 counts permutations — ordered picks of first, second and third member.

    Any one committee appears in that count once for every order of its members. Three people can be ordered in 3!=63! = 6 ways, so each committee was counted 66 times.

    Dividing out the repeats: 2106=35\tfrac{210}{6} = 35, which is (73)\binom{7}{3}.

Frequently asked questions

What is the difference between a permutation and a combination?

In a permutation, order matters: first, second and third place are different outcomes. In a combination, order does not: a group of three is the same group in any order.

What is the formula for combinations?

nCr = n! / (r!(n − r)!). It is the number of permutations divided by r!, the number of ways to arrange each group.

What is a factorial?

n! is the product of every whole number from n down to 1. For example, 4! = 4 × 3 × 2 × 1 = 24. By definition, 0! = 1.

What is the counting principle?

If one choice can be made in m ways and a second in n ways, the pair can be made in m × n ways.

How do I know whether order matters?

Swap two of the chosen items. If that gives a different outcome — a different ranking, code or seating — order matters.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.HSS.CP.B.9Conditional Probability and the Rules of Probability(+) Use permutations and combinations to compute probabilities of compound events and solve problems.