The **integral test** is a very reliable way to establish the convergence of a series. The basic idea is that if the **n ^{th}** term of a series,

Here's a picture of the situation:

Here's another way to say it: If the area under **f(x)** reaches some limit, then anything contained inside that area must also have a finite area.

Symbolically, if our sum has terms **a _{n}**, like this:

and the **a _{n}** can be generated by a function,

If this integral has a limit, the series must converge because it is trapped within a finite area – an area guaranteed never to grow past a certain limiting size.

On the other hand, some areas continue to grow (albeit more slowly) with increasing **x**. If each term of a series is under such a function, then the sum of the series can also grow without bound.

Remember a very important feature of calculus: While every function we can write down has an analytical derivative, that is, one we can do with pencil and paper, *not* every function we can write down will have an analytical integral.

There are some functions which are either very difficult to integrate analytically, or that simply cannot be integrated analytically. So the integral test obviously won't work if a function can't be integrated.

The harmonic series is

To prove convergence or divergence, we use the integral test. We integrate the function **f(x) = 1/x** from 1 to ∞. Here is the graph of the series and the function:

The integral is

The integral is **ln|x|** evaluated as **R → ∞**, where ln(1) is zero:

So because this integral has no limit, and the function **f(x)** is the upper bound for the series, we conclude that the series *has* no upper bound and it diverges.

It's worth noticing that by the divergence test, the terms of the harmonic series approach zero. By that test, the harmonic series doesn't diverge. But remember that the divergence test can only tell us whether a series diverges. A series with decreasing terms still may not *converge*. One way to think about it is that the sizes of the terms, **a _{n}**, decrease, but just not

The integral test is to find out whether the integral of **f(x) = 1/x ^{2}** converges to a finite number as

This time the limit resolves to zero and the integral has a finite value of one.

so this series – later we'll call it a p-series – converges.

Please note that while the integral converges to a value of one, this is *not* the *sum* of the series. In fact, if you look at the graphs in the introduction and the first example, you'll see that (1) we left out part of the series in this integral (the first box in the histogram), and (2) for the rest of the series, 1 would be an **upper bound** only. The sum of this series as written is actually 2.

First we set up the integral:

We can solve this integral by simple u-substitution:

to get the following integral (I've dropped the limits; I'll go back to **x** after evaluating the u-integral and recover the original units):

Now the full integral looks like this:

Finally, as we evaluate the limits of integration, we see that the first term diverges to infinity:

Therefore this series **diverges**.

Determine whether the following infinite series converge or diverge using the integral test.

**xaktly.com** by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.