Difference between revisions of "2021 AMC 10B Problems/Problem 22"
(→Solution 3) |
(→Solution 1 (Principle of Inclusion-Exclusion)) |
||
(17 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
<math>\textbf{(A)} ~47 \qquad\textbf{(B)} ~94 \qquad\textbf{(C)} ~227 \qquad\textbf{(D)} ~471 \qquad\textbf{(E)} ~542</math> | <math>\textbf{(A)} ~47 \qquad\textbf{(B)} ~94 \qquad\textbf{(C)} ~227 \qquad\textbf{(D)} ~471 \qquad\textbf{(E)} ~542</math> | ||
− | ==Solution== | + | ==Solution 1 (Principle of Inclusion-Exclusion)== |
Let our denominator be <math>(5!)^3</math>, so we consider all possible distributions. | Let our denominator be <math>(5!)^3</math>, so we consider all possible distributions. | ||
Line 15: | Line 15: | ||
Our success by PIE is <cmath>_{5} C _{1} \cdot _{5} P _{1} \cdot (4!)^3 - _{5} C _{2} \cdot _{5} P _{2} \cdot (3!)^3 + _{5} C _{3} \cdot _{5} P _{3} \cdot (2!)^3 - _{5} C _{4} \cdot _{5} P _{4} \cdot (1!)^3 + _{5} C _{5} \cdot _{5} P _{5} \cdot (0!)^3 = 120 \cdot 2556.</cmath> | Our success by PIE is <cmath>_{5} C _{1} \cdot _{5} P _{1} \cdot (4!)^3 - _{5} C _{2} \cdot _{5} P _{2} \cdot (3!)^3 + _{5} C _{3} \cdot _{5} P _{3} \cdot (2!)^3 - _{5} C _{4} \cdot _{5} P _{4} \cdot (1!)^3 + _{5} C _{5} \cdot _{5} P _{5} \cdot (0!)^3 = 120 \cdot 2556.</cmath> | ||
− | <cmath>\frac{120 \cdot 2556}{120^3}=\frac{71}{400},</cmath> yielding an answer of <math>\boxed{ | + | <cmath>\frac{120 \cdot 2556}{120^3}=\frac{71}{400},</cmath> yielding an answer of <math>\boxed{\textbf{(D) }471}</math>. |
− | == | + | === Alternate Simplification === |
As In Solution 1, the probability is | As In Solution 1, the probability is | ||
<cmath>\frac{\binom{5}{1}\cdot 5\cdot (4!)^3 - \binom{5}{2}\cdot 5\cdot 4\cdot (3!)^3 + \binom{5}{3}\cdot 5\cdot 4\cdot 3\cdot (2!)^3 - \binom{5}{4}\cdot 5\cdot 4\cdot 3\cdot 2\cdot (1!)^3 + \binom{5}{5}\cdot 5\cdot 4\cdot 3\cdot 2\cdot 1}{(5!)^3}</cmath> | <cmath>\frac{\binom{5}{1}\cdot 5\cdot (4!)^3 - \binom{5}{2}\cdot 5\cdot 4\cdot (3!)^3 + \binom{5}{3}\cdot 5\cdot 4\cdot 3\cdot (2!)^3 - \binom{5}{4}\cdot 5\cdot 4\cdot 3\cdot 2\cdot (1!)^3 + \binom{5}{5}\cdot 5\cdot 4\cdot 3\cdot 2\cdot 1}{(5!)^3}</cmath> | ||
Line 28: | Line 28: | ||
<cmath>\frac{5\cdot 2\cdot 8 - 10 + 1}{10\cdot 40} = \frac{71}{400} \implies \boxed{\textbf{(D) }471}</cmath>. | <cmath>\frac{5\cdot 2\cdot 8 - 10 + 1}{10\cdot 40} = \frac{71}{400} \implies \boxed{\textbf{(D) }471}</cmath>. | ||
− | + | ==Solution 2 (Complementary Counting)== | |
− | + | Use complementary counting. | |
− | == Solution | + | Denote <math>T_n</math> as the total number of ways to put <math>n</math> colors to <math>n</math> boxes by 3 people out of which <math>f_n</math> ways are such that no box has uniform color. Notice <math>T_n = (n!)^3</math>. 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, c) 3 boxes of same color, d) 4 boxes of the same color, and e) 5 boxes of the same color. Cases d) and e) coincide. From this, we have |
− | Use | ||
− | Denote <math>T_n</math> as the total number of ways to put n colors to n boxes by 3 people out of which <math>f_n</math> ways are such that no box has uniform color. Notice <math>T_n = (n!)^3</math>. 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, c) 3 boxes of same color, d) 4 boxes of the same color, and e) 5 boxes of the same color. Cases d) and e) coincide. From this, we have | ||
<cmath>f_5=T_5 -{\binom{5}{1}\binom{5}{1}\cdot f_4 - \binom{5}{2}\binom{5}{2}\cdot 2!\cdot f_3 - \binom{5}{3}\binom{5}{3}\cdot 3!\cdot f_2 - 5!}</cmath> | <cmath>f_5=T_5 -{\binom{5}{1}\binom{5}{1}\cdot f_4 - \binom{5}{2}\binom{5}{2}\cdot 2!\cdot f_3 - \binom{5}{3}\binom{5}{3}\cdot 3!\cdot f_2 - 5!}</cmath> | ||
Line 40: | Line 38: | ||
We have <math>f_2=T_2-2 = (2!)^3 - 2 = 6</math>, since we subtract the number of cases where the boxes contain uniform colors, which is 2. | We have <math>f_2=T_2-2 = (2!)^3 - 2 = 6</math>, since we subtract the number of cases where the boxes contain uniform colors, which is 2. | ||
− | In the same way, <math>f_3=T_3-\Big[3!+ \binom{3}{1}\binom{3}{1}\cdot f_2 \Big] = 156 </math> - again, we must subtract the ways | + | In the same way, <math>f_3=T_3-\Big[3!+ \binom{3}{1}\binom{3}{1}\cdot f_2 \Big] = 156 </math> - again, we must subtract the number of ways at least 1 box has uniform color. There are <math>3!</math> ways if 3 boxes each contains uniform color. Two boxes each contains uniform color is the same as previous. 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, 1! ways to permute the chosen color, and <math>f_2</math> ways for the remaining 2 boxes to have non-uniform colors. Similarly, <math>f_4=(4!)^3-\Big[ 4!+ \binom{4}{2}\binom{4}{2}\cdot 2! \cdot f_2+ \binom{4}{1}\binom{4}{1}\cdot f_3\Big] = 10,872</math> |
Thus, <math>f_5 = f_5=(5!)^3-\Big[\binom{5}{1}\binom{5}{1}\cdot f_4+ \binom{5}{2}\binom{5}{2}\cdot 2!\cdot f_3+\binom{5}{3}\binom{5}{3}\cdot 3!\cdot f_2 + 5!\Big] = (5!)^3 - 306,720</math> | Thus, <math>f_5 = f_5=(5!)^3-\Big[\binom{5}{1}\binom{5}{1}\cdot f_4+ \binom{5}{2}\binom{5}{2}\cdot 2!\cdot f_3+\binom{5}{3}\binom{5}{3}\cdot 3!\cdot f_2 + 5!\Big] = (5!)^3 - 306,720</math> | ||
Line 46: | Line 44: | ||
Thus, the probability is <math>\frac{306,720}{(5!)^3} = 71/400</math> and the answer is <math>\boxed{\textbf{(D) }471}</math> | Thus, the probability is <math>\frac{306,720}{(5!)^3} = 71/400</math> and the answer is <math>\boxed{\textbf{(D) }471}</math> | ||
− | == | + | -angelinasheeen |
+ | |||
+ | ==Solution 3 (WLOG and PIE)== | ||
+ | WLOG fix which block Ang places into each box. (This can also be thought of as labeling each box by the color of Ang's block.) There are then <math>(5!)^2</math> total possibilities. | ||
+ | |||
+ | As in [[#Solution 1 (Principle of Inclusion-Exclusion)|Solution 1]], we use PIE. With <math>1</math> box of uniform color, there are <math>{}_{5} C _{1} \cdot (4!)^2</math> possibilities (<math>{}_{5} C _{1}</math> for selecting one of the five boxes (whose color is fixed by Ang), <math>4!</math> for each of Ben and Jasmin to place their remaining items). We overcounted cases with <math>2</math> boxes, of which there are <math>{}_{5} C _{2} \cdot (3!)^2</math> possibilities, and so on. | ||
+ | |||
+ | The probability is thus | ||
+ | <cmath>\frac{{}_{5} C _{1} \cdot (4!)^2 - {}_{5} C _{2} \cdot (3!)^2 + {}_{5} C _{3} \cdot (2!)^2 - {}_{5} C _{4} \cdot (1!)^2 + {}_{5} C _{5} \cdot (0!)^2}{(5!)^2}</cmath> | ||
+ | <cmath>= \frac{5 \cdot (4!)^2 - 10 \cdot (3!)^2 + 10 \cdot (2!)^2 - 5 + 1}{(5!)^2}</cmath> | ||
+ | at which point we can proceed as in [[#Alternate simplification]] to simplify to <math>\frac{71}{400} \implies \boxed{\textbf{(D)}~471}</math>. | ||
+ | |||
+ | ~[[User:emerald_block|emerald_block]] | ||
+ | |||
+ | ==Solution 4 (Derangements)== | ||
+ | <math>!n</math> denotes the number of derangements of <math>n</math> elements, i.e. the number of permutations where no element appears in its original position. Recall the recursive formula <math>!0 = 1, !1 = 0, !n = (n-1)(!(n-1)+{!}(n-2))</math>. | ||
+ | |||
+ | |||
+ | We will consider the number of candidate boxes (ones that currently remain uniform-color) after each person places their blocks. | ||
+ | |||
+ | After Ang, all <math>5</math> boxes are candidates, and each has a fixed color its blocks must be to remain uniform-color. | ||
+ | |||
+ | Ben has <math>5!</math> total ways to place blocks. There are <math>\tbinom{5}{k}\cdot{!}k</math> ways to disqualify <math>k</math> candidates, <math>0 \le k \le 5</math>. (There are <math>\tbinom{5}{k}</math> ways to choose the candidates to disqualify, and <math>!k</math> ways to arrange the disqualified candidates' same-color blocks.) | ||
+ | |||
+ | |||
+ | Jasmin has <math>5!</math> total ways to place blocks. Currently, <math>k</math> boxes are no longer candidates. Consider the number of ways for Jasmin to place blocks such that no box remains a candidate, where <math>n</math> is the number of boxes and <math>k</math> is the number of non-candidates, and call it <math>D(n,k)</math> (not to be confused with partial derangements). We wish to find <math>5!-D(5,k)</math> for each <math>k</math>, <math>0 \le k \le 5</math>. | ||
+ | |||
+ | Notice that <math>D(n,0) = {!}n</math>, since all boxes are candidates and no block can be placed in the same-colored box. Also notice the recursive formula <math>D(n,k) = D(n-1,k-1)+D(n,k-1)</math>, since the first non-candidate box can either contain its same-color block (in which case it can be ignored), or a different-color block (in which case it can be treated as a candidate). | ||
+ | |||
+ | We can make a table (<math>n</math> horizontal, <math>k</math> vertical): | ||
+ | <cmath>\begin{array}{r|rrrrrr} | ||
+ | D(n,k) & 0 & 1 & 2 & 3 & 4 & 5 \\ \hline | ||
+ | 0 & 1 & 0 & 1 & 2 & 9 & 44 \\ | ||
+ | 1 & & 1 & 1 & 3 & 11 & 53 \\ | ||
+ | 2 & & & 2 & 4 & 14 & 64 \\ | ||
+ | 3 & & & & 6 & 18 & 78 \\ | ||
+ | 4 & & & & & 24 & 96 \\ | ||
+ | 5 & & & & & & 120 \\ | ||
+ | \end{array}</cmath> | ||
+ | (Note that <math>D(n,n) = n!</math> since there are no candidates to begin with, which checks out with the diagonal.) | ||
+ | |||
+ | The desired values of <math>D(5,k)</math> are in the rightmost column. | ||
+ | |||
+ | |||
+ | The probability that at least one box is of uniform color is thus | ||
+ | <cmath>\begin{align*} | ||
+ | & \frac{\sum_{k=0}^{5}{\left(\binom{5}{k}\cdot{!}k\right)(5!-D(5,k))}}{(5!)^2} \\ | ||
+ | ={}& \frac{(1\cdot1)(120-44)+(5\cdot0)(120-53)+(10\cdot1)(120-64)+(10\cdot2)(120-78)+(5\cdot9)(120-96)+(1\cdot44)(120-120)}{(5!)^2} \\ | ||
+ | ={}& \frac{76+0+560+840+1080+0}{(5!)^2} \\ | ||
+ | ={}& \frac{19+140+210+270}{(5!)(5\cdot3\cdot2)} \\ | ||
+ | ={}& \frac{639}{(5!)(5\cdot3\cdot2)} \\ | ||
+ | ={}& \frac{71}{(5\cdot4\cdot2)(5\cdot2)} \\ | ||
+ | ={}& \frac{71}{400} \implies \boxed{\textbf{(D)}~471}. \\ | ||
+ | \end{align*}</cmath> | ||
+ | |||
+ | ~[[User:emerald_block|emerald_block]] | ||
+ | |||
+ | == Video Solution by OmegaLearn (PIE) == | ||
https://youtu.be/o0S8SqRO0Yc | https://youtu.be/o0S8SqRO0Yc | ||
~ pi_is_3.14 | ~ pi_is_3.14 | ||
− | |||
== Video Solution by Interstigation == | == Video Solution by Interstigation == | ||
Line 57: | Line 111: | ||
~ Briefly went over Principal of Inclusion Exclusion using Venn Diagram | ~ Briefly went over Principal of Inclusion Exclusion using Venn Diagram | ||
− | + | ==See Also== | |
− | |||
{{AMC10 box|year=2021|ab=B|num-b=21|num-a=23}} | {{AMC10 box|year=2021|ab=B|num-b=21|num-a=23}} | ||
+ | {{MAA Notice}} |
Revision as of 20:49, 24 July 2023
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 1 (Principle of Inclusion-Exclusion)
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 .
Alternate Simplification
As In Solution 1, the probability is Dividing by , we get Dividing by , we get Dividing by , we get .
Solution 2 (Complementary Counting)
Use complementary counting. Denote as the total number of ways to put colors to boxes by 3 people out of which ways are such that no box has uniform color. Notice . 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, c) 3 boxes of same color, d) 4 boxes of the same color, and e) 5 boxes of the same color. Cases d) and e) coincide. From this, we have
In case b), there are ways to choose 2 boxes that have the same color, ways to choose the two colors, 2! ways to permute the 2 chosen colors, and ways so that the remaining 3 boxes don’t have the same color. The same goes for cases a) and c). In case e), the total number of ways to permute 5 colors is . Now, we just need to calculate , and .
We have , since we subtract the number of cases where the boxes contain uniform colors, which is 2.
In the same way, - again, we must subtract the number of ways at least 1 box has uniform color. There are ways if 3 boxes each contains uniform color. Two boxes each contains uniform color is the same as previous. If one box has the same color, there are ways to pick a box, and ways to pick a color for that box, 1! ways to permute the chosen color, and ways for the remaining 2 boxes to have non-uniform colors. Similarly,
Thus,
Thus, the probability is and the answer is
-angelinasheeen
Solution 3 (WLOG and PIE)
WLOG fix which block Ang places into each box. (This can also be thought of as labeling each box by the color of Ang's block.) There are then total possibilities.
As in Solution 1, we use PIE. With box of uniform color, there are possibilities ( for selecting one of the five boxes (whose color is fixed by Ang), for each of Ben and Jasmin to place their remaining items). We overcounted cases with boxes, of which there are possibilities, and so on.
The probability is thus at which point we can proceed as in #Alternate simplification to simplify to .
Solution 4 (Derangements)
denotes the number of derangements of elements, i.e. the number of permutations where no element appears in its original position. Recall the recursive formula .
We will consider the number of candidate boxes (ones that currently remain uniform-color) after each person places their blocks.
After Ang, all boxes are candidates, and each has a fixed color its blocks must be to remain uniform-color.
Ben has total ways to place blocks. There are ways to disqualify candidates, . (There are ways to choose the candidates to disqualify, and ways to arrange the disqualified candidates' same-color blocks.)
Jasmin has total ways to place blocks. Currently, boxes are no longer candidates. Consider the number of ways for Jasmin to place blocks such that no box remains a candidate, where is the number of boxes and is the number of non-candidates, and call it (not to be confused with partial derangements). We wish to find for each , .
Notice that , since all boxes are candidates and no block can be placed in the same-colored box. Also notice the recursive formula , since the first non-candidate box can either contain its same-color block (in which case it can be ignored), or a different-color block (in which case it can be treated as a candidate).
We can make a table ( horizontal, vertical): (Note that since there are no candidates to begin with, which checks out with the diagonal.)
The desired values of are in the rightmost column.
The probability that at least one box is of uniform color is thus
Video Solution by OmegaLearn (PIE)
~ pi_is_3.14
Video Solution by Interstigation
~ Briefly went over Principal of Inclusion Exclusion using Venn Diagram
See Also
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 |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.