2024 AMC 12B Problems/Problem 25
Problem 25
Pablo will decorate each of identical white balls with either a striped or a dotted pattern, using either red or blue paint. He will decide on the color and pattern for each ball by flipping a fair coin for each of the decisions he must make. After the paint dries, he will place the balls in an urn. Frida will randomly select one ball from the urn and note its color and pattern. The events "the ball Frida selects is red" and "the ball Frida selects is striped" may or may not be independent, depending on the outcome of Pablo's coin flips. The probability that these two events are independent can be written as where and are relatively prime positive integers. What is (Recall that two events and are independent if )
Solution
Let be the number of balls that are both striped and red, be the number of balls that are striped but blue, and be the number of balls that are red but dotted. Then there must be balls that are dotted and blue.
Let be the event, "the ball Frida selects is red", and be the event, "the ball Frida selects is striped". and are independent if and only if , i.e.,
Before we continue, I'd like to clarify that the sample space , under which we are computing probability that and are independent, consists of total outcomes, each equally likely. Notice that once given , there are corresponding outcomes.
Now, it remains to find all nonnegative integer solutions to the above equation such that , add up all the corresponding outcomes, and then divide by . We can find the solutions relatively easily by doing casework on . Long story short, one finds the solutions to be
There are little tricks we can use to make the process of adding up the corresponding outcomes faster. First, we notice that the first, second, and last row of solutions contributes outcomes. Then we can take advantage of the symmetry between to add up the rest of the outcomes. In the end we get
Hence, the probability is . Therefore, the answer is
~tsun26