There are $20$ students. $8$ of them are boys while the other $12$ are girls. I have to pick $4$ of them and I need to have at least one boy and one girl in my pick.
There are $4$ spots to choose. Let's name them A, B, C, and D.
- I have $12$ options to choose a girl for the first spot.
- I have $8$ options to choose a boy for the second spot.
- I have $18$ options to choose anyone for the third spot.
- I have $17$ options to choose last person.
From above, I have $12 \cdot 8 \cdot 18 \cdot 17$ which is $29376$. Anyway, the order doesn't matter so I divide $29376$ by $4!$ and get $1224$.
But the answer is $4280$ and they get that number by getting all possibilities of choosing a team ${20 \choose 4}$, then subtract it with possibility of choosing all girls ${12 \choose 4}$ and choosing all boys ${8 \choose 4}$.
I just don't understand why the method I use leads me to an incorrect answer.