My brother brings a certain number of his marbles to play with in my room. Each marble is distinct. He has 8 total marbles that are either red or blue. One day, I spotted two red marbles in my room. The probability that any two of his marbles (of those that he plays in my room), randomly chosen, both being red is 1/2. How many marbles does he bring into my room?
I tried doing this:
let x = number of red marbles
So $(x/8)$ = probability of picking red marble
and then $(x-1)/(8 - 1)$ = probability of picking second red marble.
$(x/8)(x-1)/(7) = 1/2$, but I got x to be a decimal which is not possible.
EDIT: I kept guessing and checking $\frac{x}{b}\cdot\frac{x-1}{b-1}=\frac{1}{2}$, where $x =$ number of red balls, and $b=$ number of balls he brings into my room to get that $b=4$ and $x=3$, but unsure how to get this solution formally.