Home » Blog » Compute the sum of the series ∑ nxn

Compute the sum of the series ∑ nxn

Find all x \in \mathbb{R} such that the series

    \[ \sum_{n=0}^{\infty} nx^n \]

converges and compute the sum.


First, we write

    \[ \sum_{n=0}^{\infty} nx^n = x \cdot \sum_{n=0}^{\infty} nx^{n-1}. \]

By Theorem 11.9 we know that we can differentiate a power series term-by-term, so we have

    \begin{align*}  x \cdot \sum_{n=0}^{\infty} nx^{n-1} &= x \cdot D_x \left( \sum_{n=0}^{\infty} x^n \right) \\[9pt]  &= x \cdot D_x \left( \frac{1}{1-x} \right) &(\text{Geometric series})\\[9pt]  &= x \cdot \left( \frac{1}{(1-x)^2} \right) \\[9pt]  &= \frac{x}{(1-x)^2}, \end{align*}

valid for |x| < 1 (since this was where the geometric series was valid).

Point out an error, ask a question, offer an alternative solution (to use Latex type [latexpage] at the top of your comment):