From Rosen’s Discrete Mathematics and Its Applications textbook [1]:
Section 6.3 Exercise 47: There are six runners in the 100-yard dash. How many ways are there for three medals to be awarded if ties are possible? (The runner or runners who finish with the fastest time receive gold medals, the runner or runners who finish with exactly one runner ahead receive silver medals, and the runner or runners who finish with exactly two runners ahead receive bronze medals.)
I think it’s an interesting pedagogical question whether this is a “good problem” or not, at least in an academic setting. I think it could be a good problem… but like so many problems in combinatorics, this one generated quite a bit of confusion– justifiably, in my opinion– solely due to imprecise wording. Try it out for yourself: is the answer 260? Or 450? Or 873?
Before tackling this problem in more detail, I think it’s helpful to back up just a couple of exercises in the same section of the textbook, for a simpler and less ambiguous variant:
Section 6.3 Exercise 45: How many ways are there for a horse race with three horses to finish if ties are possible? [Note: Two or three horses may tie.]
With just three horses, an explicit case analysis isn’t too bad, and is perhaps the intended approach for students in an introductory course, without generating functions or other more heavyweight tools. But students are familiar with recurrence relations at this point, which yields a pretty elegant solution that also generalizes to compute the number of race outcomes for any number
of horses:
Coming back now to awarding medals to runners: although the parenthetical explanation of the rules above seems reasonably clear, the confusion arises in the possible conflict with the statement of the question itself. That is, are we counting only “podiums” where (a) exactly three medals are awarded, despite the rules allowing for more than three runners to receive medals in some cases of ties? Or are we perhaps counting podiums where (b) all three types of medal (gold, silver, and bronze) are awarded, possibly more than one of each type (although per the stated rules this would only ever involve multiple bronze medals, behind exactly one gold and one silver)?
Or are we simply counting podiums where (c) three or more medals are awarded, of three or fewer types, accounting for ties as explained in the subsequent description of the rules? This turns out to be the intended problem, with a modestly complex case analysis described in this top math.stackexchange.com answer… but trying to generalize to more than runners, or worse, to more than
medal types (i.e., steps on the podium), seems daunting.
A recurrence relation can simplify the solution here as well, with counting the number of such podiums:
where if
or
… or answering the other variants with the same recurrence, but with different initial conditions.
Finally, part of the motivation for this post was my lack of knowledge of how this has worked in actual events. Without the clarification in the problem statement, I thought that all runners with the fastest time would receive gold medals, and all runners with the second fastest time would receive silver, and all runners with the third fastest time would receive bronze. That hasn’t been the case at least in the Olympics, although there have been some isolated exceptions.
Reference:
- Rosen, K. H. (2019). Discrete Mathematics and Its Applications (8th ed.). New York, NY: McGraw-Hill. ISBN-13: 978-1-259-67651-2