All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Box of balls (Posted on 2018-10-16) Difficulty: 2 of 5
A box contains p white balls and q black balls. Beside the box there is a pile of black balls. Two balls are taken out from the box.
If they are of the same colour, a black ball from the pile is put into the box.
If they are of different colours, the white ball is put back into the box.
This procedure is repeated until the last pair of balls are removed from the box and one last ball is put in.

What is the probability that this last ball is white?

Source: Australian Olympiad 1983

See The Solution Submitted by Ady TZIDON    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Half a solution (partial spoiler) | Comment 1 of 6
At each turn the number of balls in the box are reduced by 1, until there is only one ball in the box.

If the drawn pair is different, then a black and a white ball are removed, and then a white ball is put in.  The net effect is to remove one black ball from the box.

If the drawn pair are both both black, then two black balls are removed and and then one is put back.  The net effect is to remove one black ball.

If the drawn pair are both white, then two white balls are removed and a black ball is put in.  The net effect is to swap two white balls for a black ball.

SO, NET EFFECT, WHITE BALLS ARE ONLY EVER REMOVED IN PAIRS.  IF p IS ODD, THEN THE LAST BALL MUST BE WHITE.

I have solved the easy half of the problem.  If p is even, more analysis is required.

  Posted by Steve Herman on 2018-10-16 09:08:43
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (16)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information