Permutations & Combinations: When Objects are Not All Distinct

Click For Summary

Discussion Overview

The discussion revolves around the permutations and combinations of objects that are not all distinct, specifically focusing on how to calculate these when given a set of size N composed of parts n1, n2, n3,..., nr. The conversation explores both theoretical aspects and practical implications of these combinatorial problems.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions how to determine the number of permutations of size k from a set of size N with non-distinct objects, noting that the case where k equals N is straightforward.
  • Another participant suggests that generating functions can be used to address these combinatorial problems, indicating that exponential generating functions apply to permutations and ordinary generating functions to combinations.
  • A participant expresses frustration over the lack of a general solution for the problem, questioning the complexity of finding a formula for the number of ways.
  • Another participant acknowledges that while generating functions can be written down, extracting a usable formula from them is often too complicated, suggesting that not all combinatorial problems have simple analytic solutions.
  • A metaphor is introduced comparing difficult combinatorial problems to "The Hunting of the Snark," implying that some problems are inherently more complex than others.

Areas of Agreement / Disagreement

Participants express differing views on the existence and accessibility of general solutions for the discussed combinatorial problems. While some agree that generating functions provide a framework, others highlight the challenges in deriving specific formulas.

Contextual Notes

The discussion indicates that the complexity of extracting formulas from generating functions may depend on the specific nature of the combinatorial problem, suggesting limitations in general applicability.

qbslug
Messages
23
Reaction score
0
How many permutations (when objects are not all distinct) of size k can be created from a set of size N composed of n1, n2,n3,...,nr parts?
When k = N this is easy and is equal to N!/(n1!n2!...nr!)

The following question would be then how many combinations (when objects are not all distinct) of size k can be created from a set of size N composed of n1, n2,n3,...,nr parts?
When all objects are distinct we know that this would be N!/((N-k)!k!)

Looking through the combinatorics section of my statistics book they don't mention these seemingly important situations.
 
Physics news on Phys.org
qbslug said:
How many permutations (when objects are not all distinct) of size k can be created from a set of size N composed of n1, n2,n3,...,nr parts?
When k = N this is easy and is equal to N!/(n1!n2!...nr!)

The following question would be then how many combinations (when objects are not all distinct) of size k can be created from a set of size N composed of n1, n2,n3,...,nr parts?
When all objects are distinct we know that this would be N!/((N-k)!k!)

Looking through the combinatorics section of my statistics book they don't mention these seemingly important situations.

Problems like the two you pose are generally solved using generating functions: exponential generating functions in the case of permutations (your first question) and ordinary generating functions in the case of combinations (your second question). When the problem is sufficiently complicated or general, you may be able to find the generating function which "solves" the problem even though you are not able to get a formula for the "number of ways". There is still value in the generating function in such a case, because you may be able to discover facts about the problem that are not obvious, such as recurrences or asymptotic behavior of the solution.

See http://en.wikipedia.org/wiki/Generating_function

The wikipedia article also has links to additional information.
 
So there is no general solution for this problem?? How can this be?!
 
There is a general solution in so far as it is easy to write down the generating functions, but unfortunately extracting the "number of ways" formula from the generating functions (in the general case) is so complicated that it's not really worth the trouble. For specific problems you can often use the generating function method to get a relatively simple answer.

Moral: don't expect an analytic solution to every combinatorics problem. Some of them are just too hard. It's a little like "The Hunting of the Snark": some problems are Snarks, some are Boojums. You don't really know which is which until you try to solve one.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K