Formula for combinations with repeting objects

musicgold
Messages
303
Reaction score
19
Hi,

I am not sure which formula will allow me to get the following results.

If I have to pick two letters from A, B, C, D, then there are 6 possible combinations:
AB
AC
AD
BC
BD
CD.

Now assume that letter D has turned into another A, i.e. A2. Now my combinations have changed to
A1B
A1C
A1A2
BC
BA2
CA2
So I eliminate BA2, and CA2 and I have 4 unique combinations.

I know that in the case of permutations with repetitions, we divide the nPr formula by the factorials of the frequency of the letters, but I am not sure how it is done with combinations. What formula can use for combinations?

Thanks.
 
Mathematics news on Phys.org
musicgold said:
Hi,

I am not sure which formula will allow me to get the following results.

If I have to pick two letters from A, B, C, D, then there are 6 possible combinations:
AB
AC
AD
BC
BD
CD.
Yes, that is
\left(\begin{array}{c} 4 \\ 2\end{array}\right)= \frac{4!}{2! 2!}= 6

Now assume that letter D has turned into another A, i.e. A2. Now my combinations have changed to
A1B
A1C
A1A2
BC
BA2
CA2
So I eliminate BA2, and CA2 and I have 4 unique combinations. [/quote]
Okay, with the "1" appended you still have 4 objects but without that, you cannot distinguish between combinations where the "A"s have been swapped. However, here "A1A2" and "A2A1" which are two distinct permutations are NOT two distinct combinations.
If you were counting permutations, then it would be 6/2= 3 but with that "A1A2" and "A2A1" put back in there are 4 combinations.

I know that in the case of permutations with repetitions, we divide the nPr formula by the factorials of the frequency of the letters, but I am not sure how it is done with combinations. What formula can use for combinations?

Thanks.
 
Thanks HallsofIvy.


Okay, with the "1" appended you still have 4 objects but without that, you cannot distinguish between combinations where the "A"s have been swapped. However, here "A1A2" and "A2A1" which are two distinct permutations are NOT two distinct combinations.
If you were counting permutations, then it would be 6/2= 3 but with that "A1A2" and "A2A1" put back in there are 4 combinations.

Your answer is not clear to me. As I said, I know the formula for the combination 4C2.
I am interested in the formula for the case where two letters are the same.
 
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