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
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.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top