BIT152 · 2079 · 5 marks
What is generalized pigeonhole principle. If a class has 24 students, what is the maximum number of possible grading that must be done to ensure that there at least two students with the same grade.
What is generalized pigeonhole principle. If a class has 24 students, what is the maximum number of possible grading that must be done to ensure that there at least two students with the same grade. [5]
Generalized Pigeonhole Principle
Given Data
- Number of students in class: $24$
- Grading system: standard grades assumed as ${A, B, C, D, F}$, so number of grade categories $k = 5$
- Required: number of gradings needed to guarantee at least two students share the same grade
Note: The number of distinct grades is not stated in the question. The standard university grading scheme with 5 grades (A, B, C, D, F) is assumed. If a different number of grades is intended, the answer changes accordingly.
Definition
Generalized Pigeonhole Principle:
If $N$ objects are placed into $k$ boxes, then at least one box contains at least $\left\lceil \dfrac{N}{k} \right\rceil$ objects.
Basic Pigeonhole Principle (special case): If $N > k$, then at least one box contains at least $2$ objects.
Solution
Here the grades are the pigeonholes and the students are the objects.
We want at least two students in the same grade category, i.e.
$$\left\lceil \frac{N}{k} \right\rceil \geq 2$$
This is guaranteed when
$$N \geq k + 1$$
Worst-case reasoning: Assign grades one by one. The first $5$ students could each receive a different grade (one per category). The very next student ($6^{th}$) must repeat a grade.
With $k = 5$:
$$N = k + 1 = 5 + 1 = 6$$
$$\boxed{\text{At most } 6 \text{ gradings guarantee two students with the same grade}}$$
Interpretation of "24 students"
The class has $24$ students, which far exceeds the $6$ required. So the class of $24$ students certainly contains repeated grades. Indeed, distributing $24$ students among $5$ grades:
$$\left\lceil \frac{24}{5} \right\rceil = \lceil 4.8 \rceil = 5$$
So with all $24$ students, at least one grade is shared by at least $5$ students. But to merely guarantee two students with the same grade, grading only $6$ students suffices.
Answer: The maximum number of gradings needed is $6$ (using $k = 5$ grades). The number $24$ simply confirms a repetition is unavoidable.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.