How Do You Calculate Combinations for Ice Cream Flavors with Constraints?

  • Thread starter Thread starter roadrunner
  • Start date Start date
  • Tags Tags
    Combinations Ice
Click For Summary

Homework Help Overview

The discussion revolves around calculating combinations of ice cream flavors under specific constraints. The original poster presents a scenario involving 31 flavors and the selection of 12 cones, with varying conditions on flavor repetition.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore different interpretations of the problem, particularly regarding whether order matters in the selection process. They discuss potential combinatorial formulas for each part of the question, including combinations without replacement and combinations with repetition.

Discussion Status

There is ongoing exploration of the appropriate combinatorial approaches for each part of the problem. Some participants suggest specific formulas while others question the assumptions behind those choices. The discussion reflects a mix of agreement and differing viewpoints on how to handle the constraints presented.

Contextual Notes

Participants note that the problem involves constraints on flavor repetition, with specific conditions for each part of the question. There is also mention of the context being related to combinations with repetition, and the need to justify the application of combinatorial formulas.

roadrunner
Messages
101
Reaction score
0

Homework Statement



i think i might have it right but i want a 2nd opinion (mainly part c)

31 flavors of icecream. we are picking 12 cones(1 scoop).

a) cannot have same flavor twice
b) can have any flavor up to 12 times
c) can have any flavor up to 11 times but not 12

The Attempt at a Solution



a) no idea where to even start...
b)(31+12-1)c(31)?
c)(31+12-1)c(31)-31*30...since there are 31 flavors, you will have 31 cases of 11 of one flavor and 1 of another (of the 30 remaining flavors)
 
Last edited by a moderator:
Physics news on Phys.org
thinking a is maybe 31C12?
 
roadrunner said:
thinking a is maybe 31C12?

(a) Think about how the cones would get filled. You have 31 choices for the first, 30 for the second, etc. Are we producing all 12 cones in one go, or are you going to B-R on 12 separate occasions? I'm asking whether order matters.

(b) Since you can have *any* flavor up to 12 times, does it matter what is in each cone? How many ways could you fill 12 cones?

(c) Make the twelfth cone a "set-aside". How many ways could you fill 11 cones? Now, in these cases where all eleven are the same flavor, you must choose the twelfth to be different from all the rest. Otherwise, it doesn't matter what's in the twelfth cone.
 
Last edited:
a) order does NOT matter which is why i don't understand it lol...if order mattered its 31!/20!
(whats B-R)?

b) your not impoying 31^12 are you? (its in the chapter on combinations with repettitions...and 31^12 woold be if order matters)
c)
 
Last edited:
roadrunner said:
a) order does NOT matter which is why i don't understand it lol...if order mattered its 31!/20!
(whats B-R)?

B-R is Baskin-Robbins, home of the 31 flavors. I asked about order because I wasn't sure about the context of the problem. So order doesn't matter because all twelve are being made at once. So the answer should be 31C12, since it is essentially 31 choices taken from a bin without replacement ( 31·30·...·20 = 31!/(31-12)! = 31P12 ), divided by 12! possible arrangements of the cones that we are counting as only a single possibility.

b) your not impoying 31^12 are you? (its in the chapter on combinations with repettitions...and 31^12 woold be if order matters)

Now that I know that order doesn't matter, I guess this gets modified a little. What I was suggesting, though, is that if any amount of repetition is allowed, it doesn't really matter what choices you make for the twelve. So we have 31 choices taken from the bin with replacement. That would be 31^12, but, as you say, we don't want to count the different orders of removal as distinct, so we would again divide by 12! (Even if all twelve cones got the same flavor, we want to count it as one outcome, but there are 12! arrangements in which individual scoops could end up in cones. I'm still thinking about this, though...)

This is a much larger number than for part (a), which makes sense.

c)

The last one's a bit more complicated, since we have to make sure we don't allow more than 11 duplicates. I think we can start with the result for part (b), as you proposed, and subtract outcomes. But I think there are only 31 cases to be removed: those where all 12 cones have the same flavor. You don't have to deal with the cases of 11 identical cones and what to do with the twelfth, because those already exist in the set we've counted in part (b). So I believe (at the moment, anyway) that this would be
[(31^12)/12!] - 31.

I'll think about this some more, but I don't think the nCr combinatorial function comes into the last two parts, since you have the equivalent of selection from an urn with replacement (have you looked at lottery problems?). But feel free to argue with this -- combinatorics is one of the harder parts of probability theory to evaluate clearly.
 
ok part a makes sense
for part b now I am thining combination with repetition
so (31+12-1)C(12) posssibly?
and so taht would make C (31+12-1)C(12)-31?
 
roadrunner said:
ok part a makes sense
for part b now I am thining combination with repetition
so (31+12-1)C(12) posssibly?
and so taht would make C (31+12-1)C(12)-31?

Why would you have 42C12? Where would the 42 come from?

These combinatorial formulas have to be applied carefully. They do not work for all sorts of counting problems; you need to be able to justify why the factors in the product would appear in the situation you are considering.

The flavors of ice cream can be treated like balls in a bin that can be withdrawn one by one. In the last two parts, since you can re-use any of them, these problems can be treated like "drawing with replacement". So you have all 31 to choose from each time.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 8 ·
Replies
8
Views
15K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K