# Urn with b*r balls

I have an urn with b blue balls and r red balls, what is the probability that the two balls will have the same color. I need to solve this problem with replacement and without replacement. This is my attempt at a solution. Without replacement, we add the probabilities of the balls both being blue and the balls both being red. That is, the final probability would be $\frac{b(b-1)+r(r-1)}{br}$. With replacement, the final probability would be $\frac{b*b+r*r}{br}$. Is my logic correct in determining the probability?

• With replacement it would just be (b+r)(b+r)? – user288829 Jan 26 '16 at 17:29
• Yes, for replacement it is $(b+r)(b+r)$. – André Nicolas Jan 26 '16 at 18:06

No total ways $${b+r\choose 2}$$ so probability will be $\frac{(b)(b-1)+(r)(r-1)}{(b+r)(b+r-1)}$ same for other one