Difference between revisions of "2010 AMC 12B Problems/Problem 17"

(Solution 3 (Doesn't require the hook length formula, copied from Solution 1 and the Beauty of Math video))
 
(37 intermediate revisions by 9 users not shown)
Line 7: Line 7:
  
 
== Solution 1 ==
 
== Solution 1 ==
Observe that all tableaus must have 1s and 9s in the corners, 8s and 2s next to those corner squares, and 4-6 in the middle square. Also note that for each tableau, there exists a valid tableau diagonally symmetrical across the diagonal extending from the top left to the bottom right.  
+
Observe that all tables must have 1s and 9s in the corners, 8s and 2s next to those corner squares, and 4-6 in the middle square. Also note that for each table, there exists a valid table diagonally symmetrical across the diagonal extending from the top left to the bottom right.  
  
  
Line 42: Line 42:
 
<math>2*6=12</math>
 
<math>2*6=12</math>
  
<cmath>12+18+12=\boxed{\textbf{D)}42}</cmath>
+
<cmath>12+18+12=\boxed{\textbf{(D) }42}</cmath>
  
  
 
~BJHHar
 
~BJHHar
 
 
''P.S.: I like the tetris approach used in Solution 2 but found it a bit arbitrary. Solution 3 is the best, but not many would know hook length theorem. If the initial observations are unclear, make a tableau with a range of possible numbers in each square''.
 
  
 
== Solution 2==
 
== Solution 2==
The first 4 numbers will form one of 3 tetris "shapes".
+
This solution is trivial by the hook length theorem. The hooks look like this:
  
First, let's look at the numbers that form a <math>2\times2</math> block, sometimes called tetris <math> O</math>:
+
<math> \begin{tabular}{|c|c|c|} \hline 5 & 4 & 3 \\
 
+
\hline 4 & 3 & 2\\
<math> \begin{tabular}{|c|c|c|} \hline 1 & 2 & \\
+
\hline 3 & 2 & 1\\
\hline 3 & 4 & \\
 
\hline & & \\
 
 
\hline \end{tabular}</math>
 
\hline \end{tabular}</math>
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 3 & \\
+
So, the answer is <math>\frac{9!}{5 \cdot 4 \cdot 3 \cdot 4 \cdot 3 \cdot 2 \cdot 3 \cdot 2 \cdot 1}</math> = <math>\boxed{\text{(D) }42}</math>
\hline 2 & 4 & \\
 
\hline & & \\
 
\hline \end{tabular}</math>
 
  
Second, let's look at the numbers that form a vertical "L", sometimes called tetris <math> J</math>:
+
P.S. The hook length formula is a formula to calculate the number of standard Young tableaux of a Young diagram. Numberphile has an easy-to-understand video about it here: https://www.youtube.com/watch?v=vgZhrEs4tuk The full proof is quite complicated and is not given in the video, although the video hints at possible proofs.
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 4 & \\
+
Hook length theorem: take any shape made out of congruent squares and say the rules are just like the problem described. Now if you count how many squares are to the right and to the down of it, INCLUDING THE NUMBER ITSELF, then multiply the numbers that have been written down, that is the denominator of the fraction. The numerator is simpler: the factorial of the number of squares. Ex:
\hline 2 & & \\
 
\hline 3 & & \\
 
\hline \end{tabular}</math>
 
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 3 & \\
+
<math> \begin{tabular}{|c|c|c|}
\hline 2 & & \\
+
\hline 4 & 3 & 2\\
\hline 4 & & \\
+
\hline 3 & 2 & 1\\
 
\hline \end{tabular}</math>
 
\hline \end{tabular}</math>
 +
Therefore answer will be 6!/(4 * 3 * 3 * 2 * 2)
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 2 & \\
+
~edits by glowworm
\hline 3 & & \\
 
\hline 4 & & \\
 
\hline \end{tabular}</math>
 
  
Third, let's look at the numbers that form a horizontal "L", sometimes called tetris <math> L</math>:
+
== Solution 3 (Doesn't require the hook length formula, copied from Solution 1 and the Beauty of Math video)==
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 2 & 3 \\
+
As Solution number one and the videos said 1 and 9 must go on the top left and top right.
\hline 4 & & \\
+
The middle must be 4, 5, or 6 because there must be two numbers less than it to fill the top middle and left middle squares (so 2 and 3 can't be in the middle) and two numbers more than it to fil the right middle and bottom middle squares (7 and 8 don’t work).
\hline & & \\
 
\hline \end{tabular}</math>
 
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 2 & 4 \\
+
So, first casework with the middle being 4. 2 and 3 must go in the middle top and the middle left boxes because they are the only numbers smaller than 4. There are 2 ways to arrange the 2 and 3 because they can flip their places in the middle top and middle left boxes.
\hline 3 & & \\
+
<cmath>\begin{tabular}{|c|c|c|}
\hline & & \\
+
\hline 1&2&\\
\hline \end{tabular}</math>
+
\hline 3&4&\\
 +
\hline &&9\\
 +
\hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&3&\\
 +
\hline 2&4&\\
 +
\hline &&9\\
 +
\hline \end{tabular}</cmath>
 +
Now, for the rightmost column, choose 2 numbers from the 4 remaining numbers (5, 6, 7, and 8) to fill in that column. Since those two numbers have to increase going downwards, there is only one way to arrange those 2 numbers. The two remaining numbers must automatically go to the two spots remaining on the bottom row, and likewise there is only one way to arrange them. For example, if I picked 5 and 8 to go in the 2 spots in the rightmost square, I would have one of these two charts (there were two ways to arrange the 2 and 3 in the chart):
 +
<cmath>\begin{tabular}{|c|c|c|}  
 +
\hline 1&2&5\\
 +
\hline 3&4&8\\
 +
\hline 6&7&9\\
 +
\hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&3&5\\
 +
\hline 2&4&8\\
 +
\hline 6&7&9\\
 +
\hline \end{tabular}</cmath>
 +
So, the number of ways to make a chart where the middle number is 4 is <math>2 \cdot \binom{4}{2} = 2\cdot6 = 12</math> ways.
  
<math> \begin{tabular}{|c|c|c|} \hline 1 & 3 & 4 \\
+
For the case when the middle is 6, it is exactly symmetric to the middle being 4 but on the opposite side. 7 and 8 must be in the bottom middle and right middle squares because if you tried to put any other number in those two squares that number would have to be bigger than 7 and 8 but smaller than 9. So there are 2 ways to arrange 7 and 8 (because they can flip themselves) and 4 choose 2 ways to choose two numbers (out of 2, 3, 4, and 5) to go in the two spaces available on the leftmost column. Again, the remaining two numbers will be forced to go in only one way on the two spaces available on the top row, meaning there are also <math>12</math> ways to make a chart with the middle number being 6. Example- 7 and 8 are in the bottom middle and right middle squares respectively and I chose 2 and 3 to be the numbers on the two spots on the leftmost column:
\hline 2 & & \\
+
<cmath>\begin{tabular}{|c|c|c|}  
\hline & & \\
+
\hline 1&4&5\\
\hline \end{tabular}</math>
+
\hline 2&6&8\\
 +
\hline 3&7&9\\
 +
\hline \end{tabular}</cmath>
  
Now, the numbers 6-9 will form similar shapes (rotated by 180 degrees, and anchored in the lower-right corner of the 3x3 grid).
+
The case when the middle is 5 is the hardest case.
 +
The numbers 2, 3, and 4 will fill in spaces from the top left until the diagonal with 5, and either the top right or bottom left square will be left blank (no blanks before that because the box must increase). So there are 2 choices which one to leave blank:
 +
<cmath>\begin{tabular}{|c|c|c|}
 +
\hline 1&&\\
 +
\hline &5&\\
 +
\hline x&&9\\
 +
\hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&&x\\
 +
\hline &5&\\
 +
\hline &&9\\
 +
\hline \end{tabular}</cmath>
 +
There are 3 choices for the box (either 2, 3, or 4) immediately next to the blank box between 1 and the blank box and the other 2 numbers (from 2, 3, or 4) will sort themselves. For example, if I chose the blank box to be the bottom left box and I chose the number immediately next to the blank box to be 2, the grid would look like this:
 +
<cmath>\begin{tabular}{|c|c|c|}
 +
\hline 1&3&4\\
 +
\hline 2&5&\\
 +
\hline &&9\\
 +
\hline \end{tabular}</cmath>
 +
Now there are 2 empty spaces in either the rightmost or the bottommost row (the row with the square you chose to be blank and 9)  and 1 empty space in the middle of the other row with 9 and a value of 2, 3, or 4. Example- the two empty spaces are marked with an p and the one empty space in the other row is marked with a q:
 +
<cmath>\begin{tabular}{|c|c|c|}
 +
\hline 1&3&4\\
 +
\hline 2&5&q\\
 +
\hline p&p&9\\
 +
\hline \end{tabular}</cmath>
 +
Finally, pick either 6, 7, or 8 to fill the box marked q (the one empty space between a value of 2, 3, or 4) and the remaining two numbers from 6, 7 or 8 will sort itself in the two boxes marked with a p. This is 3 choose 1 = 3 ways. Thus, there are 2 ways to choose the blank box, 3 ways to choose the number (2, 3, or 4) between the blank box and 1, and 3 ways to choose the box on the opposite side of the number between the blank box and 1, and all the other numbers are forced to arrange themselves in 1 way. This means there are <math>2\cdot3\cdot3=18</math> ways to make a chart with 5 in the middle.
  
If you match up one tetris shape from the numbers 1-4 and one tetris shape from the numbers 6-9, there is only one place left for the number 5 to be placed.
+
The answer to the problem is <math>12+12+18 = \boxed{\text{(D) }42}</math> ways to make a chart in total.
  
So what shapes will physically fit in the 3x3 grid, together?
+
~unhappyfarmer
  
<math> \begin{array}{ccl} 1 - 4 \text{ shape} & 6 - 9 \text{ shape} & \text{number of pairings} \\
+
== Video Solution by Pi Academy (Fast and Easy) ==
O & J & 2\times 3 = 6 \\
+
https://youtu.be/3gwxQ1fjxQM?si=oL0HxnoYSgyl1Rh6
O & L & 2\times 3 = 6 \\
 
J & O & 3\times 2 = 6 \\
 
J & J & 3 \times 3 = 9 \\
 
L & O & 3 \times 2 = 6 \\
 
L & L & 3 \times 3 = 9 \\
 
O & O & \qquad \text{They don't fit} \\
 
J & L & \qquad \text{They don't fit} \\
 
L & J & \qquad \text{They don't fit} \\
 
\end{array}</math>
 
  
The answer is <math> 4\times 6 + 2\times 9 = \boxed{\text{(D) }42}</math>.
+
~ Pi Academy
  
== Solution 3==
+
==Video Solution 2==
This solution is trivial by the hook length theorem. The hooks look like this:
+
https://youtu.be/ZfnxbpdFKjU?t=422
  
<math> \begin{tabular}{|c|c|c|} \hline 5 & 4 & 3 \\
+
~IceMatrix
\hline 4 & 3 & 2\\
 
\hline 3 & 2 & 1\\
 
\hline \end{tabular}</math>
 
 
 
So, the answer is <math>\frac{9!}{5 \cdot 4 \cdot 3 \cdot 4 \cdot 3 \cdot 2 \cdot 3 \cdot 2 \cdot 1}</math> = <math>\boxed{\text{(D) }42}</math>
 
 
 
P.S. The hook length formula is a formula to calculate the number of standard Young tableaux of a Young diagram. Numberphile has an easy-to-understand video about it here: https://www.youtube.com/watch?v=vgZhrEs4tuk The full proof is quite complicated and is not given in the video, although the video hints at possible proofs.
 
  
 
== See also ==
 
== See also ==
 
{{AMC12 box|year=2010|num-b=16|num-a=18|ab=B}}
 
{{AMC12 box|year=2010|num-b=16|num-a=18|ab=B}}
 +
{{AMC10 box|year=2010|num-b=22|num-a=24|ab=B}}
  
 
[[Category:Introductory Combinatorics Problems]]
 
[[Category:Introductory Combinatorics Problems]]
 
{{MAA Notice}}
 
{{MAA Notice}}

Latest revision as of 20:17, 12 October 2024

The following problem is from both the 2010 AMC 12B #17 and 2010 AMC 10B #23, so both problems redirect to this page.

Problem

The entries in a $3 \times 3$ array include all the digits from $1$ through $9$, arranged so that the entries in every row and column are in increasing order. How many such arrays are there?

$\textbf{(A)}\ 18 \qquad \textbf{(B)}\ 24 \qquad \textbf{(C)}\ 36 \qquad \textbf{(D)}\ 42 \qquad \textbf{(E)}\ 60$

Solution 1

Observe that all tables must have 1s and 9s in the corners, 8s and 2s next to those corner squares, and 4-6 in the middle square. Also note that for each table, there exists a valid table diagonally symmetrical across the diagonal extending from the top left to the bottom right.


  • Case 1: Center 4

\[\begin{tabular}{|c|c|c|} \hline 1&2&\\ \hline 3&4&8\\ \hline &&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&2&\\ \hline 3&4&\\ \hline &8&9\\ \hline \end{tabular}\]

3 necessarily must be placed as above. Any number could fill the isolated square, but the other 2 are then invariant. So, there are 3 cases each and 6 overall cases. Given diagonal symmetry, alternate 2 and 8 placements yield symmetrical cases. $2*6=12$

  • Case 2: Center 5

\[\begin{tabular}{|c|c|c|} \hline 1&2&3\\ \hline 4&5&\\ \hline &8&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&2&\\ \hline 3&5&\\ \hline &8&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&2&\\ \hline 3&5&8\\ \hline &&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&2&3\\ \hline 4&5&8\\ \hline &&9\\ \hline \end{tabular}\]

Here, no 3s or 7s are assured, but this is only a teensy bit trickier and messier. WLOG, casework with 3 instead of 7 as above. Remembering that $4<5$, logically see that the numbers of cases are then 2,3,3,1 respectively. By symmetry, $2*9=18$

  • Case 3: Center 6

By inspection, realize that this is symmetrical to case 1 except that the 7s instead of the 3s are assured. $2*6=12$

\[12+18+12=\boxed{\textbf{(D) }42}\]


~BJHHar

Solution 2

This solution is trivial by the hook length theorem. The hooks look like this:

$\begin{tabular}{|c|c|c|} \hline 5 & 4 & 3 \\ \hline 4 & 3 & 2\\ \hline 3 & 2 & 1\\ \hline \end{tabular}$

So, the answer is $\frac{9!}{5 \cdot 4 \cdot 3 \cdot 4 \cdot 3 \cdot 2 \cdot 3 \cdot 2 \cdot 1}$ = $\boxed{\text{(D) }42}$

P.S. The hook length formula is a formula to calculate the number of standard Young tableaux of a Young diagram. Numberphile has an easy-to-understand video about it here: https://www.youtube.com/watch?v=vgZhrEs4tuk The full proof is quite complicated and is not given in the video, although the video hints at possible proofs.

Hook length theorem: take any shape made out of congruent squares and say the rules are just like the problem described. Now if you count how many squares are to the right and to the down of it, INCLUDING THE NUMBER ITSELF, then multiply the numbers that have been written down, that is the denominator of the fraction. The numerator is simpler: the factorial of the number of squares. Ex:

$\begin{tabular}{|c|c|c|} \hline 4 & 3 & 2\\ \hline 3 & 2 & 1\\ \hline \end{tabular}$ Therefore answer will be 6!/(4 * 3 * 3 * 2 * 2)

~edits by glowworm

Solution 3 (Doesn't require the hook length formula, copied from Solution 1 and the Beauty of Math video)

As Solution number one and the videos said 1 and 9 must go on the top left and top right. The middle must be 4, 5, or 6 because there must be two numbers less than it to fill the top middle and left middle squares (so 2 and 3 can't be in the middle) and two numbers more than it to fil the right middle and bottom middle squares (7 and 8 don’t work).

So, first casework with the middle being 4. 2 and 3 must go in the middle top and the middle left boxes because they are the only numbers smaller than 4. There are 2 ways to arrange the 2 and 3 because they can flip their places in the middle top and middle left boxes. \[\begin{tabular}{|c|c|c|}  \hline 1&2&\\ \hline 3&4&\\ \hline &&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&3&\\ \hline 2&4&\\ \hline &&9\\ \hline \end{tabular}\] Now, for the rightmost column, choose 2 numbers from the 4 remaining numbers (5, 6, 7, and 8) to fill in that column. Since those two numbers have to increase going downwards, there is only one way to arrange those 2 numbers. The two remaining numbers must automatically go to the two spots remaining on the bottom row, and likewise there is only one way to arrange them. For example, if I picked 5 and 8 to go in the 2 spots in the rightmost square, I would have one of these two charts (there were two ways to arrange the 2 and 3 in the chart): \[\begin{tabular}{|c|c|c|}  \hline 1&2&5\\ \hline 3&4&8\\ \hline 6&7&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&3&5\\ \hline 2&4&8\\ \hline 6&7&9\\ \hline \end{tabular}\] So, the number of ways to make a chart where the middle number is 4 is $2 \cdot \binom{4}{2} = 2\cdot6 = 12$ ways.

For the case when the middle is 6, it is exactly symmetric to the middle being 4 but on the opposite side. 7 and 8 must be in the bottom middle and right middle squares because if you tried to put any other number in those two squares that number would have to be bigger than 7 and 8 but smaller than 9. So there are 2 ways to arrange 7 and 8 (because they can flip themselves) and 4 choose 2 ways to choose two numbers (out of 2, 3, 4, and 5) to go in the two spaces available on the leftmost column. Again, the remaining two numbers will be forced to go in only one way on the two spaces available on the top row, meaning there are also $12$ ways to make a chart with the middle number being 6. Example- 7 and 8 are in the bottom middle and right middle squares respectively and I chose 2 and 3 to be the numbers on the two spots on the leftmost column: \[\begin{tabular}{|c|c|c|}  \hline 1&4&5\\ \hline 2&6&8\\ \hline 3&7&9\\ \hline \end{tabular}\]

The case when the middle is 5 is the hardest case. The numbers 2, 3, and 4 will fill in spaces from the top left until the diagonal with 5, and either the top right or bottom left square will be left blank (no blanks before that because the box must increase). So there are 2 choices which one to leave blank: \[\begin{tabular}{|c|c|c|}  \hline 1&&\\ \hline &5&\\ \hline x&&9\\ \hline \end{tabular} \;\;\; \begin{tabular}{|c|c|c|} \hline 1&&x\\ \hline &5&\\ \hline &&9\\ \hline \end{tabular}\] There are 3 choices for the box (either 2, 3, or 4) immediately next to the blank box between 1 and the blank box and the other 2 numbers (from 2, 3, or 4) will sort themselves. For example, if I chose the blank box to be the bottom left box and I chose the number immediately next to the blank box to be 2, the grid would look like this: \[\begin{tabular}{|c|c|c|}  \hline 1&3&4\\ \hline 2&5&\\ \hline &&9\\ \hline \end{tabular}\] Now there are 2 empty spaces in either the rightmost or the bottommost row (the row with the square you chose to be blank and 9) and 1 empty space in the middle of the other row with 9 and a value of 2, 3, or 4. Example- the two empty spaces are marked with an p and the one empty space in the other row is marked with a q: \[\begin{tabular}{|c|c|c|}  \hline 1&3&4\\ \hline 2&5&q\\ \hline p&p&9\\ \hline \end{tabular}\] Finally, pick either 6, 7, or 8 to fill the box marked q (the one empty space between a value of 2, 3, or 4) and the remaining two numbers from 6, 7 or 8 will sort itself in the two boxes marked with a p. This is 3 choose 1 = 3 ways. Thus, there are 2 ways to choose the blank box, 3 ways to choose the number (2, 3, or 4) between the blank box and 1, and 3 ways to choose the box on the opposite side of the number between the blank box and 1, and all the other numbers are forced to arrange themselves in 1 way. This means there are $2\cdot3\cdot3=18$ ways to make a chart with 5 in the middle.

The answer to the problem is $12+12+18 = \boxed{\text{(D) }42}$ ways to make a chart in total.

~unhappyfarmer

Video Solution by Pi Academy (Fast and Easy)

https://youtu.be/3gwxQ1fjxQM?si=oL0HxnoYSgyl1Rh6

~ Pi Academy

Video Solution 2

https://youtu.be/ZfnxbpdFKjU?t=422

~IceMatrix

See also

2010 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 16
Followed by
Problem 18
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 12 Problems and Solutions
2010 AMC 10B (ProblemsAnswer KeyResources)
Preceded by
Problem 22
Followed by
Problem 24
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. AMC logo.png