Ask your own question, for FREE!
Mathematics 17 Online
OpenStudy (anonymous):

Combinatorics: I know that to calculate the number of combinations of \[k\] elements chosen from a set of \[n\], you use the binomial coefficient \[C(n,k)={n!\over {k!(n-k)!}}\] But if the set contains more times the same element, how then? I men what if I want to know the combinations of four letters from the set {A,A,A,A,B,B,B,C,C,D} ?

OpenStudy (anonymous):

I know that in permutations (if n = k), you just divide by the product of the factorials of the number of repeated elements. in the case it would be: \[10! \over {5!4!3!2!1}\] But, what about combinations?

OpenStudy (anonymous):

(if k<n)

OpenStudy (kinggeorge):

As far as I know there's no easy formula for this kind of problem.

OpenStudy (amistre64):

does combination mean that order is important? or not important?

OpenStudy (kinggeorge):

Basically, you're asking how many unique subsets of multisets exist. As far as I can tell, there's no formula to do that.

OpenStudy (anonymous):

I was wrong, terribly sorry. The order does _not_ matter. If n = k you get 1, even if you have n! permutations.

OpenStudy (anonymous):

Even if there isn't a formula, how would you solve the specific case {A,A,A,A,B,B,B,C,C,D}?

OpenStudy (kinggeorge):

For this example (which is small enough) I would do a case by case analysis. Not pretty, but it gets the job done.

OpenStudy (kinggeorge):

Perhaps fool can impart some wisdom on us.

OpenStudy (anonymous):

Hmm, there are two ways to approach this one. First, somewhat tedious case analysis which is somewhat error prone. Second, using a generating function. PS: You forgot to mention 'distinct' in your definition of \( \large \binom nk \)

OpenStudy (anonymous):

well, how would you solve this?

OpenStudy (amistre64):

in combo abba = baba = aabb = etc ... and are only counted once, if i recall correctly

OpenStudy (anonymous):

Yeah, you're right.

OpenStudy (amistre64):

could we simplified the set to {a,b,c,d} if they represent doubled elements?

OpenStudy (anonymous):

I don't think so. ABBA is a valid combination. You can't get that from your set. Anyway, C(10,4) = 210. The number of those with 2 A are C(8,2) = 28, so I subtract 14. Could I go on like this?

OpenStudy (anonymous):

I don't really think so...

OpenStudy (amistre64):

aaaa = 1 aaab = 4 aaac = 4 aaad = 4 aabb = 6 aacc = 6 bbbc = 4 bbcc = 6 bbbd = 4 ccd = 0 d = 0 i think i sorted them right

OpenStudy (amistre64):

abbb = 4 forgot that one

OpenStudy (kinggeorge):

It looks like a case-by-case analysis you're starting, so you could continue how you started, but I think you calculated the number of sets with 2 a's incorrectly.

OpenStudy (amistre64):

looks to me like there are 10 different set that can be formed by your example

OpenStudy (anonymous):

It really looked like a simple problem... That's disappointing, Math.

OpenStudy (amistre64):

opps, 6 different sets :) forgot how to count

OpenStudy (kinggeorge):

similar to Fool's generating function idea, you could make a recurrence relation to solve this problem.

OpenStudy (anonymous):

I love recursion, but really have no idea how to use it here.

OpenStudy (kinggeorge):

It's not a very nice problem.

OpenStudy (kinggeorge):

If you want more information on multisets however, wikipedia has a great page on them http://en.wikipedia.org/wiki/Multiset

OpenStudy (anonymous):

If I find out a general formula I'll let you know. It really seems kind of easy.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!