The Timpson Lyceum · Discrete Math (2025)
Lists – Lecture 4 (Discrete Math)
Lists – Lecture 4
Overview
This lecture introduces lists as the first kind of collection on the way to a broader study of counting and combinatorial proof. A list is an ordered sequence of objects, where both order and repetition matter — a feature that distinguishes lists from sets. After defining lists and the special case of ordered pairs, the lecture develops the core counting rules for how many lists of a given length can be formed from a fixed pool of options, both with and without repeats. These rules — and the falling-factorial notation — are the two formulas that drive the chapter's counting problems.
Key Concepts
List. An ordered collection of objects, written with parentheses and comma-separated entries, e.g. . An "object" is undefined — it can be anything, including a set or even another list (e.g. is a list of four objects, and is a list of two objects, each itself a list).
Equality of lists. Two lists are equal if and only if they have the same length and agree entry-by-entry: This generalizes to lists of any length: the -th entries must match for every .
- Order matters: .
- Duplicates matter: .
Both properties separate lists from sets, where and repeats are ignored.
Ordered pair. A two-element list. These are everywhere: the coordinate in the -plane is an ordered pair used to signify a point. The point is a geometric object; the pair is just a list. Because order matters, names a different location than .
Counting lists — the two master rules. Let be the number of options available for each position and the length of the list.
-
With repeats (replacement allowed): there are such -element lists. Reasoning: each of the positions independently has choices, giving ( times). For ordered pairs () this is ; e.g. ordered pairs from number .
-
Without repeats (no replacement): there are such -element lists ( falling factors). This is the falling-factorial notation : start at and multiply decreasing terms. The last factor is always .
Why the last factor is . For : start at and take four factors — — and . Similarly .
Connection to factorial. , the falling factorial taken all the way down to .
Two pools of different size (product rule). If the first position has options and the second has options, the number of ordered pairs is For example, first entry from and second from gives pairs.
Combinatorial proof (product rule, ). A representative argument: construct a chart in which each row collects all the pairs sharing a fixed first element. There is one row per first-element choice, so there are rows. For any fixed first element there are ways to choose the second, so each row holds pairs. Thus rows of pairs give pairs total. Such counting proofs are necessarily wordier and less formally rigorous than algebraic proofs (like "even + even = even") — they argue from a clearly described construction rather than pure symbol manipulation.
Two ways to count "no repeats," same answer. Counting ordered pairs from with no repeated entry can be seen as either removing the "diagonal" pairs from the full grid, , or as rows each shortened to entries, . These agree: . Different intuitions, identical result — there is no single "right" way to count.
Worked Example
Problem. A club of 10 people elects a president, vice-president, secretary, and treasurer (no one holds two offices). How many ways?
This is a 4-element list with no repeats drawn from options, so apply the falling-factorial rule with , :
Each office is filled in turn — 10 choices for president, then 9 remaining for vice-president, 8 for secretary, 7 for treasurer — and the last factor is , exactly as the notation predicts. (On a test, leaving the answer as or is preferred over the multiplied-out number, since it shows the counting reasoning.)
A useful sanity check on the formula's edges: selecting 5 objects from a bag of 3 without replacement is a 5-element list from , i.e. — correctly reporting that it cannot be done, since the third factor hits .
Summary
- A list is an ordered collection of objects; order and duplicates both matter, so .
- Lists are equal exactly when they match length and agree entry-by-entry; an ordered pair is just a two-element list (like an -coordinate).
- Number of -element lists from options with repeats: .
- Number of -element lists from options without repeats: the falling factorial , whose last factor is ; note .
- With two positions drawing from pools of size and , the product rule gives ordered pairs, justified by a chart of rows with entries each.
- The same count often has several valid derivations (e.g. ); the formulas even stay self-consistent in impossible cases, returning .