What is the Equation for Combinations with Repetition in Combinatorics?

In summary, the conversation discusses the number of possible arrangements for n balls in k spots, where each spot can hold n balls and each ball is indistinguishable. The conversation also introduces an equation for calculating this number, and explains it in terms of separators between the spots. The correct equation is given as ##\frac{(n+k-1)!}{(k-1)!n!}##.
  • #1
iScience
466
5

Homework Statement



if there are k spots for n balls, what are the number of possible arrangements? each spot can hold n number of balls and each ball is indistinguishable from one another.

Homework Equations


$$\frac{n+k-1}{k!(n-1)!}$$

The Attempt at a Solution


I just wanted to know if this was the right equation, since i don't understand the equation.
 
Physics news on Phys.org
  • #2
The question is unclear. Does it mean the following?

We have m>nk indistinguishable balls and k buckets, labeled 1 to k. We then put a number of balls between 0 and n inclusive in each bucket.
How many different arrangements of number of balls in the numbered buckets are there?
 
  • #3
yup, that's what i meant. I'm actually trying to recreate all the possibilities visually (well, conceptually) but the number i get is different from the one the below eqn yields. $$\frac{n+k-1}{k!(n-1)!}$$
basically, I'm either not covering all possible arrangements with the way I'm going about it, or the expression i came up with is just incorrect. Either way i'd like someone to point out what I'm doing wrong.so here's how I'm doing it visually, just bear with me:

first, only one of the balls traverse all possible spots leaving us so far with:
$$Arrangements = k$$
H2TepLs.png


then, for each spot it occupied, we find the number of additional arrangements it can make with an additional ball:

ogLhRom.png

+1
G8CJMjI.png

+2
dt7lcyg.png

+3

for each time we move the red over, we traverse the green from position 2 to the red. (I do this because I'm trying to find the combination and not the permutation)

so now we have $$Arrangements = k + \sum^{k-1}_{i=1}(i)$$

again, being careful not to include any doubles of the same arrangement, i go from left to right.

MmQfO6p.png

mkyahKM.png

i move the blue over to position 2, we have the same situation we had earlier, just with k-1 spots now.repeating the previous process we should end up with..

$$Arrangements = k-1 + \sum^{k-2}_{i=1}(i)$$

repeating the process till the end we get:

$$Arrangements = \sum^{k-1}_{j=0}[ (k-j) + \sum^{k-1-j}_{i=1}(i)]$$

So...
this was the case for 3 choose k. using my formula for say.. 3 choose 10, i get 121, whereas $$\frac{n+k-1}{k!(n-1)!}$$
says it should be 220. how does this not cover every possible arrangement?
 
Last edited:
  • #4
I think you're doing it in a more difficult way than necessary. Your pictures seem to be treating the balls as distinguishable by colour, whereas the problem says they are indistinguishable. That reduces the problem to the following:

How many different sequences of k numbers are there, where each number is an integer in {0, 1, 2, ..., n}?
 
  • #5
Your pictures seem to be treating the balls as distinguishable by colour, whereas the problem says they are indistinguishable.

my apologies! the colors were just for me to keep track of what spots i already traversed. just makes it easier for me. but yes they are indistinguishable and so the colors are irrelevant.

k!, actually i have a simpler question, what i did above, is that "combination with repetition" or is it something completely different?
 
  • #6
iScience said:
my apologies! the colors were just for me to keep track of what spots i already traversed. just makes it easier for me. but yes they are indistinguishable and so the colors are irrelevant.

k!, actually i have a simpler question, what i did above, is that "combination with repetition" or is it something completely different?
First, your equation is not quite right. It should be ##\frac{(n+k-1)!}{(k-1)!n!}##. To verify that, consider 1 ball, 2 spots. There are two possible arrangements, not 1.
The easiest way to understand this equation is to think in terms of separators between the 'spots', rather than the spots themselves. There are k-1 of these.
Next, blur the distinction between the balls and the separators. There are just n+ k-1 'things' in a line, of which k-1 are separators. The possible arrangements of undistinguished balls into the slots is then just the number of ways of deciding which of the n+k-1 things are the k-1 separators.
 

FAQ: What is the Equation for Combinations with Repetition in Combinatorics?

What is combinatorics with repetition?

Combinatorics with repetition is a branch of mathematics that deals with counting and organizing objects or events when repetition is allowed. This means that an object or event can be used multiple times in a combination or arrangement.

Why is combinatorics with repetition important?

Combinatorics with repetition is important because it allows us to solve real-world problems involving repeated elements. It also provides a foundation for understanding more complex areas of mathematics, such as probability and statistics.

What are some real-world applications of combinatorics with repetition?

Combinatorics with repetition is used in a variety of fields, including computer science, economics, and genetics. Some examples of real-world applications include creating passwords, designing experiments, and analyzing gene mutations.

How is combinatorics with repetition different from combinatorics without repetition?

In combinatorics without repetition, each element can only be used once in a combination or arrangement. This means that the number of possible combinations is limited. In combinatorics with repetition, an element can be used multiple times, resulting in a larger number of possible combinations.

What are some strategies for solving problems involving combinatorics with repetition?

Some common strategies for solving combinatorics with repetition problems include using the fundamental principle of counting, creating a tree diagram, and using the formula for combinations with repetition. It is also important to carefully read the problem and identify any restrictions or conditions.

Similar threads

Back
Top