Difference between revisions of "2003 AMC 10A Problems/Problem 21"

(Solution 3)
m (Solution 1)
Line 52: Line 52:
  
 
The total number of assortments of cookies that can be collected is <math>7+6+5+4+3+2+1=28 \Rightarrow\boxed{\mathrm{(D)}\ 28}</math>
 
The total number of assortments of cookies that can be collected is <math>7+6+5+4+3+2+1=28 \Rightarrow\boxed{\mathrm{(D)}\ 28}</math>
 +
 +
There is a much faster way to do casework.
 +
 +
Case 1: 1 type of cookie - 3 ways
 +
 +
Case 2: 2 types of cookies - 3 ways to choose the 2 types of cookies, and 5 ways to choose how of each there are
 +
1 and 5
 +
2 and 4
 +
3 and 3
 +
4 and 2
 +
5 and 1
 +
 +
<math>3*5=15</math> cases for case 2
 +
 +
Case 3: 3 types of cookies - quick examination shows us that the only ways to use all three cookies are the following:
 +
4, 1, 1: this gives us 3!/2!*1! = 3 ways
 +
3, 2, 1: this gives us 3! = 6 ways
 +
2, 2, 2: this gives us 1 way
 +
total of 10 cases for this case
 +
10+15+3= <math>28</math> total
  
 
== Solution 2 ==
 
== Solution 2 ==

Revision as of 23:40, 18 July 2019

Problem

Pat is to select six cookies from a tray containing only chocolate chip, oatmeal, and peanut butter cookies. There are at least six of each of these three kinds of cookies on the tray. How many different assortments of six cookies can be selected?

$\mathrm{(A) \ } 22\qquad \mathrm{(B) \ } 25\qquad \mathrm{(C) \ } 27\qquad \mathrm{(D) \ } 28\qquad \mathrm{(E) \ } 729$

Solution 1

Let the ordered triplet $(x,y,z)$ represent the assortment of $x$ chocolate chip cookies, $y$ oatmeal cookies, and $z$ peanut butter cookies.

Using casework:

Pat selects $0$ chocolate chip cookies:

Pat needs to select $6-0=6$ more cookies that are either oatmeal or peanut butter.

The assortments are: $\{(0,6,0); (0,5,1); (0,4,2); (0,3,3); (0,2,4); (0,1,5); (0,0,6)\} \rightarrow 7$ assortments.

Pat selects $1$ chocolate chip cookie:

Pat needs to select $6-1=5$ more cookies that are either oatmeal or peanut butter.

The assortments are: $\{(1,5,0); (1,4,1); (1,3,2); (1,2,3); (1,1,4); (1,0,5) \} \rightarrow 6$ assortments.

Pat selects $2$ chocolate chip cookies:

Pat needs to select $6-2=4$ more cookies that are either oatmeal or peanut butter.

The assortments are: $\{(2,4,0); (2,3,1); (2,2,2); (2,1,3); (2,0,4)\} \rightarrow 5$ assortments.

Pat selects $3$ chocolate chip cookies:

Pat needs to select $6-3=3$ more cookies that are either oatmeal or peanut butter.

The assortments are: $\{(3,3,0); (3,2,1); (3,1,2); (3,0,3)\} \rightarrow 4$ assortments.

Pat selects $4$ chocolate chip cookies:

Pat needs to select $6-4=2$ more cookies that are either oatmeal or peanut butter.

The assortments are: $\{(4,2,0); (4,1,1); (4,0,2)\} \rightarrow 3$ assortments.

Pat selects $5$ chocolate chip cookies:

Pat needs to select $6-5=1$ more cookies that are either oatmeal or peanut butter.

The assortments are: $\{(5,1,0); (5,0,1)\} \rightarrow 2$ assortments.

Pat selects $6$ chocolate chip cookies:

Pat needs to select $6-6=0$ more cookies that are either oatmeal or peanut butter.

The only assortment is: $\{(6,0,0)\} \rightarrow 1$ assortment.

The total number of assortments of cookies that can be collected is $7+6+5+4+3+2+1=28 \Rightarrow\boxed{\mathrm{(D)}\ 28}$

There is a much faster way to do casework.

Case 1: 1 type of cookie - 3 ways

Case 2: 2 types of cookies - 3 ways to choose the 2 types of cookies, and 5 ways to choose how of each there are 1 and 5 2 and 4 3 and 3 4 and 2 5 and 1

$3*5=15$ cases for case 2

Case 3: 3 types of cookies - quick examination shows us that the only ways to use all three cookies are the following: 4, 1, 1: this gives us 3!/2!*1! = 3 ways 3, 2, 1: this gives us 3! = 6 ways 2, 2, 2: this gives us 1 way total of 10 cases for this case 10+15+3= $28$ total

Solution 2

It is given that it is possible to select at least 6 of each. Therefore, we can make a bijection to the number of ways to divide the six choices into three categories, since it is assumed that their order is unimportant. Using the ball and urns/sticks and stones/stars and bars formula, the number of ways to do this is $\binom{8}{2} = 28 \Rightarrow\boxed{\mathrm{(D)}\ 28}$

Solution 3

Suppose the six cookies to be chosen are the stars, as we attempt to implement stars and bars. We take two dividers, and place them between the cookies, such that the six cookies are split into 3 groups, where the groups are the number of chocolate chip, oatmeal, and peanut butter cookies, and each group can have 0. First, assume that the two dividers cannot go in between the same two cookies. By stars and bars, there are $\dbinom{7}{2}$ ways to make the groups.

Finally, since the two dividers can be together, we must add those cases where the two dividers are in the same space between cookies. There are 7 spaces, and hence 7 cases.

Our final answer is $21+7=\boxed{\mathrm{(D)}\ 28}$

See also

2003 AMC 10A (ProblemsAnswer KeyResources)
Preceded by
Problem 20
Followed by
Problem 22
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