I am having the problem computing the duration of an increasing annuity. I know that the annuity is payable for 20 years, the first payment is $24,000$ and each next payment is $1,200$ larger than the previous one. The interest rate is 5%.
So, I know that the the expression for duration is: \begin{equation} \text{duration} = \sum\frac{ t x_t v^t}{x_t v^t} \end{equation} Computing the expression in the denominator is easy. What is more difficult is the expression in the nominator, since we get there: \begin{equation} duration = \frac{24000 (Ia)_{20} + \sum_{n=1}^{20}n(n-1)1200v^n}{24000(a)_{20} + 1200\frac{(a)_{20} - 20v^{20}}{i}} \end{equation} So the problematic expression is the sum in the nominator. Of course I could simply compute each value by hand and sum it up but I think that there is a smarter way to do it. I wouldn't have any problem for computing this if it was an infinite annuity, since then I could just plug these expressions: \begin{equation} \sum_{n=1}^{\infty}n^2x^n = \frac{x(x+1)}{(1-x)^3} \end{equation} \begin{equation} \sum_{n=1}^{\infty}nx^n = \frac{x}{(1-x)^2} \end{equation} However, I cannot come up with the analogous expressions for finite sums. Any help will be appriciated!
You should find that in any extended formula collection. \begin{align} (1-x)\sum_{n=1}^N nx^n &=\sum_{n=1}^N nx^n-\sum_{n=2}^{N+1} (n-1)x^{n}\\ &=\sum_{n=1}^N (n-(n-1))x^n + (1-1)x^1-Nx^{N+1}\\ &=x\frac{1-x^{N}}{1-x}-Nx^{N+1} \end{align}
Similarly for the quadratic coefficients you find \begin{align} (1-x)^2\sum_{n=1}^N n^2x^n &=\sum_{n=1}^N n^2x^n-2\sum_{n=1}^N n^2x^{n+1}+\sum_{n=1}^N n^2x^{n+2}\\ &=\sum_{n=1}^N n^2x^n-2\sum_{n=2}^{N+1} (n-1)^2x^{n}+\sum_{n=3}^{N+2} (n-2)^2x^{n}\\ &=\sum_{n=1}^{N+1}(3)x^n-(N+1)^2x^{N+1}+N^2x^{N+2}-x\\ &=3x\frac{1-x^{N+1}}{1-x}-(N+1)^2x^{N+1}+N^2x^{N+2}-x \end{align}