There are at most 2 0 0 9 balls, consisting of white balls and blue balls at random inside a locker. If two balls are taken randomly without returning, it is known that the probability which the two balls are both white or both blue are 2 1 . Whay is the maximum number of white ball might be in the drawer so that the statement about the probability of still holds?
Details and Assumption! This problem is not original. I take it from OSN Matematika SMA year 2009 Problem 5 Day 2 (English: Senior High School National Science Olympiad in Mathematics Field yr. 2009 Problem 5 Day 2)
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.
Let there be n balls, of which w are white and n − w are blue.
We would like to express w as a function of n . The above expression simplifies:
We can find acceptable values of w by using the quadratic formula:
The above expression simplifies:
This tells us two things:
Therefore, n must be the largest perfect square that is less than or equal to 2009. This is 4 4 2 = 1 9 3 6 .
So:
Just to check our work, we can calculate the probability to pick two white balls or two blue balls under this configuration:
Very Clear and Good Answer!!! Even the first time I carelessly answer this
Problem Loading...
Note Loading...
Set Loading...
Let there be w white balls and b blue balls. The probability that both balls are of the same color is 2 1 , so the complement event that both balls have different colors is 1 − 2 1 = 2 1 . But the probability that both balls have different colors is simply ( 2 w + b ) w b . Thus,
( 2 w + b ) w b = 2 1
( w + b ) 2 − ( w + b ) w b = 4 1
( w + b ) 2 − ( w + b ) = 4 w b
( w + b ) 2 − 4 w b = w + b
( w − b ) 2 = w + b
Clearly it's better to take w − b ≥ 0 to maximize w (taking w − b ≤ 0 maximizes b instead), so w − b = w + b instead of − w + b .
We want to maximize w = 2 ( w + b ) + ( w − b ) = 2 ( w + b ) + w + b . Since the latter is a monotonically increasing function on w + b , we need to maximize w + b . But we are given that w + b ≤ 2 0 0 9 and that it is the square of an integer (namely the square of w − b ). Thus we obtain w + b = 4 4 2 = 1 9 3 6 , as the next square is 4 5 2 = 2 0 2 5 > 2 0 0 9 , and so w = 2 1 9 3 6 + 1 9 3 6 = 9 9 0 .