Mathematics for Computer Science

(Frankie) #1

Chapter 14 Sums and Asymptotics404


Solving forSgives the desired closed-form expression in equation 14.2, namely,


SD


1 xnC^1
1 x

:


We’ll see more examples of this method when we introducegenerating functions
in a later chapter.


14.1.3 A Closed Form for the Annuity Value


Using equation 14.2, we can derive a simple formula forV, the value of an annuity
that paysmdollars at the start of each year fornyears.


V Dm




1 xn
1 x




(by equations 14.3 and 14.2) (14.4)

Dm

1 Cp.1=.1Cp//n^1
p

!


(substitutingxD1=.1Cp/): (14.5)

Equation 14.5 is much easier to use than a summation with dozens of terms. For
example, what is the real value of a winning lottery ticket that pays $50,000 per
year for 20 years? Plugging inmD $50,000,n D 20 , andp D 0:08gives
V $530,180. So because payments are deferred, the million dollar lottery is
really only worth about a half million dollars! This is a good trick for the lottery
advertisers.


14.1.4 Infinite Geometric Series


The question we began with was whether you would prefer a million dollars today
or $50,000 a year for the rest of your life. Of course, this depends on how long
you live, so optimistically assume that the second option is to receive $50,000 a
yearforever. This sounds like infinite money! But we can compute the value of an
annuity with an infinite number of payments by taking the limit of our geometric
sum in equation 14.2 asntends to infinity.


Theorem 14.1.1.Ifjxj< 1, then


X^1

iD 0

xiD

1


1 x

:

Free download pdf