[Math] In how many ways can we choose 5 balls from the box so that we have at least one blue ball

combinatoricspermutations

A box has ten blue balls numbered from 1 to 10 and ten green balls numbered from 1 to 10.

In how many ways can we choose 5 balls from the box so that we have at least one blue ball?

I'm trying to do it by subtracting total by no blue balls but I don't think I'm getting the right answer

Has exactly one blue ball–$5*10*10*9*8*7$ (5 because the first step is to chose where the blue ball goes)

is that how you're suppose to do it then do 2 blue balls etc?

Best Answer

The order in which the balls are drawn is irrelevant. Let the green balls have numbers from $1$ to $10$ and the blue balls have numbers from $11$ to $20$.

There are ${20\choose 5}=15\,504$ subsets of five balls from all twenty balls.

There are are ${10\choose 5}=252$ subsets of five balls from these twenty balls, when only the numbers from $1$ to $10$ may occur.

It follows that $15\,504-252={\bf 15\,252}$ subsets of five contain at least one ball with number $>10$.