Cheese shop combination question

In summary: So according to you, even if only one kind of cheese was sold, the store would have to restock by buying 34 types of cheese.
  • #1
RoboNerd
410
11

Homework Statement



Question:

A cheese shop carries a large stock of 34 kinds of cheese. By the end of the day 48 cheese sales have been made and the items sold must be restocked. How many different restocking orders are possible?

Homework Equations



Combination and permutation equations

The Attempt at a Solution


[/B]
Hi Everyone! I have the above question and have no idea on how to get started.

Well I do know that each of the sales must involve buying at least one type of cheese, so this sounds to me like a stars-and-bars combination type problem. However the fact that we are looking for the different combinations of 48 cheese sales instead of one has me stumped on what approach I should take.

So I need to figure out how many different types of orders have taken place, but I have no idea on how to start. Could anyone please help guide me in the right direction?

Thanks in advance.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
RoboNerd said:

Homework Statement



Question:

A cheese shop carries a large stock of 34 kinds of cheese. By the end of the day 48 cheese sales have been made and the items sold must be restocked. How many different restocking orders are possible?

Homework Equations



Combination and permutation equations
Such as?
RoboNerd said:

The Attempt at a Solution


[/B]
Hi Everyone! I have the above question and have no idea on how to get started.

Well I do know that each of the sales must involve buying at least one type of cheese, so this sounds to me like a stars-and-bars combination type problem. However the fact that we are looking for the different combinations of 48 cheese sales instead of one has me stumped on what approach I should take.

So I need to figure out how many different types of orders have taken place, but I have no idea on how to start. Could anyone please help guide me in the right direction?
Since one of each cheese type has been sold, you know that an order must include one of each of the 34 cheese types. Now, since there are 14 (- 48 - 34) transactions unaccounted for, you could look at the different ways that the remaining 14 sales could come from the 34 cheeses.
 
Last edited:
  • #3
Hi, Thanks for replying.

I would disagree with you that each one of the cheese types must have been sold. It is possible, but it is also possible to have all of the 48 orders to be for one type of Feta Cheese, for example - as far as I see according to the wording of the problem.

If so, I do not understand where you are coming from in your approach..
Thanks!
 
  • #4
Look at the ends first. If all 34 kinds of cheese were sold, then the number of possible restocking orders is 1. If only one kind was sold, then the number of possible restocking orders is 34. Note that
$$1=\begin{pmatrix}
34\\
34
\end{pmatrix};~~~
34=\begin{pmatrix}
34\\
1
\end{pmatrix}
$$
What goes in between? However, I don't see the importance of 48 as opposed to any other number greater than 34 to guarantee the possibility that at least one of each kind was sold.
 
  • #5
kuruman said:
Look at the ends first. If all 34 kinds of cheese were sold, then the number of possible restocking orders is 1. If only one kind was sold, then the number of possible restocking orders is 34. Note that
$$1=\begin{pmatrix}
34\\
34
\end{pmatrix};~~~
34=\begin{pmatrix}
34\\
1
\end{pmatrix}
$$
What goes in between? However, I don't see the importance of 48 as opposed to any other number greater than 34 to guarantee the possibility that at least one of each kind was sold.

Hi and thanks for your comment. Let's see what I can make here. So according to you we count the various possibilities for selling 34 types of cheese. That is a typical 'stars and bars problem' which I can do. However, the problem has 48 different orders.

Would that mean that I have 48 orders and I multiply it by the various possibilities for selling 34 types of cheese as in a typical stars and bars problem?
 
  • #6
RoboNerd said:
However, the problem has 48 different orders.
The problem states 48 different sales not orders. I assume that at the end of the day the store owner looks at what is left and replenishes what is missing. It can be done with a single order if only one kind was sold, but there are 34 kinds so that the total number of possible restocking orders if only one kind has been sold is 34. That's how I read the question.
 
  • #7
RoboNerd said:
I would disagree with you that each one of the cheese types must have been sold.
I misinterpreted this line:
RoboNerd said:
Well I do know that each of the sales must involve buying at least one type of cheese
 
  • #8
kuruman said:
The problem states 48 different sales not orders. I assume that at the end of the day the store owner looks at what is left and replenishes what is missing. It can be done with a single order if only one kind was sold, but there are 34 kinds so that the total number of possible restocking orders if only one kind has been sold is 34. That's how I read the question.
So - to paraphrase what you are saying to understand it correctly - you believe that a sale is equal to a single cheese item being sold?
 
  • #9
Mark44 said:
I misinterpreted this line:
No problem - fully OK and understandable!
 
  • #10
RoboNerd said:
So - to paraphrase what you are saying to understand it correctly - you believe that a sale is equal to a single cheese item being sold?
Yes, a sale is a sale not to be confused with a sales receipt that may have more than one kind of cheese listed on it.
 
  • #11
kuruman said:
Yes, a sale is a sale not to be confused with a sales receipt that may have more than one kind of cheese listed on it.
I am getting extremely confused. A sale could involve more than one types of cheese, but they ask me for how many restocking orders are possible.

If I sell Blue Cheese and Brie, then I have a different restocking order than if I sell Cheddar and Gouda, even though they all have the same number of cheese items being sold (2).

I am extremely confused. Any assistance would be greatly appreciated
 
  • #12
RoboNerd said:
f I sell Blue Cheese and Brie, then I have a different restocking order than if I sell Cheddar and Gouda, even though they all have the same number of cheese items being sold (2).
Every time your cash register goes kachung, that's a sale. If you sell Blue Cheese and Brie that's two sales because your cash register goes kachung twice. If all you sell on a given day is just Blue Cheese and Brie you need one restocking order for that pair of cheeses because you sold nothing else. How many ways are there that you can sell only two kinds of cheese when you have 34 kinds? That's the number of possible restocking orders when you sell two different kinds. That number needs to be added to the number of restocking orders if you sold only one kind. Then you need to consider what happens when you sell three different cheeses and so on.
 
  • #13
So I consider find the all possible combinations for the type of cheese being sold. If I have more than one order being replicated, that is equal to the same restocking order.

So I try to find the combinations for the different types of cheese sold? OK. I follow that logic.

So it will be C(34,1) + C(34,2) + ... + C(34,34) = C(34 + 33, 33) by the bars and stars approach.

Is this approach right?
 
  • #14
RoboNerd said:
Is this approach right?
That would be my approach.
 
  • #15
OK Thank you very much for the help!
 
  • #16
RoboNerd said:
C(34,1) + C(34,2) + ... + C(34,34) = C(34 + 33, 33)
BTW, why is this equation valid?
 

1. What is the "Cheese shop combination question"?

The "Cheese shop combination question" is a famous math puzzle that involves finding the number of possible combinations of cheese that can be made from a certain number of types of cheese.

2. How does the "Cheese shop combination question" work?

The puzzle usually goes something like this: "A cheese shop offers 5 types of cheese. How many different combinations of 3 cheeses can a customer choose?" The answer is found by using the formula nCr = n! / r!(n-r)!, where n is the total number of types of cheese and r is the number of cheese being chosen. In this case, nCr = 5! / 3!(5-3)! = 10.

3. Why is the "Cheese shop combination question" important?

The "Cheese shop combination question" is a popular example of a permutation and combination problem, which has many real-world applications in fields such as statistics, economics, and computer science. It also helps to develop critical thinking skills and problem-solving abilities.

4. Can the "Cheese shop combination question" be solved using a different method?

Yes, there are other methods for solving this type of problem, such as using a combination calculator or drawing a tree diagram. However, the nCr formula is the most efficient method for finding combinations when dealing with large numbers.

5. Are there any variations of the "Cheese shop combination question"?

Yes, there are many variations of this puzzle, such as adding restrictions like "no more than 2 of the same type of cheese can be chosen" or changing the number of cheese types and combination size. These variations can make the problem more challenging and require different approaches to solve.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
835
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
983
  • Calculus and Beyond Homework Help
Replies
17
Views
2K
  • General Math
Replies
1
Views
719
  • Precalculus Mathematics Homework Help
Replies
7
Views
759
  • Atomic and Condensed Matter
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
6
Views
663
Back
Top