# Probability question

You have three bags, A, B, and C. Bags A and B hold x red and y blue marbles each; bag C holds 2x red marbles and 2y blue marbles.

Let us say that we pull out z marbles from bag A, z marbles from bag B, and 2z marbles from bag C. Will the expected number of red marbles pulled from bag A and bag B together be the same as the expected number of marbles pulled from bag C?

I believe the answer is yes, but I am having trouble figuring out why.

-

The expected number of red balls pulled from A is $z\frac{x}{x+y}$. This is because the probability that any of the $z$ individual balls is red is $\frac{x}{x+y}$. To see that, consider the experiment of taking $z$ balls. Number each ball you've taken - the first ball number $1$, the second ball $2$, and so on. Each of the numbers on its own is uniformly distributed, so the probability that the $k$th ball is red is exactly $\frac{x}{x+y}$.
Yes. The expected number of red marbles from A is $\frac{xz}{x+y}$ and the same for B. The expected number from C is $\frac{4xz}{2x+2y}$ The 4 in the numerator is 2*2, one from the number of pulls, one from the number of red marbles.