Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Pictures from

I checked out Changing Summation Index Question but I still can't figure this out.

enter image description here
I. First page of PDF. Substitute $a = n - k, b = k$ in the first sum to get the second sum. The first sum's index is $0 \le k \le n \iff$ Variable substitution $ \color{blue}{n} = a + k = \color{blue}{a + b}, \, \color{green}{b = k}$ $\iff 0 \le \color{green}{b} \le \color{blue}{a -b}$.
But the PDF has $a + b = n$. How come?

II. Second page on PDF. What happened to the sum over $a_1 + ... + a_{k - 1} = b$? Did it get substituted into the first sum? Why? In, James Cook recommends writing out the multiple sums. So we should not rewrite them as one sum.

share|cite|improve this question
up vote 1 down vote accepted

Manipulations of this sort are often manipulations of index sets in disguise.

\begin{eqnarray} (x_1+...+x_k)^n &=& \sum_{i_k+j=n} { n! \over i_k! j! } (x_1+... x_{k-1})^j x_k^{i_k} \\ &=& \sum_{i_k+j=n} { n! \over i_k! j! } \left( \sum_{i_1+...i_{k-1}=j} { j! \over i_1! ... i_{k-1}!} x_1^{i_1}...x_{k-1}^{i_{k-1}} \right) x_k^{i_k} \\ &=& \sum_{i_k+j=n} \sum_{i_1+...i_{k-1}=j} { n! \over i_1! ... i_k!} x_1^{i_1}... x_k^{i_k} \\ \end{eqnarray} Now note that $\{(i_1,...,i_k) | i_1+...+i_k = n \} = \cup_{j=0}^n \{(i_1,...,i_{k-1}) | i_1+...i_{k-1}=j \} \times \{ (i_k) | i_k=n-j\}$ to get \begin{eqnarray} (x_1+...+x_k)^n &=& \sum_{i_1+...i_{k}=n} { n! \over i_1! ... i_k!} x_1^{i_1}... x_k^{i_k} \\ \end{eqnarray}

share|cite|improve this answer

To the first question. This $a+b=n$ means that the sum is taking every pair $(a,b)$ such that $$a\ge0, b\ge0, a+b=n.$$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.