MathMan wrote:Actually, there is a closed-form for this. It can be derived directly by using the closed form for the pv of an annuity equation and the definition of Duration.
Duration = - dP/dr * (1+r)/P
P = D / r * (( (1+r)^n -1 ) / (1+r)^n )
dP/dr = D * ( (1+r) - (1+r)^(n+1) + n*r ) / ( r^2 * (1+r)^(n+1) )
Duration = - D * ( (1+r) - (1+r)^(n+1) + n*r ) / ( r^2 * (1+r)^(n+1) ) * (1+r)/P
It can also be derived generally using a specific form of a combined arithmetic and geometric series:
Note that:
Summation(i = 1 to n) i * x^i
is just equal to dS/dx * x where:
S = Summation(i = 1 to n) x^i
a simple geometric series which he know has a closed form and will obviously remained closed
when deferentiated (if it is differentiable) and multiplied by a number.