Theory
Combinatorics
Count selections and arrangements without listing them all. Learn how to recognize when a quiz question calls for the multiplication principle, permutations, ordered selections, or combinations.
The fundamental counting principle
1. Multiplication principle
Combinatorics studies how to count the ways to select or arrange objects without listing them one by one. Its basic tool is the multiplication principle, also called the fundamental counting principle. Suppose a choice has two successive stages. If there are ways to complete the first stage and, for each of them, ways to complete the second, the number of ways to complete both stages is
because each of the choices in the first stage can be paired with choices in the second. The complete choices therefore form groups of choices each. The principle extends to more stages. A restaurant offers first courses, main courses, and desserts, so a meal consisting of one of each can be chosen in ways.
Tree diagrams
A tree diagram shows the choices at each stage. Draw one branch from the starting point for each possible choice at the first stage. From the end of each branch, draw one branch for each possible choice at the second stage, and continue in the same way. Every path from the starting point to an endpoint represents a complete choice, so counting the endpoints counts the choices. With first courses, pasta and rice, and main courses, meat, fish, and vegetables, the tree has branches at the first stage and branches from each of those. There are complete choices.
A tree diagram also helps when the number of choices at one stage depends on the choice made at the previous stage. In that case the multiplication principle does not apply directly. Count the endpoints of the tree instead.
2. Addition principle
Suppose the possible choices fall into two nonoverlapping groups, with choices in the first and in the second. The total number of choices is
The addition principle applies when making a single choice from different alternatives. The multiplication principle applies when making several choices in succession. Someone traveling from Rome to Milan can take one of morning trains or one of flights, giving possibilities. Someone taking a train from Rome to Milan and then a bus from Milan to Como, with buses available, has possibilities.
Factorials and permutations
1. Factorials
The factorial of a natural number is the product of all the natural numbers from through . It is written .
By convention, . The first few values are , , , , , and . Factorials grow rapidly, but we can simplify a quotient without evaluating each factorial in full because . For example,
2. Permutations of distinct objects
A permutation of distinct objects is a way to arrange them all in a row, that is, to put them in order. The number of permutations of objects is
The formula follows from the multiplication principle. There are choices for the first position, objects left for the second, for the third, and so on until just one object remains for the last position. Permutations count the ways to arrange people in line, books on a shelf, or exams on a schedule. Five people can line up at a service counter in different ways.
Permutations of three letters
There are permutations of the letters , , and .
The first two start with , the next two with , and the last two with . Once the first letter is fixed, the other two can be arranged in ways, giving permutations.
Permutations with restrictions
When certain objects must be next to each other, treat them as a single block. Suppose Anna and Bruno must stand next to each other in a line of people. Their block and the other people make items that can be arranged in ways. Within the block, Anna and Bruno can stand in orders. By the multiplication principle, the number of lineups is
When one object has a fixed position, only the others need to be arranged. If Anna must stand first, there are lineups.
Seating people around a round table
At a round table, seatings that differ only by a rotation can be considered identical. Each person has the same neighbor on the right and the same neighbor on the left in both seatings. With this convention, fix one person’s seat and arrange the other people, giving seatings. Six friends can sit around a round table in ways. If rotations are considered different, for example because the seats are numbered, there are seatings.
End of the free preview
The theory of this topic continues with 8 more sections
- Permutations with repeated objects
- Ordered selections without repetition
- Ordered selections with repetition
- Combinations and binomial coefficients
- Choosing a counting method
- Counting by complements
- Quick methods for quizzes
- Keep studying
Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.
Unlock Maths for exams · €29Read the first 3 worked examples in this chapter for free.