0
$\begingroup$

A pizza parlor has six meat toppings and four vegetable toppings that can be added to a pizza. Pizzas also come in three different sizes. a) If any nonempty subset of the ten toppings can be added to each size of pizza, how many different pizzas can be ordered? b) How many pizzas can be ordered that have at least one meat topping and at least one vegetable topping?

I figured out a). Since there are 10 different toppings, and 3 different pizza sizes, there are 2^10 different combinations for each pizza. We multiply that by 3 therefore we get 3072 different pizzas. Though b) is what I can figure out.

How do you find out how many pizzas have at least on meat topping and at least one vegetable topping? help would be appreciated, thanks

$\endgroup$
3
  • $\begingroup$ not really because the pizza has to have one meat and one vegetable. if your saying there are 5 meat and 3 vegetable toppings, its possible to have a pizza with no vegetables $\endgroup$ Feb 2, 2014 at 2:41
  • $\begingroup$ I realized that my comment was wrong, but not for the reasons you stated. I didn't realize that each meat and vegetable topping are considered distinct, so I assumed that there was a one-to-one correspondence between such pizzas and the pizzas that you are looking for. I am writing an answer right now. $\endgroup$
    – MT_
    Feb 2, 2014 at 2:43
  • $\begingroup$ You wrote $10^2$ when you mean $2^{10}$ $\endgroup$
    – Flowers
    Feb 2, 2014 at 3:01

2 Answers 2

0
$\begingroup$

First of all your answer to a is incorrect. It should be 3069 because you do not include the empty sets.

For b, you subtract all the possible toppings that do not fit the requirement from the total combinations. So:

# of ways with no meat but no empty sets= $3(2^4 - 1)$

# of ways with no vegetables but no empty sets= $3(2^6 - 1)$ //notice that they don't double count with the previous #

What you want: $3069 - 3(2^4+2^6-2)=2835$

$\endgroup$
0
$\begingroup$

You can count the number of pizzas that do not fit the requirement, and then subtract that from the total.

The number of pizzas with $0-6$ meat toppings is equal to $3(2^6)$ -- $3$ from the different sizes, and then in each case we are picking $0-6$ toppings from a total of $6$ toppings, and $\displaystyle \sum_{k=0}^n {n \choose k} = 2^n$

The number of pizzas with $1-4$ vegetable toppings, similarly, is $3(2^4 - 1)$

Thus, the number of pizzas with at least one vegetable and meat topping is $3(2^{10} - 2^6 - 2^4 + 1) = 2835$

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .