# Sum of series problem #2

• December 5th 2011, 12:09 PM
BabyMilo
Sum of series problem #2
Can someone walk me through this?

the answer should be $\frac{a(1-r^n)}{1-r}+\frac{dr}{(1-r)^2}[1+nr^{n-1}-(n-1)r^n]$

Many thanks.
• December 5th 2011, 01:20 PM
wnvl
Re: Sum of series problem #2
$=a \sum_{k=0}^{n-1}r^{k}+r\cdot d\cdot \frac{\mathrm{d} }{\mathrm{d} r}\sum_{k=0}^{n-1}r^{k}$
$=a\frac{r^n-1}{r-1}+dr\frac{\mathrm{d} }{\mathrm{d} r}\sum_{k=0}^{n-1}\frac{r^n-1}{r-1}$