Combinations Question. Could someone please explain the logic behind part (c).

In summary, the conversation discusses various ways to buy 10 coffees from a coffee shop with 5 types of coffee. The first option is to buy without any restrictions, which results in a combination with repetition. The second option is to buy at least 2 iced coffees, which can be calculated using the same formula but with fewer available options. The third option is to buy at most 2 mochas, which can be calculated by breaking it down into 3 parts and using the same formula.
  • #1
Superdemongob
8
0
This is not a homework problem but in fact a solved example question.
The full question text is below with answers and my reasoning for them. Could someone please explain the reasoning behind part (c).

A coffee shop sells 5 types of coffee (latte, mocha, espresso, cappuccino and iced coffee). All coffee of the same type is indistinguishable. We are buying 10 coffees in total.

How many ways are there to buy 10 coffees if:

(a) there are no restrictions

C(10+5-1, 10)​
The reasoning is that given no restrictions, this is a combination with repetition.​

(b) you buy at least 2 iced coffees.

C(8+5-1, 8)​
The reasoning is that since 2 coffees are decided, its a combination with repetition for the remaining 8.​

(c) you can buy at most 2 mochas.

C(13,3) + C(12,3) + C(11,3)​
Here is where I have no idea how they got these numbers.

Any help is greatly appreciated.
 
Mathematics news on Phys.org
  • #2
Personally I'd do it as
10 non-mocha cups (10 from the set of 4).
9 non-mocha cups and a mocha (9 from the set of 4, 1 from the set of 1) .
8 non-mocha cups and two mochas (8 from the set of 4, 2 from the set of 1).

Note that C(10+5-1, 10) == C(10+5-1, 5-1).

It looks like you're more comfortable with the first type but the answer for c is using the 2nd type; e.g. C(13,3) = C(10+4-1, 4-1) = C(10+4-1, 10)

Does that help you any?
 
  • #3
Those parts are:
You buy 0 mochas + you buy 1 mocha + you buy 2 mochas, with the same formula as in (a) (if you replace (n choose k) by (n choose n-k)).
 

Related to Combinations Question. Could someone please explain the logic behind part (c).

1. What is a combinations question?

A combinations question is a type of probability problem that involves selecting a group of items from a larger set without regard to the order in which they are selected. It is often denoted by "nCr" or "C(n,r)".

2. What is the difference between combinations and permutations?

The main difference between combinations and permutations is that combinations do not consider the order in which the items are selected, while permutations do. In other words, combinations are about selecting a group of items, while permutations are about arranging the items in a specific order.

3. How do you solve a combinations question?

To solve a combinations question, you need to use the formula nCr = n! / (r!(n-r)!), where n represents the total number of items and r represents the number of items in the selected group. You can also use a combination calculator or a combination formula table to find the answer.

4. What is the logic behind part (c) in a combinations question?

Part (c) in a combinations question typically refers to the number of ways to select a specific number of items from a larger set. The logic behind it is to use the combination formula and substitute the values of n and r to find the number of combinations.

5. Why is understanding combinations important?

Understanding combinations is important because it is a fundamental concept in probability and statistics. It is used in many real-world situations, such as in business, finance, and sports, to calculate the likelihood of certain events occurring. It is also a key concept in mathematical problem-solving and can help develop critical thinking skills.

Similar threads

  • General Math
Replies
1
Views
726
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Programming and Computer Science
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
794
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
Replies
13
Views
2K
  • Differential Geometry
Replies
7
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
Back
Top