Answer
See step by step answer for proof
Work Step by Step
There are 9 students in a class, implying that pigeons are 9 students.
a) There are two pigeonholes , male and female, so there are atleast $\left \lceil{\frac{9}{2}}\right \rceil$ =5 males or 5 females.
b) Let us suppose a class has less than three male students. Since, we have total of 9 students this means that there are atleast 9-3=6 females.
If we suppose that class has less than seven female students, then there are more than 9-7=2 male students.
Hence, there are atleast 3 male students or seven female students.