Actuarial Notes

Combinatorics

Study guides: Exam P-1, Exam MAS-I, Exam ACIA-CAPSTONE

Combinatorics is the branch of discrete mathematics that counts the ways to arrange, select or partition objects. In probability, combinatorics is used to count the number of outcomes in an event E.

The idea How you count outcomes depends on two questions: does the order of the objects matter, and can an object be chosen more than once?

The number of ways to choose k objects from n distinct objects is:

Without replacement With replacement
Order matters Permutation: {}_{n}P_{k} = \frac{n!}{(n-k)!} n^k
Order does not matter Combination: \binom{n}{k} = \frac{n!}{k!\,(n-k)!} \binom{n+k-1}{k}

How many ways are there to choose 2 letters from \?

  • Order matters, without replacement: 6 outcomes, AB, BA, AC, CA, BC, CB.
  • Order does not matter, without replacement: 3 outcomes, \{A, B\}, \{A, C\}, \{B, C\}.
  • Order matters, with replacement: 9 outcomes, the 6 above plus AA, BB, CC.
  • Order does not matter, with replacement: 6 outcomes, \{A, B\}, \{A, C\}, \{B, C\}, \{A, A\}, \{B, B\}, \{C, C\}.

The multiplication principle

The multiplication principle states that if an outcome is built in k consecutive steps, with

  • m_1 choices at the first step,
  • m_2 choices at the second step,
  • and so on, up to m_k choices at the kth step,

then the total number of outcomes is

m_1 \times m_2 \times \cdots \times m_k

If you have 5 shirts and 4 pairs of pants, how many outfits can you create?

  • There are 5 \times 4 = 20 different outfits.

Derangements

A derangement is a permutation of n items with no fixed point: no item stays in its original position. The number of derangements of n items is written D_n. By inclusion-exclusion over the items that stay in place, it is

D_n = n!\sum_{k=0}^{n}\frac{(-1)^k}{k!}

The probability that a random permutation of n items has no fixed point is D_n/n!.

Four letters are put at random into their four addressed envelopes. What is the probability that no letter is in its own envelope?

  • The number of derangements is D_4 = 4!\left(1 - 1 + \tfrac{1}{2} - \tfrac{1}{6} + \tfrac{1}{24}\right) = 9.
  • There are 4! = 24 ways to fill the envelopes.
  • The probability is 9/24 = 0.375.

Symmetry in a random arrangement

In a uniformly random seating or ordering, each person is equally likely to be in any position. So one person's position can be fixed without loss of generality; another given person is then equally likely to occupy each of the remaining positions.

Five people sit at random in a row of five seats. What is the probability that Ann and Bob sit next to each other?

  • Fix Ann's seat. Bob is equally likely to be in each of the other 4 seats.
  • If Ann is at an end (probability \tfrac{2}{5}), 1 of Bob's 4 seats is next to her. If Ann is in the middle three (probability \tfrac{3}{5}), 2 of them are.
  • The probability is \tfrac{2}{5} \times \tfrac{1}{4} + \tfrac{3}{5} \times \tfrac{2}{4} = \tfrac{8}{20} = 0.4.

Practice questions

Actuarial Notes