Integral Test and p-Series
Practise this section (12)Add up $1+\tfrac12+\tfrac13+\tfrac14+\cdots$ forever. Every term is smaller than the one before, and the terms shrink to $0$. Does the running total level off near some number, or does it eventually pass 100?
Your instinct might say it levels off. Areas will show that instinct is wrong, and the same idea will settle a whole family of series at once.
The Integral Test
Think of a series $\sum a_n$ as a stack of rectangles. Each rectangle has width $1$ and height $a_n$, so its area is exactly $a_n$. If $a_n=f(n)$ for a nice function $f$, the rectangles hug the area under $y=f(x)$.
The first figure draws rectangles whose heights are the values at the left endpoints: $a_1$ on $[1,2]$, $a_2$ on $[2,3]$, and so on. Because $f$ is decreasing, each rectangle sticks out above the curve.
Left-endpoint rectangles of heights a1, a2, a3, ... lie above a decreasing curve y = f(x), so their total area is at least the area under the curve.Now shift the rectangles so the heights come from the right endpoints: $a_2$ on $[1,2]$, $a_3$ on $[2,3]$, and so on. This time each rectangle sits below the curve.
Right-endpoint rectangles of heights a2, a3, a4, ... lie below a decreasing curve y = f(x), so their total area is at most the area under the curve.Squeeze the sum between these two pictures. With $S_N=a_1+\cdots+a_N$:
$$\int_1^{N+1} f(x)\,dx \;\le\; S_N \;\le\; a_1+\int_1^{N} f(x)\,dx$$If the area under the curve is infinite, the left inequality forces $S_N\to\infty$. If the area is finite, the right inequality keeps the increasing partial sums bounded above, so they converge. That is the whole idea of the test.
Why each condition matters: positivity makes the partial sums increase. Continuity lets you integrate $f$. Decreasing is what makes the rectangles sit above or below the curve.
To use the test, check the three conditions, evaluate the improper integral as a limit, and then state your conclusion.
List the three conditions a function $f$ must satisfy on $[1,\infty)$ for the integral test to apply to $\sum_{n=1}^{\infty}a_n$ with $a_n=f(n)$. Then, for…
List the three conditions a function $f$ must satisfy on $[1,\infty)$ for the integral test to apply to $\sum_{n=1}^{\infty}a_n$ with $a_n=f(n)$. Then, for $a_n=\frac{1}{n^2}$, name the function $f$ and explain why each condition holds.
Evaluate the improper integral $\int_{1}^{\infty}\frac{1}{x^2}\,dx$ by writing it as a limit. Then explain what this result tells you about…
Evaluate the improper integral $\int_{1}^{\infty}\frac{1}{x^2}\,dx$ by writing it as a limit. Then explain what this result tells you about $\sum_{n=1}^{\infty}\frac{1}{n^2}$ and which test you are using.
p-Series
The most useful family to apply the test to is $\sum \frac{1}{n^p}$.
Take $f(x)=x^{-p}$ with $p>0$. It is positive, continuous, and decreasing on $[1,\infty)$. Now evaluate the integral.
For $p\ne1$:
$$\int_1^{\infty}x^{-p}\,dx=\lim_{b\to\infty}\frac{b^{1-p}-1}{1-p}$$If $p>1$, then $b^{1-p}\to0$ and the integral equals $\frac{1}{p-1}$ (converges). If $p<1$, then $b^{1-p}\to\infty$ (diverges).
For $p=1$:
$$\int_1^{\infty}\frac{dx}{x}=\lim_{b\to\infty}\ln b=\infty$$The harmonic series diverges.
Drag the slider to see why $p=1$ is the dividing line. Shrinking $p$ below 1 makes the area under $y=1/x^p$ infinite.
| Series | $p$ | Result |
|---|---|---|
| $\sum \frac1{n^2}$ | $2$ | converges |
| $\sum \frac1{\sqrt n}$ | $\tfrac12$ | diverges |
| $\sum \frac1n$ | $1$ | diverges (harmonic) |
| $\sum \frac1{n^{1.01}}$ | $1.01$ | converges (very slowly) |
Classify each series as a p-series and state the value of $p$. Then say whether it converges or diverges. (a) $\sum_{n=1}^{\infty}\frac{1}{n^3}$ (b)…
Classify each series as a p-series and state the value of $p$. Then say whether it converges or diverges.
(a) $\sum_{n=1}^{\infty}\frac{1}{n^3}$ (b) $\sum_{n=1}^{\infty}\frac{1}{\sqrt{n}}$ (c) $\sum_{n=1}^{\infty}\frac{1}{n}$ (d) $\sum_{n=1}^{\infty}\frac{1}{n^{1.01}}$
Decide whether each series converges or diverges, and name the fact you use. (a) $\sum_{n=1}^{\infty}\frac{7}{n^2}$ (b) $\sum_{n=1}^{\infty}\frac{1}{3\sqrt{n}}$ (c)…
Decide whether each series converges or diverges, and name the fact you use.
(a) $\sum_{n=1}^{\infty}\frac{7}{n^2}$ (b) $\sum_{n=1}^{\infty}\frac{1}{3\sqrt{n}}$ (c) $\sum_{n=1}^{\infty}\frac{5}{n^{4/3}}$
Applying the Test to Other Functions
For series that are not p-series, you must verify the three conditions yourself. Here are the usual ways to check "decreasing":
-
Derivative: show $f'(x)<0$ for $x\ge1$.
-
Algebra: if $f=\frac1{g}$ with $g$ positive and increasing, then $f$ is decreasing.
For the integral, look for a substitution $u=g(x)$ whose derivative $g'(x)$ appears in the integrand.
Use the integral test to decide whether $\sum_{n=1}^{\infty}ne^{-n^2}$ converges. Show that $f(x)=xe^{-x^2}$ is positive, continuous, and decreasing for $x\ge1$ (use…
Use the integral test to decide whether $\sum_{n=1}^{\infty}ne^{-n^2}$ converges. Show that $f(x)=xe^{-x^2}$ is positive, continuous, and decreasing for $x\ge1$ (use $f'(x)$), and evaluate the improper integral.
Use the integral test to determine whether $\sum_{n=2}^{\infty}\frac{1}{n\ln n}$ converges or diverges. Verify the hypotheses of the test and evaluate…
Use the integral test to determine whether $\sum_{n=2}^{\infty}\frac{1}{n\ln n}$ converges or diverges. Verify the hypotheses of the test and evaluate $\int_{2}^{\infty}\frac{1}{x\ln x}\,dx$ with the substitution $u=\ln x$.
For which values of $p$ does $\sum_{n=2}^{\infty}\frac{1}{n(\ln n)^p}$ converge? Consider the cases $p=1$, $p>1$, and $p<1$ separately, using the integral test and the…
For which values of $p$ does $\sum_{n=2}^{\infty}\frac{1}{n(\ln n)^p}$ converge? Consider the cases $p=1$, $p>1$, and $p<1$ separately, using the integral test and the substitution $u=\ln x$. Verify the hypotheses of the test for $p>0$ and say what happens when $p\le0$.
When the Hypotheses Fail
The test needs $f$ to be positive, continuous, and decreasing. Two situations come up often.
The terms do not decrease at all. Consider $a_n=\frac{2+(-1)^n}{n^2}$. The first terms are $1,\ \frac34,\ \frac19,\ \frac3{16},\dots$, and $\frac3{16}>\frac19$. No decreasing $f$ can match all of them, so the test is not allowed. You need another tool, such as a comparison with a series you already know. The idea is: if $0\le b_n\le a_n$ and $\sum b_n$ diverges, then $\sum a_n$ diverges. If $0\le a_n\le c_n$ and $\sum c_n$ converges, then $\sum a_n$ converges. The next pages develop these comparison tests in full.
The terms decrease only eventually. This is fine. Convergence depends only on the tail of a series, because changing or dropping finitely many terms changes the sum but not whether it converges. So the test can start at any $n=N$ where $f$ is already decreasing.
Let $a_n=\frac{2+\sin n}{n}$. Compute $a_4$, $a_5$, and $a_6$ to three decimal places and explain why the integral test cannot be applied to $\sum_{n=1}^{\infty}a_n$.…
Let $a_n=\frac{2+\sin n}{n}$. Compute $a_4$, $a_5$, and $a_6$ to three decimal places and explain why the integral test cannot be applied to $\sum_{n=1}^{\infty}a_n$. Then decide whether the series converges by comparing $a_n$ with $\frac{1}{n}$.
Consider $\sum_{n=1}^{\infty}\frac{n}{(n^2+4)^{3/2}}$ with $f(x)=\frac{x}{(x^2+4)^{3/2}}$. (a) Show that $f'(x)<0$ only when $x>\sqrt2$, so $f$ is not decreasing on all…
Consider $\sum_{n=1}^{\infty}\frac{n}{(n^2+4)^{3/2}}$ with $f(x)=\frac{x}{(x^2+4)^{3/2}}$. (a) Show that $f'(x)<0$ only when $x>\sqrt2$, so $f$ is not decreasing on all of $[1,\infty)$. (b) Explain how to apply the integral test starting at $n=2$ and why that is enough to decide about the original series. (c) Evaluate $\int_2^{\infty}f(x)\,dx$ and state your conclusion.
Estimating the Sum and the Remainder
When a series converges, the integral test also tells you how far a partial sum is from the true sum. Let $S=\sum a_n$ and let $R_N=S-S_N=a_{N+1}+a_{N+2}+\cdots$ be the remainder.
Look back at the two pictures. Starting at $n=N+1$, the rectangles of the tail lie above $\int_{N+1}^{\infty}f$ and below $\int_{N}^{\infty}f$. In symbols:
The reason: each tail term $a_n=f(n)$ is bigger than the area under the curve on $[n,n+1]$, and smaller than the area on $[n-1,n]$, because $f$ is decreasing.
The same picture explains the harmonic series. Left-endpoint rectangles give $S_N\ge\int_1^{N+1}\frac{dx}{x}=\ln(N+1)$. Since $\ln(N+1)\to\infty$, the partial sums grow without bound.
Back to the start: the running total $1+\frac12+\frac13+\cdots$ never levels off. The area under $y=\frac1x$ is infinite, so the sum is too, even though it takes an astronomical number of terms to reach 100.
(a) Use the integral test to show that $\sum_{n=1}^{\infty}\frac{1}{n^2+1}$ converges. (b) Use $\int_{1}^{\infty}\frac{1}{x^2+1}\,dx$ to show that…
(a) Use the integral test to show that $\sum_{n=1}^{\infty}\frac{1}{n^2+1}$ converges. (b) Use $\int_{1}^{\infty}\frac{1}{x^2+1}\,dx$ to show that $\sum_{n=1}^{\infty}\frac{1}{n^2+1}\le\frac{1}{2}+\frac{\pi}{4}$.
Let $S=\sum_{n=1}^{\infty}\frac{1}{n^2}$ and let $R_{10}=S-S_{10}$ be the remainder after 10 terms. By comparing the tail with integrals, show that…
Let $S=\sum_{n=1}^{\infty}\frac{1}{n^2}$ and let $R_{10}=S-S_{10}$ be the remainder after 10 terms. By comparing the tail with integrals, show that $\int_{11}^{\infty}\frac{1}{x^2}\,dx<R_{10}<\int_{10}^{\infty}\frac{1}{x^2}\,dx$. Evaluate both integrals, and use the result to give an interval that must contain $S$, given that $S_{10}=\frac{9778141}{6350400}\approx1.5498$.
(Calculator active) Let $S_N=\sum_{n=1}^{N}\frac{1}{n}$. (a) By comparing rectangles with the area under $y=\frac{1}{x}$, show that…
(Calculator active) Let $S_N=\sum_{n=1}^{N}\frac{1}{n}$. (a) By comparing rectangles with the area under $y=\frac{1}{x}$, show that $S_N\ge\int_1^{N+1}\frac{1}{x}\,dx=\ln(N+1)$. (b) What does this say about the series as $N\to\infty$? (c) Find the smallest integer $N$ for which this inequality guarantees $S_N>5$.
Summary
-
Integral Test: if $a_n=f(n)$ with $f$ positive, continuous, and decreasing on $[N,\infty)$, then $\sum a_n$ and $\int_N^\infty f(x)\,dx$ both converge or both diverge. The integral's value is not the sum.
-
Procedure: name $f$, verify the three conditions (use $f'<0$ or an increasing denominator), evaluate the improper integral as a limit, and state the conclusion.
-
p-series: $\sum\frac1{n^p}$ converges iff $p>1$. The harmonic series ($p=1$) diverges. Constant multiples do not change this.
-
Eventually decreasing is enough: drop the first few terms and apply the test to the tail. If the terms are not eventually decreasing, use another test.
-
Remainder: $\int_{N+1}^\infty f<R_N<\int_N^\infty f$, which gives an interval for the sum.
Can't find your problem here?
The AI checks one of your exercises: paste the problem with your answer or take a photo of it.