STEMviz
Mathematics · Algebra, Number Theory and Sequences

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 mm ways, and a second (independent) task can then be done in nn ways, the two tasks together can be done in m×nm\times n ways.

This extends to any number of independent tasks: multiply the number of choices at each stage.

Worked example. A café offers 44 bread choices, 33 filling choices, and 22 sauce choices for a sandwich. How many different sandwiches are possible?

4×3×2=24 sandwiches4\times3\times2 = 24 \text{ sandwiches}

Keep reading: Factorials, Permutations and Combinations

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.