In Section Sequences, we showed how the formula for compound interest is a geometric sequence. In retirement planning, it is seldom the case that an investor deposits a set amount of money into an account and waits for it to grow. Usually, additional payments of principal are made at regular intervals and the value of the investment grows accordingly. This kind of investment is called an annuity and will be discussed in later in this section once we have developed more mathematical machinery that enables us to add sequences.

In the previous section, we introduced sequences. Each of the numbers in the sequence is called a ‘term’ which implies these numbers are meant to be added. To that end, we introduce the following notation which is used to describe the sum of (some of the) terms of a sequence.

In English, Definition sigmanotation is simply defining a short-hand notation for adding up the terms of the sequence \(\left \{ a_{n} \right \}_{n=k}^{\infty }\) from \(a_{m}\) through \(a_{p}\). The symbol \(\Sigma \) is the capital Greek letter sigma and is shorthand for ‘sum’. The lower and upper limits of the summation tells us which term to start with and which term to end with, respectively. For example, using the sequence \(a_{n} = 2n-1\) for \(n \geq 1\), we can write \(a_{3} +a_{4} + a_{5} + a_{6}\) as

\[ \begin{array}{rcl} \displaystyle {\sum _{n=3}^{6}(2n-1) } & = & (2(3)-1) + (2(4)-1) + (2(5)-1) + (2(6)-1) \\ & = & 5 + 7 + 9 + 11 \\ & = & 32 \\ \end{array} \]

The index variable is considered a ‘dummy variable’ in the sense that it may be changed to any letter without affecting the value of the summation. For instance,

\[ \displaystyle {\sum _{n=3}^{6}(2n-1)} = \displaystyle {\sum _{k=3}^{6}(2k-1)} = \displaystyle {\sum _{j=3}^{6}(2j-1)}\]

One place you may encounter summation notation is in mathematical definitions. For example, summation notation allows us to define polynomials as functions of the form

\[ f(x) = \displaystyle {\sum _{k=0}^{n} a_{k} x^{k}} \]

for real numbers \(a_{k}\), \(k = 0, 1, \ldots n\). The reader is invited to compare this with what is given in Definition polynomialfunction. Summation notation is particularly useful when talking about matrix operations. For example, we can write the product of the \(i\)th row \(R_{i}\) of a matrix \(A = [a_{ij}]_{m \times n}\) and the \(j^{\text {th}}\) column \(C_{j}\) of a matrix \(B = [b_{ij}]_{n \times r}\) as

\[ Ri \cdot Cj = \displaystyle {\sum _{k=1}^{n} a_{ik}b_{kj}} \]

Again, the reader is encouraged to write out the sum and compare it to Definition rowcolumnproduct. Our next example gives us practice with this new notation.

The following theorem presents some general properties of summation notation.

There is much to be learned by thinking about why the properties hold, so we leave the proof of these properties to the reader.

We now turn our attention to the sums involving arithmetic and geometric sequences. Given an arithmetic sequence \(a_{k} = a + (k-1) d\) for \(k \geq 1\), we let \(S\) denote the sum of the first \(n\) terms. To derive a formula for \(S\), we write it out in two different ways

\[ \begin{array}{ccccccccccc} S & = & a & + & (a + d) & + & \ldots & + & (a + (n-2)d) & + & (a + (n-1)d) \\ S & = & (a + (n-1)d) & + & (a + (n-2)d) & + & \ldots & + & (a + d) & + & a \\ \end{array}\]

If we add these two equations and combine the terms which are aligned vertically, we get

\[2S = (2a + (n-1)d) + (2a + (n-1)d) + \ldots + (2a + (n-1)d) + (2a + (n-1)d)\]

The right hand side of this equation contains \(n\) terms, all of which are equal to \((2a + (n-1)d)\) so we get \(2S = n(2a + (n-1)d)\). Dividing both sides of this equation by \(2\), we obtain the formula

\[S = \frac {n}{2} (2a + (n-1)d)\]

If we rewrite the quantity \(2a + (n-1)d\) as \(a + (a + (n-1)d) = a_{1} + a_{n}\), we get the formula

\[ S = n \left (\frac {a_{1} + a_{n}}{2}\right )\]

A helpful way to remember this last formula is to recognize that we have expressed the sum as the product of the number of terms \(n\) and the average of the first and \(n^{\text {th}}\) terms.

To derive the formula for the geometric sum, we start with a geometric sequence \(a_{k} = ar^{k-1}\), \(k \geq 1\), and let \(S\) once again denote the sum of the first \(n\) terms. Comparing \(S\) and \(rS\), we get

\[ \begin{array}{ccccccccccccccc} S & = & a & + & ar & + & ar^2 & + & \ldots & + & ar^{n-2} & + & ar^{n-1} & & \\ r S & = & & & ar & + & ar^2 & + & \ldots & + & ar^{n-2} & + & ar^{n-1} & + & ar^{n} \\ \end{array}\]

Subtracting the second equation from the first forces all of the terms except \(a\) and \(ar^{n}\) to cancel out and we get \(S - rS = a - ar^{n}\). Factoring, we get \(S(1-r) = a \left (1-r^{n}\right )\). Assuming \(r \neq 1\), we can divide both sides by the quantity \((1-r)\) to obtain

\[S = a \left ( \frac {1-r^n}{1-r}\right )\]

If we distribute \(a\) through the numerator, we get \(a - ar^{n} = a_{1} - a_{n+1}\) which yields the formula

\[S = \frac {a_{1}-a_{n+1}}{1-r}\]

In the case when \(r=1\), we get the formula

\[ S = \underbrace {a + a + \ldots +a }_{\text {$n$ times}} = n \, a\]

Our results are summarized below.

While we have made an honest effort to derive the formulas in Equation arithgeosum, formal proofs require the machinery in Section Induction.

An important application of the geometric sum formula is the investment plan called an annuity. Annuities differ from the kind of investments we studied in Section ExpLogApplications in that payments are deposited into the account on an on-going basis, and this complicates the mathematics a little.

Suppose you have an account with annual interest rate \(r\) which is compounded \(n\) times per year. We let \(i = \frac {r}{n}\) denote the interest rate per period. Suppose we wish to make ongoing deposits of \(P\) dollars at the end of each compounding period. Let \(A_{k}\) denote the amount in the account after \(k\) compounding periods.

Then \(A_{1} = P\), because we have made our first deposit at the end of the first compounding period and no interest has been earned. During the second compounding period, we earn interest on \(A_{1}\) so that our initial investment has grown to \(A_{1}(1+i) = P(1+i)\) in accordance with Equation simpleinterest. Adding our second payment at the end of the second period, we get

\[A_{2} = A_{1}(1+i) + P = P(1+i) + P = P(1+i)\left (1 + \frac {1}{1+i}\right )\]

The reason for factoring out the \(P(1+i)\) will become apparent in short order. During the third compounding period, we earn interest on \(A_{2}\) which then grows to \(A_{2}(1+i)\). We add our third payment at the end of the third compounding period to obtain

\[A_{3} = A_{2}(1+i) + P = P(1+i)\left (1 + \frac {1}{1+i}\right )(1+i) + P = P(1+i)^2\left (1 + \frac {1}{1+i} + \frac {1}{(1+i)^2}\right )\]

During the fourth compounding period, \(A_{3}\) grows to \(A_{3}(1+i)\), and when we add the fourth payment, we factor out \(P(1+i)^3\) to get

\[A_{4} = P(1+i)^3 \left (1 + \frac {1}{1+i} + \frac {1}{(1+i)^2} + \frac {1}{(1+i)^3}\right )\]

This pattern continues so that at the end of the \(k\)th compounding, we get

\[A_{k} = P(1+i)^{k-1} \left (1 + \frac {1}{1+i} + \frac {1}{(1+i)^2} + \ldots + \frac {1}{(1+i)^{k-1}}\right ) \]

The sum in the parentheses above is the sum of the first \(k\) terms of a geometric sequence with \(a = 1\) and \(r = \frac {1}{1+i}\). Using Equation arithgeosum, we get

\[1 + \frac {1}{1+i} + \frac {1}{(1+i)^2} + \ldots + \frac {1}{(1+i)^{k-1}} = 1 \left (\frac {1 - \frac {1}{(1+i)^k}}{1 - \frac {1}{1+i}}\right ) = \ \frac {(1+i)\left (1 - (1+i)^{-k}\right )}{i}\]

Hence, we get

\[A_{k} = P(1+i)^{k-1} \left (\frac {(1+i)\left (1 - (1+i)^{-k}\right )}{i}\right ) = \frac {P\left ((1+i)^k - 1\right )}{i}\]

If we let \(t\) be the number of years this investment strategy is followed, then \(k = nt\), and we get the formula for the future value of an ordinary annuity.

The reader is encouraged to substitute \(i = \frac {r}{n}\) into Equation fvannuity and simplify. Some familiar equations arise which are cause for pause and meditation. One last note: if the deposit \(P\) is made a the beginning of the compounding period instead of at the end, the annuity is called an annuity-due. We leave the derivation of the formula for the future value of an annuity-due as an exercise for the reader.

1 Geometric Series

As defined in Section ??, sequences are an infinite list of numbers. So far in this section, we have concerned ourselves with adding only finitely many terms. In Calculus, infinite sums, called series are studied at great length. While we do not have the mathematical machinery to embark upon an exhaustive study here, we can nevertheless focus our attention on what is arguably one of the most prevalent and useful types of series, geometric series.

As a motivating example, consider the number \(0.\overline {9}\). We can write this number as

\[ 0.\overline {9} = 0.9999... = 0.9 + 0.09 + 0.009 + 0.0009 + \ldots \]

From Example 1, we know we can write the sum of the first \(n\) of these terms as

\[ 0.\underbrace {9 \cdots 9}_{\text {$n$ nines}} = .9 + 0.09 + 0.009 + \ldots 0.\! \underbrace {0 \cdots 0}_{\text {$n-1$ zeros}} \! 9 = \displaystyle {\sum _{k=1}^{n} \frac {9}{10^{k}}} \]

Using Equation 0.1, we have

\[\displaystyle {\sum _{k=1}^{n} \frac {9}{10^{k}}} = \sum _{k=1}^{n} \frac {9}{10} \left (\frac {1}{10^{k-1}}\right ) = \sum _{k=1}^{n} \frac {9}{10} \left (\frac {1}{10}\right )^{k-1} = \frac {9}{10} \left ( \frac {1 - \frac {1}{10^{n}}}{1 - \frac {1}{10}} \right ) = 1 - \frac {1}{10^{n}} \]

It stands to reason that we should define \(0.\overline {9} = \ds {\lim _{n \rightarrow \infty }}\) \(\left (1 - \frac {1}{10^{n}}\right )\). Passing to a continuous variable along with our knowledge of exponential functions gives \(\ds {\lim _{n \rightarrow \infty }}\) \(\left (1 - \frac {1}{10^{n}} \right ) =\) \(\ds {\lim _{x \rightarrow \infty }}\) \(\left (1 - \frac {1}{10^{x}} \right ) = 1 - 0 = 1\).

We have just argued that \(0.\overline {9} = 1\), which may shock some readers.

Note that in this manner, any non-terminating decimal can be thought of as an infinite sum whose denominators are the powers of \(10\), so the phenomenon of adding up infinitely many terms and arriving at a finite number is not as foreign of a concept as it may appear. We have the following theorem.

The justification of the result in Theorem 2 comes from taking the formula in Equation 0.1 for the sum of the first \(n\) terms of a geometric sequence and taking the limit as \(n \rightarrow \infty \).

Assuming \(|r|<1\) means \(-1 < r < 1\), so per Theorem ??, \(\ds {\lim _{n \rightarrow \infty }}\) \(r^{n} = 0\). Using this fact along with the Limit Properties listed in Theorem ?? :

\[\displaystyle {\lim _{n \rightarrow \infty } \sum _{k=1}^{n} a r^{k-1}} = \lim _{n \rightarrow \infty } a \left ( \frac {1-r^n}{1-r}\right ) = \frac {a}{1-r} \]

We’ll explore what goes wrong when \(|r| \geq 1\) in some of the Exercises. For now, we put this theorem to good use in the following example.

We note that another popular method for converting repeating decimals to fractions goes something like this: let \(x =4.2\overline {17}\). Then, \(100x = 421.7\overline {17}\). Hence, \(99x = 100x - x = 421.7\overline {17} - 4.2\overline {17} = 417.5\). Hence, \(x = \frac {417.5}{99} = \frac {835}{198}\). While this procedure results in the same (correct!) answer, the manipulations involved (such as the multiplication and subtraction) are actually using some of the properties listed in Theorem 1 extended to infinite sums via Theorem ??.

2 Area

One of the (two) major geometric problems studied in Calculus is finding the area under a curve (more specifically, the area between the graph of a function and the \(x\)-axis.) In this section, we explore how summation notation is used to help better formulate this problem, and, as with our study of Geometric Series, sneak a peak into Calculus itself.

Suppose we wish to determine the area between the graph of a continuous function \(y = f(x)\) over the interval \([a,b]\) and the \(x\)-axis as shown below.

Figure 1: Area under the graph of \(y=f(x)\).

Since we don’t know any area formulas for arbitrary regions, we stick to what we know - rectangles. To keep things simple, we divide \([a,b]\) into \(n\) equal pieces (subintervals), and use the right-endpoints of each piece to determine the height of the rectangles. We let \(x_{k}\) represent the right endpoint of the \(k\)th subinterval, so the height of the \(k\)th rectangle is \(f(x_{k})\).

The width of the \(k\)th rectangle is the length of the \(k\)th subinterval. Since the interval itself is \(b-a\) units long and we are dividing the interval into \(n\) equal pieces, each piece is \(\frac {b-a}{n}\) units long. For brevity, we’ll call this length ‘\(\Delta x\).’ Below on the right is a depiction of \(RS_{\, 7}\), a ‘right endpoint sum’ using \(7\) (equally spaced) subintervals.

Figure 2: Visualizing \(RS_7\), a ‘right endpoint sum.’

The idea here is to approximate the area of the shaded region by the sum of the areas of the rectangles. In symbols:

\[ \text {Area} \approx f(x_{1}) \Delta x + f(x_{2}) \Delta x + f(x_{3}) \Delta x + \ldots + f(x_{7}) \Delta x = \sum _{k = 1}^{7} f(x_{k}) \Delta x \]

Our ultimate goal is to find a formula for the area approximation as described above as a function of the number of rectangles \(n\) and look to see what happens as \(n \rightarrow \infty \).

We first note that the right endpoints \(x_{k}\), are terms in an arithmetic sequence: the first right endpoint, \(x_{1}\) is \(\Delta x\) to the right of \(a = x_{0}\), so \(x_{1} = x_{0} + \Delta x\); the second right endpoint, \(x_{2}\) is \(\Delta x\) units to the right of \(x_{1}\), so \(x_{2} = x_{1} + \Delta x\); the third right endpoint \(x_{3} = x_{2} + \Delta x\) and so on. In general, \(x_{k} = x_{k-1} + \Delta x\), proving the \(x_{k}\) are terms of an arithmetic sequence with common difference \(d = \Delta x\). It follows that \(x_{k}\), the \(k\)th right endpoint is \(k \Delta x\) units to the right of \(x_{0} = a\), so that \(x_{k} = a + k \Delta x\). We summarize the notation and formulas for right endpoint sums below.

Summary of Formulas for Right Endpoint Sums, \(RS_{n}\)
  • Number of rectangles: \(n\)
  • Width of each rectangle: \(\Delta x = \frac {b-a}{n}\)
  • Right endpoint: \(x_{k} = a + k \Delta x\)
  • Height of \(k\)th rectangle: \(f(x_{k})\)
  • \(\text {Area} \approx RS_{n} = \text {the sum of the area of the rectangles} = \displaystyle {\sum _{k = 1}^{n} f(x_{k}) \Delta x_{k}}\)

Below we summarize some common summation formulas we’ll need when actually computing these sums. Formal proofs of these require the machinery of Section ?? and are found there.

Summation Formulas
  • \(\displaystyle {\sum _{k=1}^{n} c = c n}\)
  • \(\displaystyle {\sum _{k=1}^{n} k = \frac {n(n+1)}{2}}\)
  • \(\displaystyle {\sum _{k=1}^{n} k^2 = \frac {n(n+1)(2n+1)}{6}}\)
  • \(\displaystyle {\sum _{k=1}^{n} k^3 = \frac {n^2(n+1)^2}{4}}\)

It is high time for an example.

The reader is encouraged to revisit the GeoGebra interactives showcased in Example 6 and input different functions, different bounds, and different numbers of rectangles for \(RS_{n}\). For example, what happens when you have a function which dips below the \(x\)-axis? What does \(RS_{n}\) and \(\ds {\lim _{n \rightarrow \infty } RS_{n}}\) calculate then?

It is worth noting that, as with other examples in the text, Example 6 is more or less lifted straight out of a Calculus lecture. That being said, the vast majority of the mechanics here involve precalculus notions. In general, the machinations in Calculus amount to applying the limit concept to the mechanics of precalculus.