Coefficients in expansion of product(1-x^a, a=1n)?

I'm not sure what a good word would be.In summary, the conversation discusses the equation (1-x)(1-x^2)(1-x^3)\cdot\cdot\cdot(1-x^n) and its connection to partition functions p(n) and q(n). The conversation also mentions the difficulty in finding a closed expression for the product and the need for both p(n) and q(n) in the solution. The conversation also explores a potential connection between partitioning n into k parts from any finite subset of the natural numbers and the partition functions p(n) and q(n). The speaker also mentions the possibility of publishing this result.
  • #1
Sane
221
0
I have an equation of the form [tex](1-x)(1-x^2)(1-x^3)\cdot\cdot\cdot(1-x^n)[/tex]. Or, in maple notation, product(1-x^a, a=1..n).

I've been trying to find a way to express this as an expanded polynomial in sigma notation so that I can extract coefficients (for an enumerative generating function). If the exponents were all the same then the binomial theorem could be applied, but unfortunately it is not that simple.

I have made little progress towards successfully expanding. I tried reforming it as a different counting problem and solving it indirectly, but still came to this same fundamental problem, just in a different form. However, in doing so, I think I've found a connection to a sum of sums; the answer may involve summing over i=0..n and j=i..n?

Has anyone seen this problem before? Any helpful links?

Thank you very much in advance,
Sane

(P.S. This is not homework. This is extracurricular fun to find a more efficient way to solve a computer science problem I stumbled across a while ago.)
 
Physics news on Phys.org
  • #2
Notice that in the expansion, the coefficient of [tex]x^k, 1\leq k\leq n[/tex], is the number of unordered integer partitions of [tex]k[/tex].
 
  • #3
That observation is related to the problem I was trying to solve! I realize now that a subproblem of what I'm doing is counting the number of ways to partition a natural number into any number of unordered positive parts. This equation was a piece of the resulting generating function (the part I had trouble expanding), and thus that's what the coefficients should be counting.

You gave me the right words to look up. Found this page which looks like what I need:
http://en.wikipedia.org/wiki/Partition_(number_theory )

Thank you very much.

However, there are two problems:

(1) Maple seems to disagree with your post. Typing into Maple: sort(collect(expand(product(1-x^a,a=1..20)),x),x,ascending), does not appear to count partitions of [tex]k[/tex]. Edit: According to Wikipedia, [tex]\frac{1}{1-x^a}[/tex] will. Is there a way I can still use this fact?

(2) There does not seem to be a usable expression for [tex]p(n)[/tex]. But, if I feel confident that my expansion equals a summation over [tex]p(n)x^n[/tex], then I can at least use that to algebraically solve for a final answer, and then implement [tex]p(n)[/tex] into my program at the end.
 
Last edited by a moderator:
  • #4
You are right, I forgot to include "without repetition" in my earlier post. The product you refer gives the number of unrestricted partitions, in which the same numerical factor may apper several times; in your product, it cannot.

I am not sure, of the top of my head, if there is a relation between the two (like the classical one that states that the number of odd partitions equals the distinct factors ones), but I'll check it.

As far as I know, there isn't simple closed expression for that product (as there is not one to the p(n) numbers); it's one of the more classical problems in Combinatorics. Maybe Macmahon polynomials will help but, again, I'll have to check it; I haven't looked at these problems lately.
 
  • #5
I just found an excellent resource.

http://functions.wolfram.com/IntegerFunctions/PartitionsQ/introductions/Partitions/ShowAll.html

It covers both of the functions you mentioned, [tex]p(n)[/tex] (unordered partitions of n with repetition) and [tex]q(n)[/tex] (unordered partitions of n without repetition) concisely, in the perfect amount of detail, as well as provides the formula that connects the two. And it turns out that I will need both.

There seems to be only one problem remaining since my product goes to [tex]n[/tex] rather than infinity. When [tex]k > n[/tex] (which it usually will be), the coefficient of [tex]x^k[/tex] is no longer [tex]p(n)[/tex] or [tex]q(n)[/tex]. What do I do then? It seems like the answer will either be very simple, or next to unreasonable.

I have tried separating the infinite product to go from 1 .. n, and then n+1 .. infinity. Then I re-indexed the second product to make it look like what we already know. But that did not work. Any ideas? If it's a dead end, I can try to reformulate the problem yet again to have an infinite upper bound. Sigh, this is how I'm spending a Friday night.

Edit: The original equation I posted is apparently the Euler function (http://en.wikipedia.org/wiki/Euler's_function), which seems to have extractable coefficients by the Pentagonal Number Theorem (http://en.wikipedia.org/wiki/Pentagonal_number_theorem)... if the upper bound was infinity.
 
Last edited by a moderator:
  • #6
I stumbled across an interesting connection between partitioning [tex]n[/tex] into [tex]k[/tex] parts from any finite subset of the natural numbers and the partition functions [tex]p(n)[/tex] and [tex]q(n)[/tex].

To be precise, if [tex]n,k[/tex] are non-negative integers, [tex]S \subset \mathbb{N}[/tex], and [tex]S[/tex] has a maximum:

Let [tex]p_{S-k}(n)[/tex] be the number of ways to partition [tex]n[/tex] into [tex]k[/tex] unordered parts, where each part is restricted to the elements in set [tex]S[/tex], with repetition.

Let [tex]w = k + n(max(S)k+1)[/tex], [tex]P'(x) = 1 + x(max(S)k+1)[/tex], and [tex]Q'(x) = (k+1)P'(x)[/tex].

Let [tex]p_S(n)[/tex] be the number of ways to partition [tex]n[/tex] into unordered parts, where each part is restricted to the elements in set [tex]S[/tex] under the mapping [tex]P'[/tex], with repetition.

Let [tex]q_{S-even}(n)[/tex] be the number of ways to partition [tex]n[/tex] into an even number of unordered parts, where each part is restricted to the elements in set [tex]S[/tex] under the mapping [tex]Q'[/tex], without repetition.

Let [tex]q_{S-odd}(n)[/tex] be the number of ways to partition [tex]n[/tex] into an odd number of unordered parts, where each part is restricted to the elements in set [tex]S[/tex] under the mapping [tex]Q'[/tex], without repetition.

Then, [tex]p_{S-k}(n) = \sum_{i=0}^{w} p_S(i)(q_{S-even}(w-i) - q_{S-odd}(w-i))[/tex]​

I have not found this result to be computationally useful for my initial problem. Nevertheless, I found it interesting. My proof is weak, but I have verified several cases computationally. Is this kind of result worth delving into to show similar connections and publishing? Or is it too trivial, obvious, or useless? Sorry if that question sounds naive.
 
Last edited:

1. What is the purpose of using coefficients in expansion of product(1-x^a, a=1n)?

The purpose of using coefficients in expansion of product(1-x^a, a=1n) is to simplify and represent a complex mathematical expression in a more concise form. It allows for easier calculations and analysis of the expression.

2. How are coefficients determined in the expansion of product(1-x^a, a=1n)?

Coefficients are determined by using the binomial theorem, which states that the coefficients are the same as the corresponding coefficients in the expansion of (1+x)^n. These coefficients can also be calculated using mathematical formulas or by using a calculator.

3. What do the coefficients represent in the expansion of product(1-x^a, a=1n)?

The coefficients represent the numerical constants that are multiplied to each term in the expansion. They are used to show the relative size or weight of each term in the expression.

4. Can the coefficients in the expansion of product(1-x^a, a=1n) be negative?

Yes, the coefficients can be negative. In the expansion of (1+x)^n, the coefficients alternate between positive and negative values. This same pattern applies to the coefficients in the expansion of product(1-x^a, a=1n).

5. How can the coefficients be used to find a specific term in the expansion of product(1-x^a, a=1n)?

The coefficients can be used in combination with the powers of x to find a specific term in the expansion. For example, to find the coefficient of x^2, you would use the formula n(n-1)/2! where n is the power of x. This would give you the coefficient of x^2 in the expansion of product(1-x^a, a=1n).

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
999
Replies
27
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
276
  • Linear and Abstract Algebra
Replies
4
Views
869
  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
932
  • Classical Physics
Replies
6
Views
919
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Linear and Abstract Algebra
Replies
3
Views
930
Back
Top