Inspired by the discussion between @Matthew Pilling and me in this post What is the probability that there more rabbits than chickens in each of these three cages?, I am trying to find and understand the answer to a simple problem I am thinking for a while. (Feel free to read the comments under my answer in that post if you are interested and want to know more.)
Let's say I have two identical balls and I want to distribute them into two different boxes (box1 and box2). What is the probability of having one ball in each box?
Approach 1: We can talk about the total number of solutions for $n_{1} + n_{2} = 2$, where $n_{1},n_{2} \in W $. And, then, the number of solutions to $n_{1} + n_{2} = 2$, where $n_{1},n_{2} \ge 1$. The probability will be calculated as: $\frac{1}{3}$.
Approach 2: Or, we can think of this problem as follows: we have two boxes. The probability of choosing the first box is $\frac{1}{2}$. So, there is $\frac{1}{4}$ probability of choosing the first box for both balls. Same reasoning is true for choosing the second box for both balls. So, in total, there is $\frac{1}{2}$ probability to have both balls in only one box. And, thus, the probability of having only one ball in each box is $\frac{1}{2}$.
Could someone please help me understand what's happening here? Are we dealing with two different problems (in these two approaches) or one of the approaches is wrong because ... ?
Thanks for any input you may provide.
Nima
The probabilities of each solution in Approach 1 are not equal. That's like saying "When I roll two six-sided die, the probability of rolling a sum of $2$ is $1/11$ because there are $11$ options: $2$ through $12$."