The sundae hut offers 6 different toppings for their sundaes. If you can get a sundae with any number of toppings you want (including no toppings), how many different sundaes can you get?
Details and assumptions
You cannot get the same topping twice.
The order of toppings doesn't matter.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I converted this comment into a solution, as it shows how choosing the correct perspective in counting a combinatorics question can greatly simply the work.
for me any of those solutions are right, you can have diferent orders of sunday, like.
123456 123465 123645 126345 162345 612345 12345 12354 12534 15234 51234 1234 1243 1423 4123 132 312 21
and you have that for each one like
612345 612354 ... so the solution to this problem is wrong
Log in to reply
only if they first said that the order dont matter, the topping are the same your solution could be right
Okay .
For the following problem ,
we begin by doing casework on the number of toppings we want out of 6 .
C a s e − 1 C a s e − 2 C a s e − 3 C a s e − 4 C a s e − 5 C a s e − 6 C a s e − 7 T o p p i n g s 0 1 2 3 4 5 6 C o m b i n a t i o n s = n C r = r ! ( n − r ) ! n ! 6 C 0 = 1 6 C 1 = 6 6 C 2 = 1 5 6 C 3 = 2 0 6 C 4 = 1 5 6 C 5 = 6 6 C 6 = 1
Thus ,
Total number of cases are -
6 C 0 + 6 C 1 + 6 C 2 + 6 C 3 + 6 C 4 + 6 C 5 + 6 C 6 = 1 + 6 + 1 5 + 2 0 + 1 5 + 6 + 1 = 6 4
Thus , we can get 6 4 sundaes ! (Yumm..)
Cheers!
Is there a simpler way of approaching the problem without using 7 cases?
Log in to reply
Yes. Knowing the "line" Pascal's Triangle pattern, we can generalize the problem to ∑ n = 0 x ( n x ) = 2 n .
I consider very saddening the fact that those who posted a solution didn't know that, even if it's a L1/L2 problem. :(
I guess this is the intended way, each topping can either be included or excluded on the sundae, hence by the rule of product there are 2 6 ways.
I realized that everyone had used casework only after seeing the solutions, so I posted a solution of sorts in the form of a comment in the solution Aditya wrote above. I am quite certain that it works for any value of n(=6 for this question).
Please don't worry about the scroll . There's nothing hidden (!)
I don't get the scroll, but thanks anyway.
excellent description friend
Ways to choose sundae with no toppings = 1
Ways to choose sundae with 1 topping = 6C1 = 6
Ways to choose sundae with 2 toppings = 6C2 = 15
Ways to choose sundae with 3 toppings = 6C3 = 20
Ways to choose sundae with 4 toppings = 6C4 = 15
Ways to choose sundae with 5 toppings = 6C5 = 6
Ways to choose sundae with 6 toppings = 6C6 = 1
Hence, total number of sundaes possible = 1+1+6+15+20+15+6+1 = 64.
A slightly swifter solution:
Consider that for each toping, you can either have it or not have it. Thus there are 2 possibilities for each of 6 toppings. Hence there are 2 ∗ 2 ∗ 2 ∗ 2 ∗ 2 ∗ 2 = 2 6 = 6 4 possible sundaes.
Thanks! Did you work all that out in your head, though?
Log in to reply
Yes , we all had to. :)
Log in to reply
There IS a simpler way of doing that. Please, check my comment under Calvin's comment on your solution.
Aww. Okay ,thank you so much :)
easy,it's simple combination application
6C0 +6C1 +6C2 + 6C3 + 6C4 +6C5 +6C6=64
In Charak Sanhita, Charak mentioned that if we have 6 things we can take them in 63 ways not including the nothing case. So 63+1 = 64
6C0=1 6C1= 6 6C2=15 6C3= 20 6C4=15 6C5=6 6C6=1 C means taken. by just adding it all you would get 64.
C 6 , 0 + C 6 , 1 + C 6 , 2 + C 6 , 3 + C 6 , 4 + C 6 , 5 + C 6 , 6 6 ! 0 ! 6 ! + 5 ! 1 ! 6 ⋅ 5 ! + 4 ! 2 ! 6 ⋅ 5 ⋅ 4 ! + 3 ! 3 ! 6 ⋅ 5 ⋅ 4 ⋅ 3 ! + 4 ! 2 ! 6 ⋅ 5 ⋅ 4 ! + 5 ! 1 ! 6 ⋅ 5 ! + 6 ! 0 ! 6 ! = 1 + 6 + 1 5 + 2 0 + 1 5 + 6 + 1 = 6 4
the formula for the amount of combinations with no repeats and where each answer is distinct is /frac{n!} {(n-r)!(r)!} where n is the number to choose from and r is the number chosen n is always 6, so we plug it in for each possible value of r /frac{6!}{(6-6)!(6)!}=1
/frac{6!}{(6-5)!(5)!}=6
/frac{6!}{(6-4)!(4)!}=15
/frac{6!}{(6-3)!(3)!}=20
/frac{6!}{(6-2)!(2)!}=15
/frac{6!}{(6-1)!(1)!}=6
and the option of no toppings=1
add them to gether and we get 1+6+15+20+15+6+11= 64
"Is there a simpler way of approaching the problem without using 7 cases?" - Calvin L.
In order to get a sundae, you can have anywhere between 0 and 6 toppings. The number of ways of selecting the following combinations: - 0 toppings = 6C0 = 1 - 1 topping = 6C1 = 6 - 2 toppings = 6C2 = 15 - 3 toppings = 6C3 = 20 - 4 toppings = 6C4 = 6C2 = 15 - 5 toppings = 6C5 = 6C1 = 6 - 6 toppings = 6C6 = 6C0 = 1
Total on adding all the possible combinations = \boxed{64}
Can be more systematic using Latex
Total ways to select all that is summation(6Cr) for r belonging to 0 to 6 which is just 2 raised to 6. If the number were, say, 25, surely all of us wouldn't be counting cases! :) Actually, (1+x)^6 is the generating function since we can either have a topping or not have the topping and the total number is 6. We need the sum of the coefficients, so we substitute x as 1 to get 2^6 or 64.
Log in to reply
Good, those are other ways of approaching the problem, where we don't necessarily have to evaluate all of the cases to know that the sum is 2 6 . There is still a much simpler way (generating functions would be an overkill for this problem).
Hint: Rule of product.
Problem Loading...
Note Loading...
Set Loading...
Consider that for each toping, you can either have it or not have it. Thus there are 2 possibilities for each of 6 toppings. Hence there are 2 ∗ 2 ∗ 2 ∗ 2 ∗ 2 ∗ 2 = 2 6 = 6 4 possible sundaes.