Difference between revisions of "1993 AIME Problems/Problem 8"
MRENTHUSIASM (talk | contribs) (→Solution 1 (Overcounting)) |
|||
(51 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
+ | Let <math>S\,</math> be a set with six elements. In how many different ways can one select two not necessarily distinct subsets of <math>S\,</math> so that the union of the two subsets is <math>S\,</math>? The order of selection does not matter; for example, the pair of subsets <math>\{a, c\},\{b, c, d, e, f\}</math> represents the same selection as the pair <math>\{b, c, d, e, f\},\{a, c\}.</math> | ||
− | == Solution == | + | == Solution 1 (Overcounting) == |
+ | Call the two subsets <math>m</math> and <math>n.</math> For each of the elements in <math>S,</math> we can assign it to either <math>m,n,</math> or both. This gives us <math>3^6</math> possible methods of selection. However, because the order of the subsets does not matter, each possible selection is double counted, except the case where both <math>m</math> and <math>n</math> contain all <math>6</math> elements of <math>S.</math> So our final answer is then <math>\frac {3^6 - 1}{2} + 1 = \boxed{365}.</math> | ||
+ | |||
+ | Note: because we can order selections <math>A</math> and <math>B</math> in two ways, but since order does not matter in the problem, we should only count them once, ie we need to divide by two. We first need to subtract one for the count <math>3^6-1</math> because there is one case in which <math>A</math> and <math>B</math> are identical and so while the rest of the “different” cases are counted twice, this one was only counted once so we should subtract one from the total count, divide by two, and add back that distinct one case. Or we could just add one, making all of the problem’s different cases counted twice, and divide it all by two, which is <math>\frac{3^6+1}{2}=365.</math> | ||
+ | |||
+ | == Solution 2 (Overcounting) == | ||
+ | |||
+ | Given one of <math>{6 \choose k}</math> subsets with <math>k</math> elements, the other also has <math>2^k</math> possibilities; this is because it must contain all of the "missing" <math>n - k</math> elements and thus has a choice over the remaining <math>k.</math> We want <math>\sum_{k = 0}^6 {6 \choose k}2^k = (2 + 1)^6 = 729</math> by the Binomial Theorem. But the order of the sets doesn't matter, so we get <math>\dfrac{729 - 1}{2} + 1 = \boxed{365}.</math> | ||
+ | |||
+ | == Solution 3 (Recursion) == | ||
+ | For all nonnegative integers <math>n,</math> let <math>n</math> be the number of elements in <math>S,</math> and <math>f(n)</math> be the number of unordered pairs <math>\{A,B\}</math> of subsets of <math>S</math> for which <math>A\cup B=S.</math> We wish to find <math>f(6).</math> | ||
+ | |||
+ | Without the loss of generality, let the elements of <math>S</math> be <math>1,2,\ldots,n.</math> Based on the value of <math>n,</math> we construct the following table: | ||
+ | <cmath>\begin{array}{c|c|c} | ||
+ | & & \\ [-2.5ex] | ||
+ | \boldsymbol{n} & \textbf{Unordered Pairs }\boldsymbol{\{A,B\}}\textbf{ of subsets of }\boldsymbol{S}\textbf{ for which }\boldsymbol{A\cup B=S} & \boldsymbol{f(n)} \\ [0.5ex] | ||
+ | \hline | ||
+ | & & \\ [-2ex] | ||
+ | 0 & \{\varnothing,\varnothing\} & 1 \\ | ||
+ | 1 & \{\{1\},\{1\}\}, \ \{\{1\},\varnothing\} & 2 \\ | ||
+ | 2 & \color{red}\{\{1,2\},\{1,2\}\}\color{black}, \ \color{green}\{\{1,2\},\{1\}\}\color{black}, \ \color{blue}\{\{1,2\},\{2\}\}\color{black}, \ \color{cyan}\{\{1,2\},\varnothing\}\color{black}, \ \color{magenta}\{\{1\},\{2\}\} & 5 \\ | ||
+ | 3 & \color{red}\{\{1,2,3\},\{1,2,3\}\}\color{black}, \ \color{red}\{\{1,2,3\},\{1,2\}\}\color{black}, \ \color{green}\{\{1,2,3\},\{1,3\}\}\color{black}, \ \color{green}\{\{1,2,3\},\{1\}\}\color{black}, \ \color{green}\{\{1,2\},\{1,3\}\}\color{black}, & 14 \\ | ||
+ | & \color{blue}\{\{1,2,3\},\{2,3\}\}\color{black}, \ \color{blue}\{\{1,2,3\},\{2\}\}\color{black}, \ \color{blue}\{\{1,2\},\{2,3\}\}\color{black}, \ \color{cyan}\{\{1,2,3\},\{3\}\}\color{black}, \ \color{cyan}\{\{1,2,3\},\varnothing\}\color{black}, \ \color{cyan}\{\{1,2\},\{3\}\}\color{black}, & \\ | ||
+ | & \color{magenta}\{\{1,3\},\{2,3\}\}\color{black}, \ \color{magenta}\{\{1,3\},\{2\}\}\color{black}, \ \color{magenta}\{\{1\},\{2,3\}\} & \\ | ||
+ | \vdots & \vdots & \vdots | ||
+ | \end{array}</cmath> | ||
+ | Note that for all <math>n\geq1,</math> each unordered pair of the <math>(n-1)</math>-element set contributes three unordered pairs to the <math>n</math>-element set, as the element <math>n</math> can be added to either or both of the subsets. The only exception is that the unordered pair of identical subsets of the <math>(n-1)</math>-element set, namely <math>\{\{1,2,\ldots,n-1\},\{1,2,\ldots,n-1\}\},</math> only contributes two unordered pairs to the <math>n</math>-element set. The table above shows this relationship between the <math>2</math>-element set and the <math>3</math>-element set. | ||
+ | |||
+ | Together, the recursive formula for <math>f(n)</math> is | ||
+ | <cmath>f(n) = \begin{cases} | ||
+ | 1 & \mathrm{if} \ n=0 \\ | ||
+ | 3f(n-1)-1 & \mathrm{if} \ n\geq1 | ||
+ | \end{cases}.</cmath> | ||
+ | Two solutions follow from here: | ||
+ | |||
+ | === Solution 3.1 (Recursive Formula) === | ||
+ | We evaluate <math>f(6)</math> recursively: | ||
+ | <cmath>\begin{alignat*}{6} | ||
+ | f(0)&=1, \\ | ||
+ | f(1)&=3f(0)-1&&=2, \\ | ||
+ | f(2)&=3f(1)-1&&=5, \\ | ||
+ | f(3)&=3f(2)-1&&=14, \\ | ||
+ | f(4)&=3f(3)-1&&=41, \\ | ||
+ | f(5)&=3f(4)-1&&=122, \\ | ||
+ | f(6)&=3f(5)-1&&=\boxed{365}. | ||
+ | \end{alignat*}</cmath> | ||
+ | ~MRENTHUSIASM | ||
+ | |||
+ | === Solution 3.2 (Explicit Formula) === | ||
+ | For all <math>n\geq1,</math> we have | ||
+ | <cmath>\begin{align*} | ||
+ | f(n) &= 3f(n-1)-1 \\ | ||
+ | &= 3\left(3f(n-2)-1\right)-1 \\ | ||
+ | &= 3^2f(n-2)-3-1 \\ | ||
+ | &= 3^2\left(3f(n-3)-1\right)-3-1 \\ | ||
+ | &= 3^3f(n-3)-3^2-3-1 \\ | ||
+ | & \ \vdots \\ | ||
+ | &= 3^nf(0)-3^{n-1}-3^{n-2}-3^{n-3}-\cdots-1 \\ | ||
+ | &= 3^n-\left(3^{n-1}+3^{n-2}+3^{n-3}+\cdots+1\right) \\ | ||
+ | &= 3^n-\frac{3^n-1}{2} \\ | ||
+ | &= \frac{3^n+1}{2} \\ | ||
+ | &= \frac{3^n-1}{2}+1, | ||
+ | \end{align*}</cmath> | ||
+ | which resembles the result in Solutions 1 and 2. The answer is <math>f(6)=\boxed{365}.</math> | ||
+ | |||
+ | As <math>f(0)=1,</math> note that <cmath>f(n)=\frac{3^n-1}{2}+1</cmath> holds for <math>n=0</math> too. Therefore, this formula is true for all nonnegative integers <math>n.</math> | ||
+ | |||
+ | ~MRENTHUSIASM | ||
+ | |||
+ | == Solution 4 (Casework) == | ||
+ | We can perform casework based on the number of overlapping elements. If no elements overlap, there is <math>\binom60=1</math> way to choose the overlapping elements, and <math>2^{6-0}</math> ways to distribute the remaining elements--each element can go in one subset or the other. We must also divide by <math>2</math> because the order of the subsets does not matter. Proceeding similarly for the other cases, our sum is <cmath>\dbinom{6}0 \cdot 2^5+\dbinom{6}1 \cdot 2^4+\cdots +\dbinom{6}4 \cdot 2+\dbinom{6}5 \cdot 1+\dbinom{6}6 \cdot 1.</cmath> | ||
+ | (Note that we have to be especially careful with the last case, as it does not follow the pattern of the other cases.) Adding these up gives a total of <math>\boxed{365}.</math> | ||
+ | |||
+ | ~vaporwave | ||
+ | |||
+ | ~MrThinker (LaTeX improvements) | ||
+ | |||
+ | ==Solution 5 (Bash)== | ||
+ | |||
+ | If we wanted to, we could use casework, being very careful not to double count cases. Let's first figure out what cases we need to look at. The notation I will be using is <math>x\rightarrow y,</math> which implies that we pick <math>x</math> numbers for the first set which then the second set can have <math>y</math> numbers. | ||
+ | |||
+ | Clearly: | ||
+ | <cmath>\begin{align*} | ||
+ | 0&\rightarrow6 \\ | ||
+ | 1&\rightarrow5\mid6 \\ | ||
+ | 2&\rightarrow4\mid5\mid6 \\ | ||
+ | 3&\rightarrow3\mid4\mid5\mid6 \\ | ||
+ | 4&\rightarrow2\mid3\mid4\mid5\mid6 \\ | ||
+ | 5&\rightarrow1\mid2\mid3\mid4\mid5\mid6 \\ | ||
+ | 6&\rightarrow0\mid1\mid2\mid3\mid4\mid5\mid6 | ||
+ | \end{align*}</cmath> | ||
+ | However notice that many of the cases are double counted as direction does not matter, e.g. <math>2\rightarrow4</math> is the same as <math>4\rightarrow2.</math> Get rid of those cases so we are just left with: | ||
+ | <cmath>\begin{align*} | ||
+ | 0&\rightarrow6 \\ | ||
+ | 1&\rightarrow5\mid6 \\ | ||
+ | 2&\rightarrow4\mid5\mid6 \\ | ||
+ | 3&\rightarrow3\mid4\mid5\mid6 \\ | ||
+ | 4&\rightarrow4\mid5\mid6 \\ | ||
+ | 5&\rightarrow5\mid6 \\ | ||
+ | 6&\rightarrow6 | ||
+ | \end{align*}</cmath> | ||
+ | Now we start computing, <math>0\rightarrow6</math> is just <math>1</math> case, <math>1\rightarrow5\mid6</math> is just <math>\binom{6}{1}\cdot2</math> cases, <math>2\rightarrow4\mid5\mid6</math> is just <math>\binom{6}{2}\cdot2^2</math> cases, and <math>3\rightarrow3\mid4\mid5\mid6</math> is just <math>\binom{6}{3}\cdot2^3</math> cases (If you have trouble understanding this, write down the six letters and then try to understand what <math>x\rightarrow y</math> really means.). Now what you can do is continue on this same pattern like Solution 2 does, and then use simple symmetry to figure out the double counted cases. However, the purpose of this solution is to bash out the double counted cases, so we will do exactly that. | ||
+ | |||
+ | One quick thing though. We have a double counted case with the <math>3\rightarrow3,</math> as choosing ABC and DEF is the same thing as choosing DEF and then ABC. There are <math>\frac{\binom{6}{3}}{2} = 10</math> cases of this. | ||
+ | |||
+ | For computing <math>4\rightarrow4\mid5\mid6,</math> we use the same process as before. We have <math>\binom{6}{4}\cdot(3+4+1)</math> (Note, the <math>3</math> comes from <math>\frac{\binom{4}{2}}{2}</math>), and for <math>5\rightarrow5\mid6</math> we have <math>\binom{6}{5}\cdot\left(\frac{5}{2}+1\right),</math> and then for <math>6\rightarrow6</math> we just have <math>\binom{6}{6}</math> (there is no double counted case since ABCDEF, ABCDEF is only counted once). | ||
+ | |||
+ | Summing case by case, we have <math>1+12+60+150+120+21+1 = \boxed{365}.</math> | ||
+ | |||
+ | ~Tost (Solution) | ||
+ | |||
+ | ~MRENTHUSIASM (Reformatting) | ||
== See also == | == See also == | ||
− | + | {{AIME box|year=1993|num-b=7|num-a=9}} | |
+ | {{MAA Notice}} |
Latest revision as of 13:09, 12 January 2024
Contents
Problem
Let be a set with six elements. In how many different ways can one select two not necessarily distinct subsets of so that the union of the two subsets is ? The order of selection does not matter; for example, the pair of subsets represents the same selection as the pair
Solution 1 (Overcounting)
Call the two subsets and For each of the elements in we can assign it to either or both. This gives us possible methods of selection. However, because the order of the subsets does not matter, each possible selection is double counted, except the case where both and contain all elements of So our final answer is then
Note: because we can order selections and in two ways, but since order does not matter in the problem, we should only count them once, ie we need to divide by two. We first need to subtract one for the count because there is one case in which and are identical and so while the rest of the “different” cases are counted twice, this one was only counted once so we should subtract one from the total count, divide by two, and add back that distinct one case. Or we could just add one, making all of the problem’s different cases counted twice, and divide it all by two, which is
Solution 2 (Overcounting)
Given one of subsets with elements, the other also has possibilities; this is because it must contain all of the "missing" elements and thus has a choice over the remaining We want by the Binomial Theorem. But the order of the sets doesn't matter, so we get
Solution 3 (Recursion)
For all nonnegative integers let be the number of elements in and be the number of unordered pairs of subsets of for which We wish to find
Without the loss of generality, let the elements of be Based on the value of we construct the following table: Note that for all each unordered pair of the -element set contributes three unordered pairs to the -element set, as the element can be added to either or both of the subsets. The only exception is that the unordered pair of identical subsets of the -element set, namely only contributes two unordered pairs to the -element set. The table above shows this relationship between the -element set and the -element set.
Together, the recursive formula for is Two solutions follow from here:
Solution 3.1 (Recursive Formula)
We evaluate recursively: ~MRENTHUSIASM
Solution 3.2 (Explicit Formula)
For all we have which resembles the result in Solutions 1 and 2. The answer is
As note that holds for too. Therefore, this formula is true for all nonnegative integers
~MRENTHUSIASM
Solution 4 (Casework)
We can perform casework based on the number of overlapping elements. If no elements overlap, there is way to choose the overlapping elements, and ways to distribute the remaining elements--each element can go in one subset or the other. We must also divide by because the order of the subsets does not matter. Proceeding similarly for the other cases, our sum is (Note that we have to be especially careful with the last case, as it does not follow the pattern of the other cases.) Adding these up gives a total of
~vaporwave
~MrThinker (LaTeX improvements)
Solution 5 (Bash)
If we wanted to, we could use casework, being very careful not to double count cases. Let's first figure out what cases we need to look at. The notation I will be using is which implies that we pick numbers for the first set which then the second set can have numbers.
Clearly: However notice that many of the cases are double counted as direction does not matter, e.g. is the same as Get rid of those cases so we are just left with: Now we start computing, is just case, is just cases, is just cases, and is just cases (If you have trouble understanding this, write down the six letters and then try to understand what really means.). Now what you can do is continue on this same pattern like Solution 2 does, and then use simple symmetry to figure out the double counted cases. However, the purpose of this solution is to bash out the double counted cases, so we will do exactly that.
One quick thing though. We have a double counted case with the as choosing ABC and DEF is the same thing as choosing DEF and then ABC. There are cases of this.
For computing we use the same process as before. We have (Note, the comes from ), and for we have and then for we just have (there is no double counted case since ABCDEF, ABCDEF is only counted once).
Summing case by case, we have
~Tost (Solution)
~MRENTHUSIASM (Reformatting)
See also
1993 AIME (Problems • Answer Key • Resources) | ||
Preceded by Problem 7 |
Followed by Problem 9 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.