How to decide convergence of a series of positive decreasing terms by comparing it with an improper integral, which p-series converge, and how the integral bounds the error of a partial sum.
Draw the terms of a series as rectangles of width one standing on the x axis. If the heights come from a decreasing curve, the rectangles hug the area under that curve from above and from below. So the series and the improper integral of the curve either both have finite size or both have infinite size. That picture is the whole idea of the integral test.
Key terms
Positive, continuous, eventually decreasing
Definition The integral test uses a function f and an integer N≥1 such that, on the interval [N,∞),
the function f is continuous,
its values are positive, f(x)>0,
the function f is decreasing, that is f(x2)≤f(x1) whenever N≤x1<x2,
and the terms of the series are an=f(n) for n≥N. When f is differentiable on (N,∞), a convenient way to check the third condition is to show f′(x)≤0 for x>N.
In plain words You need an unbroken positive curve through the terms that goes downhill from some point on. What happens before that point does not matter.
Example Take f(x)=xlnx. It is continuous and positive for x>1, and
f′(x)=x21−lnx<0for x>e.
So f is decreasing on [3,∞) and the hypotheses hold with N=3, even though f increases between 1 and e.
The integral test
Definition Suppose f is continuous, positive and decreasing on [N,∞) and an=f(n) for n≥N. Then
n=N∑∞anand∫N∞f(x)dx
either both converge or both diverge. By the rule on finite changes, the same then holds for ∑n=1∞an.
In plain words If the area under the curve is finite, the sum is finite, and if the area is infinite, so is the sum. The test does not say the two numbers are equal.
Example For ∑n=2∞nlnn1 use f(x)=xlnx1, which is continuous, positive and decreasing on [2,∞) because xlnx is positive and increasing there. With u=lnx,
∫2txlnxdx=ln(lnt)−ln(ln2)→∞as t→∞.
The integral diverges, so the series diverges.
p-series
Definition The p-series ∑n=1∞np1 converges if p>1 and diverges if p≤1.
For p>0 the function f(x)=x−p is continuous, positive and decreasing on [1,∞), and
∫1∞x−pdx=p−11when p>1,
while the integral diverges when 0<p≤1. For p≤0 the terms do not tend to 0, so the series diverges by the nth term test.
In plain words The power p has to be strictly bigger than 1. At p=1 you get the harmonic series, which diverges.
Example For ∑n3/21 the integral is
∫1∞x−3/2dx=t→∞lim(2−t2)=2,
so the series converges. The rectangles to the right of n=1 lie under the curve, which also gives the bound
n=1∑∞n3/21≤1+∫1∞x−3/2dx=3.
The true sum is about 2.612.
Remainder bounds from the integral
Definition Suppose f is continuous, positive and decreasing on [n,∞), ak=f(k) for k≥n, and ∑ak converges with sum S. Then the remainder Rn=S−sn satisfies
∫n+1∞f(x)dx≤Rn≤∫n∞f(x)dx,
and so
sn+∫n+1∞f(x)dx≤S≤sn+∫n∞f(x)dx.
In plain words The part of the sum you left out is trapped between two areas you can compute. That turns a partial sum into an estimate with a guaranteed error.
Example For ∑n21 with n=10, the partial sum is s10≈1.549768. The two integrals are
∫11∞x−2dx=111,∫10∞x−2dx=101,
so
1.640677≤S≤1.649768.
The exact sum 6π2≈1.644934 lies in this interval.
Hypotheses versus the visual trend
Definition The conclusion of the integral test can fail if f is not decreasing on [N,∞), even when f is positive and continuous and the terms f(n) look well behaved. Decreasing must be checked for the function on the whole interval, not guessed from a plot or from a few terms.
In plain words A picture or a table of the first terms can look perfectly downhill and still hide wiggles. The test rests on the rectangles hugging the curve, and that needs the curve itself to go down.
Example Let f(x)=sin2(πx)+x21, which is positive and continuous on [1,∞). At integers sin(πn)=0, so f(n)=n21 and ∑f(n) converges. But for every integer k
∫kk+1sin2(πx)dx=21,
so ∫1∞f(x)dx diverges. Here f is not decreasing, so the test does not apply, and indeed the series and the integral disagree.
Check yourself
Use the integral test to decide whether ∑n=1∞ne−n2 converges.
Show the answer
Take f(x)=xe−x2, which is continuous and positive on [1,∞). It is decreasing there because
f′(x)=(1−2x2)e−x2<0for x≥1.
With u=x2 the integral is
∫1∞xe−x2dx=t→∞lim2e−1−e−t2=2e1,
which is finite, so the series converges.
Does ∑n=2∞n(lnn)21 converge?
Show the answer
Yes. The function x(lnx)21 is continuous, positive and decreasing on [2,∞), because x(lnx)2 is positive and increasing there. With u=lnx the integral is
∫2∞x(lnx)2dx=∫ln2∞u−2du=ln21,
which is finite, so the series converges.
Give an upper bound for the error when ∑n31 is approximated by s5.
Show the answer
The function x−3 is continuous, positive and decreasing on [5,∞), so the integral bound gives
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details