Find Coefficient of x^7 in (1+x+x^2+x^3...)^n: C(n+6,7)

  • Thread starter Thread starter 0rthodontist
  • Start date Start date
  • Tags Tags
    Functions
Click For Summary
SUMMARY

The coefficient of x^7 in the expression (1 + x + x^2 + x^3 + ...)^n is given by C(n + 6, 7), not C(n + 6, 6) as initially thought. This conclusion arises from the need to distribute 7 x's among n series with repetition. When n=0, the coefficient of x^7 is 0, confirming that C(6, 7) equals 0, which aligns with the convention of combinations. The error stemmed from a misuse of the formula for selection with repetition, highlighting the importance of correctly identifying bins and objects in combinatorial problems.

PREREQUISITES
  • Understanding of combinatorial mathematics, specifically combinations.
  • Familiarity with the concept of generating functions.
  • Knowledge of the principle of selection with repetition.
  • Basic inductive reasoning skills for mathematical proofs.
NEXT STEPS
  • Study the concept of generating functions in combinatorial mathematics.
  • Learn about the principle of selection with repetition in depth.
  • Explore inductive proofs in combinatorial contexts.
  • Practice problems involving coefficients in power series expansions.
USEFUL FOR

Students of combinatorial mathematics, educators teaching advanced algebra, and anyone interested in solving polynomial coefficient problems.

0rthodontist
Science Advisor
Messages
1,229
Reaction score
0
Problem: Find the coefficient of x^7 in (1 + x + x^2 + x^3 + ...)^n
I thought this should be C(n + 6, 6) since you have to distribute 7 x's between the n series with repetition. But my book says it is C(n + 6, 7). (C for combination) What is the explanation?
 
Physics news on Phys.org
Well, let's see what happens when n=0. The coefficient of x^7 is 0, and 6C6=1 (you answer) and 6C7=0 (their answer; it is a convention that it is zero).

You could prove it inductively, and it might (for once) give you an idea of what's going on (induction usually doesn't). Or just work it through for some small n to see what is happening.
 
Last edited:
Ah, never mind, it was just a dumb error. I misused the formula for selection with repetition--mixed up my bins and my objects.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
2K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K