13
$\begingroup$

So our six year old son comes home from 1st grade with the following math puzzle.

Your Aunt is having a baby. You have created a party game for a baby shower. It is called pick the gender. You put pink and blue tiles into a bag. You ask two guests to pick one tile each out of the bag without looking. You tell your guests that if they are the same color, player A wins and if they are two different colors, then player B wins.

How many tiles of which colors did you put into the bag to make sure that both players have an equal chance of winning?

Putting aside the obvious fact that this seems way too hard for a 1st grader it got us thinking... Is there a clever way to solve this problem that doesn't involve guessing lots of ugly combinations?

Let $P$ = Number of Pink Balls, $B$ = Number of Blue balls.

It seems to me that the probability of Player "B" winning is

$\left(\frac{P}{P+B}\right)\left(\frac{B}{P+B-1}\right) + \left(\frac{B}{P+B}\right)\left(\frac{P}{P+B-1}\right)$

In a fair game this probability is 50%.

$\frac{2PB}{(P+B)(P+B-1)} = \frac{1}{2}$

Or $(P+B-1)(P+B)=4PB$

At this point we're stuck. We notice a few random facts but can't put it all together. For example, either $(P+B)$ or $(P+B-1)$ is divisible by four and the other one is an odd number. We can also rearrange the terms to show that $4PB+P+B$ is a square.

Can anyone out in math exchange land help us with a solution that does not involve fancy-pants math and does not involve a lot of guessing, spraying and praying? It just seems like there ought to be an elegant solution...

  • 2
    Ok, on further review I see that the original poster did actually do some math with adding and multiplying probabilities. Just want to add that this is a part of a set of problems on one topic called "Problem of the Month", and this particular problem is at level D, which is suggested for eighth and ninth graders, not first graders, like level A.2013-04-26

3 Answers 3

11

$(P+B-1)(P+B)=4PB$ is equivalent to

$(P-B)^2=P+B $

Let $x:=P-B$ then $P+B=x^2$.

Solving Yields $P= \frac{x^2+x}{2}$ and $B= \frac{x^2-x}{2}$, where $x$ needs to be an integer....(Note that $x$ can also be negative). Note that this generates all solutions.

Thanks to Henning who pointed the small mistake.

  • 0
    My mistake, will edit it :)2011-10-05
7

Say there are $p$ pink balls and $b$ blue balls; then the number of pairs of balls of the same color is $p(p-1)+b(b-1)$ and the total number of pairs of balls is $(p+b)(p+b-1)$. We want the second of these to be twice the first, giving

$ 2 [p(p-1)+b(b-1)] = (p+b)(p+b-1). $

After much rearrangement, this is equivalent to

$ (p-b)^2 = p+b $.

So the total number of balls must be the square of the difference between the number of balls of each color. Let $p + b = n^2$, and assume $p>b$; then we have $p+b = n^2, p-b = n$ which gives $p = (n^2+n)/2, b = (n^2-n)/2$; all the solutions are of this form or of the reverse form. Furthermore we must have $n \ge 2$; if $n = 0$ or $n = 1$ there aren't enough tiles to play the game. In particular the solutions are

$ (p,b) = (3,1), (6,3), (10,6), (15,10), \cdots $

and their reversals $(1,3), (3,6), \cdots$. I agree that it would be quite difficult for a first grader to come up with any of these solutions.

  • 0
    That's a good point. I'll edit to reflect this.2011-10-05
3

Probably it's supposed to be solved by trial and error with small numbers. Empirically, I find quickly that $(P,B)=(1,3)$ works, and no combinations of 2 or 3 balls in total do.

If we number the blue balls B1, B2, B3, it is fairly simple to write down all ways to pick two balls:

P+B1    B1+B3 P+B2    B2+B3 P+B3    B3+B1 

and these all have to be equally possible. It is just barely conceivable that a 1st-grader would be able to follow that argument, but I'm not sure I would have the balls (so to say) to depend on it.