A pizza shop has available toppings of peppers, sausage, pepperoni, bacon, and mushrooms. How many different ways can a pizza be made with 2 toppings?Answer:
Q. A pizza shop has available toppings of peppers, sausage, pepperoni, bacon, and mushrooms. How many different ways can a pizza be made with 2 toppings?Answer:
Given Toppings Selection: We are given 5 different toppings to choose from and we want to know the number of different pizzas we can make with exactly 2 toppings. This is a combination problem because the order in which we select the toppings does not matter. The formula for combinations is C(n,k)=k!(n−k)!n!, where n is the total number of items to choose from, k is the number of items to choose, n! is the factorial of n, and k! is the factorial of k.
Calculate Total Toppings Factorial: First, we calculate the factorial of the total number of toppings n, which is 5. The factorial of a number is the product of all positive integers up to that number. So, 5!=5×4×3×2×1=120.
Calculate Toppings Wanted Factorial: Next, we calculate the factorial of the number of toppings we want on the pizza k, which is 2. So, 2!=2×1=2.
Calculate Remaining Toppings Factorial: We also need to calculate the factorial of the difference between the total number of toppings and the number of toppings we want on the pizza n−k. Since n is 5 and k is 2, n−k=5−2=3. So, 3!=3×2×1=6.
Use Combination Formula: Now we can use the combination formula to find the number of different pizzas that can be made with 2 toppings. We plug in our values into the formula C(5,2)=(2!(5−2)!)5!.
Substitute Factorial Values: Substitute the factorial values we calculated into the formula: C(5,2)=2×6120.
Perform Calculations: Perform the calculations: C(5,2)=2×6120=12120=10.