Bags of marbles combination/permutation problem

  • Thread starter Aztral
  • Start date
In summary, the conversation discusses creating sequences of marbles from multiple bags, with each bag containing a different number of unique marbles. The total number of permutations is determined by multiplying the number of marbles in each bag. However, if only a certain number of marbles can be duplicated in each permutation, the number of possible permutations is reduced. The specific example given is for three bags of marbles, where only one marble can be duplicated in each permutation.
  • #1
Aztral
15
0
Okie. Here goes...

Let's say you have B bags of marbles B1, B2,...Bb (all marbles are unique);
The number of marbles in each bag varies. B1 has n1 marbles, B2 has n2 marbles, etc.

You want to to create a sequences of B marbles
{marble1, marble2,...marbleb}, where marble1 came from B1, marble2 from B2, etc.

The total number of permutations is n1*n2*...nb.

But...suppose you now only allow m marbles in each permutation to be duplicated.

//////////////////Question:How many permutations are there now?//////////////////////



Ex: You have 3 bags of marbles.
B1 {red,green,blue}, n1 = 3;
B2 {white,black}, n2 = 2;
B3 {silver,gold}, n3 = 2;

I will only allow 1 marble to be duplicated, so

{red,white,silver}
{red,black,gold}
{green,white,gold}
{green,black,silver}

Can't use blue now because the options would be...
{blue,white,gold}// { x, white, gold} was used in {green,white,gold} so would have 2 duplicated marbles
{blue,white,silver}// { x, white, silver} was used in {red,white,silver} so would have 2 duplicated marbles
{blue,black,gold}// { x, black,gold} was used in {red,black,gold} so would have 2 duplicated marbles
{blue,black,silver}// { x, black, silver} was used in {green,black,silver} so would have 2 duplicated marbles



Any help would be appreciated.

Thx! :)
 
Last edited:
Physics news on Phys.org
  • #2
Try to figure it out for your small example and then generalize it for your homework problem.
 
  • #3



In this scenario, the number of permutations would be reduced because we are limiting the number of duplicated marbles. To calculate the number of permutations, we can use the formula for combinations with repetitions, which is n^r, where n is the number of options and r is the number of choices. In this case, n would be the number of marbles in each bag, and r would be the number of bags.

So for the first permutation, we have 3 options for the first marble, 2 options for the second marble, and 2 options for the third marble. This gives us a total of 3*2*2 = 12 permutations. Similarly, for the second permutation, we have 3*2*2 = 12 permutations.

However, as you mentioned, we cannot use the blue marble in any of the permutations because it would result in more than one duplicated marble. So for the remaining two permutations, we only have 2 options for the first marble, 2 options for the second marble, and 2 options for the third marble. This gives us a total of 2*2*2 = 8 permutations.

Therefore, the total number of permutations with only one duplicated marble allowed would be 12 + 12 + 8 + 8 = 40. This is significantly less than the total number of permutations without any restrictions, which was 3*2*2 = 24.

I hope this helps answer your question. Let me know if you need any further clarification. Good luck with your problem!
 

1. What is the difference between combination and permutation when it comes to bags of marbles?

Combination refers to the number of ways to select a certain number of marbles from a bag without considering the order in which they are selected. Permutation, on the other hand, takes into account the order in which the marbles are selected.

2. How do I calculate the number of combinations in a bag of marbles?

The number of combinations in a bag of marbles can be calculated using the formula nCr = n! / (r! * (n-r)!), where n is the total number of marbles in the bag and r is the number of marbles being selected.

3. Can the order of the marbles be changed in a combination problem?

No, the order of the marbles cannot be changed in a combination problem. This is because the order is not taken into consideration when calculating the number of combinations.

4. How do I calculate the number of permutations in a bag of marbles?

The number of permutations in a bag of marbles can be calculated using the formula nPr = n! / (n-r)!, where n is the total number of marbles in the bag and r is the number of marbles being selected.

5. Do I need to use a specific formula to solve a bag of marbles combination/permutation problem?

Yes, you will need to use the appropriate formula depending on whether you are dealing with a combination or permutation problem. These formulas take into account the number of marbles in the bag and the number of marbles being selected in order to calculate the total number of combinations or permutations.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
28
Views
5K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
18
Views
536
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
6K
Replies
5
Views
487
  • Precalculus Mathematics Homework Help
Replies
7
Views
774
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
9K
Replies
8
Views
1K
Back
Top