Revision as of 21:05, 18 November 2024 by Admin

Sequences and Summations

[math] \newcommand{\ex}[1]{\item } \newcommand{\sx}{\item} \newcommand{\x}{\sx} \newcommand{\sxlab}[1]{} \newcommand{\xlab}{\sxlab} \newcommand{\prov}[1] {\quad #1} \newcommand{\provx}[1] {\quad \mbox{#1}} \newcommand{\intext}[1]{\quad \mbox{#1} \quad} \newcommand{\R}{\mathrm{\bf R}} \newcommand{\Q}{\mathrm{\bf Q}} \newcommand{\Z}{\mathrm{\bf Z}} \newcommand{\C}{\mathrm{\bf C}} \newcommand{\dt}{\textbf} \newcommand{\goesto}{\rightarrow} \newcommand{\ddxof}[1]{\frac{d #1}{d x}} \newcommand{\ddx}{\frac{d}{dx}} \newcommand{\ddt}{\frac{d}{dt}} \newcommand{\dydx}{\ddxof y} \newcommand{\nxder}[3]{\frac{d^{#1}{#2}}{d{#3}^{#1}}} \newcommand{\deriv}[2]{\frac{d^{#1}{#2}}{dx^{#1}}} \newcommand{\dist}{\mathrm{distance}} \newcommand{\arccot}{\mathrm{arccot\:}} \newcommand{\arccsc}{\mathrm{arccsc\:}} \newcommand{\arcsec}{\mathrm{arcsec\:}} \newcommand{\arctanh}{\mathrm{arctanh\:}} \newcommand{\arcsinh}{\mathrm{arcsinh\:}} \newcommand{\arccosh}{\mathrm{arccosh\:}} \newcommand{\sech}{\mathrm{sech\:}} \newcommand{\csch}{\mathrm{csch\:}} \newcommand{\conj}[1]{\overline{#1}} \newcommand{\mathds}{\mathbb} [/math]

We shall return to the definite integral in Section 3. The purpose of the present digression is to develop some techniques, applicable not only to the study of the integral but also to many other parts of mathematics. Most of the functions studied in this book have as domains intervals on the real line, or unions of intervals; e.g., the domain of the function [math]\frac{1}{x}[/math] is the union [math](-\infty, 0) \cup (0, \infty)[/math]. In this section, on the other hand, we are concerned with functions whose domains are sets of integers. An example is the function a defined by [math]a(n) = \sqrt{n - 2}[/math], for every integer greater than 1. If [math]a[/math] is a function whose domain is a subset of the integers, it is common practice to denote its value at [math]n[/math] by [math]a_n[/math]. Thus

[[math]] a_n = a(n). [[/math]]

A simple example in which the domain is a finite set of integers is a partition of an interval in which we have indexed the points of the partition as [math]x_0, . . ., x_n[/math]. In this case,

[[math]] x_i = x(i), \;\;\; \mbox{for}\; i = 0, . . ., n. [[/math]]

We come next to the definition of a sequence, which is a special case of a function defined on a set of integers. We shall accept the intuitive idea of a sequence to be that of a list (in mathematics, most likely, a list of numbers). With this in mind, we define a sequence to be a function whose domain [math]D[/math] is a set of integers such that

  1. [math]D[/math] is a set of consecutive integers; i.e., if [math]i[/math] and [math]j[/math] are in [math]D[/math], then every integer between [math]i[/math] and [math]j[/math] is also in [math]D[/math].
  2. [math]D[/math] contains a least element.

If [math]s[/math] is a sequence and if [math]l[/math] is the least, or smallest, integer in its domain, then [math]s(l) = s_{l}[/math] is the first member of the sequence, [math]s(l + 1) = s_{l + 1}[/math] is the second member, and so on. In the most common applications [math]l[/math] is either 0 or 1, and so the values of the sequence appear as either [math]s_0, s_1, s_2,...[/math] or as [math]s_1, s_2, ...[/math].

A sequence is finite or infinite according as its domain [math]D[/math] is finite or infinite. Note that the range of an infinite sequence need not contain infinitely many numbers. The function [math]a[/math] defined, for every positive integer [math]n[/math], by

[[math]] \begin{equation} a_{n} = a(n) = \left\{ \begin{array}{ll} 0, & \mbox{if $n$ is even,} \\ 1, & \mbox{if $n$ is odd,} \end{array} \right. \label{eq4.2.1} \end{equation} [[/math]]

is the infinite sequence 1, 0, 1, 0, 1, 0, 1, .... An even simpler example of an infinite sequence is the constant function [math]b[/math] defined by

[[math]] b_n = 1, \;\;\;\mbox{for every positive integer}\; n. [[/math]]

A common notation for a sequence [math]s[/math], whether finite or infinite, is [math]\{ s_n \}[/math]. When a sequence is written in this way, the letter [math]n[/math] is called an index. Like the variable of integration in a definite integral, it is a dummy symbol. Any letter can be used, although [math]n, m, i, j[/math], and [math]k[/math] are the most common. Thus

[[math]] s = \{ s_n \} = \{ s_m \} = \{ s_i \} = \mbox{etc.} [[/math]]

Of course, a finite sequence can be described by simply enumerating its terms, e.g., [math]s_1, . . ., s_n[/math], or [math]a_3, a_4, . . ., a_{10}[/math]. We shall study two major topics in this section. The first is the limit of an infinite sequence. This is actually just an application of the idea of the limit of a function which we defined and studied in Chapter 1. As an example, let s be the infinite sequence defined by

[[math]] s_n = \frac{2n^2 + n - 1}{3n^2 - 2n + 2}, \;\;\; \mbox{for every positive integer}\; n. [[/math]]

We ask for the limit of [math]\{ s_n \}[/math] as [math]n[/math] increases without bound, which we denote by [math]\lim_{n \rightarrow \infty} s_n[/math]. Dividing both numerator and denominator of the above expression by [math]n^2[/math], we obtain

[[math]] s_n = \frac{2 + \frac{1}{n} - \frac{1}{n^2}}{3 - \frac{2}{n} + \frac{2}{n^2}}. [[/math]]

If [math]n[/math] is very large, it is clear that [math]2 + \frac{1}{n} - \frac{1}{n^2}[/math] is nearly equal to 2, and that [math]3 - \frac{2}{n} + \frac{2}{n^2}[/math] is nearly equal to 3. We conclude that the number which the values of the sequence are approaching, i.e., the limit, is [math]\frac{2}{3}[/math]. Thus we write

[[math]] \lim_{n \rightarrow \infty} S_n = \lim_{n \rightarrow \infty} \frac{2n^2 + n - 1}{3n^2 - 2n + 2} = \frac{2}{3}. [[/math]]

Example

Let [math]\{s_n \}[/math] and [math]\{a_m\}[/math] be two infinite sequences defined, respectively, by

[[math]] \begin{array}{ll} s_n = \frac{\sqrt{2n - 5}}{\sqrt{5n - 2}}, \;\;\; &\mbox{for}\;\;\; n=3, 4, 5, ... ,\\ a_m = \frac{m^2 + 1}{m}, \;\;\; &\mbox{for}\;\;\; m = 1, 2, 3, ... . \end{array} [[/math]]

Find [math]\lim_{n \rightarrow \infty} s_n[/math] and [math]\lim_{m \rightarrow \infty} a_m[/math]. For the sequence [math]s[/math], we divide numerator and denominator by [math]\sqrt{n}[/math], getting

[[math]] s_{n} = \frac{\frac{1}{\sqrt n} \sqrt{2n-5}}{\frac{1}{\sqrt n} \sqrt{5n-2}} = \frac{\sqrt{2 - \frac{5}{n}}}{\sqrt{5 - \frac{2}{n}}}. [[/math]]

Both [math]\frac{5}{n}[/math] and [math]\frac{2}{n}[/math] obviously approach 0 as a limit as [math]n[/math] increases without bound. We conclude that

[[math]] \lim_{n \rightarrow \infty} s_n = \lim_{n \rightarrow \infty} \frac{\sqrt{2n - 5}}{\sqrt{5n - 2}} = \sqrt{\frac{2}{5}}. [[/math]]

For the sequence [math]\{ a_m \}[/math] we have

[[math]] a_m = \frac{m^2 + 1}{m} = m + \frac{1}{m}. [[/math]]

It is obvious that, as [math]m[/math] increases without bound, so does [math]m + \frac{1}{m}[/math]. Hence no limit exists. On the other hand, we can unambiguously express the fact that the values of the sequence are increasing without bound by writing

[[math]] \lim_{m \rightarrow \infty} a_m= \lim_{m \rightarrow \infty} \frac{m^2 + 1}{ m} = \infty. [[/math]]

As we have remarked, the definition of the limit of a sequence is included in the definition of the limit of a function. For emphasis, however, we shall give it in this special case. Let s be an infinite sequence of real numbers. Then the limit as [math]n[/math] increases without bound of [math]s_n[/math] is equal to [math]b[/math], written

[[math]] \lim_{n \rightarrow \infty}s_n = b, [[/math]]

if, for [math]\varepsilon \gt 0[/math], there exists an integer [math]m[/math] in the domain of [math]s[/math] such that whenever [math]n \gt m[/math], then [math]|s_{n} - b| \lt \varepsilon[/math]. The definition can be phrased geometrically as follows: The limit of [math]\{ s_n \}[/math] is [math]b[/math] if, given an arbitrary open interval [math](b - \varepsilon, b + \varepsilon)[/math], all the numbers [math]s_{n}[/math] from some integer on, lie in that interval. Thus for the oscillating sequence 1, 0, 1, 0, 1, 0,... defined in (1), no limit exists. The second topic in the section is the study of a convenient notation for the sum of a finite number of consecutive terms of a sequence. Let [math]a[/math] be a sequence (finite or infinite) of real numbers. If [math]m[/math] and [math]n[/math] are in the domain of the sequence, and if [math]m \leq n[/math], then the sum [math]a_m + a_{m+1}, + ... + a_n[/math] is called a series and is abbreviated [math]\sum_{i = m}^{n} a_{i}[/math]. Thus

[[math]] \sum_{i = m}^n a_i = a_m + a_{m+1} + ... + a_n. [[/math]]

We call [math]\sum_{i = m}^{n} a_i[/math] the summation of [math]\{ a_i \}[/math] from [math]m[/math] to [math]n[/math].

Example Let [math]\{ a_i \}[/math] be the sequence defined by [math]a_i = i^2[/math], for every positive integer [math]i[/math]. Then

[[math]] \sum_{i = 1}^{5} a_i = \sum_{i = 1}^{5} i^2 = 1^2 + 2^2 + 3^2 + 4^2 + 5^2 = 55. [[/math]]

Another series defined from the same sequence is

[[math]] \sum_{i = 3}^{6}a_i = \sum_{i = 3}^{6} i^2 = 3^2 + 4^2 + 5^2 + 6^2 = 86. [[/math]]

On the other hand, we might be interested in the sum of the squares of the first [math]n[/math] integers for an arbitrary positive integer [math]n[/math]. This would be the series

[[math]] \sum_{i = 1}^{n} a_i = \sum_{i = 1}^{n} i^2 = 1^2 + 2^2 + 3^2 + ... + n^2. [[/math]]


The symbol [math]i[/math] which appears in the series [math] \sum_{i = m}^{n} a_i[/math] is called the summation index. It, too, is a dummy symbol, since the value of the series does not depend on [math]i[/math]. Like the definite integral, [math] \sum_{i = m}^{n} a_i[/math] depends on three things: the sequence [math]a[/math] (the function) and the two integers [math]m[/math] and [math]n[/math]. Thus

[[math]] \sum_{i = m}^{n} a_i = \sum_{j = m}^{n} a_j = \sum_{k = m}^{n} a_k = a_m + a_{m+1} + ... + a_n. [[/math]]

Example

Using the summation notation, write a series for the sum of all the odd integers from 11 to 101. An arbitrary odd integer can be written in the form [math]2i + 1[/math] for some integer [math]i[/math]. It is not hard to see, therefore, that one answer to the problem is given by the series

[[math]] \sum_{i = 5}^{50} (2i + 1). [[/math]]

Another is the series

[[math]] \sum_{i =6}^{51} (2i - 1). [[/math]]

It should be emphasized that the summation notation offers no new mathematical theory. It is merely a convenient shorthand for writing sums and manipulating them. The ability to manipulate comes from practice, but the techniques are based on the following properties:

Theorem


  • [[math]] \sum_{i = m}^{n} (a_{i} + b_{i}) = \sum_{i = m}^{n} a_{i} + \sum_{i = m}^{n} b_{i}. [[/math]]
  • [[math]] \sum_{i = m}^{n} ca_{i} = c \sum_{i = m}^{n} a_{i}. [[/math]]
  • [[math]] \sum_{i = m}^{n} c = c (n - m + 1). [[/math]]


Show Proof

The proofs are very simple. For (2.1) we have

[[math]] \begin{eqnarray*} \sum_{i = m}^{n}(a_{i} + b_{i}) &=& (a_{m} + b_{m}) + (a_{m+1} + b_{m+1}) + ... + (a_{n} + b_{n})\\ &=& (a_m + a_{m +1} + ... + a_{n}) + (b_{m} + b_{m +1} + ... + b_{n})\\ &=& \sum_{i = m}^{n} a_{i} + \sum_{i = m}^{n} b_i. \end{eqnarray*} [[/math]]
For (2.2),

[[math]] \begin{eqnarray*} \sum_{i = m}^{n} ca_{i} &=& ca_{m} + ca_{m + 1} + ... + ca_{n}\\ &=& c(a_{m} + a_{m + 1} + ... + a_{n})\\ &=& c \sum_{i = m}^{n} a_{i}. \end{eqnarray*} [[/math]]
To prove (2.3), one must understand that [math]\sum_{t = m}^{n} c[/math] means [math]\sum_{t = m}^{n} a_{i}[/math], where [math]\{ a_{i} \}[/math] is the constant sequence defined by [math]a_{i} = c[/math]. Hence

[[math]] \begin{eqnarray*} \sum_{i = m}^{n} c = \sum_{i = m}^{n} a_{i } &=& \overbrace{a_{m} + a_{m +1} + ... + a_{n}}^{n - m + 1 \;\mbox{terms}}\\ &=& c + c + ... + c \\ &=& c(n - m + 1). \end{eqnarray*} [[/math]]
This completes the proof.

There are two other summation identities which are useful and which we shall include. They are the formulas for the sum of the first [math]n[/math] positive integers and for the sum of the squares of the first [math]n[/math] positive integers:

Theorem


[[math]] \sum_{i = 1}^{n} i = \frac{n(n+1)} {2}. [[/math]]

Theorem


[[math]] \sum_{i = 1}^{n} i^2 = \frac{n(n+1)(2n + 1)}{6}. [[/math]]


Show Proof

There is a very clever proof of (2.4), which the great mathematician Carl Friedrich Gauss (1777-1855) is said to have figured out for himself in a few seconds in his first arithmetic class at the age of 10. Write the sum [math]S =\sum_{i = 1}^{n} i[/math], once in natural order and, underneath it, the sum in reverse order as follows:

[[math]] \begin{eqnarray*} S &=& 1 + 2 + ... + (n - 1) + n,\\ S &=& n + (n + 1) + ... + 2 + 1. \end{eqnarray*} [[/math]]
If each number on the right side of the first equation is added to the number directly beneath it, the sum is [math]n + 1[/math]. Hence the sum of the two right sides is a series consisting of [math]n[/math] terms each equal to [math]n + 1[/math]. It follows that

[[math]] 2S = n(n + 1), [[/math]]
from which (2.4) is an immediate corollary. Formula (2.5) is probably most easily proved by induction on [math]n[/math]. The proof is straightforward, and we omit it.

Example Evaluate

  • [math]\sum_{i = 1}^{n} (3i^2 + 5i - 2),[/math]
  • [math]\sum_{i = 1}^{n} \frac{(3i^2 + 5i -2)}{n^3}.[/math]

Using the various properties of summation, we obtain for (a),

[[math]] \begin{eqnarray*} \sum_{i = 1}^n(3i^2 + 5i - 2) &=& 3 \sum_{i = 1}^{n} i^2 + 5\sum_{i = 1}^{n} i - 2 \sum_{i = 1}^{n} 1\\ &=& 3 \frac{ n(n + 1)(2n + 1)}{6} + 5 \frac{n(n + 1)}{2} - 2n \\ &=& \frac {2n^3 + 3n^2 + n}{2} + \frac{ 5n^2 + 5n}{2} - \frac{ 4n}{2} \\ &=& \frac{2n^3 + 8n^2 + 2n}{2} = n^3 + 4n^2 + n. \end{eqnarray*} [[/math]]

Part (b) is really a trivial modification of (a). The number [math]n^3[/math] which appears in the denominator is the same for each term in the sum, i.e., it is a constant, and can be factored out immediately. Thus

[[math]] \sum_{i = 1}^n \frac{3i^2 + 5i - 2}{n^3} = \frac{1}{n^3} \sum_{i = 1}^n (3i^2 + 5i - 2). [[/math]]

Hence, using the answer from (a), we get

[[math]] \begin{eqnarray*} \sum_{i = 1}^n \frac{ 3i^2 + 5i - 2}{n^3} &=& \frac{1}{n^3} (n^3 + 4n^2 + n)\\ &=& 1 + \frac{4}{n} + \frac{1}{n^2}. \end{eqnarray*} [[/math]]

We conclude the section with an example which combines the summation convention with the limit of an infinite sequence,

Example

For every positive integer [math]n[/math], let [math]S_n[/math] be defined by

[[math]] S_n = \sum_{i = 1}^n \frac{i^2 + 2}{n^3}. [[/math]]

The numbers [math]S_1, S_2, S_3, ,...[/math] form an infinite sequence, and the problem is to evaluate [math]\lim_{n \rightarrow \infty} S_n[/math]. Using the properties of summation, we obtain

[[math]] \begin{eqnarray*} S_n &=& \frac{1}{n^3} \sum_{i = 1}^{n} (i ^2 + 2) \\ &=& \frac{1}{n^3} \Bigl( \sum_{i = 1} ^{n} i^2 + \sum_{i=1} ^{n} 2 \Bigr) \\ &=& \frac{1}{n^3} \Bigl[\frac{n(n + 1)(2n + 1)}{6} + 2n \Bigr] \\ &=& \frac{1}{n^3} \Bigl( \frac{2n^3 + 3n^2 + n}{6} + \frac{12n}{6} \Bigr) \\ &=& \frac{2n^3 + 3n^2 + 13n}{6 n^3}. \end{eqnarray*} [[/math]]

Hence

[[math]] \begin{eqnarray*} \lim_{n \rightarrow \infty} S_n &=& \lim_{n \rightarrow \infty} \frac{2n^3 + 3n^2 + 13n}{6n^3}\\ &=& \lim_{n \rightarrow \infty} \Bigl( \frac{1}{3} + \frac{1}{2n} + \frac{13}{6n^2} \Bigr) = \frac{1}{3}, \end{eqnarray*} [[/math]]

which is the answer to the problem. Frequently the notations are compounded; i.e., we write

[[math]] \lim_{n \rightarrow \infty} \sum_{i = 1}^{n} \frac{i^2 + 2}{n^3} = \frac{1}{3}. [[/math]]

General references

Doyle, Peter G. (2008). "Crowell and Slesnick's Calculus with Analytic Geometry" (PDF). Retrieved Oct 29, 2024.