<meta http-equiv="refresh" content="1; url=/nojavascript/"> Infinite Series | CK-12 Foundation
Dismiss
Skip Navigation
You are reading an older version of this FlexBook® textbook: CK-12 Calculus Teacher's Edition Go to the latest version.

3.8: Infinite Series

Created by: CK-12

Sequences

Sequences are simply lists of numbers, that’s it. The only rule is that we keep the different items in the list in order. For example, the sequence \left \{1,2,3, \ldots \right \} is not the same as \left \{2,1,3,4,5, \ldots \right \} because the 1 and 2 have switched places.

The idea behind the definition for a limit is an intuitive one, although this is somewhat hidden by the terminology. Suppose we have a long list of numbers like \left \{\frac{1}{1},\frac{1}{2},\frac{1}{3},\frac{1}{4}, \ldots \right \}. The numbers never actually reach zero, since one over something is never zero. However, we can see at the same time that the numbers get closer and closer to zero. So the limit of the sequence is zero, even though the sequence never quite makes it there. The definition is meant to recognize precisely this kind of situation.

The points keep getting lower and lower and no matter how small a number you can think of, they will eventually get smaller than that number. So the limit is L=0. In math terms, for any \in > 0, there is a value N so that each term is no bigger than \in.

In more advanced analysis, mathematicians consider sequences in a slightly more general context. Think about two-dimensional space. This is the set of real number pairs, like (1,1) or (9.3,-42). Three-dimensional space is the set of real number triples, like (1,1,1) or (3.14,2.718,0). Similarly, n-dimensional space is the set of real number n-tuples like (x_1,x_2, \ldots ,x_n). Sequences then are like \infty-dimensional space, the set of \infty-tuples like: (x_1,x_2,x_3, \ldots). This kind of formulation allows for analysis of sequences using more topological or geometric terms like compactness and boundedness.  

Infinite Series

Any kind of sum, like x_1+x_2+x_3+x_4=15 can be written more compactly as:

\sum_{i=1}^4 x_i=15

When the number above the big \sum is \infty (instead of 4 as it is above), we call this sum an infinite series. Adding together an infinite number of terms usually leads to disaster. But occasionally, if the terms get small fast enough or if enough of them are negative, then the sum can be something very interesting.

One classic example of a series is Zeno’s Paradox which asks whether an arrow will ever reach its target given that it only ever travels half the remaining distance. This, of course, boils down to summing a geometric series with r=\frac{1}{2} and can be viewed geometrically as follows: Consider a square whose total area is 1. Then the first term in the series \frac{1}{2} is just half of this square, and the next term \frac{1}{4} is just half of the remaining area. And the next term is half of the remaining area and on and on so that it becomes clear we are simply filling the entire square. This a geometric demonstration of the fact that \frac{1}{2}+\frac{1}{4}+\frac{1}{8}+\frac{1}{16}+\frac{1}{32}+...=1, a result that is also obtained by using the formula for the sum of a geometric series.

Series Without Negative Terms

The unique quality that makes non-negative series so attractive is that they have clear geometric interpretations. When a series is never negative, we can graph the points. Then the series is just a kind of course Riemann Sum where the rectangles all have width equal to 1.

As a very telling example, consider the harmonic series:

We can visualize each term as the area of the rectangle that has \mathrm{width} = 1. To see this, we zoom in on the first 10 points look at the corresponding rectangles along with the function corresponding to the lower sum and the function corresponding to the upper sum:

This plot shows why it is clear that the sum \sum \frac{1}{n} must diverge. This is because the sum is the area of the pink rectangles above, and this area is between the areas of f(x)=\frac{1}{x} and f(x)= \frac{1}{x+1}. However, both of these integrals are infinite since \int \frac{1}{x} dx = \ln(x) and  \int \frac{1}{x+1} dx= \ln(x+1).

We can also see geometrically why the integral test works, since the series is simply a course Riemann Sum for the integral. If the integral with the same form and limits diverges, then so too must the sum since as we move farther and farther to the right the upper and lower sums are both indistinguishable from the integral. That means that the difference between the series and the integral must be only the finite piece on the left where the function is significantly different from its Riemann Sum, but any finite number added or subtracted cannot affect convergence/divergence.

The Simplified Comparison Test has a similarly simple geometric interpretation. If we are interested in whether a series u_n converges or diverges. We might look for a simpler series v_n that “is asymptotically similarly to u_n”:

0 <  \lim_{n \to \infty} \frac{u_n}{v_n} < \infty

This is the same as saying that the areas of corresponding rectangles for u_n and v_n as we move farther and farther out approach the fixed ratio r=\lim_{n \to \infty} \frac{u_n}{v_n}. But then if the area corresponding to the sum of the u_n’\mathrm{s} is finite or divergent, then so too must the area for the sum of the v_n’\mathrm{s} be finite or divergent respectively.

We’ve seen that The Harmonic Series \sum \frac{1}{n} is divergent, however it is interesting to note that the sum gets big excruciatingly slow. For example, the first hundred terms only add up to about 5.2 and the first thousand only add up to about 7.5. In fact, it takes over 10^{43} terms for the sum to surpass 100. Another interesting question to ask is whether the series will diverge when we take out certain terms. For example, suppose we remove any terms that have a 9 in the denominator. This is not very many terms since it is only 1 in the first 10 and 18 in the first 100 and so on. Because we are taking infinity and removing so little, it seems like we should still have infinity. However, it turns out that removing these is enough to cause the series to converge! 

Series With Odd or Even Negative Terms

Alternating Series are everywhere in math and science. So it is extremely important to understand how to manipulate them. For example, the functions \mathrm{Sin} (x), \mathrm{Cos} (x), and e^{-x} are all alternating series in the variable x.

What about the simple alternating series \sum(-1)^n= 1-1+1-1+1-...? What is this sum equal to? Well, you may see that after one term the sum is one whereas after two terms the sum is zero. Then the sum is one again after three terms and zero again after four and so on. So the partial sums fluctuate back and forth between 1 and 0. This is not a convergent series since the sequence of partial sums is \left \{1,0,1,0,1,0, \ldots \right \}, which has no limit.

On the other hand, you may have always suspected that this series sums up to \frac{1}{2}. I know that I have. Here’s a proof that seems to vindicate this suspicion. (Can you find the error?)

  1. Solve the algebraic equation: x = 1-x
    1. You should find that x = \frac{1}{2}
  2. Now use iteration to solve this equation in a different way. This is a technique that is very important in science. Take the equation: x = 1 - x and plug in 1-x for x, since they are equal after all.
    1. You should get the equation x = 1 - (1 - x)
  3. Now repeat this for the new x on the right hand side:
    1. You should now get the equation x = 1 - (1 -(1 - x))
  4. Repeat once more for the new x on the right hand side:
    1. You should now get the equation x = 1-(1-(1-(1-x)))
  5. Repeating indefinitely we obtain that x = 1 - (1 - (1 - (1 - (1 - (1 - (1 - \ldots
  6. But x = \frac{1}{2} so if we get rid of the parenthesis we’ve shown that:

\frac{1}{2} = 1 - 1 + 1 - 1 + 1 - 1 + 1 - \ldots

The error in this proof was in using the series 1 - 1 + 1 - 1 + 1 \ldots This is a divergent series and by grouping the terms appropriately we can make it be anything we like.

People have claimed throughout history to have found very interesting results in math by using divergent series. However, these are often the result of playing tricks that cannot be generalized to the larger arena of mathematics. In fact, one of math’s most incredible genius’ Niels Henrik Abel was moved by such claims in 1828 to write that, “Divergent series are the invention of the devil, and it is shameful to base on them any demonstration whatsoever.”

Ratio Test, Root Test, and Summary of Tests

The only path to mastering when series converge and diverge is experience. Furthermore, once you start to understand which series converge and which diverge you will be able to understand the behavior of functions that are extremely important throughout science. When the function looks like a series you are familiar with, you know what to expect and this will provide indispensible intuition.

One example comes from particle physics and the area of quantum field theory. Certain problems arise when one looks in detail at problems of particle interaction, since the summations or integrals tend to diverge. However, when this divergence is similar to that of the harmonic series \sum \frac{1}{n}, then this can be canceled off later through a process called renormalization. The ability to quickly tell when the divergence is like this (as in quantum electrodynamics) and when it is not (as in gravitation) is cherished in the physics world.

It is also somewhat relieving, and interesting, to note that convergence and divergence can essentially always be boiled to down to comparison with a p-test series or a geometric series. This is at the heart of all the tests described in the chapter. The hard part is just figuring out how to simplify the terms so that they look like something familiar.  

Power Series

Consider a vector in two-dimensional space like \vec v=2\vec i+3\vec j or a vector in three-dimensional space like \vec w = 2 \vec i + 3 \vec j +  9 \vec k. The vectors \vec i, \ \vec j, and \vec k are called the basis vectors for the space. This means that any vector can be written out as a sum of these with some coefficients. Now, the letters \vec i , \ \vec j, and \vec k are not a very good choice if we want to go into higher dimensions. Instead, in n-dimensional space we write that:

\vec v = v_1 \overrightarrow{e_1} + v_2 \overrightarrow{e_2} + \ldots + v_n \overrightarrow {e_n}

where the v_n’\mathrm{s} are numbers and the basis vectors are the \overrightarrow{e_n}’\mathrm{s}. This can be written more compactly as:

\vec v = \sum_{i = 1}^n v_i \overrightarrow{e_i}

We can even imagine an infinite-dimensional space where there are infinitely many basis vectors \overrightarrow{e_i} and the general vector looks like:

\vec v = \sum_{i = 0}^{\infty} v_i \overrightarrow{e_i}

Now imagine that the vectors are not little arrows but are more abstract. In fact, think of the vectors as being functions like 3x^2+x^6 or \mathrm{Sin}(x). Any function f(x) can be written out like a vector:

f(x) = \sum_{i = 0}^{\infty} f_ie_i

where the f_i’\mathrm{s} are numbers (the components of the vector) and the e_i’\mathrm{s} are the basis vectors or basis functions! That is to say, the function f(x) may be anything at all, but the right hand side is pretty simple. It consists of regular old numbers f_i and some set of simple functions e_i. Do you recognize some simple functions that we might choose for the e_i’\mathrm{s}?

e_0 & = 1\\e_1 & = x\\e_2 & = x^2\\e_3 & = x^3\\& \ldots\\e_i & = x^i

This choice gives us the power series around zero (aka the Maclaurin Series) for the function f(x). Then the coefficients of expansion f_i are just:

f_i= \frac{f^{(n)}(0)}{n!}

Now, one important property of a space like 3-dimensional space or the infinite-dimensional function space is the ability to measure distance between points. In n-dimensional space we use a kind of iterated Pythagorean Theorem to give that the distance between the tips of the vectors \vec v = \sum^{n}_{i = 1} v_i \overrightarrow{e_i} and \vec{w} = \sum^{n}_{i = 1} w_i \overrightarrow{e_i} is just:

\left( \text{distance from} \ \vec v \ \text{to}\ \vec {w} \right )^2 = \sum_{i = 1}^{n} (v_i - w_i)^2

In the infinite-dimensional function space it is customary to measure the distance between the functions f(x) and g(x) by the following kind of continuous extension of the Pythagorean Theorem:

[\text{distance from}\ f(x) \ \text{to} \ g(x) ]^2 = \int_a^b [f(x) - g(x)]^2 dx

where the limits of integration a and b will depend upon what kind of functions we have. Notice however that this definition is not in terms of the coefficients f_i or g_i.

In terms of this distance measuring business, a good basis for the space will have a few very important properties: The basis vectors should all have unit length and they should be directed perpendicularly. The first condition is referred to generally as the normalization condition and the second is called the orthogonality condition, so that a basis satisfying both of these is called orthonormal. The basis \left \{\vec i, \vec j, \vec k \right \} for 3-dimensional space, for example, is orthonormal since the vectors are all perpendicular to one-another and each has a length of one.

However, it turns out that the power-series basis \left \{1,x,x^2,x^3, \ldots \right \} for functional space is neither orthogonal nor normalized in terms of the standard distance formula given. However, we can build an orthonormal basis from the basis \left \{1,x,x^2,x^3, \ldots \right \} using a canonical process called Gram-Schmitt Orthonormalization, and the result is a set of polynomial basis functions called the Legendre Polynomials.

Another choice of basis for functional space is the trigonometric functions of varying frequency or \left \{1, \mathrm{Cos}(x), \mathrm{Cos}(2x), \mathrm{Cos}(3x), \ldots ,\mathrm{Sin}(x), \mathrm{Sin}(2x), \mathrm{Sin}(3x), \ldots \right \} giving a function the expansion:

f(x) = \sum_{n = 0}^{\infty} c_n \mathrm{Cos} (nx) + \sum_{m = 1}^{\infty} s_m \mathrm{Sin}(mx)

This is called the Fourier basis and the expansion is called a Fourier Series for f(x). It turns out that this is better basis than the power series basis \left \{1,x,x^2,x^3, \ldots \right \} since it is already orthogonal and all that is needed is a little number in front of each basis function to make them unit length.

Image Attributions

You can only attach files to None which belong to you
If you would like to associate files with this None, please make a copy first.

Reviews

Please wait...
You need to be signed in to perform this action. Please sign-in and try again.
Please wait...
Image Detail
Sizes: Medium | Original
 
CK.MAT.ENG.TE.1.Calculus-Enrichment.3.8

Original text