Factorials, Permutations and Combinations
Counting how many ways something can happen — without listing every single possibility — is the subject of this chapter. It rests on one foundational principle, builds a compact notation (the factorial) for counting arrangements, and then splits into two distinct counting problems that are routinely confused: permutations, where order matters, and combinations, where it does not. Getting this distinction right is the single most important skill in the chapter, since the two have different formulas and give very different numerical answers for superficially similar questions.
This chapter is also the direct staging ground for the binomial theorem (next chapter), whose coefficients are exactly the combination counts developed here. Have to hand: careful reading of each problem's wording — "arrange," "select," "choose a committee," "form a code" are the verbal signals that distinguish the two counting structures.
1. The Fundamental Counting Principle
Fundamental counting principle. If one task can be done in ways, and a second (independent) task can then be done in ways, the two tasks together can be done in ways.
This extends to any number of independent tasks: multiply the number of choices at each stage.
Worked example. A café offers bread choices, filling choices, and sauce choices for a sandwich. How many different sandwiches are possible?