Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Discrete Mathematics / Counting and structure

Counting: Permutations and Combinations

The product rule, factorials, and choosing with and without order.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Two basic rules
  2. §2Worked examples
  3. ?Check yourself

By the end you can

  • Apply the sum and product rules
  • Count arrangements with permutations
  • Count selections with binomial coefficients

Helps to know: Sets, Relations and Functions

§1Two basic rules

Product rule: if a task is a sequence of choices with mm then nn options, there are mnmn outcomes. Sum rule: if it is one choice from disjoint groups of mm and nn, there are m+nm + n.

P(n,k)=n!(n−k)!(nk)=n!k! (n−k)!P(n, k) = \frac{n!}{(n-k)!} \qquad \binom{n}{k} = \frac{n!}{k!\,(n-k)!}

P(n,k)P(n,k) counts ordered arrangements of kk items from nn. (nk)\binom{n}{k} counts unordered selections: divide by the k!k! orders of each selection.

§2Worked examples

Example 1A committee

How many ways can a 3-person committee be chosen from 10 people?

  1. Order does not matter.

Example 2A podium

How many ways can gold, silver and bronze go to 10 runners?

  1. Order matters.

Check yourself

  1. Q1
    How many 4-letter strings use the letters A–Z with repetition allowed?
  2. Q2
    (62)=\binom{6}{2} =