返回题库

AIME 2022 II · 第 6 题

AIME 2022 II — Problem 6

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For any finite set SS, let S|S| denote the number of elements in SS. Find the number of ordered pairs (A,B)(A,B) such that AA and BB are (not necessarily distinct) subsets of {1,2,3,4,5}\{1,2,3,4,5\} that satisfy

AB=ABAB|A| \cdot |B| = |A \cap B| \cdot |A \cup B|
解析

Solution 1

By PIE, A+BAB=AB|A|+|B|-|A \cap B| = |A \cup B|. Substituting into the equation and factoring, we get that (AAB)(BAB)=0(|A| - |A \cap B|)(|B| - |A \cap B|) = 0, so therefore ABA \subseteq B or BAB \subseteq A. WLOG ABA\subseteq B, then for each element there are 33 possibilities, either it is in both AA and BB, it is in BB but not AA, or it is in neither AA nor BB. This gives us 353^{5} possibilities, and we multiply by 22 since it could have also been the other way around. Now we need to subtract the overlaps where A=BA=B, and this case has 25=322^{5}=32 ways that could happen. It is 3232 because each number could be in the subset or it could not be in the subset. So the final answer is 23525=4542\cdot 3^5 - 2^5 = \boxed{454}.

~math31415926535

Solution 2

We denote Ω={1,2,3,4,5}\Omega = \left\{ 1 , 2 , 3 , 4 , 5 \right\}. We denote X=ABX = A \cap B, Y=A\(AB)Y = A \backslash \left( A \cap B \right), Z=B\(AB)Z = B \backslash \left( A \cap B \right), W=Ω\(AB)W = \Omega \backslash \left( A \cup B \right).

Therefore, XYZW=ΩX \cup Y \cup Z \cup W = \Omega and the intersection of any two out of sets XX, YY, ZZ, WW is an empty set. Therefore, (X,Y,Z,W)\left( X , Y , Z , W \right) is a partition of Ω\Omega.

Following from our definition of XX, YY, ZZ, we have AB=XYZA \cup B = X \cup Y \cup Z.

Therefore, the equation

AB=ABAB|A| \cdot |B| = |A \cap B| \cdot |A \cup B| can be equivalently written as

(X+Y)(X+Z)=X(X+Y+Z).\left( | X | + | Y | \right) \left( | X | + | Z | \right) = | X | \left( | X | + | Y | + | Z | \right) . This equality can be simplified as

YZ=0.| Y | \cdot | Z | = 0 . Therefore, we have the following three cases: (1) Y=0|Y| = 0 and Z0|Z| \neq 0, (2) Z=0|Z| = 0 and Y0|Y| \neq 0, (3) Y=Z=0|Y| = |Z| = 0. Next, we analyze each of these cases, separately.

Case 1: Y=0|Y| = 0 and Z0|Z| \neq 0.

In this case, to count the number of solutions, we do the complementary counting.

First, we count the number of solutions that satisfy Y=0|Y| = 0.

Hence, each number in Ω\Omega falls into exactly one out of these three sets: XX, ZZ, WW. Following from the rule of product, the number of solutions is 353^5.

Second, we count the number of solutions that satisfy Y=0|Y| = 0 and Z=0|Z| = 0.

Hence, each number in Ω\Omega falls into exactly one out of these two sets: XX, WW. Following from the rule of product, the number of solutions is 252^5.

Therefore, following from the complementary counting, the number of solutions in this case is equal to the number of solutions that satisfy Y=0|Y| = 0 minus the number of solutions that satisfy Y=0|Y| = 0 and Z=0|Z| = 0, i.e., 35253^5 - 2^5.

Case 2: Z=0|Z| = 0 and Y0|Y| \neq 0.

This case is symmetric to Case 1. Therefore, the number of solutions in this case is the same as the number of solutions in Case 1, i.e., 35253^5 - 2^5.

Case 3: Y=0|Y| = 0 and Z=0|Z| = 0.

Recall that this is one part of our analysis in Case 1. Hence, the number solutions in this case is 252^5.

By putting all cases together, following from the rule of sum, the total number of solutions is equal to

(3525)+(3525)+25=23525=454.\begin{aligned} \left( 3^5 - 2^5 \right) + \left( 3^5 - 2^5 \right) + 2^5 & = 2 \cdot 3^5 - 2^5 \\ & = \boxed{454} . \end{aligned} ~ Steven Chen (www.professorchenedu.com)

Solution 3 (Principle of Inclusion-Exclusion)

By the Principle of Inclusion-Exclusion (abbreviated as PIE), we have AB=A+BAB,|A \cup B|=|A|+|B|-|A \cap B|, from which we rewrite the given equation as

AB=AB(A+BAB).|A| \cdot |B| = |A \cap B| \cdot \left(|A|+|B|-|A \cap B|\right). Rearranging and applying Simon's Favorite Factoring Trick give

AB=ABA+ABBAB2ABABAABB=AB2(AAB)(BAB)=0,\begin{aligned} |A| \cdot |B| &= |A \cap B|\cdot|A| + |A \cap B|\cdot|B| - |A \cap B|^2 \\ |A| \cdot |B| - |A \cap B|\cdot|A| - |A \cap B|\cdot|B| &= - |A \cap B|^2 \\ \left(|A| - |A \cap B|\right)\cdot\left(|B| - |A \cap B|\right) &=0, \end{aligned} from which at least one of the following is true:

  • A=AB|A|=|A \cap B|
  • B=AB|B|=|A \cap B|

Let AB=k.|A \cap B|=k. For each value of k{0,1,2,3,4,5},k\in\{0,1,2,3,4,5\}, we will use PIE to count the ordered pairs (A,B):(A,B):

Suppose A=k.|A|=k. There are (5k)\binom{5}{k} ways to choose the elements for A.A. These kk elements must also appear in B.B. Next, there are 25k2^{5-k} ways to add any number of the remaining 5k5-k elements to BB (Each element has 22 options: in BB or not in B.B.). There are (5k)25k\binom{5}{k}2^{5-k} ordered pairs for A=k.|A|=k. Similarly, there are (5k)25k\binom{5}{k}2^{5-k} ordered pairs for B=k.|B|=k.

To fix the overcount, we subtract the number of ordered pairs that are counted twice, in which A=B=k.|A|=|B|=k. There are (5k)\binom{5}{k} such ordered pairs.

Therefore, there are

2(5k)25k(5k)2\binom{5}{k}2^{5-k}-\binom{5}{k} ordered pairs for AB=k.|A \cap B|=k.

Two solutions follow from here:

Solution 3.1 (Binomial Theorem)

The answer is

k=05[2(5k)25k(5k)]=2k=05(5k)25kk=05(5k)=2(2+1)5(1+1)5=2(243)32=454.\begin{aligned} \sum_{k=0}^{5}\left[2\binom{5}{k}2^{5-k}-\binom{5}{k}\right] &= 2\sum_{k=0}^{5}\binom{5}{k}2^{5-k}-\sum_{k=0}^{5}\binom{5}{k} \\ &=2(2+1)^5-(1+1)^5 \\ &=2(243)-32 \\ &=\boxed{454}. \end{aligned} ~MRENTHUSIASM

Solution 3.2 (Bash)

The answer is

k=05[2(5k)25k(5k)]=[2(50)250(50)]+[2(51)251(51)]+[2(52)252(52)]+[2(53)253(53)]+[2(54)254(54)]+[2(55)255(55)]=[2(1)251]+[2(5)245]+[2(10)2310]+[2(10)2210]+[2(5)215]+[2(1)201]=63+155+150+70+15+1=454.\begin{aligned} &\hspace{5.125mm}\sum_{k=0}^{5}\left[2\binom{5}{k}2^{5-k}-\binom{5}{k}\right] \\ &=\left[2\binom{5}{0}2^{5-0}-\binom{5}{0}\right] + \left[2\binom{5}{1}2^{5-1}-\binom{5}{1}\right] + \left[2\binom{5}{2}2^{5-2}-\binom{5}{2}\right] + \left[2\binom{5}{3}2^{5-3}-\binom{5}{3}\right] + \left[2\binom{5}{4}2^{5-4}-\binom{5}{4}\right] + \left[2\binom{5}{5}2^{5-5}-\binom{5}{5}\right] \\ &=\left[2\left(1\right)2^5-1\right] + \left[2\left(5\right)2^4-5\right] + \left[2\left(10\right)2^3-10\right] + \left[2\left(10\right)2^2-10\right] + \left[2\left(5\right)2^1-5\right] + \left[2\left(1\right)2^0-1\right] \\ &=63+155+150+70+15+1 \\ &=\boxed{454}. \end{aligned} ~MRENTHUSIASM

Solution 4 (Simple Bash)

Proceed with Solution 1 to get (AAB)(BAB)=0(|A| - |A \cap B|)(|B| - |A \cap B|) = 0. WLOG, assume A=AB|A| = |A \cap B|. Thus, ABA \subseteq B.

Since ABA \subseteq B, if B=n|B| = n, there are 2n2^n possible sets AA, and there are also (5n){5 \choose n} ways of choosing such BB.

Therefore, the number of possible pairs of sets (A,B)(A, B) is

k=052n(5n)\sum_{k=0}^{5} 2^n {5 \choose n} We can compute this manually since it's only from k=0k=0 to 55, and computing gives us 243243. We can double this result for BAB \subseteq A, and we get 2(243)=4862(243) = 486.

However, we have double counted the cases where AA and BB are the same sets. There are 3232 possible such cases, so we subtract 3232 from 486486 to get 454\boxed{454}.

~ adam_zheng

Video Solution by Interstigation

https://youtu.be/jEghPVjyHoc

~Interstigation

Video Solution & Set Theory Review

https://youtu.be/3vcLujj74RM

~MathProblemSolvingSkills.com