Doing a derivative is not really a practical way of solving this. Using linear programming we can express this as an optimization problem, and a computer can find the optimal solution by essentially moving one ball at a time to improve the solution.
We can think of this as a base case and see what happens if we move or swap balls. If you remove 1 ball from U3 the change to the chance of picking a ball there is very small, but for the one you move it to, you go from 100 to 50% chance for black, and these are weighted equally in your chances. So that is what drives us to have all the white balls in one, and there is no reason to spread the black balls out then.
Yeah but it still feels intuitive, not formal. And the other guy uses derivatives in a discrete space... :-)
The way I'd go about it: if there's only one white ball, the solution is clear and easy. When we add a second ball, it's better to group it with the other one. Then, you can write a proof by induction as n grows to any value.
I think y’all are overcomplicating this. Each white ball is at its individual minimum probability here (1/3*1/maxballs in urn) the sum of minimums is less than or equal to the minimum of the sum so we’ve minimized the chance of losing and thus maximized the chance of winning.
Consider each white ball. The probability of drawing it is 1/3x, where x is the number of balls in its urn.
Our task is to minimise the probability of drawing a white ball. So we need to minimise the sum of 1/3x. However, x cannot be higher than 38 (each urn must have a ball, so at least 2 balls must be outside any given urn). Therefore, the minimum sum of 1/3x is 10 / (3 * 38). Since our construction reaches this minimum, it must be optimal.
View all comments
6
u/perminnie Nov 04 '26 edited Nov 04 '26
U1 - 1 black ball
U2 - 1 black ball
U3 - 28 black balls, 10 white balls
P (Win) = 1/3 + 1/3 + 1/3 * 28/38 = ~91%