Conditional probabilities, urns I found this question interesting and apparently it has to do with conditional probabilities:
An urn contains six black balls and some white ones. Two balls are drawn simutaneously. They have the same color with probability 0.5. How many with balls are in
the urn?
As far as I am concerned I would say it is two white balls...

Long hint/walkthrough: Let the number of white balls be denoted $w$. The probability of pulling two white balls will be $\frac{w}{6+w}\cdot\frac{w-1}{6+w-1}$ since the probability of choosing a white ball will be $P(w_1)=\frac{w}{w+6}$ and since there is one less white ball the probability of choosing another will be $P(w_2)=\frac{w-1}{6+w-1}$. To find the probability that both these events will occur we multiply their probability $P(w_1\cap w_2)=P(w_1)\cdot P(w_2)$. Note that this is only the probability of finding two white balls. What will be the probability of finding two black balls? To find the probability that one OR another event occurs we add the probability of each event ($P(x\cup y)=P(x)+P(y)$). So what is the probability of choosing two of the same color balls?
Can we find a mathematical way to express the probability of choosing one ball of each color? If so, we can set these equations equal and have $P(w_1\cap w_2)+P(b_1\cap b_2)=P(b_1\cap w_2)+P(w_1\cap b_2)$. Since our only variable should be $w$ this will allow us to solve.
