One more combinatorics question

  • Thread starter Thread starter sk381
  • Start date Start date
  • Tags Tags
    Combinatorics
AI Thread Summary
The discussion centers on the combinatorial calculation of pizza toppings. With 9 different toppings, the total number of ways to choose toppings is indeed 2^9, which accounts for all possible subsets, including the option of no toppings. An example with 3 toppings illustrates that the subsets include all combinations, confirming that the formula holds true. A misunderstanding arises when considering the order of toppings, leading to a different calculation that suggests there are 45 combinations when accounting for both identical and different toppings. Ultimately, the correct interpretation aligns with the power set concept, affirming that the number of combinations is accurately represented by 2^n.
sk381
Messages
19
Reaction score
0
My friend says that : If there are 9 different toppings then the number of ways to choose toppings for one pizza is 2^9, the number of the possible subsets of the set of 9 toppings.

How can this be? Could someone explain with an example?

Sorry if this seems very trivial...
 
Mathematics news on Phys.org
For example: for 3 toppings, ABC the possible subsets would be:

A,B,C,AB,AC,BC,ABC..and the final one is no topping at all.. making it 2^3=8 choices.

Is that correct?
 
No, the number of possible toppings is 45. 9^2 takes order into account. However for this problem, order does not count; AB is the same as BA. Since there are 9 cases for which the two toppings are the same, we are left with 9^2 - 9 = 72 cases in which the two toppings aren't. However since there are 2! = 2 ways to rearrange the order of selection of two different toppings, we divide 72 by 2, which gives 36. Hence we have 36 total combinations for which the toppings are different and 9 for which they are the same, giving 45 different combinations.
 
The class of subsets of the set \{A\} is called Power(A) and has n(Power(A)) = 2^{n(A)}. This is because the elements, in this case the toppings, are either there or not there, so 2 to the power of the number of toppings there. Hence, your second post is correct.
 
Sorry, I had misunderstood the question.
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top