Six volunteers are available for three speaking roles, opening, demonstration and closing, and nobody may take two roles. A lineup records who is chosen and which role each person fills, so A opening and B demonstrating is a different lineup from B opening and A demonstrating. How many lineups are there, and how many of them include a particular volunteer? This lesson counts ordered arrangements of distinct objects, introduces factorial notation, and shows how seating people around a circle changes which arrangements count as different.
Key terms
Permutation
Definition A permutation of distinct objects is an arrangement of all of them in a row, that is, an ordered list in which each object appears exactly once. More generally, an ordered selection of of the objects without replacement is an -permutation, also called a partial permutation. Two permutations are the same exactly when every position holds the same object. The counts on this page assume the objects are distinct. If two objects carry the same label, exchanging them leaves the list unchanged, so these counts are too large whenever at least one object is placed.
In plain words A permutation is an ordering. Order matters whenever the positions or roles can be told apart, so swapping two chosen objects produces a different outcome.
Example The three letters A, B and C have six permutations, ABC, ACB, BAC, BCA, CAB and CBA. The letters A, A and B, with two identical labels, form only three different strings, AAB, ABA and BAA, so a count of six would be wrong for them.
Factorial
Definition For a positive integer , the factorial of is
It is the number of permutations of distinct objects. By the product rule, the first position has options, the second has , and so on down to a single option for the last position. Factorials satisfy the recurrence for every integer , and also for once is defined.
In plain words The factorial of a positive whole number multiplies it by every smaller positive whole number. The exclamation mark is only notation. Factorials grow very fast, for example .
Example Six volunteers can stand in a line in orders. Four books can stand on a shelf in orders.
Zero factorial
Definition Zero factorial is defined as . Two facts support this choice. An empty collection has exactly one arrangement, the empty list, in which no placements are made. Also, the recurrence at reads , which forces . Factorials of negative integers are not defined.
In plain words There is exactly one way to arrange nothing. Zero factorial is 1, not 0, and that value keeps the counting formulas correct at their edges.
Example Filling 6 ordered roles from 6 volunteers with the partial permutation formula below gives , the number of full lineups. The answer comes out right because . With the value 0 the expression would not even be defined.
Partial permutation
Definition For integers , the number of ordered selections of objects from distinct objects without replacement is
The symbol is a count, not a probability. Dividing by cancels the unused factors of and leaves its first factors, the product . The case gives , and the case gives 1, the single empty selection. If , no such selection exists, because the objects run out, and the factorial formula does not apply since is not defined.
In plain words Fill distinguishable positions one at a time from a pool that starts with objects and shrinks by one at each step, and stop after factors.
Example Three ordered roles from six volunteers give lineups. If volunteer A must open, the other two roles can be filled in ways. If A must appear in some role, A’s role can be chosen in 3 ways and the other two roles filled in ways, giving 60 lineups. A complement count agrees, since lineups omit A and . Now suppose a lineup is chosen uniformly from the 120. Let be the event that A opens and the event that A appears in some role. Then
These probabilities rest on the uniform assumption. An organizer who prefers experienced volunteers for the opening role changes the probabilities while the count of valid lineups stays 120.
Circular arrangement
Definition A circular arrangement of distinct objects places them around a circle whose positions are not labeled, and two placements count as the same when one is a rotation of the other. The number of circular arrangements is
because each circular arrangement, read in a fixed direction, gives exactly of the linear lists, one for each choice of starting object. Equivalently, fix one object as a reference point and arrange the other in order around it. This convention counts a seating and its mirror image separately whenever they differ. For they always differ, because a rotation keeps each person’s left and right neighbors while a reflection swaps them, and with three or more people those two neighbors are different people. If mirror images are also identified, the count for is . If the seats are numbered, the positions are distinguishable again and the count is .
In plain words Around an unlabeled circle only the relative order matters, so turning everyone together does not create a new seating. The phrase “around a table” does not settle the convention by itself, so state whether rotations, reflections or both count as the same.
Example Six people around an unlabeled round table, with rotations identified and mirror images kept distinct, can be seated in ways. Identifying mirror images as well gives seatings, and six numbered chairs give assignments.
Check yourself
- Compute without writing out either factorial in full, and describe a counting problem it answers.
Show the answer
The factors from 6 down to 1 cancel, leaving . This is , the number of ordered selections of 2 objects from 8 distinct objects. For example, it counts the ways to choose a president and a vice president from 8 club members when one person cannot hold both offices.
- Seven distinct volunteers fill four distinct roles, and no one takes two roles. Count all assignments, the assignments with volunteer G in the final role, and the assignments that omit G. If an assignment is chosen uniformly from all valid ones, what is the probability that G is included?
Show the answer
There are assignments. With G fixed in the final role, the other three roles have fillings. Omitting G leaves six volunteers for four roles, so assignments omit G, and include G. A direct count agrees, since G can take any of the 4 roles and each choice leaves 120 fillings, and . Hence
- Five people, A and B among them, are seated in two ways, first in a row of five chairs and then around an unlabeled round table where rotations count as the same seating. In each case, how many seatings put A and B next to each other, and what is the probability of that under uniform seating?
Show the answer
In the row, glue A and B into one block. The block and the other three people form 4 units with orders, and the block itself has 2 internal orders, so of the seatings put them together. The probability is .
Around the table there are seatings. Fix A as the reference point. Then B must take one of the 2 seats beside A, and the other three people fill the remaining seats in ways, so 12 seatings put them together. The probability is .
The answers differ because the line and the circle are different outcome sets. In the row, a person at either end has only one neighbor, while around the table everyone has two.