Difference between revisions of "2021 AMC 10B Problems/Problem 22"
(→Solution 3) |
(→Solution 3) |
||
Line 33: | Line 33: | ||
Use complimentary counting. | Use complimentary counting. | ||
Denote <math>f_n</math> as the number of ways to put n colors to n boxes by 3 people such that no box has uniform color. From this setup we see the question is asking for <math>1-\frac{f_5}{(5!)^3}</math>. To find <math>f_5</math> we want to exclude the cases of a) one box of the same color b) 2 boxes of the same color and so forth. From this, we have | Denote <math>f_n</math> as the number of ways to put n colors to n boxes by 3 people such that no box has uniform color. From this setup we see the question is asking for <math>1-\frac{f_5}{(5!)^3}</math>. To find <math>f_5</math> we want to exclude the cases of a) one box of the same color b) 2 boxes of the same color and so forth. From this, we have | ||
− | <cmath>f_5=(5!)^3-{\binom{5}{1}^2 f_4 - \binom{5}{2} | + | <cmath>f_5=(5!)^3-{\binom{5}{1}^2 f_4 - \binom{5}{2}\binom{5}{2}2!f_3 - \binom{5}{3}\binom{5}{3}3!f_2 - 5!}</cmath> |
Take for example, case b). There are <math>\binom{5}{2}</math> ways to choose 2 boxes that will have the same color, <math>\binom{5}{2}</math> ways to choose that color, 2! ways to permute the 2 chosen colors, and <math>f_3</math> ways so that the remaining boxes don’t have the same color. The same goes for the rest of the cases. | Take for example, case b). There are <math>\binom{5}{2}</math> ways to choose 2 boxes that will have the same color, <math>\binom{5}{2}</math> ways to choose that color, 2! ways to permute the 2 chosen colors, and <math>f_3</math> ways so that the remaining boxes don’t have the same color. The same goes for the rest of the cases. | ||
Line 43: | Line 43: | ||
There are (2!)^3 ways to rearrange colors, but we must subtract the cases where the boxes contain uniform colors. There are 2 ways to do that. | There are (2!)^3 ways to rearrange colors, but we must subtract the cases where the boxes contain uniform colors. There are 2 ways to do that. | ||
− | <math>f_3=(3!)^3-[3!+ \binom{3}{1} | + | <math>f_3=(3!)^3-[3!+ \binom{3}{1}\binom{3}{1}2f_2] = 216 - [6 + 9\cdot6] = 156 </math> |
For <math>f_3</math>, There are <math>(3!)^3</math> ways to rearrange the colors, but we must subtract the ways where boxes have uniform colors. If all 3 boxes have the same color, there are <math>3!</math> ways for the colors to be rearranged. If one box has the same color, there are <math>\binom{3}{1}</math> ways to pick a box, and <math>\binom{3}{1}</math> ways to pick a color for that box. There is 1! Ways to rearrange the color in the box. The remaining boxes must have different colors, so we multiply by <math>f_2</math> | For <math>f_3</math>, There are <math>(3!)^3</math> ways to rearrange the colors, but we must subtract the ways where boxes have uniform colors. If all 3 boxes have the same color, there are <math>3!</math> ways for the colors to be rearranged. If one box has the same color, there are <math>\binom{3}{1}</math> ways to pick a box, and <math>\binom{3}{1}</math> ways to pick a color for that box. There is 1! Ways to rearrange the color in the box. The remaining boxes must have different colors, so we multiply by <math>f_2</math> | ||
− | <math>f_4=(4!)^3-[4!+ \binom{4}{2} | + | <math>f_4=(4!)^3-[4!+ \binom{4}{2}\binom{4}{2} 2! f_2+ \binom{4}{1}\binom{4}{1}*f_3] = 13824 - [24+ 36*2*6 + 16*156] = 10,872</math> |
− | Thus, <math>f_5 = f_5=(5!)^3-{\binom{5}{1} | + | Thus, <math>f_5 = f_5=(5!)^3-{\binom{5}{1}\binom{5}{1} f_4+ \binom{5}{2}\binom{5}{2} 2!f_3+\binom{5}{3}\binom{5}{3}3!f_2+5!} = (5!)^3 - [25*10,872 + 100*2*156 + 100*6*6 + 120] = (5!)^3 - 306,720</math> |
Thus, the probability is <cmath>1 - \frac{(5!)^3 - 306,720}{(5!)^3} = 71/400</cmath> | Thus, the probability is <cmath>1 - \frac{(5!)^3 - 306,720}{(5!)^3} = 71/400</cmath> |
Revision as of 16:55, 21 February 2021
Contents
Problem
Ang, Ben, and Jasmin each have blocks, colored red, blue, yellow, white, and green; and there are empty boxes. Each of the people randomly and independently of the other two people places one of their blocks into each box. The probability that at least one box receives blocks all of the same color is , where and are relatively prime positive integers. What is
Solution
Let our denominator be , so we consider all possible distributions.
We use PIE (Principle of Inclusion and Exclusion) to count the successful ones.
When we have at box with all balls the same color in that box, there are ways for the distributions to occur ( for selecting one of the five boxes for a uniform color, for choosing the color for that box, for each of the three people to place their remaining items).
However, we overcounted those distributions where two boxes had uniform color, and there are ways for the distributions to occur ( for selecting two of the five boxes for a uniform color, for choosing the color for those boxes, for each of the three people to place their remaining items).
Again, we need to re-add back in the distributions with three boxes of uniform color... and so on so forth.
Our success by PIE is yielding an answer of .
Solution 2
As In Solution 1, the probability is Dividing by , we get Dividing by , we get Dividing by , we get .
Solution 3
Use complimentary counting. Denote as the number of ways to put n colors to n boxes by 3 people such that no box has uniform color. From this setup we see the question is asking for . To find we want to exclude the cases of a) one box of the same color b) 2 boxes of the same color and so forth. From this, we have
Take for example, case b). There are ways to choose 2 boxes that will have the same color, ways to choose that color, 2! ways to permute the 2 chosen colors, and ways so that the remaining boxes don’t have the same color. The same goes for the rest of the cases.
Going back to , there are exactly ways for 3 people to rearrange the 5 colors, but we wish to subtract the cases where at least 1 box has the same color. Now, we just need to calculate .
There are (2!)^3 ways to rearrange colors, but we must subtract the cases where the boxes contain uniform colors. There are 2 ways to do that.
For , There are ways to rearrange the colors, but we must subtract the ways where boxes have uniform colors. If all 3 boxes have the same color, there are ways for the colors to be rearranged. If one box has the same color, there are ways to pick a box, and ways to pick a color for that box. There is 1! Ways to rearrange the color in the box. The remaining boxes must have different colors, so we multiply by
Thus,
Thus, the probability is
Video Solution by OmegaLearn (Principal of Inclusion Exclusion)
~ pi_is_3.14
Video Solution by Interstigation
~ Briefly went over Principal of Inclusion Exclusion using Venn Diagram
2021 AMC 10B (Problems • Answer Key • Resources) | ||
Preceded by Problem 21 |
Followed by Problem 23 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AMC 10 Problems and Solutions |