How Do You Solve Combination Problems with Duplicate Elements Efficiently?

  • Thread starter Thread starter John112
  • Start date Start date
  • Tags Tags
    Counting
AI Thread Summary
Efficiently solving combination problems with duplicate elements involves using the formula n!/k!, where n is the total number of objects and k is the number of identical objects. For example, with the letters A, A, B, and C, the distinct arrangements total 12, calculated by recognizing that swapping identical letters does not create new arrangements. This method is particularly useful for larger sequences where manual combination generation would be inefficient. A tree diagram can help visualize smaller cases, but understanding the underlying formula is crucial for scaling to larger problems. Resources for further understanding include online materials on permutations with identical items.
John112
Messages
19
Reaction score
0
Are there efficient methods of findings the answer to combination problems like these?

The letters A, A, B and C are arranged in any order. How many DISTINCT sequences can we form?

If two letters weren't the same, then it would be simple. I can find the answer relatively easily since it's only 4 letters. Imagine if this was a sequence of 10 letters where two letters were the same. Then creating all possible combinations would be really inefficient and laboring. Is this any trick for problems where duplicate letters exist?

P.S. By the way the answer is 12. I found it by creating a tree diagram.
 
Mathematics news on Phys.org
John112 said:
Are there efficient methods of findings the answer to combination problems like these?

The letters A, A, B and C are arranged in any order. How many DISTINCT sequences can we form?

If two letters weren't the same, then it would be simple. I can find the answer relatively easily since it's only 4 letters. Imagine if this was a sequence of 10 letters where two letters were the same. Then creating all possible combinations would be really inefficient and laboring. Is this any trick for problems where duplicate letters exist?

P.S. By the way the answer is 12. I found it by creating a tree diagram.

If the A's were distinct, the number of arrangements would be 4! = 24. Now for each arrangement, wherever the two different A's are, there is another arrangement that is exactly the same except the A's are swapped. These two arrangements would be indistinguishable if the A's are the same, so that cuts the number of distinct arrangements in half, which gives 12.

In general if you have n objects of which k are the same, the number of arrangements is$$
\frac{n!}{k!}$$Do you see why?
 
LCKurtz said:
In general if you have n objects of which k are the same, the number of arrangements is$$
\frac{n!}{k!}$$Do you see why?
Yeah, I saw that. I wasn't sure whether that pattern of dividing by k factorial would hold for bigger sequences. I was trying to find a proof for that. Thanks for the helpful response. By the way is there already a proof for that general formula?
 
John112 said:
Yeah, I saw that. I wasn't sure whether that pattern of dividing by k factorial would hold for bigger sequences. I was trying to find a proof for that. Thanks for the helpful response. By the way is there already a proof for that general formula?

Yes. Google permutations with some alike. One hit is:
http://dwb4.unl.edu/Chem/CHEM869N/CHEM869NMats/Permutations.html

The idea is that the k things that are alike would have given k! permutations but only one if they were the same.
 
Last edited by a moderator:
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...
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...
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...
Back
Top