Difference between revisions of "2017 AIME II Problems/Problem 9"
Alexlikemath (talk | contribs) (Solution 6) |
Xhypotenuse (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
==Solution 1== | ==Solution 1== | ||
Without loss of generality, assume that the <math>8</math> numbers on Sharon's cards are <math>1</math>, <math>1</math>, <math>2</math>, <math>3</math>, <math>4</math>, <math>5</math>, <math>6</math>, and <math>7</math>, in that order, and assume the <math>8</math> colors are red, red, and six different arbitrary colors. There are <math>{8\choose2}-1</math> ways of assigning the two red cards to the <math>8</math> numbers; we subtract <math>1</math> because we cannot assign the two reds to the two <math>1</math>'s. | Without loss of generality, assume that the <math>8</math> numbers on Sharon's cards are <math>1</math>, <math>1</math>, <math>2</math>, <math>3</math>, <math>4</math>, <math>5</math>, <math>6</math>, and <math>7</math>, in that order, and assume the <math>8</math> colors are red, red, and six different arbitrary colors. There are <math>{8\choose2}-1</math> ways of assigning the two red cards to the <math>8</math> numbers; we subtract <math>1</math> because we cannot assign the two reds to the two <math>1</math>'s. | ||
− | In order for Sharon to be able to remove at least one card and still have at least one card of each color, one of the reds have to be assigned with one of the <math>1</math>s. The number of ways for this to happen is <math>2 \cdot 6 = 12</math>. Each of these assignments is equally likely, so desired probability is <math>\frac{12}{{8\choose2}-1}=\frac{4}{9} \implies 4 + 9 = 13 = \boxed{013}</math>. | + | In order for Sharon to be able to remove at least one card and still have at least one card of each color, one of the reds have to be assigned with one of the <math>1</math>s. The number of ways for this to happen is <math>2 \cdot 6 = 12</math> (the first card she draws has to be a <math>1</math> (2 choices), while the second card can be any card but the remaining card with a <math>1</math> (6 choices)). Each of these assignments is equally likely, so desired probability is <math>\frac{12}{{8\choose2}-1}=\frac{4}{9} \implies 4 + 9 = 13 = \boxed{013}</math>. |
==Solution 2== | ==Solution 2== | ||
Line 81: | Line 81: | ||
-Alexlikemath | -Alexlikemath | ||
+ | |||
+ | ==Solution 7 (Official MAA)== | ||
+ | In a set of eight cards that includes every color and every number, there will be exactly one repeated number and exactly one repeated color. If Sharon selects a set that in- cludes the card with that number and color, Sharon can discard it. If the set does not include that card, Sharon cannot discard any card. | ||
+ | In the former case, there are 7! ways to choose one card of each number and color, and then 42 ways to choose the "extra" card. The total is 7! 42. | ||
+ | In the latter case, there are 7 ways to choose which number is repeated, and (7) = 21 ways to choose which two cards of that number are used. There are then 5 ways to choose which color is repeated, and (2) = 15 ways to choose which cards of that color are used. There now remain four unused colors and four unused numbers, and there are 4! = 24 ways to choose from those. The total is 7 21.5.15. 24. | ||
+ | The probability that a given set is of the first type is therefore The requested sum is 4 + 9 = 13. | ||
+ | |||
+ | ==Solution 8== | ||
+ | |||
+ | WLOG let the colors be <math>R, R, O, Y, G, B, I, V</math> and let the numbers be <math>1, 1, 2, 3, 4, 5, 6, 7</math>. Now call a color or number <math>safe</math> is there is at least two cards in that category. In this case, the color red is <math>safe</math> and the number <math>1</math> is safe because we have two of each. | ||
+ | |||
+ | Now notice that a card can be removed if and only if both its color AND number are <math>safe</math>, since even if we remove it we will have one of each category. Therefore, we must have a <math>R1</math>. | ||
+ | |||
+ | |||
+ | For this probability, we will first count the total ways to assign the cards. Treating each color and number as distinct, we have <math>8!</math> ways. However, we cannot have two red ones, so we must subtract <math>2 * 6!</math> cases from our total. | ||
+ | |||
+ | Meanwhile, to count the successful outcomes, one of the ones must be red. We have <math>2</math> choices for the one, and <math>2</math> choices for the red. Then, the other one has <math>6</math> colors, and there are <math>6!</math> ways to color the rest of the numbers. | ||
+ | |||
+ | |||
+ | Diving and simplifying, we have <math>\frac{2*2*6*6!}{8!-2*6!} = \frac{4}{9} => 4+9 = \boxed{13}</math>. | ||
+ | |||
+ | ~xHypotenuse | ||
+ | |||
=See Also= | =See Also= | ||
{{AIME box|year=2017|n=II|num-b=8|num-a=10}} | {{AIME box|year=2017|n=II|num-b=8|num-a=10}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 02:53, 8 August 2024
Contents
Problem
A special deck of cards contains cards, each labeled with a number from
to
and colored with one of seven colors. Each number-color combination appears on exactly one card. Sharon will select a set of eight cards from the deck at random. Given that she gets at least one card of each color and at least one card with each number, the probability that Sharon can discard one of her cards and
have at least one card of each color and at least one card with each number is
, where
and
are relatively prime positive integers. Find
.
Solution 1
Without loss of generality, assume that the numbers on Sharon's cards are
,
,
,
,
,
,
, and
, in that order, and assume the
colors are red, red, and six different arbitrary colors. There are
ways of assigning the two red cards to the
numbers; we subtract
because we cannot assign the two reds to the two
's.
In order for Sharon to be able to remove at least one card and still have at least one card of each color, one of the reds have to be assigned with one of the
s. The number of ways for this to happen is
(the first card she draws has to be a
(2 choices), while the second card can be any card but the remaining card with a
(6 choices)). Each of these assignments is equally likely, so desired probability is
.
Solution 2
First note that out of the selected cards, one pair of cards have to share the same number and another pair of cards have to share the same color. Now, these
pairs of cards can't be the same or else there will be
cards which are completely same. Then, WLOG let the numbers be
and
and the colors be
and
. We therefore obtain only
cases:
Case One: and
In this case, we can discard
.
There are
situations in this case.
Case Two: and
In this case, we can't discard.
There are
situations in this case.
So the probability is , giving us the answer of
.
Solution 3
There are ways to choose a set of 7 cards that have all the numbers from 1-7 and all 7 colors. There are then
cards remaining. Thus, there are
desired sets.
Now, the next thing to find is the number of ways to choose 8 cards where there is not a set of 7 such cards. In this case, one color must have 2 cards and one number must have 2 cards, and they can't be the same number/color card. The number of ways to pick this is equal to a multiplication of ways to pick 2 numbers,
colors to assign them to,
ways to pick 2 nonchosen colors,
ways to pick a number to assign them to, and
ways to assign the rest.
Thus, the answer is . Dividing out
yields
which is equal to
which is equal to
which is equal to
giving a final answer of
.
Solution 4
We can rewrite the problem as "What is the probability that, given 8 cards with numbers a, b, c, d, e, f, g, g and some assortment of seven colors A, B, C, D, E, F, G, G where G is repeated, one of the cards is Gg?" Note that this is a valid restatement because Sharon has to have two of one number and two of one color. She needs to be able to take away one of the cards with the duplicate number, but this also has to have the duplicate color. There are two cases.
Case I: One of the cards is Gg. This implies that the other card with color G can be placed in ways, and the rest of the colors can be paired with cards in
ways.
Case II: None of the cards are Gg. This implies that the cards with color G can be chosen in ways, and the rest of the colors can be paired with cards in
ways, with the divide by 2 because of the double-g.
Note that there is no case with Gg, Gg because all 49 cards are unique!
Therefore our answer is , so
.
Solution 5
We count the two entities: The number of sets of eight cards that contain all seven numbers and all seven colors; and The number of sets of eight cards that contain all seven numbers and colors, and one card can be removed and the property still holds.
For the first: It is equivalent to counting:
How many ways can (colors) be matched to (numbers)
such that the two
cannot both be matched to the two ones. (This would mean we've chosen two identical cards from the deck, both with color
and number one.)
We consider two cases:
1) Neither is matched with a one. Then there are
ways to choose which two numbers are matched with the
and
ways to order the remaining numbers. (There are two one's, so we divide by two.)
2) One of the 's is matched with a one. There are
ways to arrange the remaining color
Since there are seven ways to choose the extra color and likewise for the extra number,
we have in total ways to choose eight cards satisfying the first condition.
For the second: View the cards as rooks on a seven by seven chess board. Seven cards that contain all colors and numbers is can be represented as placing seven rooks on the board so that no two rooks are attacking each other. There are ways to do this. For each arrangement, we can choose any of the other 42 positions on the board (cards) to add an extra rook. Thus, there are
good sets of eight cards. Note that we are not overcounting.
Thus, the probability of getting a good set given the first condition is and the answer is
Solution 6
We recast this problem to coloring 8 cells in a 7x7 grid, such that each row and column has at least one colored cell. If a cell in row a and column b is colored, that means we drew a card with color a and number b.
By pigeonhole principle, there exists a row that has 2 colored cells, and intuitively, that row is unique. There also exists a column with 2 colored cells. Call the unique row, "Row A", and Call the unique column, "Column B".
If we are able to remove a card so that we still have a card of each color and number, that means, we can erase a cell, so each row still has at least one colored cell, and so does each column. If we erase a cell not in Row A, then the erased cell's row will be empty. If we erase a cell not in Column B, the erased cell's column will be empty. Thus the cell that we erase must be in both Row A and Column B. There is only one cell in both Row A and Column B, and thus that cell must be colored.
We first count the number of successful outcomes. We must chose which row to be "Row A", and which column to be "Column B". There are 7 ways to chose "Row A", and 7 ways to chose "Column B". Because of the logic used above, the intersection of Row A and Column B must be colored. However, Row A needs to have 2 colored cells. There are 6 other uncolored cells to chose from. Similarly, there are 6 uncolored cells in Column B.
Note that we can ignore all the rows and columns that contain colored cells. This is because Row A already contains 2 colored cells, and thus we can't color any more cells in Row A, similarly for Column B. The other row that contains a colored cell is not Row A, so it can only contain 1 colored cell, which it has, thus we can't color anymore cells in it. Similarly for the other column.
We can actually remove these rows/columns. This leaves a 5x5 grid, full of uncolored cells. Each row can have 1 cell, and so can each column. We count the # of colorings from the perspective of the rows. We look at the first row, it has 5 choices. We can look at the 2nd row, it has 4 choices, as it's selected cell can't occupy the same column. We continue down the line, and see there are ways to color.
Thus, the # of successful outcomes is .
We can then count the # of possible outcomes.
We can count the # of unsuccessful outcomes. We select "Row A" and "Column B" as usual, with ways. We don't color the intersection, so we have to color 2 cells in each. There are 6 other cells that can be colored in each, so we have
ways to color each. Then, we can get rid of rows and columns using the method above and we are left with a 4x4 grid. There are
ways to color.
Thus, the # of unsuccessful outcomes is .
After some calculation, we get
-Alexlikemath
Solution 7 (Official MAA)
In a set of eight cards that includes every color and every number, there will be exactly one repeated number and exactly one repeated color. If Sharon selects a set that in- cludes the card with that number and color, Sharon can discard it. If the set does not include that card, Sharon cannot discard any card. In the former case, there are 7! ways to choose one card of each number and color, and then 42 ways to choose the "extra" card. The total is 7! 42. In the latter case, there are 7 ways to choose which number is repeated, and (7) = 21 ways to choose which two cards of that number are used. There are then 5 ways to choose which color is repeated, and (2) = 15 ways to choose which cards of that color are used. There now remain four unused colors and four unused numbers, and there are 4! = 24 ways to choose from those. The total is 7 21.5.15. 24. The probability that a given set is of the first type is therefore The requested sum is 4 + 9 = 13.
Solution 8
WLOG let the colors be and let the numbers be
. Now call a color or number
is there is at least two cards in that category. In this case, the color red is
and the number
is safe because we have two of each.
Now notice that a card can be removed if and only if both its color AND number are , since even if we remove it we will have one of each category. Therefore, we must have a
.
For this probability, we will first count the total ways to assign the cards. Treating each color and number as distinct, we have ways. However, we cannot have two red ones, so we must subtract
cases from our total.
Meanwhile, to count the successful outcomes, one of the ones must be red. We have choices for the one, and
choices for the red. Then, the other one has
colors, and there are
ways to color the rest of the numbers.
Diving and simplifying, we have .
~xHypotenuse
See Also
2017 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 8 |
Followed by Problem 10 | |
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.