rec.puzzles Archive

In a vase are 10 more black marbles than white marbles.

probability/marbles.ten.more

Problem

In a vase are 10 more black marbles than white marbles.  If you take 2
marbles at random, the chance on 1 black and 1 white is 50%.  How many
marbles are in the vase?

-- Mark van Hoeij <hoeij@sci.kun.nl> (posted as an ObPuzzle)
Show solution
100 marbles: 45 white and 55 black.

Let there be w white and b = w + 10 black marbles, n = 2w + 10 in all.
The chance of drawing one of each colour in two draws is

  P = w b / C(n,2) = 2 w b / (n (n-1)).

Setting P = 1/2 gives 4 w (w + 10) = (2w + 10)(2w + 9), that is
4w^2 + 40w = 4w^2 + 38w + 90, so w = 45, b = 55, n = 100.

Check: 2 * 45 * 55 / (100 * 99) = 4950 / 9900 = 1/2.

In general, if there are d more black than white marbles, the chance of
one of each is exactly 1/2 when 4wb = n(n-1).  Since n = w + b and
(b - w)^2 = (w + b)^2 - 4wb, this says d^2 = n.  So the vase holds d^2
marbles: (d^2 - d)/2 white and (d^2 + d)/2 black.  With d = 10 that is
100 marbles, 45 white and 55 black.

-- Claude (rec.puzzles Oracle, 2026-11-02)