Difference between revisions of "2011 AMC 12A Problems/Problem 16"

(Solution)
(Solution 7)
 
(23 intermediate revisions by 17 users not shown)
Line 1: Line 1:
 
== Problem ==
 
== Problem ==
Each vertex of convex polygon <math>ABCDE</math> is to be assigned a color. There are <math>6</math> colors to choose from, and the ends of each diagonal must have different colors. How many different colorings are possible?
+
Each vertex of convex pentagon <math>ABCDE</math> is to be assigned a color. There are <math>6</math> colors to choose from, and the ends of each diagonal must have different colors. How many different colorings are possible?
  
 
<math>
 
<math>
Line 11: Line 11:
 
== Solution ==
 
== Solution ==
  
There are three cases to consider altogether. The cases are all vertices have different colours, two of the vertices sharing the same colour while the rest of the vertices are of different colours and lastly, three of the vertices sharing the same colour while the rest are of different colours.  
+
We can do some casework when working our way around the pentagon from <math>A</math> to <math>E</math>. At each stage, there will be a makeshift diagram.
  
When two of the vertices are of the same colour, they have to be two consecutive vertices. Likewise for three of the vertices having the same colour, they have to be three consecutive vertices.
+
1.) For <math>A</math>, we can choose any of the 6 colors.
  
 +
        A : 6
  
When all vertices have different colours,  
+
2.) For <math>B</math>, we can either have the same color as <math>A</math>, or any of the other 5 colors. We do this because each vertex of the pentagon is affected by the 2 opposite vertices, and <math>D</math> will be affected by both <math>A</math> and <math>B</math>.
  
Number of ways of colouring <math>= 6 \times 5 \times 4 \times 3 \times 2 = 720 </math>.
+
      A : 6
 +
  B:1        B:5
  
 +
3.) For <math>C</math>, we cannot have the same color as <math>A</math>. Also, we can have the same color as <math>B</math> (<math>E</math> will be affected), or any of the other 4 colors. Because <math>C</math> can't be the same as <math>A</math>, it can't be the same as <math>B</math> if <math>B</math> is the same as <math>A</math>, so it can be any of the 5 other colors.
  
When two vertices sharing the same colour while other vertices having different colours,
+
      A : 6
 +
  B:1        B:5
 +
  C:5    C:4  C:1
  
Number of ways of colouring <math>= 5 \times (6 \times 5 \times 4 \times 3) = 1800  </math>
+
4.) <math>D</math> is affected by <math>A</math> and <math>B</math>. If they are the same, then <math>D</math> can be any of the other 5 colors. If they are different, then <math>D</math> can be any of the (6-2)=4 colors.
  
 +
      A : 6
 +
  B:1        B:5
 +
  C:5    C:4  C:1
 +
  D:5    D:4  D:4
  
When three vertices sharing the same colour while other vertices having different colours,  
+
5.) <math>E</math> is affected by <math>B</math> and <math>C</math>. If they are the same, then <math>E</math> can be any of the other 5 colors. If they are different, then <math>E</math> can be any of the (6-2)=4 colors.
  
Number of ways of colouring <math>= 5 \times (6 \times 5 \times 4 ) = 600  </math>
+
      A : 6
 +
  B:1        B:5
 +
  C:5     C:4  C:1
 +
  D:5     D:4  D:4
 +
  E:4    E:4   E:5
  
 +
6.) Now, we can multiply these three paths and add them:
 +
<math>(6\times1\times5\times5\times4)+(6\times5\times4\times4\times4)+(6\times5\times1\times4\times5)
 +
=600+1920+600=3120</math>
  
Total number of colouring <math> = 3120 </math>
+
7.) Our answer is <math>C</math>!
 +
 
 +
==Solution 2==
 +
 
 +
Right off the bat, we can analyze three things:
 +
 
 +
 
 +
1.) There can only be two of the same color on the pentagon.
 +
 
 +
2.) Any pair of the same color can only be next to each other on the pentagon.
 +
 
 +
3.) There can only be two different pairs of same colors on the pentagon at once.
 +
 
 +
 
 +
Now that we know this, we can solve the problem by using three cases: no same color pairs,  one same color pair, and two same color pairs.
 +
 
 +
 
 +
1.) If there are no color pairs, it is a simple permutation: six different colors in five different spots. We count <math>6!=720</math> cases. No rotation is necessary because all permutations are accounted for.
 +
 
 +
 
 +
2.)If there is one color pair, we must count 6 possibilities for the pair(as one element), 5 for the third vertex, 4 for the fourth vertex, and 3 for the fifth vertex.
 +
 
 +
We get <math>6\times5\times4\times3=360</math>.
 +
 
 +
However, there are 5 different locations the pair could be at. Therefore we get <math>360\times5=1800</math> possibilities for one pair.
 +
 
 +
 
 +
3.)If there are two color pairs, we must count 6 possibilities for the first pair(as one element), 5 possibilities for the next pair(as one element), and 4 possibilities for the final vertex.
 +
 
 +
We get <math>6\times5\times4=120</math>.
 +
 
 +
Once again, there are 5 different rotations in the pentagon that we must account for. Therefore we get <math>120\times5=600</math>  possibilities for two pairs.
 +
 
 +
 
 +
5.) If we add all of three cases together, we get <math>720+1800+600=3120</math>. The answer is <math>C</math>.
 +
 
 +
Solution by gsaelite
 +
 
 +
==Solution 3==
 +
 
 +
This solution essentially explains other ways of thinking about the cases stated in Solution 2.
 +
 
 +
Case 1:
 +
 
 +
<math>{6\choose5} \cdot 5!</math>
 +
 
 +
5 colors need to be chosen from the group of 6. Those 5 colors have 5! distinct arrangements on the pentagon's vertices.
 +
 
 +
Case 2:
 +
 
 +
<math>{6\choose4} \cdot4\cdot5\cdot3!</math>
 +
 
 +
4 colors need to be chosen from the group of 6. Out of those 4 colors, one needs to be chosen to form a pair of 2 identical colors. Then, for arranging this layout onto the pentagon, one of the five sides (same thing as pair of adjacent vertices) of the pentagon needs to be established for the pair. The remaining 3 unique colors can be arranged 3! different ways on the remaining 3 vertices.
 +
 
 +
Case 3:
 +
 
 +
<math>{6\choose3} \cdot {3\choose2} \cdot5\cdot2</math>
 +
 
 +
3 colors need to be chosen from the group of 6. Out of those 3 colors, 2 need to be chosen to be the pairs. Then, for arranging this layout onto the pentagon, start out by thinking about the 1 color that is not part of a pair, as it makes things easier. It can be any one of the 5 vertices of the pentagon. The remaining 2 pairs of colors can only be arranged 2 ways on the remaining 4 vertices.
 +
 
 +
Solving each case and adding them up gets you 3120. <math>\boxed{C}</math>
 +
 
 +
==Video Solution==
 +
https://youtu.be/FThly7dRBIE
 +
 
 +
~IceMatrix
 +
 
 +
==Solution 4==
 +
We can order the vertices of pentagon <math>ABCDE</math> arbitrarily. This means that besides for the first and last vertices, the previous vertex and the next vertex of any vertex have diagonals (such as <math>A</math>,<math>C</math>,<math>E</math>,<math>B</math>,<math>D</math> where <math>C</math> shares diagonals with <math>A</math> and <math>E</math>, <math>E</math> shares diagonals with <math>C</math> and <math>B</math>, etc.).
 +
 
 +
The first point can be one of <math>6</math> colors as we have no designated restraints on it. From there, the next three points can be five colors each since the only color restraint is that of the previous color (i.e. if the first point was blue, then the next point can be any of the other <math>5</math> colors, such as purple, and the point after that can be any color except purple, which is 5 colors).
 +
 
 +
The last point is the trickiest because we need to consider the second to last vertex and the first vertex. The third vertex has a <math>\frac{1}{5}</math> chance of being the same color as the first vertex, guaranteeing that the second to last vertex is a different color from the first vertex, leaving the last vertex with <math>4</math> possible colors. The remaining <math>\frac{4}{5}</math> times where the third to last vertex is a different color from the first vertex, there is a <math>\frac{4}{5}</math> chance that the second to last vertex is a different color from the first vertex and a <math>\frac{1}{5}</math> chance that they are the same color, so there are <math>4</math> and <math>5</math> possibilities for the last vertex respectively.
 +
 
 +
Our answer is now
 +
<math>6\times5^3\times(\frac{4}{5}\times(\frac{4}{5}\times4+\frac{1}{5}\times5)+\frac{1}{5}\times4)=3120</math>, which is <math>\boxed{C}</math>.
 +
 
 +
~Randomlygenerated
 +
 
 +
==Solution 5==
 +
Start at an arbitrary vertex (call this <math>A_1</math>) and draw a "star" by connecting the vertices at each of the <math>5</math> diagonals of the pentagon. For each vertex you visit when you're drawing the star, label those successively as <math>A_2, A_3, A_4, </math> and <math>A_5.</math> Let the <math>6</math> colors be the numbers <math>1, 2, ..., 6</math> for simplicity.
 +
 
 +
Then, this problem basically boils down to finding the number of sequences <math>A_1, A_2, A_3, A_4, A_5</math> such that (1) <math>1 \leq A_i \leq 6</math> for each <math>1 \leq i \leq 6, </math> (2) no two adjacent terms are equal, and (3) <math>A_1 \neq A_5.</math>
 +
 
 +
Observe that the number of such sequences satisfying conditions (1) and (2) is <math>N = 6 \cdot 5^4.</math> (since <math>A_1</math> can be freely chosen, while there are only <math>5</math> choices for each of <math>A_2, ..., A_5</math> because none of those can be equal to the previous term)
 +
 
 +
To find the number of sequences satisfying all three conditions, we can use complimentary counting and subtract the number of sequences <math>M</math> that satisfy (1) and (2) but NOT (3) from <math>N.</math>
 +
 
 +
In other words, we're looking for the sequences with <math>A_1 = A_5</math> that satisfy (1) and (2).
 +
 
 +
Fix <math>A_1 = A_5 = X,</math> where <math>X \in \{1, 2, 3, 4, 5, 6\}.</math>
 +
 
 +
For each value of <math>X,</math> there are three possible forms of the sequence:
 +
 
 +
<math>\bullet</math> <math>X A B C X,</math> where <math>A, B, C</math> are distinct from <math>X</math> and <math>A, B, C</math> themselves are also distinct.
 +
There are <math>5 \cdot 4 \cdot 3 = 60</math> ways to assign the values of <math>A, B, C</math> in this case.
 +
 
 +
<math>\bullet</math>  <math>X A B A X,</math> where <math>A</math> and <math>B</math> are distinct from <math>X</math> and <math>A</math> and <math>B</math> themselves are also distinct.
 +
There are <math>5 \cdot 4 = 20</math> ways to assign the values of <math>A</math> and <math>B</math> in this case.
 +
 
 +
<math>\bullet</math>  <math>X y_1 X y_2 X,</math> where <math>y_1</math> and <math>y_2</math> are both distinct from <math>X</math> but <math>y_1</math> and <math>y_2</math> themselves are not necessarily distinct. There are <math>5^2 = 25</math> ways to assign the values of <math>y_1</math> and <math>y_2</math> in this case.
 +
 
 +
Thus, for each value of <math>X,</math> there are <math>60 + 20 + 25 = 105</math> possible such sequences.
 +
 
 +
Since <math>X</math> can be arbitrarily chosen, we obtain that <math>M = 6 \cdot 105 = 630.</math>
 +
Thus, our final answer, the number of sequences satisfying conditions (1), (2), and (3) is <math>6 \cdot 5^4 - 630 = \boxed{3120}.</math>
 +
 
 +
-fidgetboss_4000
 +
 
 +
==Solution 6 (highly braindead)==
 +
 
 +
By case work on each vertice, starting from the top vertice and going in a clockwise direction with each subsequent vertice, we get the answer to be <math>6*( (5*( (4 * 4 * 4) + (1 * 4 * 5) )) + (1*( (5 * 5 * 4) )) ) = \boxed{3120}</math>, or <math>C</math>.
 +
 
 +
Some more explanation: each of the first three points split off into two cases where either they are the same color to the last point or they are different, like the second point in this example: 6 * (5*(...) + 1*(...))
 +
 
 +
==Solution 7==
 +
 
 +
If randomly coloring each vertex, we will have <math>6^5</math> that many ways,with one diagonal has two same coloring vertices, we will have <math>5\cdot 6^4</math> that many ways,
 +
with two diagonals have the same coloring vertices, we will have <math>10\cdot 6^3</math> that many ways, with three diagonals have the same coloring vertices, we will have <math>10\cdot 6^2</math> that many ways,
 +
with four diagonals have the same coloring vertices, we will have <math>5\cdot 6^1</math> that many ways, with five diagonals have the same coloring vertices, we will have <math>6</math> that many ways,
 +
by principle of inclusion and exclusion, so the answer = <math>6^5-5\cdot 6^4+10\cdot 6^3-10\cdot 6^2+5\cdot 6^1-6=3120</math>,
 +
 
 +
answer is <math>\boxed{\mathbf (C) }</math>
 +
 
 +
~szhangmath
  
 
== See also ==
 
== See also ==
 
{{AMC12 box|year=2011|num-b=15|num-a=17|ab=A}}
 
{{AMC12 box|year=2011|num-b=15|num-a=17|ab=A}}
 +
 +
[[Category:Introductory Combinatorics Problems]]
 +
{{MAA Notice}}

Latest revision as of 10:11, 26 September 2024

Problem

Each vertex of convex pentagon $ABCDE$ is to be assigned a color. There are $6$ colors to choose from, and the ends of each diagonal must have different colors. How many different colorings are possible?

$\textbf{(A)}\ 2520 \qquad \textbf{(B)}\ 2880 \qquad \textbf{(C)}\ 3120 \qquad \textbf{(D)}\ 3250 \qquad \textbf{(E)}\ 3750$

Solution

We can do some casework when working our way around the pentagon from $A$ to $E$. At each stage, there will be a makeshift diagram.

1.) For $A$, we can choose any of the 6 colors.

        A : 6

2.) For $B$, we can either have the same color as $A$, or any of the other 5 colors. We do this because each vertex of the pentagon is affected by the 2 opposite vertices, and $D$ will be affected by both $A$ and $B$.

      A : 6
 B:1        B:5

3.) For $C$, we cannot have the same color as $A$. Also, we can have the same color as $B$ ($E$ will be affected), or any of the other 4 colors. Because $C$ can't be the same as $A$, it can't be the same as $B$ if $B$ is the same as $A$, so it can be any of the 5 other colors.

      A : 6
 B:1        B:5
 C:5     C:4   C:1

4.) $D$ is affected by $A$ and $B$. If they are the same, then $D$ can be any of the other 5 colors. If they are different, then $D$ can be any of the (6-2)=4 colors.

      A : 6
 B:1        B:5
 C:5     C:4   C:1
 D:5     D:4   D:4

5.) $E$ is affected by $B$ and $C$. If they are the same, then $E$ can be any of the other 5 colors. If they are different, then $E$ can be any of the (6-2)=4 colors.

      A : 6
 B:1        B:5
 C:5     C:4   C:1
 D:5     D:4   D:4
 E:4     E:4   E:5

6.) Now, we can multiply these three paths and add them: $(6\times1\times5\times5\times4)+(6\times5\times4\times4\times4)+(6\times5\times1\times4\times5) =600+1920+600=3120$

7.) Our answer is $C$!

Solution 2

Right off the bat, we can analyze three things:


1.) There can only be two of the same color on the pentagon.

2.) Any pair of the same color can only be next to each other on the pentagon.

3.) There can only be two different pairs of same colors on the pentagon at once.


Now that we know this, we can solve the problem by using three cases: no same color pairs, one same color pair, and two same color pairs.


1.) If there are no color pairs, it is a simple permutation: six different colors in five different spots. We count $6!=720$ cases. No rotation is necessary because all permutations are accounted for.


2.)If there is one color pair, we must count 6 possibilities for the pair(as one element), 5 for the third vertex, 4 for the fourth vertex, and 3 for the fifth vertex.

We get $6\times5\times4\times3=360$.

However, there are 5 different locations the pair could be at. Therefore we get $360\times5=1800$ possibilities for one pair.


3.)If there are two color pairs, we must count 6 possibilities for the first pair(as one element), 5 possibilities for the next pair(as one element), and 4 possibilities for the final vertex.

We get $6\times5\times4=120$.

Once again, there are 5 different rotations in the pentagon that we must account for. Therefore we get $120\times5=600$ possibilities for two pairs.


5.) If we add all of three cases together, we get $720+1800+600=3120$. The answer is $C$.

Solution by gsaelite

Solution 3

This solution essentially explains other ways of thinking about the cases stated in Solution 2.

Case 1:

${6\choose5} \cdot 5!$

5 colors need to be chosen from the group of 6. Those 5 colors have 5! distinct arrangements on the pentagon's vertices.

Case 2:

${6\choose4} \cdot4\cdot5\cdot3!$

4 colors need to be chosen from the group of 6. Out of those 4 colors, one needs to be chosen to form a pair of 2 identical colors. Then, for arranging this layout onto the pentagon, one of the five sides (same thing as pair of adjacent vertices) of the pentagon needs to be established for the pair. The remaining 3 unique colors can be arranged 3! different ways on the remaining 3 vertices.

Case 3:

${6\choose3} \cdot {3\choose2} \cdot5\cdot2$

3 colors need to be chosen from the group of 6. Out of those 3 colors, 2 need to be chosen to be the pairs. Then, for arranging this layout onto the pentagon, start out by thinking about the 1 color that is not part of a pair, as it makes things easier. It can be any one of the 5 vertices of the pentagon. The remaining 2 pairs of colors can only be arranged 2 ways on the remaining 4 vertices.

Solving each case and adding them up gets you 3120. $\boxed{C}$

Video Solution

https://youtu.be/FThly7dRBIE

~IceMatrix

Solution 4

We can order the vertices of pentagon $ABCDE$ arbitrarily. This means that besides for the first and last vertices, the previous vertex and the next vertex of any vertex have diagonals (such as $A$,$C$,$E$,$B$,$D$ where $C$ shares diagonals with $A$ and $E$, $E$ shares diagonals with $C$ and $B$, etc.).

The first point can be one of $6$ colors as we have no designated restraints on it. From there, the next three points can be five colors each since the only color restraint is that of the previous color (i.e. if the first point was blue, then the next point can be any of the other $5$ colors, such as purple, and the point after that can be any color except purple, which is 5 colors).

The last point is the trickiest because we need to consider the second to last vertex and the first vertex. The third vertex has a $\frac{1}{5}$ chance of being the same color as the first vertex, guaranteeing that the second to last vertex is a different color from the first vertex, leaving the last vertex with $4$ possible colors. The remaining $\frac{4}{5}$ times where the third to last vertex is a different color from the first vertex, there is a $\frac{4}{5}$ chance that the second to last vertex is a different color from the first vertex and a $\frac{1}{5}$ chance that they are the same color, so there are $4$ and $5$ possibilities for the last vertex respectively.

Our answer is now $6\times5^3\times(\frac{4}{5}\times(\frac{4}{5}\times4+\frac{1}{5}\times5)+\frac{1}{5}\times4)=3120$, which is $\boxed{C}$.

~Randomlygenerated

Solution 5

Start at an arbitrary vertex (call this $A_1$) and draw a "star" by connecting the vertices at each of the $5$ diagonals of the pentagon. For each vertex you visit when you're drawing the star, label those successively as $A_2, A_3, A_4,$ and $A_5.$ Let the $6$ colors be the numbers $1, 2, ..., 6$ for simplicity.

Then, this problem basically boils down to finding the number of sequences $A_1, A_2, A_3, A_4, A_5$ such that (1) $1 \leq A_i \leq 6$ for each $1 \leq i \leq 6,$ (2) no two adjacent terms are equal, and (3) $A_1 \neq A_5.$

Observe that the number of such sequences satisfying conditions (1) and (2) is $N = 6 \cdot 5^4.$ (since $A_1$ can be freely chosen, while there are only $5$ choices for each of $A_2, ..., A_5$ because none of those can be equal to the previous term)

To find the number of sequences satisfying all three conditions, we can use complimentary counting and subtract the number of sequences $M$ that satisfy (1) and (2) but NOT (3) from $N.$

In other words, we're looking for the sequences with $A_1 = A_5$ that satisfy (1) and (2).

Fix $A_1 = A_5 = X,$ where $X \in \{1, 2, 3, 4, 5, 6\}.$

For each value of $X,$ there are three possible forms of the sequence:

$\bullet$ $X A B C X,$ where $A, B, C$ are distinct from $X$ and $A, B, C$ themselves are also distinct. There are $5 \cdot 4 \cdot 3 = 60$ ways to assign the values of $A, B, C$ in this case.

$\bullet$ $X A B A X,$ where $A$ and $B$ are distinct from $X$ and $A$ and $B$ themselves are also distinct. There are $5 \cdot 4 = 20$ ways to assign the values of $A$ and $B$ in this case.

$\bullet$ $X y_1 X y_2 X,$ where $y_1$ and $y_2$ are both distinct from $X$ but $y_1$ and $y_2$ themselves are not necessarily distinct. There are $5^2 = 25$ ways to assign the values of $y_1$ and $y_2$ in this case.

Thus, for each value of $X,$ there are $60 + 20 + 25 = 105$ possible such sequences.

Since $X$ can be arbitrarily chosen, we obtain that $M = 6 \cdot 105 = 630.$ Thus, our final answer, the number of sequences satisfying conditions (1), (2), and (3) is $6 \cdot 5^4 - 630 = \boxed{3120}.$

-fidgetboss_4000

Solution 6 (highly braindead)

By case work on each vertice, starting from the top vertice and going in a clockwise direction with each subsequent vertice, we get the answer to be $6*( (5*( (4 * 4 * 4) + (1 * 4 * 5) )) + (1*( (5 * 5 * 4) )) ) = \boxed{3120}$, or $C$.

Some more explanation: each of the first three points split off into two cases where either they are the same color to the last point or they are different, like the second point in this example: 6 * (5*(...) + 1*(...))

Solution 7

If randomly coloring each vertex, we will have $6^5$ that many ways,with one diagonal has two same coloring vertices, we will have $5\cdot 6^4$ that many ways, with two diagonals have the same coloring vertices, we will have $10\cdot 6^3$ that many ways, with three diagonals have the same coloring vertices, we will have $10\cdot 6^2$ that many ways, with four diagonals have the same coloring vertices, we will have $5\cdot 6^1$ that many ways, with five diagonals have the same coloring vertices, we will have $6$ that many ways, by principle of inclusion and exclusion, so the answer = $6^5-5\cdot 6^4+10\cdot 6^3-10\cdot 6^2+5\cdot 6^1-6=3120$,

answer is $\boxed{\mathbf (C) }$

~szhangmath

See also

2011 AMC 12A (ProblemsAnswer KeyResources)
Preceded by
Problem 15
Followed by
Problem 17
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

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png