We already know that the harmonic series, 1+21+31+⋯, diverges to infinity. But what happens if we square each denominator? The terms n21 go to 0, but so do the terms of the harmonic series, so the nth-term test can't tell us whether this total is finite.
Running totals look very different for the two series:
1+21+31+⋯
∑n1
1+41+91+⋯
∑n21
After 100 terms
≈5.19
≈1.635
After 1,000 terms
≈7.49
≈1.644
After 1,000,000 terms
≈14.39
≈1.645
But the harmonic series is only at about 14.39 after a million terms, and it still goes to infinity, so numbers alone can't prove anything. Since every term is positive, the running total only increases, and one fixed number it never passes would prove convergence. We'll get that number from an area we already know is finite.
∫1∞x2dx=b→∞lim(1−b1)=1
∫1∞xdx=b→∞limlnb=∞
Each term becomes a rectangle of width 1 and height n21, placed on the interval from n−1 to n under the curve y=x21.
x21≥n21for n−1≤x≤n
41+91+161+⋯≤∫1∞x2dx=1
Does 1+41+91+⋯ converge?
1+41+91+⋯
converges?
Text solution
Fit the rectangles under the curveBecause x21 is decreasing, on [n−1,n] it's lowest at x=n, where its height is n21. So every rectangle from 41 on fits under the curve from x=1.
41+91+161+⋯≤∫1∞x2dx=1
Add the first term backThe rectangle for 1 sits over [0,1], where the area under the curve is infinite, so we keep it separate.
1+41+91+161+⋯≤1+1=2
Bounded, so it convergesThe running total only increases and never passes 2, so the series converges. Its sum is about 1.645, which is not the integral's value 1.
n=1∑∞n21≈1.645
∫1∞x2dx=1
2
Why the harmonic series diverges
Rectangles under y=x1 don't help with the harmonic series. The area under that curve is infinite, so they only show the sum is at most infinity. To prove it diverges, we need a lower bound that goes to infinity, so we slide every rectangle 1 unit to the right, until it sits over the curve.
x1≤n1for n≤x≤n+1
1+21+⋯+N1≥∫1N+1xdx=ln(N+1)
Show that 1+21+31+⋯ diverges by comparing it with ∫1∞xdx
Text solution
An upper bound says nothingWith the rectangles under the curve, the bound is infinity, and every sum of positive numbers is at most infinity.
1+21+31+⋯≤1+∫1∞xdx=∞
Slide the rectangles over the curveOn [n,n+1], the decreasing curve is highest at the left edge, where it equals n1. So the first N rectangles cover the area from x=1 to x=N+1.
1+21+⋯+N1≥∫1N+1xdx=ln(N+1)
The lower bound goes to infinityAs N goes to infinity, ln(N+1) does too, so the series diverges. It grows like the natural log, which is why the running totals climb so slowly.
1+21+⋯+1001≈5.19≥ln101≈4.62
So rectangles under the curve give an upper bound, and rectangles over it give a lower bound. Which comparison proves convergence, and which proves divergence?
For any positive, decreasing function f with an=f(n), the two placements put the sum between ∫1∞f(x)dx and a1+∫1∞f(x)dx. If the integral is finite, the upper bound keeps the sum finite. If it's infinite, the lower bound forces the sum to infinity. That's the integral test.
f positive, continuous, decreasing for x≥1,an=f(n)
f positive, continuous,decreasing for x≥1,an=f(n)
n=1∑∞an and ∫1∞f(x)dx both converge or both diverge
n=1∑∞an and ∫1∞f(x)dxboth converge or both diverge
∫1∞f(x)dx≤n=1∑∞an≤a1+∫1∞f(x)dx
The test needs f to be decreasing so that f(n) is the lowest value on [n−1,n] and the highest value on [n,n+1]. It needs f to be positive so the running totals only increase, and continuous so the integral is defined.
Without decreasing, the heights at whole numbers tell us nothing about the area between them. For f(x)=x21+sin2(πx), every f(n) is n21, so the series converges, but each bump adds an area of 21, so the integral is infinite.
f(n)=n21
n=1∑∞f(n)≈1.645
∫nn+1sin2(πx)dx=21
∫1∞f(x)dx=∞
3
Checking that the function is decreasing
Let's use the test on e−1+2e−4+3e−9+⋯. Its function is f(x)=xe−x2, and here it isn't obvious that f is decreasing: the factor x grows while e−x2 shrinks. So we check the sign of f′(x) before integrating.
Does ∑n=1∞ne−n2 converge or diverge?
n=1∑∞ne−n2=e−1+2e−4+3e−9+⋯
converges or diverges?
Text solution
Positive and decreasingFor x≥1, both factors are positive. And 2x2≥2, so 1−2x2 is negative and f is decreasing.
f′(x)=e−x2+x⋅(−2x)e−x2=e−x2(1−2x2)<0for x≥1
f′(x)=e−x2+x⋅(−2x)e−x2=e−x2(1−2x2)<0for x≥1
Integrate with u=x2Then du=2xdx, so xdx is 21du.
∫1∞xe−x2dx=b→∞lim[−21e−x2]1b=2e1
∫1∞xe−x2dx=b→∞lim[−21e−x2]1b=2e1
The series convergesThe integral is finite, so the series converges. Its sum is about 0.405, not 2e1≈0.184. The test tells us whether a series converges, not what it adds up to.
n=1∑∞ne−n2converges
4
When the terms increase before they decrease
Now let's look at the sum of nlnn. Its first few terms go up before they come down:
1ln1=0
2ln2≈0.347
3ln3≈0.366
4ln4≈0.347
5ln5≈0.322
The integral test needs a decreasing function, so we find where f(x)=xlnx starts decreasing and set aside the terms before that.
Determine whether ∑n=1∞nlnn converges or diverges
n=1∑∞nlnn
converges or diverges?
Text solution
Find where f decreasesThe denominator x2 is positive, so f′(x)<0 when lnx>1, that is, for x>e. Since e is between 2 and 3,f decreases for all x≥3.
f′(x)=x2x⋅x1−lnx=x21−lnx<0for x>e≈2.72
f′(x)=x2x⋅x1−lnx=x21−lnx<0for x>e≈2.72
Split off the first two termsThey add up to about 0.347, a finite number, so they don't change whether the series converges.
n=1∑∞nlnn=0+2ln2+n=3∑∞nlnn
Use the test from 3With u=lnx and du=xdx, the integral becomes ∫udu. It goes to infinity, so the series from n=3 diverges, and adding the first two terms back keeps it infinite.
∫3∞xlnxdx=b→∞lim(21(lnb)2−21(ln3)2)=∞
∫3∞xlnxdx=b→∞lim(21(lnb)2−21(ln3)2)=∞
n=1∑∞nlnndiverges
5
The p-series
We've seen that ∑n21 converges, while ∑n1 diverges. In one the power on n is 2, and in the other it's 1. So at what power p does the series switch from diverging to converging?
For which values of p does ∑n=1∞np1 converge?
n=1∑∞np1=1+2p1+3p1+⋯
converges for p=?
diverges for p=?
Text solution
Use the integral test for p>0Then xp1 is positive and decreasing, so the series goes with ∫1∞xpdx.
∫1bxpdx∫1bxdx=1−pb1−p−1(p=1)=lnb
Let b go to infinityWhen p>1, the exponent 1−p is negative and the integral is finite. When p<1,b1−p goes to infinity, and when p=1,lnb does too.
p>1:b1−p→0
p<1:b1−p→∞
When p≤0Now xp1 isn't decreasing, but the terms don't go to 0 (for p=0 every term is 1), so the series diverges by the nth-term test.
We call ∑np1 a p-series. When p=1, it's the harmonic series.
n=1∑∞np1{converges if p>1diverges if p≤1
To test a series with roots or powers of n, rewrite the term with a single power of n in the denominator, then compare p with 1.
n1=n211
p=21≤1:diverges
n3n=n3n21=n251
p=25>1:converges
3n21=n321
p=32≤1:diverges
n=1∑∞n35=5n=1∑∞n31
p=3>1:converges
n1.11
p=1.1>1:converges
Be careful about where n is. When n is in the exponent, as in 2n1, the series is geometric, not a p-series.
2n1=(21)n
geometric,r=21
n21
p-series,p=2
6
Estimating the sum of a series
If we add up the first 10 terms of ∑n=1∞n21, we get about 1.5498. How close is that to the whole sum? The error is everything we left out, the terms from 1121 on.
n=1∑∞n21−(1+41+⋯+1021)=1121+1221+1321+⋯=?
We can't add those by hand, but we can trap them between two areas, with the same rectangles we used for the integral test.
∫10∞x2dx∫11∞x2dx=101=111
111≤1121+1221+⋯≤101
Estimate ∑n=1∞n21 using the first 10 terms
Text solution
Under the curve from 10, over it from 11Because x21 is decreasing, the rectangle for 1121 over [10,11], and every one after it, lies under the curve. Slid 1 unit to the right, the same rectangles lie above it.
∫11∞x2dx≤1121+1221+⋯≤∫10∞x2dx
Add back the first 10 termsAdding 1.5498 to both bounds traps the whole sum in an interval less than 0.01 wide. The true sum, about 1.6449, is inside it.
The same comparison works after any number of terms N, for any positive, decreasing function f. The first missing term is f(N+1): under the curve its rectangle is on [N,N+1], and over the curve it's on [N+1,N+2].
∫N+1∞f(x)dx≤f(N+1)+f(N+2)+⋯≤∫N∞f(x)dx
The upper bound tells us how large our error can be. For ∑n=1∞n21, the remaining terms add to at most N1, so to keep the error at most 0.001, we need 1000 terms.
(N+1)21+(N+2)21+⋯≤∫N∞x2dx=N1
N1≤0.001→N=1000
Summary
The integral bounds the sum
The bounds
∫1∞f(x)dx≤n=1∑∞an≤a1+∫1∞f(x)dx
For n21
1≤n=1∑∞n21≤1+1=2
n=1∑∞n21≈1.645
When f is positive and decreasing, we use rectangles of width 1 under the curve to show that the sum is at most a1+∫1∞f(x)dx, and rectangles over the curve to show that it is at least ∫1∞f(x)dx. Because the series is between these two numbers, its sum is finite exactly when the improper integral is finite. The integral gives bounds on the sum, not the sum itself. For ∑n21, the integral is 1, but the sum is about 1.645.
The integral test
The test
f positive, continuous, decreasing for x≥1,an=f(n)n=1∑∞an and ∫1∞f(x)dx both converge or both diverge
f positive, continuous,decreasing for x≥1,an=f(n)n=1∑∞an and ∫1∞f(x)dxboth converge or both diverge
Decreasing from n=3 on
nlnn:f′(x)=x21−lnx<0 for x>e→n=3∑∞nlnn,∫3∞xlnxdx
Before running the integral test, check whether the terms approach 0. If limn→∞an=0, like 2n+1n→21, the series diverges by the nth-term test, and no integral is needed. To apply the test, f must be positive, continuous, and decreasing. If it isn't clear whether f is decreasing, check the sign of f′(x). For nlnn,f′(x)<0 only once x>e, so we set aside the first two terms and start the integral test from n=3. The first few terms add only a finite amount, so setting them aside doesn't change whether the series converges.
Testing a p-series
The p-series rule
n=1∑∞np1{converges if p>1diverges if p≤1
Rewriting terms
nn1=n231
2n1=(21)n
A p-series ∑np1 converges if p>1 and diverges if p≤1. When p=1, we get the harmonic series 1+21+31+⋯, which diverges to infinity. Before checking p, rewrite the denominator as a single power of n, like turning nn1 into n231. If n appears in the exponent instead of the base, like 2n1=(21)n, it's a geometric series, not a p-series.
Bounding the error after N terms
Bounds on the remaining terms
∫N+1∞f(x)dx≤f(N+1)+f(N+2)+⋯≤∫N∞f(x)dx
After adding the first N terms of a series with f positive and decreasing, the sum of the remaining terms is between ∫N+1∞f(x)dx and ∫N∞f(x)dx. The upper bound tells us how large the error can be. For ∑n=1∞n31 after 5 terms, the error is at most ∫5∞x3dx=501.
7
Practice
1
Which of these series converge? I. n=1∑∞ne1 II. n=1∑∞nn III. n=1∑∞ne
Write each term in the form npc. What is p for each series?
If you got (C) In series III, e is a constant factor in the numerator, not the exponent on n.
If you got (B) For series II, simplify nn into np1. What is p?
In series I, e is in the exponent, so p=e. Since e≈2.72>1, this series converges.
I: p=e≈2.72>1
In series II, dividing n21 by n1 leaves n21 in the denominator, so p=21≤1 and the series diverges.
II: nn=nn21=n211,p=21≤1
In series III, e is a constant factor, not an exponent. Pulling e out leaves the harmonic series, which diverges.
III: n=1∑∞ne=en=1∑∞n1,p=1
2
Use the integral test to determine whether n=1∑∞n2lnn converges or diverges.
Find the derivative of f(x)=x2lnx. For which values of x is f′(x)<0?
Find where f is decreasingUse the quotient rule to find where f′(x) is negative. Here f′(x)<0 for x>e≈1.65, so f is decreasing for x≥2. That lets us use the integral test starting at n=2, and leaving out f(1)=0 doesn't change whether the series converges.
f′(x)=x4x2⋅x1−2xlnx=x31−2lnx<0for x>e≈1.65
Integrate by partsLet u=lnx and dv=x2dx to find the antiderivative.
u=lnx,dv=x2dx,du=xdx,v=−x1
∫x2lnxdx=−xlnx+∫x2dx=−xlnx−x1+C
Evaluate from 2 to infinityBy L'Hôpital's rule, blnb goes to 0 as b→∞. The integral is finite, so the series converges.
The function f is positive, continuous and decreasing for x≥1, with an=f(n) and ∫1∞f(x)dx=3. Which of the following must be true?
If each rectangle has width 1 and height an=f(n) over the interval [n,n+1], does it lie above or below the curve?
If you got (A) The rectangles extend above the curve, so their total area cannot equal the area under the curve.
If you got (C) Check which rectangles lie under the curve. Rectangles beneath the curve only tell us a2+a3+⋯≤3. Since a1 is missing from that inequality, the full sum doesn't have to be less than 3.
Since f is decreasing, each rectangle of height an=f(n) over [n,n+1] lies completely above the curve, so the sum of their areas is strictly greater than the integral.
n<x≤n+1:an=f(n)>f(x)→n=1∑∞an>∫1∞f(x)dx=3
n<x≤n+1:an=f(n)>f(x)→n=1∑∞an>∫1∞f(x)dx=3
To see that the sum is finite, set aside the first term and put each remaining rectangle for an over [n−1,n] under the curve. That gives a2+a3+…≤3, so adding a1 gives ∑n=1∞an≤a1+3.
n=1∑∞an≤a1+∫1∞f(x)dx=a1+3
4
The sum of the first 5 terms of n=1∑∞n31 is used to approximate the sum of the series. Find an upper bound for the error.
To bound the remaining terms from n=6 onward, place each rectangle under the curve. Which interval does the first rectangle lie over?
If you got 721 The integral starting at 6 gives a lower bound for the error, not an upper bound. The rectangle for 631 is over [5,6], so the integral starts at 5.
The error is the sum of all the terms left out after the first 5 terms.
error=631+731+831+⋯
The rectangle for 631 lies under the curve on [5,6], so the sum of the remaining terms is at most the integral from 5 to infinity.