A jar contains 15 white balls, 25 red balls, 10 blue balls and 20 green balls. What is the minimum number of balls we must draw in order to guarantee we have taken 8 of the same color?
This problem is posed by E C.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
balls* but good answer.
This is the perfect problem for the Pigeon Hole Principle. The Pigeon Hole Principle states that if there are A balls and B boxes, where A is greater than B then at least one box will have more than one ball. Here, we have our balls, and our colors as our boxes. If we wanted to have at least two balls of the same color, we would pull out 5 socks, the first four being white, red, blue, and green. The 5th would have to be one of the colors, thus making two balls the same color. Similarly, we pick out seven of each color, knowing that the next ( 29th ) ball picked out would have to be one of the four colors, making the eighth ball in the color group.
Since we need to draw 8 balls of same colour, the maximum number of balls which we can draw and fail to do that, is to draw 7 balls of each colour, which amounts to 28 balls. So, the minimum number of balls for success should be 29.
IF I AM SORRY PLEASE FORGIVE ME BRO MY QUESTION IS HOW DO YOU KNOW THAT WE MAY DRAW 7 BALLS OF EACH COLOUR PLEASE REPLY
Log in to reply
because that is the last case of failure to draw 8 balls of a particular colour. If you draw even one more ball than 7 balls of each colour, it is guaranteed that you will get 8 balls of one colour, since you already have 7 of each. Do you understand?
Consider the worst possible case, where we draw 7 balls of each of the 4 colours - 28 balls. This means that no matter what ball you draw next, this 29th ball will be the eighth ball of whatever colour it happens to be. So you need to draw at minimum 29 balls to guarantee you have taken 8 of the same colour.
In the worst case, assume that we chose 1 ball from different color i.e., 1 from white , 1 from red , 1 from blue , 1 from green ......Now this can take place for 7 times i.e., 7 x 4 balls = 28 balls ....Now, in the 8th case we can choose any ball as addition of any ball of any color will lead us to at least 8 balls of same color ..... So , in the case where our luck is dead for a while , we will have to choose 28 + 1 = 29 balls to ensure that we have at least 8 balls of same color....
By the generalized pigeonhole principle, we have that we must choose 4 ⋅ ( 8 − 1 ) + 1 = 2 9 .
The worst case is that we keep taking balls, but each consecutive ball is a different colour. That is you take white , then * red , then * blue , then green , then white again...
This repeats until one takes 7 of each colour, or 4 × 7 = 28 balls.
Now, no matter what the colour of the next ball is, we will have 8 balls with the same colour.
Thus we take 28+1 = *29 balls * in total.
para resolver esse tipo de problema devemos pensar na pior das hipóteses que nesse caso seria pegar 28 pedras sendo 7 de cada cor assim a próxima pedra so pode ser a oitava de mesma cor
Na pior da hipóteses, você vai tirar 7 pedras brancas, 7 vermelhas, 7 azuis e 7 verdes. Isso contabiliza 28 pedras. Na próxima jogada tu vai ter que tirar a oitava pedra de qualquer maneira, contabilizando 29 pedras.
If there must be at least 8 of the same color, the worst case would be 7 of any color, 7 of anohter, 7 of another and 8 of another, and that makes 7 + 7 + 7 + 8 = 2 9
We can choose 7balls of each colour then we have to choose 1 ball of any colour. Then we are sure that we will get 8 balls of 1 type. Hence we can say that this the minimum (7*4 +1)=29 balls has to be taken out in order to be sure of getting 8 balls of any colour
Consider the worst case scenario when we have 7 balls of the same color . So we would have taken 28 balls. Taking another one would guarantee that we have 8 balls of the same color. So the minimum number of balls we have to take is 2 8 + 1 = 2 9 .
we took 7 balls of each colour then take any ball. it will be 8 balls of same colour..
SORRY SISTER IF I AM WRONG WHY SHOULD WE TAKE 7 BALLS OF EACH COLOUR
Log in to reply
it is the minimum case.in other cases having more number of balls than minimum case had more than 8 balls of same colour and iam a male
Problem Loading...
Note Loading...
Set Loading...
The maximum number of marbles we could have without getting a total of 8 marbles from any pile is 7 from each, and then we must add 1 to get the answer of 7 × 4 + 1 = 2 9 . Generalization : With n piles of k items, then the number of ways to be sure to pick i items, with i less than k , from the n piles is n ( i − 1 ) + 1 .