You are here:

Advanced Math/combination problem

Advertisement


Question
there are 8 different toppings that you can choose to include or leave off of a hamburger. You can choose as few or as many toppings as you likes. How many different options do he have when building his hamburger?

I tried 2^8 but its not working

Answer
Hi, Kevin,
You wrote:
Subject:  combination problem
Question:  there are 8 different toppings that you can choose to include or leave off of a hamburger. You can choose as few or as many toppings as you like. How many different options do you have when building a hamburger?

I tried 2^8 but its not working
------------------------------------

I don't see why -- 2^8 looks OK to me.  Since there are no restrictions on the number, you are choosing a subset of the set of 8 toppings.  The number of such subsets, not limited by size, is the 'power set', and it has 2^n, in this case 2^8, elements.

The alternative solution just assumes that for each of the 8 toppings you either include it or exclude it, so you have 8 two-way choices.  Again you have 2^8 ways of making them.

So perhaps there was some other restriction you overlooked.  

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Paul Klarreich

Expertise

I can answer questions in basic to advanced algebra (theory of equations, complex numbers), precalculus (functions, graphs, exponential, logarithmic, and trigonometric functions and identities), basic probability, and finite mathematics, including mathematical induction. I can also try (but not guarantee) to answer questions on Abstract Algebra -- groups, rings, etc. and Analysis -- sequences, limits, continuity. I won't understand specialized engineering or business jargon.

Experience

I taught at a two-year college for 25 years, including all subjects from algebra to third-semester calculus.

Education/Credentials
-----------

©2012 About.com, a part of The New York Times Company. All rights reserved.