Difference between revisions of "2014 AIME II Problems/Problem 13"

(Solution)
(11 intermediate revisions by 6 users not shown)
Line 3: Line 3:
  
 
==Solution==
 
==Solution==
Let the left shoes be L1 ... L10 and the right shoes be R1 ... R10. Notice that there are 10 * 9 * 8 * ... * 1 = 10! possible pairings. To calculate the possible cases, we casework on the number and length of cycles, where a ''cycle'' is a sequence of shoes that starts with an arbitrary shoe, is continued when that shoe is paired with another shoe and the new shoe under consideration is the paired shoe's pair, and ends with the first shoe's pair. (For example, L1 -> R2, L2 -> R5, L5 -> R1 is a cycle of length 3). Trivially, if there is a cycle of all ten shoes (for example, L1 -> R2, L2 -> R3, ..., L10 -> R1) then there are 9 * 8 * ... * 1 = 9! working cases. Or, there will be two cycles of 5 shoes: <math>\frac{{10\choose 5}}{2}</math> * <math>{4!}^2</math>. Now, there cannot be a cycle of 6 and a cycle of 4 by the hypothesis; by similar reasoning, our two cases are the only ones that work. To compute the probability, we see that the first case yields a probability of 1/10 and the second case <math>\frac{126 * 24 * 24}{10!} = \frac{1}{50}</math>. Adding the probability gives <math>\frac{3}{25}</math>, for an answer of <math>\boxed{28}</math>.
+
Label the left shoes be <math>L_1,\dots, L_{10}</math> and the right shoes <math>R_1,\dots, R_{10}</math>. Notice that there are <math>10!</math> possible pairings.
 +
 
 +
 
 +
Let a pairing be "bad" if it violates the stated condition. We would like a better condition to determine if a given pairing is bad.
 +
 
 +
 
 +
Note that, in order to have a bad pairing, there must exist a collection of <math>k<5</math> pairs that includes both the left and the right shoes of <math>k</math> adults; in other words, it is bad if it is possible to pick <math>k</math> pairs and properly redistribute all of its shoes to exactly <math>k</math> people.
 +
 
 +
 
 +
Thus, if a left shoe is a part of a bad collection, its corresponding right shoe must also be in the bad collection (and vice versa). To search for bad collections, we can start at an arbitrary right shoe (say <math>R_1</math>), check the left shoe it is paired with (say <math>L_i</math>), and from the previous observation, we know that <math>R_i</math> must also be in the bad collection. Then we may check the left shoe paired with <math>R_i</math>, find its counterpart, check its left pair, find its counterpart, etc. until we have found <math>L_1</math>. We can imagine each right shoe "sending" us to another right shoe (via its paired left shoe) until we reach the starting right shoe, at which point we know that we have found a bad collection if we have done this less than <math>5</math> times.
 +
 
 +
 
 +
Effectively we have just traversed a ''cycle.'' (Note: This is the cycle notation of permutations.) The only condition for a bad pairing is that there is a cycle with length less than <math>5</math>; thus, we need to count pairings where every cycle has length at least <math>5</math>. This is only possible if there is a single cycle of length <math>10</math> or two cycles of length <math>5</math>.  
 +
 
 +
 
 +
The first case yields <math>9!</math> working pairings. The second case yields <math>\frac{{10\choose 5}}{2}\cdot{4!}^2=\frac{10!}{2 \cdot {5!}^2} \cdot {4!}^2</math> pairings. Therefore, taking these cases out of a total of <math>10!</math>, the probability is <math>\frac{1}{10}+\frac{1}{50} = \frac{3}{25}</math>, for an answer of <math>\boxed{028}</math>.
  
 
== See also ==
 
== See also ==

Revision as of 17:04, 26 December 2019

Problem

Ten adults enter a room, remove their shoes, and toss their shoes into a pile. Later, a child randomly pairs each left shoe with a right shoe without regard to which shoes belong together. The probability that for every positive integer $k<5$, no collection of $k$ pairs made by the child contains the shoes from exactly $k$ of the adults is $\frac{m}{n}$, where m and n are relatively prime positive integers. Find $m+n.$

Solution

Label the left shoes be $L_1,\dots, L_{10}$ and the right shoes $R_1,\dots, R_{10}$. Notice that there are $10!$ possible pairings.


Let a pairing be "bad" if it violates the stated condition. We would like a better condition to determine if a given pairing is bad.


Note that, in order to have a bad pairing, there must exist a collection of $k<5$ pairs that includes both the left and the right shoes of $k$ adults; in other words, it is bad if it is possible to pick $k$ pairs and properly redistribute all of its shoes to exactly $k$ people.


Thus, if a left shoe is a part of a bad collection, its corresponding right shoe must also be in the bad collection (and vice versa). To search for bad collections, we can start at an arbitrary right shoe (say $R_1$), check the left shoe it is paired with (say $L_i$), and from the previous observation, we know that $R_i$ must also be in the bad collection. Then we may check the left shoe paired with $R_i$, find its counterpart, check its left pair, find its counterpart, etc. until we have found $L_1$. We can imagine each right shoe "sending" us to another right shoe (via its paired left shoe) until we reach the starting right shoe, at which point we know that we have found a bad collection if we have done this less than $5$ times.


Effectively we have just traversed a cycle. (Note: This is the cycle notation of permutations.) The only condition for a bad pairing is that there is a cycle with length less than $5$; thus, we need to count pairings where every cycle has length at least $5$. This is only possible if there is a single cycle of length $10$ or two cycles of length $5$.


The first case yields $9!$ working pairings. The second case yields $\frac{{10\choose 5}}{2}\cdot{4!}^2=\frac{10!}{2 \cdot {5!}^2} \cdot {4!}^2$ pairings. Therefore, taking these cases out of a total of $10!$, the probability is $\frac{1}{10}+\frac{1}{50} = \frac{3}{25}$, for an answer of $\boxed{028}$.

See also

2014 AIME II (ProblemsAnswer KeyResources)
Preceded by
Problem 12
Followed by
Problem 14
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. AMC logo.png