practice problems
Q1. In a group of 20 students: 5 are Yellow House 7 are Red House 4 are Blue House 4 are Green House How many ways can you choose: (i) 12 kids, such that exactly 3 kids from each house are present. (ii) 10 kids, such that at least 2 kids from each house are present. (iii) 15 kids, such that at least 3 kids from each house are present. S1. Attempt 1: (i) 5C3 * 7C3 * 4C3 * 4C3 (ii) 5C2 * 7C2 * 4C2 * 4C2 * 12C2 (iii) 5C3 * 7C3 * 4C3 * 4C3 * 8C3 In the above attempt, (i) is correct. But (ii) and (iii) are overcounting. Why? In (ii), Let's say we pick A,B from yellow house and the during 12C2 pick C from yellow house. We also have counted the case where we first pick A,C from yellow and then pick B during 12C2. So this is wrong. Same for (iii). Another thought: to use stars and bars where houses are buckets and students are objects. But for stars and bars, the objects have to be same to each other. Here they are distinct. But stars and bars can tell us how many ways are there to group ...