Counting Principles

Lesson · Beginner

Combinatorics

Addition Principle

If a choice can be made in several mutually exclusive ways, the numbers of possibilities are added.

If one option can occur in m ways and another option can occur in n ways, and the two options cannot occur at the same time, then the total number of possibilities is

m+n\boxed{m+n}

More generally,

n1+n2+⋯+nk\boxed{n_1+n_2+\cdots+n_k}

Use the Addition Principle when the problem involves choosing one case OR another case.


Multiplication Principle

If a process consists of several successive choices, multiply the number of possibilities at each step.

If the first step can be completed in m ways and, for each of these, the second step can be completed in n ways, then the entire process can be completed in

mn\boxed{mn}

ways.

More generally, if successive steps have

n1,n2,…,nkn_1,n_2,\ldots,n_k

choices, then the total number of outcomes is

n1n2⋯nk\boxed{n_1n_2\cdots n_k}

Use the Multiplication Principle when the problem involves completing one step AND another step.


Complement Principle

Sometimes it is easier to count all possible outcomes and subtract the outcomes that we do not want.

Desired outcomes=Total outcomes−Undesired outcomes\boxed{\text{Desired outcomes}=\text{Total outcomes}-\text{Undesired outcomes}}

Equivalently, if A is a set of outcomes,

∣A∣=∣U∣−∣Ac∣\boxed{|A|=|U|-|A^c|}

where U is the set of all possible outcomes.

The Complement Principle is especially useful for conditions such as:

• at least one
• not all
• none
• at least one occurrence of a particular type