Good Day!
I was doing some combinatorics problems when I got stuck.
The problem was:
Suppose that a teacher selects 4 students from 5 boys and 4 girls. If at least one boy and one girl must be selected, then the number of distinct selecting ways is ----.
Now, I went to solve this problem like this:
We first select the minimum boys and girls needed. That would be 4 $\cdot$ 5. Now we select the rest of the 2 students which is ${7 \choose 2}$. Applying the multiplication principle, it is $20$ $\cdot$ $ 21 $ = $420$.
However, the correct answer is 120 which is done by considering the separate cases:
- $3$ boys, $1$ girl
- $2$ boys, $2$ girls
- $1$ boys, $3$ girls
and then applying combinations.
What am I doing wrong?
Thanks
Consider there are 4 people : A, B, C and D. Now you want to choose 2 persons. In how many ways you can do this?
One straightforward way is ${4 \choose 2} = 6 $. So possible pairs will be AB, AC, AD, BC, BD and CD.
Another way, you first select one person and then select another person from remaining. So total there are $4 \times 3 = 12$ choices are there. But wait, there will be over counting in this method. All possible cases will be, AB, AC, AD (if first selected person is A), BA, BC, BD (if first selected person is B) and so on. So there are some pairs which are getting counted more than once.
Try to relate these two approaches to methods for that question.